modelConstPg

Constant Power DC Load

Information

This model simulates, following an external reference, a constant-power load.

It uses a simple integral controller. 

There is no need to state precisely the value of vNom: it only determines the dynamic of the controller. In case the actual DC voltage is exatly equal to vNom,  the controller has a dynamics exactly equal to that of a system having as transfer funcrtion G(s)=1 fed by a pure integral controller with time constant equal to Ti.


Parameters

TypeNameDefaultDescription
Modelica.Units.SI.VoltagevNom100Actual DC voltage should have the same order-of-magnitude of this parameter
Modelica.Units.SI.TimeTi0.01inner PI follower integral time constant

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinpin_p
Modelica.Electrical.Analog.Interfaces.NegativePinpin_n
Modelica.Blocks.Interfaces.RealInputPrefReference power

Components

TypeNameDefaultDescription
RealvDC voltage
Modelica.Blocks.Math.Feedbackfeedback1
Modelica.Electrical.Analog.Sensors.PowerSensorpSensor
Modelica.Electrical.Analog.Basic.VariableConductorvarCond
Modelica.Blocks.Continuous.Integratorintegrator1