modelPartialBuilding
Information
Partial model to be used for modeling the thermal loads on an energy transfer station or a dedicated plant. Models extending this class are typically used in conjunction with Buildings.DHC.Loads.BaseClasses.FlowDistribution and models extending Buildings.DHC.Loads.BaseClasses.PartialTerminalUnit as described in the schematics here under. The fluid ports represent the connection between the production system and the building distribution system.
Scaling
Scaling is implemented by means of a multiplier factor facMul.
Each extensive quantity (mass and heat flow rate, electric power)
flowing out through fluid ports, or connected to an
output connector is multiplied by facMul.
Each extensive quantity (mass and heat flow rate, electric power)
flowing in through fluid ports, or connected to an
input connector is multiplied by 1/facMul.
This allows modeling, with a single instance,
multiple identical buildings served by the same energy transfer station.
Examples
See various use cases in Buildings.DHC.Loads.BaseClasses.Examples.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nPorts_aHeaWat | 0 | Number of heating water inlet ports |
| Integer | nPorts_bHeaWat | 0 | Number of heating water outlet ports |
| Integer | nPorts_aChiWat | 0 | Number of chilled water inlet ports |
| Integer | nPorts_bChiWat | 0 | Number of chilled water outlet ports |
| Configuration | |||
| Boolean | have_heaWat | false | Set to true if the building has heating water system |
| Boolean | have_chiWat | false | Set to true if the building has chilled water system |
| Boolean | have_eleHea | false | Set to true if the building has decentralized electric heating system |
| Boolean | have_eleCoo | false | Set to true if the building has decentralized electric cooling system |
| Boolean | have_fan | false | Set to true if fan power is computed |
| Boolean | have_pum | false | Set to true if pump power is computed |
| Boolean | have_weaBus | false | Set to true to use a weather bus |
| Boolean | have_heaLoa | have_heaWat or have_eleHea | Set to true if the building has heating loads |
| Boolean | have_cooLoa | have_chiWat or have_eleCoo | Set to true if the building has cooling loads |
| Scaling | |||
| Real | facMul | 1 | Multiplier factor |
| Assumptions | |||
| Boolean | allowFlowReversal | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.BoundaryConditions.WeatherData.Bus | weaBus | Weather data bus | |
| Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aHeaWat] | ports_aHeaWat | Heating water inlet ports | |
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bHeaWat] | ports_bHeaWat | Heating water outlet ports | |
| Modelica.Fluid.Interfaces.FluidPorts_a[nPorts_aChiWat] | ports_aChiWat | Chilled water inlet ports | |
| Modelica.Fluid.Interfaces.FluidPorts_b[nPorts_bChiWat] | ports_bChiWat | Chilled water outlet ports | |
| Modelica.Blocks.Interfaces.RealOutput | QHea_flow | Total heating heat flow rate transferred to the loads (>=0) | |
| Modelica.Blocks.Interfaces.RealOutput | QCoo_flow | Total cooling heat flow rate transferred to the loads (<=0) | |
| Modelica.Blocks.Interfaces.RealOutput | PHea | Power drawn by decentralized heating system | |
| Modelica.Blocks.Interfaces.RealOutput | PCoo | Power drawn by decentralized cooling system | |
| Modelica.Blocks.Interfaces.RealOutput | PFan | Power drawn by fan motors | |
| Modelica.Blocks.Interfaces.RealOutput | PPum | Power drawn by pump motors |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Fluid.BaseClasses.MassFlowRateMultiplier[nPorts_aHeaWat] | mulHeaWatInl | Mass flow rate multiplier | |
| Fluid.BaseClasses.MassFlowRateMultiplier[nPorts_aChiWat] | mulChiWatInl | Mass flow rate multiplier | |
| Fluid.BaseClasses.MassFlowRateMultiplier[nPorts_bHeaWat] | mulHeaWatOut | Mass flow rate multiplier | |
| Fluid.BaseClasses.MassFlowRateMultiplier[nPorts_bChiWat] | mulChiWatOut | Mass flow rate multiplier | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | mulQHea_flow | Scaling | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | mulQCoo_flow | Scaling | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | mulPHea | Scaling | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | mulPCoo | Scaling | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | mulPFan | Scaling | |
| Buildings.Controls.OBC.CDL.Reals.MultiplyByParameter | mulPPum | Scaling |
Contents
| Name | Description |
|---|---|
Revisions
-
December 21, 2020, by Antoine Gautier:
Added multiplier factor.
This is for issue 2291. -
February 21, 2020, by Antoine Gautier:
First implementation.