modelAssertPower

Assert if electric power is outside boundaries

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

The model sends a warning message if the power demand is outside the boundaries defined by the manufacturer. Limits can be specified for the minimal and maximal electric power, and for the maximum rate at which the power can change.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.PowerPEleMaxMaximum power output
Modelica.Units.SI.PowerPEleMinMinimum power output
Booleanuse_powerRateLimitIf true, the rate at which net power output can change is limited
RealdPEleMaxMaximum rate at which net power output can change

Connectors

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Interfaces.RealInputPEleDemElectric power demand

Components

TypeNameDefaultDescription
Buildings.Controls.OBC.CDL.Utilities.AssertassMesPGenerate warning when the electric power demand is out of the range
Buildings.Controls.OBC.CDL.Utilities.AssertassMesDPAssert function for checking power rate

Revisions

  • June 1, 2019, by Tea Zakula:
    First implementation.