Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries

Package of example models of energy transfer stations for combined heating and cooling connected to building time series loads

Information

This package contains examples illustrating the use of the models in Buildings.DHC.ETS.Combined, connected to building loads that are modeled as time series.

Note that the models do not contain a district loop. Rather, the service line is connected to a constant pressure boundary, and the example models contain an energy transfer station connected to a building load.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithDHW WithDHW ETS connected to building loads without DHW
Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithoutDHW WithoutDHW ETS connected to building loads without DHW
Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.Data Data Package for data records
Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.BaseClasses BaseClasses Package with base classes for Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries

Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithDHW Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithDHW

ETS connected to building loads without DHW

Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithDHW

Information

Validation model for a single building load, modeled as time series, connected to an ETS that has domestic hot water integration.

Note the following:

This model is identical to Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithoutDHW, except that it has domestic hot water.

Extends from Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithoutDHW (ETS connected to building loads without DHW).

Parameters

TypeNameDefaultDescription
StringfilNam"modelica://Buildings/Resour...Load profile

Modelica definition

model WithDHW "ETS connected to building loads without DHW" extends Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithoutDHW( filNam="modelica://Buildings/Resources/Data/DHC/Loads/Examples/JBA_All_futu_tendays.mos"); Modelica.Blocks.Continuous.Integrator dHHotWat if bui.have_hotWat "Cumulative enthalpy difference of domestic hot water"; equation connect(bui.dHHotWat_flow, dHHotWat.u); end WithDHW;

Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithoutDHW Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithoutDHW

ETS connected to building loads without DHW

Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithoutDHW

Information

Validation model for a single building load, modeled as time series, connected to an ETS.

Note the following:

This model is identical to Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.WithDHW, except that it has no domestic hot water.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Parameters

TypeNameDefaultDescription
StringfilNam"modelica://Buildings/Resour...Load profile

Modelica definition

model WithoutDHW "ETS connected to building loads without DHW" extends Modelica.Icons.Example; package Medium=Buildings.Media.Water "Medium model"; parameter String filNam = "modelica://Buildings/Resources/Data/DHC/Loads/Examples/JBA_ClusterA_futu_tendays.mos" "Load profile"; Buildings.BoundaryConditions.WeatherData.ReaderTMY3 wea( computeWetBulbTemperature=false, filNam = Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/DHC/Loads/Examples/fTMY_Maryland_Prince_George's_NORESM2_2020_2039.mos")) "Weather data reader"; Buildings.Fluid.Sources.Boundary_pT ambWat( redeclare package Medium = Medium, p(displayUnit="bar"), T=288.15, nPorts=2) "Ambient water supply and return"; Buildings.DHC.Examples.Combined.ETSHeatRecoveryHeatPump_BuildingTimeSeries.BaseClasses.BuildingETS bui( redeclare package MediumSer = Medium, redeclare package MediumBui = Medium, facTerUniSizHea=1, final filNam=filNam, allowFlowReversalSer=true, have_eleNonHva=true) "Building time series with energy transfer station"; Modelica.Blocks.Continuous.Integrator dHHeaWat "Cumulative enthalpy difference of heating hot water"; Modelica.Blocks.Continuous.Integrator dHChiWat "Cumulative enthalpy difference of chilled water"; Buildings.DHC.Networks.BaseClasses.DifferenceEnthalpyFlowRate senHFlo( redeclare final package Medium1 = Medium, final m_flow_nominal=bui.ets.hex.m1_flow_nominal) "Variation of enthalpy flow rate"; Modelica.Blocks.Continuous.Integrator dHFlo if bui.have_hotWat "Cumulative enthalpy difference across the ets hex"; Modelica.Blocks.Continuous.Integrator EChi "Cumulative electricity consumption of the heat recovery chiller"; equation connect(bui.dHHeaWat_flow, dHHeaWat.u); connect(bui.dHChiWat_flow, dHChiWat.u); connect(wea.weaBus, bui.weaBus); connect(senHFlo.port_b1, bui.port_aSerAmb); connect(senHFlo.dH_flow, dHFlo.u); connect(bui.PCoo, EChi.u); connect(bui.port_bSerAmb, senHFlo.port_a2); connect(ambWat.ports[1], senHFlo.port_b2); connect(ambWat.ports[2], senHFlo.port_a1); end WithoutDHW;