RectifierRectifier example 
This information is part of the Modelica Standard Library maintained by the Modelica Association.
This example demonstrates coupling a quasi stationary circuit with a DC circuit. The QS voltage is rectified (using an ideal AC DC converter), loaded by a variable load conductor. The conversionFactor = DC voltage / AC rms voltage in this case is the root mean square of a rectified sine, i.e., 1. You may compare the quasi stationary results with that of a fully transient model (using a Graetz rectifier), plotting:
It can be seen that at the DC side the current is represented by its averaged value, at the AC side by its rms value.
The quasi stationary model needs a grounding at the QS side as well as the DC side, whereas the transient model may have only one ground since AC side and DC side are connected via the diodes.
VAC 
Value: 100 Type: Voltage (V) Description: AC rms voltage 

conversionFactor 
Value: 1 Type: Real Description: Ratio of DC voltage / AC rms voltage 
voltageQS 
Type: VoltageSource 


resistorQS 
Type: Resistor 

currentSensorQS 
Type: CurrentSensor 

iQS 
Type: ComplexToPolar 

groundQS 
Type: Ground 

rectifierQS 
Type: IdealACDCConverter 

groundDC1 
Type: Ground 

iDC1 
Type: CurrentSensor 

load1 
Type: VariableConductor 

voltageAC 
Type: SineVoltage 

resistorAC 
Type: Resistor 

currentSensorAC 
Type: CurrentSensor 

iAC 
Type: Harmonic 

groundAC 
Type: Ground 

rectifierAC 
Type: GraetzRectifier 

currentSensorDC2 
Type: CurrentSensor 

iDC2 
Type: RootMeanSquare 

load2 
Type: VariableConductor 

ramp 
Type: Ramp 