modelOnePortAC

Base class for AC components with one port

Information

This is the base class for all the components with an AC terminal. It contains a corresponding PortAC component to compute useful quantities for modelling and monitoring purposes.

Parameters

TypeNameDefaultDescription
Types.VoltageUNomNominal/rated line-to-line voltage
Types.ApparentPowerSNomNominal/rated apparent power
BooleanportVariablesPhasesfalseCompute voltage and current phases for monitoring purposes only
BooleanportVariablesPutrueAdd per-unit variables to model
BooleangeneratorConventionfalseAdd currents with generator convention (i > 0 when exiting the device) to model
LocalInitializationOptionlocalInitLocalInitializationOption.noneInitialize the component locally in steady state from port start values
Initialization
Types.VoltageUStartUNomStart value of phase-to-phase voltage phasor, absolute value
Types.AngleUPhaseStart0Start value of phase-to-phase voltage phasor, phase angle
Types.ActivePowerPStartSNomStart value of active power flowing into the port
Types.ReactivePowerQStart0Start value of reactive power flowing into the port

Connectors

TypeNameDefaultDescription
PowerGrids.Interfaces.TerminalACterminal

Components

TypeNameDefaultDescription
PortACportAC port of node
Electrical.SystemsystemPowerGridsReference to system object