modelHeatPump_PrimaryExergyDestruction_Heating

Extends from HVACAgentBasedControl.BaseClasses.PartialCostFunction.

Information

Overview

  • Identical to the cost function in the Exergy package, except a primary energy factor is included.

Parameters

TypeNameDefaultDescription
RealT_0298.15Exergy reference temperature
Real[:,:]tablePowerfill(0.0, 0, 2)table matrix (grid u1 = first column, grid u2 = first row; e.g., table=[0,0;0,1])
Real[:,:]tableHeatFlowCondenserfill(0.0, 0, 2)table matrix (grid u1 = first column, grid u2 = first row; e.g., table=[0,0;0,1])
RealPEF1.8Primary energy factor of the fuel

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
Modelica.Blocks.Interfaces.RealInputT_hot

Components

TypeNameDefaultDescription
RealCOPCooefficient of performance
Modelica.Blocks.Sources.RealExpressionrealExpression
Modelica.Blocks.Math.Addadd1
Modelica.Blocks.Math.Addadd2
Modelica.Blocks.Math.Divisiondivision
Modelica.Blocks.Math.Addadd3
Modelica.Blocks.Math.Addadd4
Modelica.Blocks.Math.Divisiondivision1
Modelica.Blocks.Sources.RealExpressionrealExpression1
Modelica.Blocks.Sources.RealExpressionrealExpression2
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Math.Divisiondivision2
Modelica.Blocks.Sources.RealExpressionrealExpression3
Modelica.Blocks.Sources.RealExpressionrealExpression4
Modelica.Blocks.Math.Addadd5
Modelica.Blocks.Math.Productproduct1
Modelica.Blocks.Tables.CombiTable2DsHeatFlowCondenserTable
Modelica.Blocks.Tables.CombiTable2DsPowerTable
Modelica.Blocks.Math.Gaingain

Revisions

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