Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples

Example models integrating multiple components

Information

This package contains advanced examples illustrating the use of the models in Buildings.Experimental.DHC.EnergyTransferStations.Combined.

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

Package Content

Name Description
Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples.ChillerBorefield ChillerBorefield Example of the ETS model with heat recovery chiller and borefield
Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples.ChillerOnly ChillerOnly Example of the ETS model with heat recovery chiller

Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples.ChillerBorefield Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples.ChillerBorefield

Example of the ETS model with heat recovery chiller and borefield

Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples.ChillerBorefield

Information

This model validates Buildings.Experimental.DHC.EnergyTransferStations.Combined.ChillerBorefield in a system configuration including a geothermal borefield. See Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples.ChillerOnly for the description of the main modeling assumptions.

Extends from ChillerOnly (Example of the ETS model with heat recovery chiller).

Parameters

TypeNameDefaultDescription
MassFlowRatemHeaWat_flow_nominal0.9*datChi.mCon_flow_nominalNominal heating water mass flow rate [kg/s]
MassFlowRatemChiWat_flow_nominal0.9*datChi.mEva_flow_nominalNominal chilled water mass flow rate [kg/s]
GenericdatChi Chiller performance data
StringfilNam"modelica://Buildings/Resour...File name with thermal loads as time series
IntegernBorHol64Number of boreholes (must be a square number)
Distancedxy6Distance in x-axis (and y-axis) between borehole axes [m]
ExampledatBorFiedatBorFie(conDat=Fluid.Geoth...Borefield design data
Design parameter
HeatFlowRateQCoo_flow_nominalBuildings.Experimental.DHC.L...Design cooling heat flow rate (<=0) [W]
HeatFlowRateQHea_flow_nominalBuildings.Experimental.DHC.L...Design heating heat flow rate (>=0) [W]

Modelica definition

model ChillerBorefield "Example of the ETS model with heat recovery chiller and borefield" extends ChillerOnly( ets( have_borFie=true, datBorFie=datBorFie)); parameter Integer nBorHol=64 "Number of boreholes (must be a square number)"; parameter Modelica.Units.SI.Distance dxy=6 "Distance in x-axis (and y-axis) between borehole axes"; final parameter Modelica.Units.SI.Distance cooBor[nBorHol,2]= Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.computeCoordinates(nBorHol, dxy) "Coordinates of boreholes"; parameter Fluid.Geothermal.Borefields.Data.Borefield.Example datBorFie( conDat=Fluid.Geothermal.Borefields.Data.Configuration.Example( cooBor=cooBor, dp_nominal=0)) "Borefield design data"; end ChillerBorefield;

Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples.ChillerOnly Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples.ChillerOnly

Example of the ETS model with heat recovery chiller

Buildings.Experimental.DHC.EnergyTransferStations.Combined.Examples.ChillerOnly

Information

This model validates Buildings.Experimental.DHC.EnergyTransferStations.Combined.ChillerBorefield in a system configuration with no geothermal borefield.

Extends from Buildings.Experimental.DHC.EnergyTransferStations.Combined.Validation.BaseClasses.PartialChillerBorefield (Partial validation of the ETS model with heat recovery chiller and optional borefield).

Parameters

TypeNameDefaultDescription
MassFlowRatemHeaWat_flow_nominal0.9*datChi.mCon_flow_nominalNominal heating water mass flow rate [kg/s]
MassFlowRatemChiWat_flow_nominal0.9*datChi.mEva_flow_nominalNominal chilled water mass flow rate [kg/s]
GenericdatChi Chiller performance data
StringfilNam"modelica://Buildings/Resour...File name with thermal loads as time series
Design parameter
HeatFlowRateQCoo_flow_nominalBuildings.Experimental.DHC.L...Design cooling heat flow rate (<=0) [W]
HeatFlowRateQHea_flow_nominalBuildings.Experimental.DHC.L...Design heating heat flow rate (>=0) [W]

Modelica definition

model ChillerOnly "Example of the ETS model with heat recovery chiller" extends Buildings.Experimental.DHC.EnergyTransferStations.Combined.Validation.BaseClasses.PartialChillerBorefield ( TDisWatSup( table=[ 0,11; 1,12; 2,13; 3,14; 4,15; 5,16; 6,17; 7,18; 8,20; 9,18; 10,16; 11,13; 12,11], timeScale=2592000), loa( tableOnFile=true, fileName=Modelica.Utilities.Files.loadResource( filNam), timeScale=1), QCoo_flow_nominal=Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad( string="#Peak space cooling load", filNam=Modelica.Utilities.Files.loadResource(filNam)), QHea_flow_nominal=Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad( string="#Peak space heating load", filNam=Modelica.Utilities.Files.loadResource(filNam))); parameter String filNam="modelica://Buildings/Resources/Data/Experimental/DHC/Loads/Examples/MediumOffice-90.1-2010-5A.mos" "File name with thermal loads as time series"; Buildings.Controls.OBC.CDL.Continuous.MultiplyByParameter loaNorHea( final k=1/ets.QHeaWat_flow_nominal) "Normalize by nominal"; Buildings.Controls.OBC.CDL.Continuous.MultiplyByParameter loaNorCoo( final k=1/ets.QChiWat_flow_nominal) "Normalize by nominal"; equation connect(loa.y[2],loaNorHea.u); connect(loa.y[1],loaNorCoo.u); connect(loaNorHea.y,heaLoaNor.u); connect(loaNorCoo.y,loaCooNor.u); connect(TDisWatSup.y[1],disWat.T_in); end ChillerOnly;