blockVRProportional

Diagram of VRProportional

Extends from Controls.BaseClasses.BaseControllerFramework (Base framework for all controllers such as AVR, PSS, etc.).

Information

The class implements a simple model of a proportional static exictation with limiter.

The Limiter enforces saturations only after they were violated without interruption during a certain amount of time. 

If fixInitialControlledVariable = true, an initial equation is added to ensure that the machine voltage VcPu is equal to its start value VcPuStart. In order to fulfill this condition, the initial value of the reference signal should be free, so that the Modelica tool can back-compute it automatically. For this purpose, the PowerGrids.Controls.FreeOffset block should be used to generate the reference signal to be connected to the VrefPu input.

In case the condition VcPu = VcPuStart cannot be fulfilled without violating the controller saturations, then an alternative initial condition is enforced, which prescribes the saturation block input so as to obtain a certain degree of oversaturation oversaturationPu. This allows to back-compute a unique initial value of the reference signal, which is of course dependent on oversaturationPu and hence somewhat arbitrary.

Parameters

TypeNameDefaultDescription
SI.PerUnitKaOverall equivalent gain
SI.PerUnitVrMaxOutput voltage max limit in p.u.
SI.PerUnitVrMinOutput voltage min limit in p.u.
Types.TimeLagMax0Time lag before taking action when u going above uMax
Types.TimeLagMin0Time lag before taking action when u going below uMin
SI.PerUnitVcPuStart1Required start value of VcPu when fixInitialControlledVariable = true
SI.PerUnitoversaturationPu0.1abs(u-usat)/(Vmax-Vmin) in case of saturated initial condition
Realdelta(limiterWithLag.uMax - limiterWithLag.uMin)*oversaturationPuActuator saturation margin
Initialization
BooleanfixInitialControlledVariableDefault (from BaseControllerFramework)if (systemPowerGrids.initOpt == Types.Choices.InitializationOption.globalSteadyStateFixedPowerFlow or systemPowerGrids.initOpt == Types.Choices.InitializationOption.localSteadyStateFixedPowerFlow) then true else false= true adds extra initial equation to fix controlled variable
BooleanfixInitialControlledVariable (from BaseControllerFramework)fixInitialControlledVariableDefault= true adds extra initial equation to fix controlled variable
PowerGrids.Controls.LimiterWithLag.StatestateStartPowerGrids.Controls.LimiterWithLag.State.notSatSaturation initial state

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputVcPuMachine terminal voltage p.u.
Modelica.Blocks.Interfaces.RealInputVrefPuVoltage reference p.u.
Modelica.Blocks.Interfaces.RealOutputefdPuExciter output voltage p.u.

Components

TypeNameDefaultDescription
SystemsystemPowerGrids (from BaseControllerFramework)Reference to system object for system-level defaults
Modelica.Blocks.Math.FeedbackVerr
PowerGrids.Controls.LimiterWithLaglimiterWithLag
Modelica.Blocks.Math.Gaingain