Skip to content

Commit 33a7a1e

Browse files
committed
Address eir_wwhp review comments post-merge
1 parent 7a13168 commit 33a7a1e

File tree

4 files changed

+44
-37
lines changed

4 files changed

+44
-37
lines changed

doc/engineering-reference/src/simulation-models-encyclopedic-reference-002/air-system-compound-component-groups.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2558,14 +2558,15 @@ \subsection{EIR Formulated Water To Water Heat Pump Model}\label{eir-water-to-wa
25582558

25592559
This section describes the EIR formulated model for water-to-water heat pumps. (Object names: HeatPump:WaterToWater:EIR:Cooling \& HeatPump:WaterToWater:EIR:Heating). In general, these heat pump objects are treated the same as the other heat pump models by the plant loop. Even though a heat pump is generally a single load coil and a single source coil with a reversing valve, in EnergyPlus, the paradigm is to split the operation into two separate coils, a heating and a cooling. It is certainly possible to connect the load side of both of these to a single plant loop if the controls are established properly. The source side of the coils are often placed on a single loop with some form of condensing supply, either a ground loop heat exchanger or a cooling tower (or a combination of the two).
25602560

2561-
Note that this component is currently a constant flow device (it will always request its full design flow from the plant), with a future addition to make it respond to outlet setpoint in order to vary the flow request.
2561+
Note that this component is currently a constant flow device (it will always request its full design flow from the plant), with a future addition planned to make it respond to outlet setpoint in order to vary the flow request.
25622562

2563-
The bookkeeping part of the heat pump code with regards to flow requests and nodal conditions is identical to other components, so this section will only briefly discuss the mathematical formulation of the model.
2563+
The bookkeeping part of the heat pump code with regards to flow requests and nodal conditions is identical to other water-to-water heat pump components, so this section will only briefly discuss the mathematical formulation of the model.
25642564

25652565
Once load and source flow rates have been established for the component using the SetComponentFlowRate interface to the plant, and inlet temperatures for each side have been read, a function calculates the response of the unit to these conditions. The process to evaluate the outlet state is as follows:
25662566

25672567
\begin{enumerate}
25682568
\item Retrieve load side outlet temperature setpoint
2569+
\item Take the reference power usage as $P_{reference}$
25692570
\item Evaluate the capacity modifier function using the source inlet temperature and the load side setpoint temperature as the projected outlet temperature ($f_{cap} = f(T_{out,load,set}, T_{in,src}) $)
25702571
\item Calculate available load side capacity using the reference value and the modifier ($\dot{q}_{load,avail} = \dot{q}_{reference} \cdot f_{cap}$)
25712572
\item Calculate the part load ratio using the current plant-dispatched load (constrained between zero and one) ($PLR = \frac{\dot{q}_{plant}}{\dot{q}_{avail}}$)

doc/input-output-reference/src/overview/group-plant-equipment.tex

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4442,8 +4442,14 @@ \subsection{Water to Water Heat Pumps}\label{water-to-water-heat-pumps}
44424442

44434443
Tang,C. C. 2005. Modeling Packaged Heat Pumps in Quasi-Steady State Energy Simulation Program. M.S. Thesis. Department of Mechanical and Aerospace Engineering, Oklahoma State University. (downloadable from \href{http://www.hvac.okstate.edu}{http://www.hvac.okstate.edu/})
44444444

4445+
\textbf{HeatPump:WaterToWater:EIR:Cooling}
4446+
4447+
\textbf{HeatPump:WaterToWater:EIR:Heating}
4448+
44454449
Beginning with version 9.1, an EIR-formulated water-to-water heat pump model was added. This formulation allows the user to enter curves for specifying the capacity and energy usage in a more generic way, allowing the curves to be applicable to a wide variety of components. With the original equation fit model, the curve form was locked in to a specific set of linear coefficients. With the new form, the curve can be a quadratic function of temperatures, or an even more generic lookup table.
44464450

4451+
\textbf{Configuration}
4452+
44474453
The Supply side of the heat pump is usually connected to a Ground Heat Exchanger. The figure below shows the layout and piping diagram of the water-to-water heat pump.
44484454

44494455
\begin{figure}[hbtp] % fig 75
@@ -5075,35 +5081,35 @@ \subsubsection{Inputs}\label{wwhpeir_inputs}
50755081

50765082
\paragraph{Field: Load Side Reference Flow Rate}\label{wwhp_eir_inputs_load_side_flow}
50775083

5078-
This autosizable field defines the reference load side flow rate for the coil. This field is used as the nominal flow request for this heat pump unit during the simulation. The units for this field are [m3/s].
5084+
This autosizable field defines the reference load side flow rate for the heat pump. This field is used as the nominal flow request for this heat pump unit during the simulation. The units for this field are [m3/s].
50795085

50805086
\paragraph{Field: Source Side Reference Flow Rate}\label{wwhp_eir_inputs_source_side_flow}
50815087

5082-
This autosizable field defines the reference demand side flow rate for the coil. This field is used as the nominal flow request for this heat pump unit during the simulation. The units for this field are [m3/s].
5088+
This autosizable field defines the reference source side side flow rate for the heat pump. This field is used as the nominal flow request for this heat pump unit during the simulation. The units for this field are [m3/s].
50835089

50845090
\paragraph{Field: Reference Capacity}\label{wwhp_eir_inputs_reference_capacity}
50855091

5086-
This autosizable field defines the reference load side heat capacity for the coil. Cooling capacity for a cooling coil and heating capacity for a heating coil. The units for this field are [W].
5092+
This autosizable field defines the reference load side heat capacity for the heat pump. Cooling capacity for a cooling companion heat pump and heating capacity for a heating companion heat pump. The units for this field are [W].
50875093

50885094
\paragraph{Field: Reference Coefficient of Performance}\label{wwhp_eir_inputs_reference_cop}
50895095

5090-
This field contains the reference COP for this unit, which is used when calculating the power required for the coil under simulation conditions. The COP is defined as the load side energy transfer divided by the power input, with dimensionless units of [W/W].
5096+
This field contains the reference COP for this unit, which is used when calculating the power required for the heat pump under simulation conditions. The COP is defined as the load side energy transfer divided by the power input, with dimensionless units of [W/W].
50915097

50925098
\paragraph{Field: Sizing Factor}\label{wwhp_eir_inputs_sizing_factor}
50935099

50945100
This field allows the user to scale the sizing of this unit compared to the plant-determined autosized flow and heat capacity.
50955101

50965102
\paragraph{Field: Capacity Modifier Function of Temperature Curve Name}\label{wwhp_eir_inputs_capft}
50975103

5098-
This field is the name of a bivariate curve that defines an available capacity modifier of the unit as a function of the load side outlet temperature and the source side inlet temperature.
5104+
This field is the name of a bivariate curve or table that defines an available capacity modifier of the unit as a function of the load side outlet temperature and the source side inlet temperature. The temperatures are in degrees Celsius when used in the function and the output of the function is multiplied by the reference capacity to get a current available capacity.
50995105

51005106
\paragraph{Field: Electric Input to Output Ratio Modifier Function of Temperature Curve Name}\label{wwhp_eir_inputs_eirft}
51015107

5102-
This field is the name of a bivariate curve that defines an EIR (1/COP) modifier as a function of the load side outlet temperature and the source side inlet temperature.
5108+
This field is the name of a bivariate curve or table that defines an EIR (1/COP) modifier as a function of the load side outlet temperature and the source side inlet temperature. The temperatures are in degrees Celsius when used in the function. The output of this function and the output of the EIR Modifier Function of PLR are multiplied by the reference EIR to get a current EIR .
51035109

51045110
\paragraph{Field: Electric Input to Output Ratio Modifier Function of Part Load Ratio Curve Name}\label{wwhp_eir_inputs_eirfplr}
51055111

5106-
This field is the name of a univariate curve that defines an EIR modifier as a function of the current part load ratio.
5112+
This field is the name of a univariate curve or table that defines an EIR modifier as a function of the current part load ratio. The output of this function and the output of the EIR Modifier Function of Temperature are multiplied by the reference EIR to get a current EIR .
51075113

51085114
An idf example:
51095115

idd/Energy+.idd.in

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -69946,7 +69946,7 @@ HeatPump:WaterToWater:EIR:Cooling,
6994669946
\min-fields 15
6994769947
A1, \field Name
6994869948
\type alpha
69949-
\reference WWHPHeatingNames
69949+
\reference WWHPCoolingNames
6995069950
\required-field
6995169951
\reference-class-name validPlantEquipmentTypes
6995269952
\reference validPlantEquipmentNames
@@ -69965,10 +69965,10 @@ HeatPump:WaterToWater:EIR:Cooling,
6996569965
\required-field
6996669966
\type node
6996769967
A6, \field Companion Heat Pump Name
69968-
\note This field allows the user to specify a companion heating
69969-
\note object for this cooling object. The companion is used in
69970-
\note sizing the heat pump as well as to allow checks for unexpected
69971-
\note simultaneous operation of the two objects.
69968+
\note This field allows the user to specify a companion heating
69969+
\note object for this cooling object. The companion is used in
69970+
\note sizing the heat pump as well as to allow checks for unexpected
69971+
\note simultaneous operation of the two objects.
6997269972
N1, \field Load Side Reference Flow Rate
6997369973
\note This component is currently a constant-flow device, meaning it will always
6997469974
\note try to request the full design flow from the central plant manager.
@@ -69978,19 +69978,22 @@ HeatPump:WaterToWater:EIR:Cooling,
6997869978
\units m3/s
6997969979
\ip-units gal/min
6998069980
\autosizable
69981+
\default autosize
6998169982
N2, \field Source Side Reference Flow Rate
6998269983
\required-field
6998369984
\type real
6998469985
\minimum> 0.0
6998569986
\units m3/s
6998669987
\ip-units gal/min
6998769988
\autosizable
69989+
\default autosize
6998869990
N3, \field Reference Capacity
6998969991
\required-field
6999069992
\type real
6999169993
\minimum> 0.0
6999269994
\units W
6999369995
\autosizable
69996+
\default autosize
6999469997
N4, \field Reference Coefficient of Performance
6999569998
\required-field
6999669999
\type real
@@ -70004,31 +70007,28 @@ HeatPump:WaterToWater:EIR:Cooling,
7000470007
\minimum> 0.0
7000570008
\default 1.0
7000670009
A7, \field Capacity Modifier Function of Temperature Curve Name
70007-
\note Cooling capacity as a function of CW supply temp and entering condenser temp
70010+
\note Cooling capacity modifier as a function of CW supply temp and entering condenser temp
7000870011
\required-field
7000970012
\type object-list
70010-
\object-list BiquadraticCurves
70011-
\object-list BiVariateTables
70013+
\object-list BivariateFunctions
7001270014
\note curve = a + b*CWS + c*CWS**2 + d*ECT + e*ECT**2 + f*CWS*ECT
7001370015
\note CWS = supply (leaving) chilled water temperature(C)
7001470016
\note ECT = entering condenser fluid temperature(C)
7001570017
A8, \field Electric Input to Output Ratio Modifier Function of Temperature Curve Name
70016-
\note Electric Input Ratio (EIR) as a function of temperature
70018+
\note Electric Input Ratio (EIR) modifier as a function of temperature
7001770019
\note EIR = 1/COP
7001870020
\required-field
7001970021
\type object-list
70020-
\object-list BiquadraticCurves
70021-
\object-list BiVariateTables
70022+
\object-list BivariateFunctions
7002270023
\note curve = a + b*CWS + c*CWS**2 + d*ECT + e*ECT**2 + f*CWS*ECT
7002370024
\note CWS = supply (leaving) chilled water temperature(C)
7002470025
\note ECT = entering condenser fluid temperature(C)
7002570026
A9; \field Electric Input to Output Ratio Modifier Function of Part Load Ratio Curve Name
70026-
\note Electric Input Ratio (EIR) as a function of Part Load Ratio (PLR)
70027+
\note Electric Input Ratio (EIR) modifier as a function of Part Load Ratio (PLR)
7002770028
\note EIR = 1/COP
7002870029
\required-field
7002970030
\type object-list
70030-
\object-list UniVariateCurves
70031-
\object-list UniVariateTables
70031+
\object-list UniVariateFunctions
7003270032
\note quadratic curve = a + b*PLR + c*PLR**2 is typical, other univariate curves may be used
7003370033
\note PLR = part load ratio (cooling load/steady state capacity)
7003470034

@@ -70056,10 +70056,10 @@ HeatPump:WaterToWater:EIR:Heating,
7005670056
\required-field
7005770057
\type node
7005870058
A6, \field Companion Heat Pump Name
70059-
\note This field allows the user to specify a companion cooling
70060-
\note object for this heating object. The companion is used in
70061-
\note sizing the heat pump as well as to allow checks for unexpected
70062-
\note simultaneous operation of the two objects.
70059+
\note This field allows the user to specify a companion cooling
70060+
\note object for this heating object. The companion is used in
70061+
\note sizing the heat pump as well as to allow checks for unexpected
70062+
\note simultaneous operation of the two objects.
7006370063
\type object-list
7006470064
\object-list WWHPCoolingNames
7006570065
N1, \field Load Side Reference Flow Rate
@@ -70071,19 +70071,22 @@ HeatPump:WaterToWater:EIR:Heating,
7007170071
\units m3/s
7007270072
\ip-units gal/min
7007370073
\autosizable
70074+
\default autosize
7007470075
N2, \field Source Side Reference Flow Rate
7007570076
\required-field
7007670077
\type real
7007770078
\minimum> 0.0
7007870079
\units m3/s
7007970080
\ip-units gal/min
7008070081
\autosizable
70082+
\default autosize
7008170083
N3, \field Reference Capacity
7008270084
\required-field
7008370085
\type real
7008470086
\minimum> 0.0
7008570087
\units W
7008670088
\autosizable
70089+
\default autosize
7008770090
N4, \field Reference Coefficient of Performance
7008870091
\required-field
7008970092
\type real
@@ -70097,31 +70100,28 @@ HeatPump:WaterToWater:EIR:Heating,
7009770100
\minimum> 0.0
7009870101
\default 1.0
7009970102
A7, \field Capacity Modifier Function of Temperature Curve Name
70100-
\note Heating capacity as a function of CW supply temp and entering condenser temp
70103+
\note Heating capacity modifier as a function of CW supply temp and entering condenser temp
7010170104
\required-field
7010270105
\type object-list
70103-
\object-list BiquadraticCurves
70104-
\object-list BiVariateTables
70106+
\object-list BivariateFunctions
7010570107
\note curve = a + b*CWS + c*CWS**2 + d*ECT + e*ECT**2 + f*CWS*ECT
7010670108
\note CWS = supply (leaving) hot water temperature(C)
7010770109
\note ECT = entering condenser fluid temperature(C)
7010870110
A8, \field Electric Input to Output Ratio Modifier Function of Temperature Curve Name
70109-
\note Electric Input Ratio (EIR) as a function of temperature
70111+
\note Electric Input Ratio (EIR) modifier as a function of temperature
7011070112
\note EIR = 1/COP
7011170113
\required-field
7011270114
\type object-list
70113-
\object-list BiquadraticCurves
7011470115
\object-list BiVariateTables
7011570116
\note curve = a + b*CWS + c*CWS**2 + d*ECT + e*ECT**2 + f*CWS*ECT
7011670117
\note CWS = supply (leaving) hot water temperature(C)
7011770118
\note ECT = entering condenser fluid temperature(C)
7011870119
A9; \field Electric Input to Output Ratio Modifier Function of Part Load Ratio Curve Name
70119-
\note Electric Input Ratio (EIR) as a function of Part Load Ratio (PLR)
70120+
\note Electric Input Ratio (EIR) modifier as a function of Part Load Ratio (PLR)
7012070121
\note EIR = 1/COP
7012170122
\required-field
7012270123
\type object-list
70123-
\object-list UniVariateCurves
70124-
\object-list UniVariateTables
70124+
\object-list UnivariateFunctions
7012570125
\note quadratic curve = a + b*PLR + c*PLR**2 is typical, other univariate curves may be used
7012670126
\note PLR = part load ratio (hot load/steady state capacity)
7012770127

src/EnergyPlus/HeatPumpWaterToWaterSimple.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ namespace HeatPumpWaterToWaterSimple {
764764

765765
if (this->WWHPPlantTypeOfNum == TypeOf_HPWaterEFHeating) {
766766
rho = GetDensityGlycol(
767-
PlantLoop(this->LoadLoopNum).FluidName, DataGlobals::CWInitConvTemp, PlantLoop(this->LoadLoopNum).FluidIndex, RoutineName);
767+
PlantLoop(this->LoadLoopNum).FluidName, DataGlobals::HWInitConvTemp, PlantLoop(this->LoadLoopNum).FluidIndex, RoutineName);
768768
this->LoadSideDesignMassFlow = this->RatedLoadVolFlowHeat * rho;
769769
rho = GetDensityGlycol(
770770
PlantLoop(this->SourceLoopNum).FluidName, DataGlobals::CWInitConvTemp, PlantLoop(this->SourceLoopNum).FluidIndex, RoutineName);
@@ -774,7 +774,7 @@ namespace HeatPumpWaterToWaterSimple {
774774
PlantLoop(this->LoadLoopNum).FluidName, DataGlobals::CWInitConvTemp, PlantLoop(this->LoadLoopNum).FluidIndex, RoutineName);
775775
this->LoadSideDesignMassFlow = this->RatedLoadVolFlowCool * rho;
776776
rho = GetDensityGlycol(
777-
PlantLoop(this->SourceLoopNum).FluidName, DataGlobals::CWInitConvTemp, PlantLoop(this->SourceLoopNum).FluidIndex, RoutineName);
777+
PlantLoop(this->SourceLoopNum).FluidName, DataGlobals::HWInitConvTemp, PlantLoop(this->SourceLoopNum).FluidIndex, RoutineName);
778778
this->SourceSideDesignMassFlow = this->RatedSourceVolFlowCool * rho;
779779
}
780780

0 commit comments

Comments
 (0)