modelVariableLoad
Example using variable loads models
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example shows how to use three different types of load models. Each load is of type Buildings.Electrical.DC.Loads.Conductor.
The first load loa1consumes a constant amount of power.
The second and the third loads (loa2 and loa3) consume a variable amount of power.
The load loa2 has a variable input y between 0 and 1 that specifies the portion of
nominal power that is consumed.
The load loa3 has a variable input Pow that represents the actual power consumed
(or produced) by the load.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Conductor | loa1 | Load | |
| Sources.ConstantVoltage | sou | Voltage source | |
| Modelica.Electrical.Analog.Basic.Ground | gro | Ground | |
| Conductor | loa2 | Load | |
| Modelica.Blocks.Sources.Ramp | varLoad_y | Power signal | |
| Conductor | loa3 | Load | |
| Modelica.Blocks.Sources.Ramp | varLoad_P | Power signal | |
| Lines.TwoPortResistance | res | Line resistance | |
| Sensors.GeneralizedSensor | sen | Sensor |
Revisions
-
June 2, 2014, by Marco Bonvini:
Revised documentation.