modelHeatPump_PrimaryExergyDestruction_Cooling
Extends from HVACAgentBasedControl.BaseClasses.PartialCostFunction.
Information
Overview
-
Identical to the cost
function in the Exergy package, except a primary energy factor is
included.
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]) |
| Real | PEF | 1.8 | Primary energy factor of the fuel |
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.Add | add4 | | |
| Modelica.Blocks.Math.Division | division1 | | |
| Modelica.Blocks.Sources.RealExpression | realExpression1 | | |
| Modelica.Blocks.Interfaces.RealInput | T_cold | | |
| Modelica.Blocks.Sources.RealExpression | realExpression2 | | |
| Modelica.Blocks.Math.Product | product | | |
| Modelica.Blocks.Interfaces.RealInput | T_hot | | |
| 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.Math.Division | division3 | | |
| Modelica.Blocks.Sources.RealExpression | realExpression5 | | |
| Modelica.Blocks.Math.Division | division4 | | |
| Modelica.Blocks.Math.Add | add3 | | |
| Modelica.Blocks.Tables.CombiTable2Ds | PowerTable | | |
| Modelica.Blocks.Tables.CombiTable2Ds | HeatFlowCondenserTable | | |
| Modelica.Blocks.Math.Gain | gain | | |
Revisions
- October 2015, by Felix Bünning: Developed and implemented
- December 2016, by Roozbeh Sangi:
revised