modelHeaterCooler_u

Model that tests a heat exchanger model with reverse flow

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

Information

Model that tests the basic class that is used for the heater models. It adds and removes heat for forward and reverse flow. The top and bottom models should give similar results, although the sign of the temperature difference over the components differ because of the reverse flow. The model computes differences in results that are expected to be close to each other after the initial transients decayed. All temperature sensors are configured as steady-state sensors to avoid differences in temperature due to the dynamic response of the sensor.

Components

TypeNameDefaultDescription
IBPSA.Fluid.HeatExchangers.HeaterCooler_uhea1Heater and cooler
Modelica.Blocks.Sources.ConstantTDbDrybulb temperature
IBPSA.Fluid.Sources.Boundary_pTsou_1
IBPSA.Fluid.FixedResistances.PressureDropres_11
IBPSA.Fluid.FixedResistances.PressureDropres_12
IBPSA.Fluid.Sources.Boundary_pTsin_1
Modelica.Blocks.Sources.ConstantPOut
Modelica.Blocks.Sources.RampuControl signal
IBPSA.Fluid.HeatExchangers.HeaterCooler_uhea2Heater and cooler
Modelica.Blocks.Math.Gaingain
IBPSA.Fluid.HeatExchangers.HeaterCooler_uhea3Heater and cooler
IBPSA.Fluid.FixedResistances.PressureDropres_2
IBPSA.Fluid.FixedResistances.PressureDropres_3
IBPSA.Fluid.HeatExchangers.HeaterCooler_uhea4Heater and cooler
IBPSA.Fluid.FixedResistances.PressureDropres_4
IBPSA.Fluid.MixingVolumes.MixingVolumemix1
Modelica.Blocks.Math.Addche1
Modelica.Blocks.Math.Addche2
IBPSA.Fluid.HeatExchangers.HeaterCooler_uhea5Heater and cooler
IBPSA.Fluid.FixedResistances.PressureDropres_1
IBPSA.Fluid.FixedResistances.PressureDropres_5
IBPSA.Fluid.HeatExchangers.HeaterCooler_uhea6Heater and cooler
IBPSA.Fluid.HeatExchangers.HeaterCooler_uhea7Heater and cooler
IBPSA.Fluid.FixedResistances.PressureDropres_6
IBPSA.Fluid.FixedResistances.PressureDropres_7
IBPSA.Fluid.HeatExchangers.HeaterCooler_uhea8Heater and cooler
IBPSA.Fluid.FixedResistances.PressureDropres_8
IBPSA.Fluid.MixingVolumes.MixingVolumemix2
Modelica.Blocks.Math.Addche9
Modelica.Blocks.Math.Addche10
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem2aTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem2bTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem1aTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem1bTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem3aTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem3bTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem4aTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem4bTemperature sensor
Modelica.Blocks.Math.Addche3
Modelica.Blocks.Math.Addche4
Modelica.Blocks.Math.Addche5
Modelica.Blocks.Math.Addche6
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem6bTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem6aTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem5bTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem5aTemperature sensor
Modelica.Blocks.Math.Addche7
Modelica.Blocks.Math.Addche8
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem8bTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem8aTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem7bTemperature sensor
IBPSA.Fluid.Sensors.TemperatureTwoPortsenTem7aTemperature sensor

Contents

NameDescription
Medium

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.
  • May 30, 2014, by Michael Wetter:
    Changed initialization of mass dynamics to avoid overspecified system of equations if the medium model is incompressible.
  • January 24, 2013, by Michael Wetter:
    Increased parameter startTime of the assert block and set initial conditions to Modelica.Fluid.Types.Dynamics.FixedInitial.
  • July 11, 2011, by Michael Wetter:
    Changed model to sensors with two fluid ports. Moved model to IBPSA.Fluid.Interfaces.Examples.
  • April 17, 2008, by Michael Wetter:
    First implementation.