Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.Validation

Package with models for validation

Information

This package contains models that validate the chiller models. The examples plot various outputs, which have been verified against analytical solutions. These model outputs are stored as reference data to allow continuous validation whenever models in the library change.

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

Package Content

Name Description
Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT HeatingCoolingHotwaterTimeSeries_dT Validation model for substation

Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT

Validation model for substation

Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT

Information

This model tests the substation that has heat pumps for cooling, heating and hot water preparation.

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

Modelica definition

model HeatingCoolingHotwaterTimeSeries_dT "Validation model for substation" extends Modelica.Icons.Example; package Medium = Buildings.Media.Water "Fluid in the pipes"; Modelica.Blocks.Sources.Constant TCoo(k=273.15 + 12) "Temperature of cold supply"; Buildings.Fluid.Sources.Boundary_pT war( redeclare package Medium = Medium, use_T_in=true, nPorts=1) "Warm pipe"; Modelica.Blocks.Sources.Constant TWar(k=273.15 + 18) "Temperature of warm supply"; Buildings.Obsolete.DistrictHeatingCooling.SubStations.VaporCompression.HeatingCoolingHotwaterTimeSeries_dT subSta( redeclare package Medium = Medium, filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/Data/Obsolete/DistrictHeatingCooling/SubStations/VaporCompression/RefBldgLargeOfficeNew2004_7.1_5.0_3C_USA_CA_SAN_FRANCISCO.mos"), show_T=true, TOut_nominal=273.15) "Substation model"; Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat( filNam=Modelica.Utilities.Files.loadResource( "modelica://Buildings/Resources/weatherdata/USA_CA_San.Francisco.Intl.AP.724940_TMY3.mos"), computeWetBulbTemperature=false) "File reader that reads weather data"; Buildings.Fluid.Sources.Boundary_pT coo1( redeclare package Medium = Medium, use_T_in=true, nPorts=1) "Cool pipe"; equation connect(TWar.y,war. T_in); connect(TCoo.y, coo1.T_in); connect(weaDat.weaBus, subSta.weaBus); connect(subSta.port_a, war.ports[1]); connect(subSta.port_b, coo1.ports[1]); end HeatingCoolingHotwaterTimeSeries_dT;