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

TypeNameDefaultDescription
Conductorloa1Load
Sources.ConstantVoltagesouVoltage source
Modelica.Electrical.Analog.Basic.GroundgroGround
Conductorloa2Load
Modelica.Blocks.Sources.RampvarLoad_yPower signal
Conductorloa3Load
Modelica.Blocks.Sources.RampvarLoad_PPower signal
Lines.TwoPortResistanceresLine resistance
Sensors.GeneralizedSensorsenSensor

Revisions

  • June 2, 2014, by Marco Bonvini:
    Revised documentation.