modelbaseMachine

Base machine for PSSE models

Extends from OpenRESV.Electrical.Essentials.pfComponent (Partial model containing all the parameters for entering power flow data).

Parameters

TypeNameDefaultDescription
Power flow data
OpenRESV.Types.ApparentPowerS_b (from pfComponent)SysData.S_bSystem base power
OpenRESV.Types.VoltageV_b (from pfComponent)400e3Base voltage of the bus
OpenRESV.Types.Frequencyfn (from pfComponent)SysData.fnSystem frequency
OpenRESV.Types.ActivePowerP_0 (from pfComponent)1e6Initial active power
OpenRESV.Types.ReactivePowerQ_0 (from pfComponent)0Initial reactive power
OpenRESV.Types.PerUnitv_0 (from pfComponent)1Initial voltage magnitude
OpenRESV.Types.Angleangle_0 (from pfComponent)0Initial voltage angle
BooleandisplayPF (from pfComponent)falseDisplay power flow:
Parameter mask
BooleanenableS_b (from pfComponent)falseEnable S_b in parameter list
BooleanenableV_b (from pfComponent)falseEnable V_b in parameter list
Booleanenablefn (from pfComponent)falseEnable fn in parameter list
BooleanenableP_0 (from pfComponent)falseEnable P_0 in parameter list
BooleanenableQ_0 (from pfComponent)falseEnable Q_0 in parameter list
Booleanenablev_0 (from pfComponent)falseEnable v_0 in parameter list
Booleanenableangle_0 (from pfComponent)falseEnable angle_0 in parameter list
BooleanenabledisplayPF (from pfComponent)falseEnable displayPF in parameter list
Machine parameters
OpenRESV.Types.ApparentPowerM_bMachine base power
OpenRESV.Types.TimeTpd0d-axis transient open-circuit time constant
OpenRESV.Types.TimeTppd0d-axis sub-transient open-circuit time constant
OpenRESV.Types.TimeTppq0q-axis sub-transient open-circuit time constant
OpenRESV.Types.TimeHInertia constant
RealDSpeed damping
OpenRESV.Types.PerUnitXdd-axis reactance
OpenRESV.Types.PerUnitXqq-axis reactance
OpenRESV.Types.PerUnitXpdd-axis transient reactance
OpenRESV.Types.PerUnitXppdd-axis sub-transient reactance
OpenRESV.Types.PerUnitXppqq-axis sub-transient reactance
OpenRESV.Types.PerUnitXlleakage reactance
OpenRESV.Types.PerUnitS10Saturation factor at 1.0 pu
OpenRESV.Types.PerUnitS12Saturation factor at 1.2 pu
OpenRESV.Types.PerUnitR_a0Armature resistance
Initialization
OpenRESV.Types.PerUnitw00Initial speed deviation from nominal

Connectors

TypeNameDefaultDescription
OpenRESV.Interfaces.PwPinp
RealOutputSPEEDMachine speed deviation from nominal [pu]
RealInputPMECHTurbine mechanical power (machine base)
RealOutputPMECH0Initial value of machine electrical power (machine base)
RealOutputETERMMachine terminal voltage [pu]
RealInputEFDGenerator main field voltage [pu]
RealOutputEFD0Initial generator main field voltage [pu]
RealOutputPELECMachine electrical power (machine base)
RealOutputISORCEMachine source current [pu]
RealOutputANGLEMachine relative rotor angle
RealOutputXADIFDMachine field current [pu]

Components

TypeNameDefaultDescription
OpenRESV.Electrical.SystemBaseSysData (from pfComponent)Must add this line in all models
OpenRESV.Types.PerUnitwMachine speed deviation
OpenRESV.Types.AngledeltaRotor angle
OpenRESV.Types.PerUnitVtBus voltage magnitude
OpenRESV.Types.AngleanglevBus voltage angle
OpenRESV.Types.PerUnitITerminal current magnitude
OpenRESV.Types.AngleangleiTerminal current angle
OpenRESV.Types.PerUnitPActive power (system base)
OpenRESV.Types.PerUnitQReactive power (system base)
OpenRESV.Types.PerUnitTeElectrical torque [pu]
OpenRESV.Types.PerUnitidd-axis armature current [pu]
OpenRESV.Types.PerUnitiqq-axis armature current [pu]
OpenRESV.Types.PerUnitudd-axis terminal voltage [pu]
OpenRESV.Types.PerUnituqq-axis terminal voltage [pu]