modelLoadImpedancePQInputs

Load model with impedance specified by PRefIn and QRefIn inputs
Diagram of LoadImpedancePQInputs

Extends from LoadImpedancePQ (Load model with impedance specified by PRef and QRef).

Information

Model of a variable impedance load, whose value is specified by the reference values PRefin and QRefIn inputs and by the URef parameter.

Parameters

TypeNameDefaultDescription
Types.VoltageUNom (from OnePortAC)Nominal/rated line-to-line voltage
Types.ApparentPowerSNom (from OnePortAC)Nominal/rated apparent power
BooleanportVariablesPhases (from OnePortAC)falseCompute voltage and current phases for monitoring purposes only
BooleanportVariablesPu (from OnePortAC)trueAdd per-unit variables to model
BooleangeneratorConvention (from OnePortAC)falseAdd currents with generator convention (i > 0 when exiting the device) to model
LocalInitializationOptionlocalInit (from OnePortAC)LocalInitializationOption.noneInitialize the component locally in steady state from port start values
Types.ActivePowerPRefConst (from LoadImpedancePQ)0Active power consumption at reference voltage
Types.ReactivePowerQRefConst (from LoadImpedancePQ)0Reactive power consumption at reference voltage
Types.VoltageURef (from LoadImpedancePQ)UNomReference value of phase-to-phase voltage
Initialization
Types.VoltageUStart (from OnePortAC)UNomStart value of phase-to-phase voltage phasor, absolute value
Types.AngleUPhaseStart (from OnePortAC)0Start value of phase-to-phase voltage phasor, phase angle
Types.ActivePowerPStart (from OnePortAC)SNomStart value of active power flowing into the port
Types.ReactivePowerQStart (from OnePortAC)0Start value of reactive power flowing into the port

Connectors

TypeNameDefaultDescription
PowerGrids.Interfaces.TerminalACterminal (from OnePortAC)
Modelica.Blocks.Interfaces.RealInputPRefInActive reference power at VPu = 1, W
Modelica.Blocks.Interfaces.RealInputQRefInReactive reference power at VPu = 1, var

Components

TypeNameDefaultDescription
PortACport (from OnePortAC)AC port of node
Electrical.SystemsystemPowerGrids (from OnePortAC)Reference to system object
Types.ComplexVoltagee (from BusBase)Voltage of ideal generator, phase-to-ground
Types.ComplexImpedanceZ (from BusBase)Internal impedance
Types.ComplexVoltagev (from BusBase)port.vPort voltage, phase-to-ground
Types.ComplexCurrenti (from BusBase)port.iPort current
Types.ActivePowerPRef (from LoadImpedancePQ)PRefConstActive power consumption at reference voltage, the default binding can be changed when instantiating
Types.ActivePowerQRef (from LoadImpedancePQ)QRefConstReactive power consumption at reference voltage, the default binding can be changed when instantiating