modelTestElectrical4
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
The model is designed to test the generator and load components of the Electrical library.
Simulation sequence:
- t=0 s: The system starts at equilibrium. 20% of the active power produced by the generator is consumed by the local load, while the remaining 80% is fed to the grid via a transmission line.
- t=1 s: The local load is brought to zero. As a consequence, 20% of the active power production is now rerouted to the grid
During the transient, electro-mechanical oscillations are triggered. The theoretical pseudo-period is
T = sqrt(2*pi*Ta*Xpu/fnom) = 0.35, which corresponds to the observed one.
Simulation Interval = [0...10] sec
Integration Algorithm = DASSL
Algorithm Tolerance = 1e-6
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | Pnom | 10e6 | Nominal generator power |
| SI.Frequency | f0 | system.fnom | Nominal network frequency |
| Integer | Np | 4 | Number of polar expansions |
| SI.AngularVelocity | omega_m_nom | 2*pi*f0/Np | Nominal mechanical angular velocity |
| Real | pi | Modelica.Constants.pi |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Electrical.Generator | generator | ||
| Electrical.Load | load | ||
| Modelica.Mechanics.Rotational.Sources.Torque | primeMover | ||
| Modelica.Blocks.Sources.Step | GenTorque | ||
| Electrical.Grid | grid | ||
| Modelica.Blocks.Sources.Step | LocalLoad | ||
| System | system | ||
| Electrical.TransmissionLine | transmissionLine |
Revisions
- 21 Feb 2019
by Francesco Casella:
Rewrote from scratch.