modelEnthalpyFlowRate

Test model for the enthalpy flow rate sensors

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

Information

This example tests the enthalpy flow rate sensor and the specific enthalpy sensor. The model compares the output of the enthalpy flow rate sensor with the product of the output of the enthalpy and the mass flow rate sensor.

Components

TypeNameDefaultDescription
Buildings.Fluid.Sensors.EnthalpyFlowRatesenH_flowEnthalpy flow rate sensor
Buildings.Fluid.Sources.MassFlowSource_TsouFlow boundary condition
Buildings.Fluid.Sources.Boundary_pTsinFlow boundary condition
Modelica.Blocks.Sources.RamprampInput signal for mass flow rate
Buildings.Fluid.Sensors.SpecificEnthalpyTwoPortsenHSpecific enthalpy sensor
Buildings.Fluid.Sensors.MassFlowRatesenMasFloMass flow rate sensor
Modelica.Blocks.Math.AddcheEquCheck for equality of the enthalpy flow rate computations
Modelica.Blocks.Math.ProductproComputes the enthalphy flow rate

Contents

NameDescription
MediumMedium model

Revisions

  • November 2, 2016, by Michael Wetter:
    Changed assertions to blocks that compute the difference, and added the difference to the regression results.
    This is for issue 564.
  • August 31, 2013, by Michael Wetter:
    Change tau=0 to tau=1 for sensors. Changed source model to use temperature instead of specific enthalpy as a parameter.
  • September 29, 2009, by Michael Wetter:
    First implementation.