modelMixingValveAndHEX_ExergyDestruction_Simplified

Extends from HVACAgentBasedControl.BaseClasses.PartialCostFunction.

Information

Overview

  • This model determines the exergy destruction of a mixing valve and a heat exchanger based on the inputs of the component.
  • It is used together with an IntermediateAgent.

Concept

Instead of a calculation with the help of inflowing and outflowing enthaplies, this cost function calculates the exergy product based on a heat flux. The estimation of the average temperature of the heat flux causes a small uncertainty compared to the other approach. However, this cost function leads to a more stable and reliable simulation. Details can be found in the reference.

References

  • Felix Bünning. Development of a Modelica-library for agent-based control of HVAC systems. Bachelor thesis, 2016, RWTH Aachen University, Aachen, Germany.

Parameters

TypeNameDefaultDescription
RealT_0298.15Exergy reference temperature

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputcapacity (from PartialCostFunction)Input to connect with ProducerAgent
Modelica.Blocks.Interfaces.RealOutputcost (from PartialCostFunction)Output to connect with ProducerAgent
Modelica.Blocks.Interfaces.RealInputT_cold_in
Modelica.Blocks.Interfaces.RealInputT_hot_in
Modelica.Blocks.Interfaces.RealInputT_cold_out
Modelica.Blocks.Interfaces.RealInputT_hot_out

Components

TypeNameDefaultDescription
RealT_hotHot temperature
RealT_coldCold temperature

Revisions

  • October 2015, by Felix Bünning: Developed and implemented
  • December 2016, by Roozbeh Sangi:
    revised