Test examples

Examples to demonstrate the usage of quasistationary electric components.

Extends from `Modelica.Icons.ExamplesPackage`

(Icon for packages containing runnable examples).

Name | Description |
---|---|

`ParallelResonance` | Parallel resonance circuit |

`Rectifier` | Rectifier example |

`SeriesBode` | Series circuit with Bode analysis |

`SeriesResonance` | Series resonance circuit |

`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:

- Gain response:
`dB_y`

- Phase response:
`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:

- QS: AC rms current = iQS.len
- AC: AC instantaneous current = iAC.u
- AC: AC rms current = iAC.y_rms
- QS: DC current = iDC1.i
- AC: DC instantaneous current = iDC2.u
- AC: DC rms current = iDC2.y

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

Type | Name | Default | Description |
---|---|---|---|

`Voltage` | `VAC` | `100` | AC rms voltage |

`Real` | `conversionFactor` | `1` | 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

- Nominal primary voltage
`V1N = 1000 V`

- Nominal secondary voltage
`V2N = 200 V`

- Nominal apparent power
`SN = 50 kVA`

- Short circuit impedance
__Z___{k}= 0.72 Ohm + j*0.96 Ohm - Magnetizing current and core loss are not taken into account

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

is a circle. The center of the circle is the primary supply voltage divided by the transformation ratio of __v___{2}`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).

Generated 2018-12-12 12:10:22 EST by *MapleSim*.