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 |
---|---|
DesignDataParallel | Record with design data for parallel network |
DesignDataSeries | Record with design data for series network |
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
Type | Name | Default | Description |
---|---|---|---|
Integer | nBui | 3 | Number of served buildings |
MassFlowRate | mPumDis_flow_nominal | 150 | Nominal mass flow rate of main distribution pump [kg/s] |
MassFlowRate | mPipDis_flow_nominal | mPumDis_flow_nominal | Nominal mass flow rate for main pipe sizing [kg/s] |
MassFlowRate | mCon_flow_nominal[nBui] | Nominal mass flow rate in each connection line [kg/s] | |
MassFlowRate | mPla_flow_nominal | 11.45 | Plant HX nominal mass flow rate (primary = secondary) [kg/s] |
MassFlowRate | mSto_flow_nominal | 105 | Storage nominal mass flow rate [kg/s] |
MassFlowRate | mEnd_flow_nominal | 0.1*mPipDis_flow_nominal | Nominal mass flow rate in the end of the distribution line [kg/s] |
PressureDifference | dpPla_nominal | 50000 | Plant HX pressure drop at nomninal flow rate (primary = secondary) [Pa] |
Real | epsPla | 0.935 | Plant HX effectiveness (constant) |
Temperature | TLooMin | 273.15 + 6 | Minimum loop temperature [K] |
Temperature | TLooMax | 273.15 + 17 | Maximum loop temperature [K] |
Real | dp_length_nominal | 250 | Pressure drop per pipe length at nominal flow rate [Pa/m] |
Length | lDis[nBui] | fill(100, nBui) | Length of distribution pipe (only counting warm or cold line, but not sum) [m] |
Length | lCon[nBui] | fill(10, nBui) | Length of connection pipe (only counting warm or cold line, but not sum) [m] |
Length | lEnd | 0 | Length 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
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
Type | Name | Default | Description |
---|---|---|---|
Integer | nBui | 3 | Number of served buildings |
MassFlowRate | mPumDis_flow_nominal | 95 | Nominal mass flow rate of main distribution pump [kg/s] |
MassFlowRate | mPipDis_flow_nominal | mPumDis_flow_nominal | Nominal mass flow rate for main pipe sizing [kg/s] |
MassFlowRate | mCon_flow_nominal[nBui] | Nominal mass flow rate in each connection line [kg/s] | |
MassFlowRate | mPla_flow_nominal | 11.45 | Plant HX nominal mass flow rate (primary = secondary) [kg/s] |
MassFlowRate | mSto_flow_nominal | 105 | Storage nominal mass flow rate [kg/s] |
PressureDifference | dpPla_nominal | 50000 | Plant HX pressure drop at nomninal flow rate (primary = secondary) [Pa] |
Real | epsPla | 0.935 | Plant HX effectiveness (constant) |
Temperature | TLooMin | 273.15 + 6 | Minimum loop temperature [K] |
Temperature | TLooMax | 273.15 + 17 | Maximum loop temperature [K] |
Real | dp_length_nominal | 250 | Pressure drop per pipe length at nominal flow rate [Pa/m] |
Length | lDis[nBui] | fill(100, nBui) | Length of the distribution pipe before each connection [m] |
Length | lCon[nBui] | fill(10, nBui) | Length of each connection pipe (supply only, not counting return line) [m] |
Length | lEnd | sum(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;