modelGen1

100MVA/18kV generation unit for bus 1
Diagram of Gen1

Extends from OpenIPSL.Interfaces.Generator (Interface for a generator which provides the PwPin).

Information

Note that this 100MVA/18kV generation unit allows the user to perform a step disturbance of magnitude height at instant tstart in the voltage reference value for each Automatic Voltage Regulator.

Also note that boolean variable refdisturb needs to be set to true for disturbance to take place.

Parameters

TypeNameDefaultDescription
Realvf01.755517086537914Initial field voltage value
Realvref01.118023800520641Initial terminal voltage reference value
Power flow data
Types.ApparentPowerS_b (from pfComponent)SysData.S_bSystem base power
Types.VoltageV_b (from pfComponent)400e3Base voltage of the bus
Types.Frequencyfn (from pfComponent)SysData.fnSystem frequency
Types.ActivePowerP_0 (from pfComponent)1e6Initial active power
Types.ReactivePowerQ_0 (from pfComponent)0Initial reactive power
Types.PerUnitv_0 (from pfComponent)1Initial voltage magnitude
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
AVR Disturbance
RealheightDisturbance magnitude
RealtstartDisturbance time instant
BooleanrefdisturbAllow disturbance

Connectors

TypeNameDefaultDescription
OpenIPSL.Interfaces.PwPinpwPin (from Generator)

Components

TypeNameDefaultDescription
OpenIPSL.Electrical.SystemBaseSysData (from pfComponent)Must add this line in all models
Types.ActivePowerP (from Generator)Active power
Types.ReactivePowerQ (from Generator)Reactive power
OpenIPSL.Electrical.Machines.PSAT.Order4gen
OpenIPSL.Electrical.Controls.PSAT.AVR.AVRTypeIIAVR
Modelica.Blocks.Sources.Stepstep
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.BooleanConstantbooleanConstant