Buildings.Experimental.DHC.Loads.Steam.Examples

Collection of models that illustrate model use and test models

Information

This package contains examples illustrating the use of the models in Buildings.Experimental.DHC.Loads.Steam.

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

Package Content

Name Description
Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS BuildingTimeSeriesAtETS Example model for time series load with external read-in file.

Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS

Example model for time series load with external read-in file.

Buildings.Experimental.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS

Information

Example model for the steam building model with heat flow rate prescribed as a time series at the district-side of the energy transfer station (ETS).

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

Parameters

TypeNameDefaultDescription
AbsolutePressurepSat400000Saturation pressure [Pa]
TemperatureTSatMediumSte.saturationTemperat...Saturation temperature [K]
PowerQ_flow_nominal2e4Nominal heat flow rate [W]

Modelica definition

model BuildingTimeSeriesAtETS "Example model for time series load with external read-in file." extends Modelica.Icons.Example; package MediumSte = Buildings.Media.Steam (p_default=400000, T_default=273.15+143.61, h_default=2738100) "Steam medium"; package MediumWat = Buildings.Media.Specialized.Water.TemperatureDependentDensity "Water medium"; parameter Modelica.Units.SI.AbsolutePressure pSat=400000 "Saturation pressure"; parameter Modelica.Units.SI.Temperature TSat= MediumSte.saturationTemperature(pSat) "Saturation temperature"; parameter Modelica.Units.SI.Power Q_flow_nominal= 2e4 "Nominal heat flow rate"; Buildings.Experimental.DHC.Loads.Steam.BuildingTimeSeriesAtETS bui( redeclare package MediumSte = MediumSte, redeclare package MediumWat = MediumWat, have_prv=true, pLow_nominal=200000, energyDynamics=Modelica.Fluid.Types.Dynamics.FixedInitial, dp_nominal=3000, tableOnFile=false, final Q_flow_nominal=Q_flow_nominal, final pSte_nominal=pSat, QHeaLoa=[0,Q_flow_nominal*0.2; 6,Q_flow_nominal; 16,Q_flow_nominal*0.1; 24,Q_flow_nominal*0.2], columns={2}, smoothness=Modelica.Blocks.Types.Smoothness.ContinuousDerivative, timeScale(displayUnit="h") = 3600, show_T=true) "Building model with time series load at the ETS"; Buildings.Fluid.Sources.Boundary_pT souSte( redeclare final package Medium = MediumSte, p(displayUnit="Pa") = pSat, T=TSat, nPorts=1) "Steam source"; Buildings.Fluid.Sources.Boundary_pT watSin( redeclare final package Medium = MediumWat, p=101325, nPorts=1) "Water sink"; equation connect(souSte.ports[1], bui.port_a); connect(bui.port_b, watSin.ports[1]); end BuildingTimeSeriesAtETS;