Package Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Examples
Test examples

Information

Examples to demonstrate the usage of quasistationary electric components.

Extends from Modelica.​Icons.​ExamplesPackage (Icon for packages containing runnable examples).

Package Contents

NameDescription
ParallelResonanceParallel resonance circuit
RectifierRectifier example
SeriesBodeSeries circuit with Bode analysis
SeriesResonanceSeries resonance circuit
TransformerExample of transformer with short circuit impedance, transmission resistances and load

Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Examples.​SeriesBode
Series circuit with Bode analysis

Information

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:

Extends from Modelica.​Icons.​Example (Icon for runnable examples).


Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Examples.​SeriesResonance
Series resonance circuit

Information

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).


Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Examples.​ParallelResonance
Parallel resonance circuit

Information

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).


Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Examples.​Rectifier
Rectifier example

Information

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.

Note

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).

Parameters

TypeNameDefaultDescription
VoltageVAC100AC rms voltage
RealconversionFactor1Ratio of DC voltage / AC rms voltage

Model Modelica.​Electrical.​QuasiStationary.​SinglePhase.​Examples.​Transformer
Example of transformer with short circuit impedance, transmission resistances and load

Information

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

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).