modelStaticTwoPortConservationEquation

Model that tests the static two port conservation equation

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

Information

Model that tests the conservation equations that are used for the heat and mass balance. The instances have either water or air, and either allow or prohibit flow reversal. This example tests the implementation of the steady-state balance.

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.ConstantmWat_flowWater mass flow rate added to the control volume
Modelica.Blocks.Sources.TimeTableQSen_flowSensible heat flow rate added to the control volume
SubModelmodWatRevSubmodel for energy and mass balance
SubModelmodWatNoRevSubmodel for energy and mass balance
SubModelmodAirRevSubmodel for energy and mass balance
SubModelmodAirNoRevSubmodel for energy and mass balance

Contents

NameDescription
MediumWMedium model
MediumAMedium model
SubModelprotected

Revisions

  • January 22, 2016 by Michael Wetter:
    Updated model to use the new parameter use_mWat_flow rather than sensibleOnly.
  • July 17, 2015, by Michael Wetter:
    First implementation.