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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Voltage | vNom | 100 | Actual DC voltage should have the same order-of-magnitude of this parameter |
| Modelica.Units.SI.Time | Ti | 0.01 | inner PI follower integral time constant |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | pin_p | ||
| Modelica.Electrical.Analog.Interfaces.NegativePin | pin_n | ||
| Modelica.Blocks.Interfaces.RealInput | Pref | Reference power |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | v | DC voltage | |
| Modelica.Blocks.Math.Feedback | feedback1 | ||
| Modelica.Electrical.Analog.Sensors.PowerSensor | pSensor | ||
| Modelica.Electrical.Analog.Basic.VariableConductor | varCond | ||
| Modelica.Blocks.Continuous.Integrator | integrator1 |