blockEnergyMeter

Block that outputs integrated energy, bounded away from zero

Extends from Modelica.Blocks.Icons.Block.

Information

Block that outputs the integrated enthalpy flow rate.

To avoid division by zero in downstream blocks, the output is bounded away from zero.

Components

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTMixTemperature of mixed water outlet
Modelica.Blocks.Interfaces.RealInputTColTemperature of cold water
Modelica.Blocks.Interfaces.RealInputm_flowMass flow rate
Modelica.Blocks.Interfaces.RealOutputEConsumed energy
Modelica.Units.SI.EnergyEIntIntegral of H_flow
Modelica.Units.SI.HeatFlowRateH_flowEnthalpy flow rate

Revisions

  • October 5, 2023, by Michael Wetter:
    First implementation.