modelLinearizedLoad

Example model to check the linearized load model

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example demonstrates the use of a linealized load model Buildings.Electrical.DC.Loads.Conductor.

Both loads are connected to the same DC voltage source through a resistive element that represents a line. The loads consume the same amount of power that is specified by the input ramp signal.

The nonlinear conductor model NonlinearLoad consumes exactly the amount of power specified by the input NonlinearLoad.Pow.

The linearized conductor model LinearizedLoad does not consumes the amount of power specified by the input LinearizedLoad.Pow. The voltage at the load deviates from the nominal value when the power consumption increases. Since the model is approximated in a neighbor of the nominal voltage, moving from that point introduces approximation errors. The plot below shows the error introduced with such an approximation.

image

The linearized load is tested over a voltage variation of about 30 % of the nominal voltage and within this range the maximum error is 1.23457 % that occurs when the voltage deviation is 11.11 %.

Components

TypeNameDefaultDescription
Realerror(sen_nlin.P - sen_lin.P)*100/sen_nlin.PPercentage of error between the linearized and actual power consumption
RealdeltaVLinearLoad.V_nominal - sen_lin.VVoltage distance between nominal condition and actual voltage
Buildings.Electrical.DC.Loads.ConductorNonlinearLoadNonlinear load model
Sources.ConstantVoltagesouVoltage source
Modelica.Electrical.Analog.Basic.GroundgroGround
Lines.TwoPortResistanceRline1Line resistance
Sensors.GeneralizedSensorsen_nlinSensor
Buildings.Electrical.DC.Loads.ConductorLinearLoadLinearized load model
Sensors.GeneralizedSensorsen_linSensor
Lines.TwoPortResistanceRline2Line resistance
Modelica.Blocks.Sources.RamprampPower consumption

Revisions

  • June 2, 2014, by Marco Bonvini:
    Revised documentation.
  • August 16, 2013, by Michael Wetter:
    First implementation.