modelGovExc3rdGen

3rd order generator model with constant mechanical power and field voltage

Extends from ObjectStab.Generators.Partials.DetGen3 (3rd Order Detailed Generator).

Information

The 3rd order Generator model extended with governor and exciter

The governor and exciter models can be redeclared with models
from the controller library or used-defined models.

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
RealSbase (from DetGen)100Generator rated power [MVA]
Base.InertiaConstantH (from DetGen)6Inertia Constant
Base.DampingCoefficientD (from DetGen)0Damping Coefficient
Base.Resistancert (from DetGen)0Step-up Transformer Resistance
Base.Reactancext (from DetGen)0.0Step-up Transformer Reactance
Base.Resistancera (from DetGen3)0Armature Resistance
Base.Reactancexd (from DetGen3)0.8948Direct Axis Synchronous Reactance
Base.Reactancexq (from DetGen3)0.84Quadrature Axis Synchronous Reactance
Base.Reactancexdp (from DetGen3)0.30Direct Axis Transient Reactance
Base.TimeTd0p (from DetGen3)7Open-circuit Direct Axis Transient Time Constant

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.AngularVelocityw (from DetGen)Angular Speed
Base.VoltageAngledelta (from DetGen)Rotor Angle
Base.MechanicalPowerPm (from DetGen)Mechanical Power
Base.VoltageEfd (from DetGen)Field Voltage
Base.CurrentIarm (from DetGen)sqrt(id^2 + iq^2)Armature Current
Base.ActivePowerPe (from DetGen)Electrical Power
Base.Currentiq (from DetGen)dq Armature Current
Base.Currentid (from DetGen)
Base.Voltagevq (from DetGen)dq Armature Voltage
Base.Voltagevd (from DetGen)
Base.AngularVelocitywref (from DetGen)
Base.VoltageEqp (from DetGen3)
ObjectStab.Generators.Controllers.ConstPmGov
ObjectStab.Generators.Controllers.ConstEfdExc