Test examples
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Name | Description |
---|---|
SeriesBode | Series circuit with Bode analysis |
SeriesResonance | Series resonance circuit |
ParallelResonance | Parallel resonance circuit |
Rectifier | Rectifier example |
Transformer | Example of transformer with short circuit impedance, transmission resistances and load |
Series circuit with Bode analysis
The frequency of the voltage source is varied by a logarithmic ramp, the supply voltage magnitude is constant.
Plot versus voltageSource.f
on a logarithmic scale in order to determine the Bode diagrams of the ratio of
the voltage of the resistor divided by the supply voltage:
dB_y
arg_y
Extends from Modelica.Icons.Example (Icon for runnable examples).
Series resonance circuit
The frequency of the voltage source is varied by a ramp. Plot length and angle of the current phasor, i.e., complexToPolar.len and .phi, versus time resp. frequency.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Parallel resonance circuit
The frequency of the current source is varied by a ramp. Plot length and angle of the voltage phasor, i.e., complexToPolar.len and .phi, versus time resp. frequency.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Rectifier example
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.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Name | Description |
---|---|
VAC | AC rms voltage [V] |
conversionFactor | Ratio of DC voltage / AC rms voltage |
Example of transformer with short circuit impedance, transmission resistances and load
This examples shows the operational behavior of transformer with short circuit impedance. The transformer is loaded with constant current magnitude of 250A but variable phase angle. The angle varies from 0 to 360 degrees within one second of simulation time.
Transformer data
V1N = 1000 V
V2N = 200 V
SN = 50 kVA
Zk = 0.72 Ohm + j*0.96 Ohm
Plot the real part of the secondary voltage idealTransformer.v2.re
on the x axis and idealTransformer.v2.im
on the y axis. The locus of this complex voltage v2
is a circle. The center of the circle is the primary supply voltage divided by the transformation ratio of n=5
. Since in this experiment the load current magnitude is constant, the voltage drop across the short circuit impedance of the transformer is constant, as well. The radius of the circle is equal to the constant magnitude of the voltage drop across the short circuit impedance.
Extends from Modelica.Icons.Example (Icon for runnable examples).
Automatically generated Thu Dec 19 17:19:59 2019.