modelHeatPump_ExergyDestruction_Heating
Extends from HVACAgentBasedControl.BaseClasses.PartialCostFunction.
Information
Overview
- This model determines the exergy destruction of a heat pump in heating mode based on the inputs of the component.
- It is used together with a HeatProducerAgent.
Concept
The figure above shows the control volume for the heat pump. Based on this volume the following function for exergy destruction has been developed. 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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | T_0 | 298.15 | Exergy reference temperature |
| Real[:,:] | tablePower | fill(0.0, 0, 2) | table matrix (grid u1 = first column, grid u2 = first row; e.g., table=[0,0;0,1]) |
| Real[:,:] | tableHeatFlowCondenser | fill(0.0, 0, 2) | table matrix (grid u1 = first column, grid u2 = first row; e.g., table=[0,0;0,1]) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | capacity (from PartialCostFunction) | Input to connect with ProducerAgent | |
| Modelica.Blocks.Interfaces.RealOutput | cost (from PartialCostFunction) | Output to connect with ProducerAgent | |
| Modelica.Blocks.Interfaces.RealInput | T_cold | ||
| Modelica.Blocks.Interfaces.RealInput | T_hot |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | COP | Cooefficient of performance | |
| Modelica.Blocks.Sources.RealExpression | realExpression | ||
| Modelica.Blocks.Math.Add | add1 | ||
| Modelica.Blocks.Math.Add | add2 | ||
| Modelica.Blocks.Math.Division | division | ||
| Modelica.Blocks.Math.Add | add3 | ||
| Modelica.Blocks.Math.Add | add4 | ||
| Modelica.Blocks.Math.Division | division1 | ||
| Modelica.Blocks.Sources.RealExpression | realExpression1 | ||
| Modelica.Blocks.Sources.RealExpression | realExpression2 | ||
| Modelica.Blocks.Math.Product | product | ||
| Modelica.Blocks.Math.Division | division2 | ||
| Modelica.Blocks.Sources.RealExpression | realExpression3 | ||
| Modelica.Blocks.Sources.RealExpression | realExpression4 | ||
| Modelica.Blocks.Math.Add | add5 | ||
| Modelica.Blocks.Math.Product | product1 | ||
| Modelica.Blocks.Tables.CombiTable2Ds | HeatFlowCondenserTable | ||
| Modelica.Blocks.Tables.CombiTable2Ds | PowerTable |
Revisions
- October 2015, by Felix Bünning: Developed and implemented
- December 2016, by Roozbeh Sangi:
revised