modelFreeOffset

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block).

Information

This block adds an offset to the input u, or to zero if use_u is false.

If fixedOffset = false, then the offset is a free parameter, that needs to be determined by an additional initial equation on the system, otherwise the offset is fixed to zero. This block can be used to adjust the set point of controllers that have additional initial equations to fix their controlled outputs to the start values given by the load flow. The value of the fixedOffset parameter is set by default by the system object, depending on the value of systemPowerGrids.initOpt.

For example, if systemPowerGrids.initOpt = InitializationOption.localSteadyStateFixedPowerFlow is set, the AVR model adds one extra initial equation to the overall system to prescribe the machine voltage. As a consequence, the initial value of the AVR setpoint signal must be free, so that the Modelica tool can compute it backwards to match the required voltage, if possible, or to set it in order to get a specified oversaturation of the actuator otherwise. This extra degree of freedom is provided by this component.

Parameters

TypeNameDefaultDescription
Booleanuse_ufalse= true if time varying output is required
BooleanfixedOffsetDefaultif systemPowerGrids.initOpt == InitializationOption.globalSteadyStateFixedPowerFlow or systemPowerGrids.initOpt == InitializationOption.localSteadyStateFixedPowerFlow then false else trueDefault choice of fixedOffsetDefault from system object
BooleanfixedOffsetfixedOffsetDefault= true if offset is fixed to zero, = false if offset is left free
RealoffsetFree offset of output y

Connectors

TypeNameDefaultDescription
RealOutputy (from SO)Connector of Real output signal
Modelica.Blocks.Interfaces.RealInputu

Components

TypeNameDefaultDescription
PowerGrids.Electrical.SystemsystemPowerGridsReference to system object