modelMixingValveAndHEX_ExergyDestruction

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

Heat exchanger

The figure above shows the control volume for the mixing valve and heat exchanger. Based on this volume the following function for exergy destruction has been developed. Details can be found in the reference.

Heat excahnger cost function

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
RealT_circuit_hot273.15 + 80Temperature of the hot water circuit
Realm_flow_hot0.2Mass flow in the hot temperature circuit

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.RealInputm_flow_cold

Components

TypeNameDefaultDescription
RealT1Inlet cold temperature
RealT2Outlet cold temperature
RealT3Inlet hot temperature
RealT4Outlet hot temperature
Realm_flow_hot_actual

Revisions

  • October 2015, by Felix Bünning: Developed and implemented