Buildings.Experimental.DHC.Examples.Combined.Generation5.Data

Package for data records

Information

This package contains records to parameterize example models of DHC systems.

Extends from Modelica.Icons.MaterialPropertiesPackage (Icon for package containing property classes).

Package Content

Name Description
Buildings.Experimental.DHC.Examples.Combined.Generation5.Data.DesignDataParallel DesignDataParallel Record with design data for parallel network
Buildings.Experimental.DHC.Examples.Combined.Generation5.Data.DesignDataSeries DesignDataSeries Record with design data for series network

Buildings.Experimental.DHC.Examples.Combined.Generation5.Data.DesignDataParallel Buildings.Experimental.DHC.Examples.Combined.Generation5.Data.DesignDataParallel

Record with design data for parallel network

Information

This record contains parameter declarations used in example models of DHC systems.

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
IntegernBui3Number of served buildings
MassFlowRatemPumDis_flow_nominal150Nominal mass flow rate of main distribution pump [kg/s]
MassFlowRatemPipDis_flow_nominalmPumDis_flow_nominalNominal mass flow rate for main pipe sizing [kg/s]
MassFlowRatemCon_flow_nominal[nBui] Nominal mass flow rate in each connection line [kg/s]
MassFlowRatemPla_flow_nominal11.45Plant HX nominal mass flow rate (primary = secondary) [kg/s]
MassFlowRatemSto_flow_nominal105Storage nominal mass flow rate [kg/s]
MassFlowRatemEnd_flow_nominal0.1*mPipDis_flow_nominalNominal mass flow rate in the end of the distribution line [kg/s]
PressureDifferencedpPla_nominal50000Plant HX pressure drop at nomninal flow rate (primary = secondary) [Pa]
RealepsPla0.935Plant HX effectiveness (constant)
TemperatureTLooMin273.15 + 6Minimum loop temperature [K]
TemperatureTLooMax273.15 + 17Maximum loop temperature [K]
Realdp_length_nominal250Pressure drop per pipe length at nominal flow rate [Pa/m]
LengthlDis[nBui]fill(100, nBui)Length of distribution pipe (only counting warm or cold line, but not sum) [m]
LengthlCon[nBui]fill(10, nBui)Length of connection pipe (only counting warm or cold line, but not sum) [m]
LengthlEnd0Length of the end of the distribution line (supply only, not counting return line) [m]

Modelica definition

record DesignDataParallel "Record with design data for parallel network" extends Modelica.Icons.Record; parameter Integer nBui = 3 "Number of served buildings"; parameter Modelica.SIunits.MassFlowRate mPumDis_flow_nominal = 150 "Nominal mass flow rate of main distribution pump"; parameter Modelica.SIunits.MassFlowRate mPipDis_flow_nominal = mPumDis_flow_nominal "Nominal mass flow rate for main pipe sizing"; parameter Modelica.SIunits.MassFlowRate mCon_flow_nominal[nBui] "Nominal mass flow rate in each connection line"; parameter Modelica.SIunits.MassFlowRate mPla_flow_nominal = 11.45 "Plant HX nominal mass flow rate (primary = secondary)"; parameter Modelica.SIunits.MassFlowRate mSto_flow_nominal = 105 "Storage nominal mass flow rate"; final parameter Real facDiv = mPipDis_flow_nominal / sum(mCon_flow_nominal) "Diversity factor used to size the distribution system"; final parameter Modelica.SIunits.MassFlowRate mDisCon_flow_nominal[nBui]=cat( 1, {mPipDis_flow_nominal}, {mPipDis_flow_nominal - facDiv * 0.9 * sum(mCon_flow_nominal[1:i]) for i in 1:(nBui-1)}) "Nominal mass flow rate in the distribution line before each connection"; parameter Modelica.SIunits.MassFlowRate mEnd_flow_nominal= 0.1 * mPipDis_flow_nominal "Nominal mass flow rate in the end of the distribution line"; parameter Modelica.SIunits.PressureDifference dpPla_nominal = 50000 "Plant HX pressure drop at nomninal flow rate (primary = secondary)"; parameter Real epsPla = 0.935 "Plant HX effectiveness (constant)"; parameter Modelica.SIunits.Temperature TLooMin = 273.15 + 6 "Minimum loop temperature"; parameter Modelica.SIunits.Temperature TLooMax = 273.15 + 17 "Maximum loop temperature"; parameter Real dp_length_nominal(final unit="Pa/m") = 250 "Pressure drop per pipe length at nominal flow rate"; parameter Modelica.SIunits.Length lDis[nBui] = fill(100, nBui) "Length of distribution pipe (only counting warm or cold line, but not sum)"; parameter Modelica.SIunits.Length lCon[nBui] = fill(10, nBui) "Length of connection pipe (only counting warm or cold line, but not sum)"; parameter Modelica.SIunits.Length lEnd = 0 "Length of the end of the distribution line (supply only, not counting return line)"; end DesignDataParallel;

