Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.BaseClasses
Package with base classes for Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries
Information
This package contains base classes that are used to construct the models in Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
| Name | Description |
|---|---|
| Load connected to the network via ETS with or without DHW integration | |
| Building load with time series and control valve for supply water temperature to the coils |
Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.BaseClasses.BuildingETS
Load connected to the network via ETS with or without DHW integration
Information
Model that connects a building thermal and cooling load, specified by time series, with an energy transfer station, and exposes the fluid connections of the energy transfer station for connecting it to district energy service lines.
The model extends from Buildings.DHC.Loads.BaseClasses.PartialBuildingWithPartialETS, which connects the building and the load, and exposes the fluid connection for connecting it to the district service line. The building load is modeled by reading time series, and drawing as much heating or cooling water as determined by its control. This is implemented through Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.BaseClasses.BuildingTimeSeries. The energy transfer station uses a heat recovery heat pump, and can optionally have domestic hot water preparation. This is implemented in Buildings.DHC.ETS.Combined.HeatRecoveryHeatPump.
See the respective models for a detailed description.
Extends from Buildings.DHC.Loads.BaseClasses.PartialBuildingWithPartialETS (Partial model of a building with an energy transfer station).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package MediumSer | Water | Service side medium | |
| replaceable package MediumSerHea_a | Water | Service side medium at heating inlet | |
| replaceable package MediumBui | Water | Building side medium | |
| Real | facTerUniSizHea | Factor to increase design capacity of space terminal units for heating [1] | |
| String | filNam | File name for the load profile | |
| HVAC | datBuiSet | Building set points | |
| WAMAK_220kW | datHeaPum | datHeaPum(PLRMin=0.2/3 "20%,... | Heat recovery heat pump parameters |
| GenericDomesticHotWaterWithHeatExchanger | datDhw | datDhw(VTan=datHeaPum.mCon_f... | Performance data of the domestic hot water component |
| Table | THeaWatSupSet | THeaWatSupSet(final table=da... | Heating water supply temperature set point |
| Table | TChiWatSupSet | TChiWatSupSet(final table=da... | Chilled water supply temperature set point |
| Constant | THotWatSupSet | THotWatSupSet(final k(final ... | Domestic hot water supply temperature set point |
| Constant | TColWat | TColWat(final k(final unit="... | Domestic cold water temperature |
| Configuration | |||
| Integer | nPorts_heaWat | 1 | Number of heating water fluid ports |
| Integer | nPorts_chiWat | 1 | Number of chilled water fluid ports |
| Boolean | have_eleNonHva | Set to true to enable a data reader and output signal for non-HVAC electrical load | |
| Scaling | |||
| Real | facMul | 1 | Multiplier factor |
| Nominal condition | |||
| TemperatureDifference | dT_nominal | 4 | Water temperature drop/increase accross load and source-side HX (always positive) [K] |
| Temperature | TChiWatSup_nominal | datBuiSet.TChiWatSup_nominal | Chilled water supply temperature to building load [K] |
| Temperature | THeaWatSup_nominal | datBuiSet.THeaWatSup_nominal | Heating water supply temperature to building load [K] |
| Design parameter | |||
| HeatFlowRate | QCoo_flow_nominal | Buildings.DHC.Loads.BaseClas... | Design cooling heat flow rate (<=0) [W] |
| HeatFlowRate | QHea_flow_nominal | Buildings.DHC.Loads.BaseClas... | Design heating heat flow rate (>=0) [W] |
| HeatFlowRate | QHot_flow_nominal | Buildings.DHC.Loads.BaseClas... | Design heating heat flow rate (>=0) [W] |
| ETS model parameters | |||
| Temperature | THotWatSup_nominal | datBuiSet.THotWatSupFix_nomi... | Domestic hot water supply temperature to fixtures [K] |
| Assumptions | |||
| Boolean | allowFlowReversalSer | false | Set to true to allow flow reversal on service side |
| Boolean | allowFlowReversalBui | false | Set to true to allow flow reversal on building side |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPort_a | port_aSerAmb | Fluid connector for ambient water service supply line |
| FluidPort_b | port_bSerAmb | Fluid connector for ambient water service return line |
| FluidPort_a | port_aSerHea | Fluid connector for heating service supply line |
| FluidPort_b | port_bSerHea | Fluid connector for heating service return line |
| FluidPort_a | port_aSerCoo | Fluid connector for cooling service supply line |
| FluidPort_b | port_bSerCoo | Fluid connector for cooling service return line |
| Bus | weaBus | Weather data bus |
| output RealOutput | QHea_flow | Total heating heat flow rate transferred to the loads (>=0) [W] |
| output RealOutput | QCoo_flow | Total cooling heat flow rate transferred to the loads (<=0) [W] |
| output RealOutput | PHea | Power drawn by heating system [W] |
| output RealOutput | PCoo | Power drawn by cooling system [W] |
| output RealOutput | PFan | Power drawn by fan motors [W] |
| output RealOutput | PPum | Power drawn by pump motors [W] |
| output RealOutput | QFue_flow[nFue] | Fuel energy input rate [W] |
| output RealOutput | PEleNonHva | Power drawn by non-HVAC electricity load [W] |
| output RealOutput | dHHeaWat_flow | Heating water distributed energy flow rate [W] |
| output RealOutput | dHChiWat_flow | Chilled water distributed energy flow rate [W] |
| output RealOutput | dHHotWat_flow | Domestic hot water distributed energy flow rate [W] |
Modelica definition
Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.BaseClasses.BuildingTimeSeries
Building load with time series and control valve for supply water temperature to the coils
Information
Model of a building heating and cooling load based on time series data.
This model is identical to Buildings.DHC.Loads.BaseClasses.BuildingTimeSeries, but it adds input signals for the heating and cooling supply water temperature, and configures the above model to use a three-way control valve to mix the heating and cooling supply water to the temperature described by these two input signals.
Extends from Buildings.DHC.Loads.BaseClasses.BuildingTimeSeries (Building model with heating and/or cooling loads provided as time series).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium2 | Air | Load side medium | |
| String | filNam | File name with thermal loads as time series | |
| Real | k | 0.1 | Gain of controller |
| Time | Ti | 10 | Time constant of integrator block [s] |
| FanCoil2PipeHeating | terUniHea | redeclare Buildings.DHC.Load... | Heating terminal unit |
| FanCoil2PipeCooling | terUniCoo | redeclare Buildings.DHC.Load... | Cooling terminal unit |
| Configuration | |||
| Boolean | have_heaWat | true | Set to true if the building has heating water system |
| Boolean | have_chiWat | true | Set to true if the building has chilled water system |
| Boolean | have_hotWat | false | Set to true if SHW load is included in the time series |
| Scaling | |||
| Real | facMul | 1 | Multiplier factor |
| Nominal condition | |||
| Temperature | T_aHeaWat_nominal | 323.15 | Heating water inlet temperature at nominal conditions [K] |
| Temperature | T_bHeaWat_nominal | T_aHeaWat_nominal - 10 | Heating water outlet temperature at nominal conditions [K] |
| Temperature | T_aChiWat_nominal | 280.15 | Chilled water inlet temperature at nominal conditions [K] |
| Temperature | T_bChiWat_nominal | T_aChiWat_nominal + 5 | Chilled water outlet temperature at nominal conditions [K] |
| HeatFlowRate | QCoo_flow_nominal | if have_chiWat then Building... | Design cooling heat flow rate (<=0) [W] |
| HeatFlowRate | QHea_flow_nominal | if have_heaWat then Building... | Design heating heat flow rate (>=0) [W] |
| MassFlowRate | mChiWat_flow_nominal | QCoo_flow_nominal/cp_default... | Chilled water mass flow rate at nominal conditions (all units) [kg/s] |
| MassFlowRate | mHeaWat_flow_nominal | QHea_flow_nominal/cp_default... | Heating water mass flow rate at nominal conditions (all units) [kg/s] |
| Assumptions | |||
| Boolean | allowFlowReversal | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Advanced | |||
| Scaling | |||
| Real | facMulHea | QHea_flow_nominal/(QHea_flow... | Heating terminal unit multiplier factor |
| Real | facMulCoo | QCoo_flow_nominal/(QCoo_flow... | Cooling terminal unit scaling factor |
| Nominal condition | |||
| Temperature | T_aLoaHea_nominal | 293.15 | Load side inlet temperature at nominal conditions in heating mode [K] |
| Temperature | T_aLoaCoo_nominal | 298.15 | Load side inlet temperature at nominal conditions in cooling mode [K] |
| MassFraction | w_aLoaCoo_nominal | 0.01 | Load side inlet humidity ratio at nominal conditions in cooling mode [1] |
| MassFlowRate | mLoaHea_flow_nominal | 0.5 | Load side mass flow rate at nominal conditions in heating mode (single unit) [kg/s] |
| MassFlowRate | mLoaCoo_flow_nominal | mLoaHea_flow_nominal | Load side mass flow rate at nominal conditions in cooling mode (single unit) [kg/s] |
| Reference terminal unit performance | |||
| Temperature | T_aHeaWat_nominal_ref | 323.15 | Heating water inlet temperature at nominal conditions of reference terminal unit [K] |
| Temperature | T_aLoaHea_nominal_ref | 293.15 | Load side inlet temperature at nominal conditions in heating mode of reference terminal unit [K] |
| MassFlowRate | mLoaHea_flow_nominal_ref | 0.5 | Load side mass flow rate at nominal conditions in heating mode of reference terminal unit [kg/s] |
| HeatFlowRate | QHea_flow_nominal_ref | 4.5E3 | Heat flow at nominal conditions in heating mode of reference terminal unit [W] |
| Temperature | T_aChiWat_nominal_ref | 279.15 | Chilled water inlet temperature at nominal conditions of reference terminal unit [K] |
| Temperature | T_aLoaCoo_nominal_ref | 298.15 | Load side inlet temperature at nominal conditions in cooling mode of reference terminal unit [K] |
| MassFraction | w_aLoaCoo_nominal_ref | 0.01 | Load side inlet humidity ratio at nominal conditions in cooling mode of reference terminal unit [1] |
| MassFlowRate | mLoaCoo_flow_nominal_ref | 0.5 | Load side mass flow rate at nominal conditions in cooling mode of reference terminal unit [kg/s] |
| HeatFlowRate | QCoo_flow_nominal_ref | -5.8E3 | Heat flow at nominal conditions in cooling mode of reference terminal unit [W] |
Connectors
| Type | Name | Description |
|---|---|---|
| Bus | weaBus | Weather data bus |
| FluidPorts_a | ports_aHeaWat[nPorts_aHeaWat] | Heating water inlet ports |
| FluidPorts_b | ports_bHeaWat[nPorts_bHeaWat] | Heating water outlet ports |
| FluidPorts_a | ports_aChiWat[nPorts_aChiWat] | Chilled water inlet ports |
| FluidPorts_b | ports_bChiWat[nPorts_bChiWat] | Chilled water outlet ports |
| output RealOutput | QHea_flow | Total heating heat flow rate transferred to the loads (>=0) [W] |
| output RealOutput | QCoo_flow | Total cooling heat flow rate transferred to the loads (<=0) [W] |
| output RealOutput | PHea | Power drawn by decentralized heating system [W] |
| output RealOutput | PCoo | Power drawn by decentralized cooling system [W] |
| output RealOutput | PFan | Power drawn by fan motors [W] |
| output RealOutput | PPum | Power drawn by pump motors [W] |
| output RealOutput | QReqHotWat_flow | SHW load [W] |
| output RealOutput | QReqHea_flow | Heating load [W] |
| output RealOutput | QReqCoo_flow | Cooling load [W] |
| input RealInput | THeaSupSet | Supply temperature set point for heating [K] |
| input RealInput | TCooSupSet | Supply temperature set point for cooling [K] |