modelDetGen
Common Definitions for Detailed Generator
Extends from Partials.Generator.
Information
Common definitions for detailed generator models, including the generator step-up transformer. At least one slack node or detailed generator with its attribute 'isSlack' set to true must be included in each network model. For this generator the attribute Pg0 is not used. For generators with 'isSlack' set to false, the attribute theta0 is not used. Tripping of the generator can be simulated by setting the tripping time in the attribute 'TripTime'. Each generator has it's own dq coordinate system, and its stator equations must therefore be related to the network (global) coordinate system using the so called Kron's transformations [1, pp. 90]. --- [1] J. Machowski, J.W. Bialek, and J.R. Bumby, Power System Dynamics and Stability, Number ISBN 0-471-97174. Wiley, 1993.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | isSlack (from Generator) | false | Acts as slack node during initialization ? (true=yes) |
| Base.Voltage | V0 (from Generator) | 1 | Initial Terminal Voltage |
| Base.VoltageAngle | theta0 (from Generator) | 0 | Initial Voltage Angle (only used if isSlack=true) |
| Base.ActivePower | Pg0 (from Generator) | 1 | Initial Generated Active Power (on system base, only used if isSlack=false) |
| Base.Time | TripTime (from Generator) | Modelica.Constants.inf | Time of Tripping of Generator |
| Real | Sbase | 100 | Generator rated power [MVA] |
| Base.InertiaConstant | H | 6 | Inertia Constant |
| Base.DampingCoefficient | D | 0 | Damping Coefficient |
| Base.Resistance | rt | 0 | Step-up Transformer Resistance |
| Base.Reactance | xt | 0.0 | Step-up Transformer Reactance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ObjectStab.Base.Pin | T (from OnePin) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Base.Voltage | V (from Generator) | sqrt((1 + T.va)*(1 + T.va) + T.vb*T.vb) | |
| Base.VoltageAngle | theta (from Generator) | Modelica.Math.atan2(T.vb, (1 + T.va)) | |
| Base.ActivePower | Pg (from Generator) | -((1 + T.va)*T.ia + T.vb*T.ib) | Generated Active Power |
| Base.ReactivePower | Qg (from Generator) | -(T.vb*T.ia - (1 + T.va)*T.ib) | Generated Reactive Power |
| Boolean | online (from Generator) | if time < TripTime then true else false | |
| Base.AngularVelocity | w | Angular Speed | |
| Base.VoltageAngle | delta | Rotor Angle | |
| Base.MechanicalPower | Pm | Mechanical Power | |
| Base.Voltage | Efd | Field Voltage | |
| Base.Current | Iarm | sqrt(id^2 + iq^2) | Armature Current |
| Base.ActivePower | Pe | Electrical Power | |
| Base.Current | iq | dq Armature Current | |
| Base.Current | id | ||
| Base.Voltage | vq | dq Armature Voltage | |
| Base.Voltage | vd | ||
| Base.AngularVelocity | wref |