Buildings.Experimental.DHC.Examples.Combined.Generation5.Data.DesignDataSeries Buildings.Experimental.DHC.Examples.Combined.Generation5.Data.DesignDataSeries

Record with design data for series network

Information

This record contains parameter declarations used in example models of DHC systems.

Extends from Modelica.Icons.Record (Icon for records).

Parameters

TypeNameDefaultDescription
IntegernBui3Number of served buildings
MassFlowRatemPumDis_flow_nominal95Nominal mass flow rate of main distribution pump [kg/s]
MassFlowRatemPipDis_flow_nominalmPumDis_flow_nominalNominal mass flow rate for main pipe sizing [kg/s]
MassFlowRatemCon_flow_nominal[nBui] Nominal mass flow rate in each connection line [kg/s]
MassFlowRatemPla_flow_nominal11.45Plant HX nominal mass flow rate (primary = secondary) [kg/s]
MassFlowRatemSto_flow_nominal105Storage nominal mass flow rate [kg/s]
PressureDifferencedpPla_nominal50000Plant HX pressure drop at nomninal flow rate (primary = secondary) [Pa]
RealepsPla0.935Plant HX effectiveness (constant)
TemperatureTLooMin273.15 + 6Minimum loop temperature [K]
TemperatureTLooMax273.15 + 17Maximum loop temperature [K]
Realdp_length_nominal250Pressure drop per pipe length at nominal flow rate [Pa/m]
LengthlDis[nBui]fill(100, nBui)Length of the distribution pipe before each connection [m]
LengthlCon[nBui]fill(10, nBui)Length of each connection pipe (supply only, not counting return line) [m]
LengthlEndsum(lDis)Length of the end of the distribution line (after last connection) [m]

Modelica definition

record DesignDataSeries "Record with design data for series network" extends Modelica.Icons.Record; parameter Integer nBui = 3 "Number of served buildings"; parameter Modelica.SIunits.MassFlowRate mPumDis_flow_nominal = 95 "Nominal mass flow rate of main distribution pump"; parameter Modelica.SIunits.MassFlowRate mPipDis_flow_nominal = mPumDis_flow_nominal "Nominal mass flow rate for main pipe sizing"; parameter Modelica.SIunits.MassFlowRate mCon_flow_nominal[nBui] "Nominal mass flow rate in each connection line"; parameter Modelica.SIunits.MassFlowRate mPla_flow_nominal = 11.45 "Plant HX nominal mass flow rate (primary = secondary)"; parameter Modelica.SIunits.MassFlowRate mSto_flow_nominal = 105 "Storage nominal mass flow rate"; parameter Modelica.SIunits.PressureDifference dpPla_nominal = 50000 "Plant HX pressure drop at nomninal flow rate (primary = secondary)"; parameter Real epsPla = 0.935 "Plant HX effectiveness (constant)"; parameter Modelica.SIunits.Temperature TLooMin = 273.15 + 6 "Minimum loop temperature"; parameter Modelica.SIunits.Temperature TLooMax = 273.15 + 17 "Maximum loop temperature"; parameter Real dp_length_nominal(final unit="Pa/m") = 250 "Pressure drop per pipe length at nominal flow rate"; parameter Modelica.SIunits.Length lDis[nBui] = fill(100, nBui) "Length of the distribution pipe before each connection"; parameter Modelica.SIunits.Length lCon[nBui] = fill(10, nBui) "Length of each connection pipe (supply only, not counting return line)"; parameter Modelica.SIunits.Length lEnd = sum(lDis) "Length of the end of the distribution line (after last connection)"; end DesignDataSeries;