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

TypeNameDefaultDescription
BooleanisSlack (from Generator)falseActs as slack node during initialization ? (true=yes)
Base.VoltageV0 (from Generator)1Initial Terminal Voltage
Base.VoltageAngletheta0 (from Generator)0Initial Voltage Angle (only used if isSlack=true)
Base.ActivePowerPg0 (from Generator)1Initial Generated Active Power (on system base, only used if isSlack=false)
Base.TimeTripTime (from Generator)Modelica.Constants.infTime of Tripping of Generator
RealSbase100Generator rated power [MVA]
Base.InertiaConstantH6Inertia Constant
Base.DampingCoefficientD0Damping Coefficient
Base.Resistancert0Step-up Transformer Resistance
Base.Reactancext0.0Step-up Transformer Reactance

Connectors

TypeNameDefaultDescription
ObjectStab.Base.PinT (from OnePin)

Components

TypeNameDefaultDescription
Base.VoltageV (from Generator)sqrt((1 + T.va)*(1 + T.va) + T.vb*T.vb)
Base.VoltageAngletheta (from Generator)Modelica.Math.atan2(T.vb, (1 + T.va))
Base.ActivePowerPg (from Generator)-((1 + T.va)*T.ia + T.vb*T.ib)Generated Active Power
Base.ReactivePowerQg (from Generator)-(T.vb*T.ia - (1 + T.va)*T.ib)Generated Reactive Power
Booleanonline (from Generator)if time < TripTime then true else false
Base.AngularVelocitywAngular Speed
Base.VoltageAngledeltaRotor Angle
Base.MechanicalPowerPmMechanical Power
Base.VoltageEfdField Voltage
Base.CurrentIarmsqrt(id^2 + iq^2)Armature Current
Base.ActivePowerPeElectrical Power
Base.Currentiqdq Armature Current
Base.Currentid
Base.Voltagevqdq Armature Voltage
Base.Voltagevd
Base.AngularVelocitywref