Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BaseClasses
Package with base classes
Information
This package contains base classes that are used to construct the classes in Buildings.Experimental.DHC.Loads.BaseClasses.Validation.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Package Content
| Name | Description |
|---|---|
| Dummy building model for validation purposes | |
| Dummy building with ETS model for validation purposes | |
| Dummy ETS model for validation purposes |
Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BaseClasses.Building
Dummy building model for validation purposes
Information
This is a minimum example of a class extending Buildings.Experimental.DHC.Loads.BaseClasses.PartialBuilding developed for testing purposes only.
Extends from Buildings.Experimental.DHC.Loads.BaseClasses.PartialBuilding (Partial class for building model).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package Medium | Water | Medium in the building distribution system | |
| MassFlowRate | m_flow_nominal | Nominal mass flow rate [kg/s] | |
| 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 |
| Scaling | |||
| Real | facMul | 1 | Multiplier factor |
| Nominal condition | |||
| HeatFlowRate | QChiWat_flow_nominal | Design heat flow rate for chilled water production (<0) [W] | |
| HeatFlowRate | QHeaWat_flow_nominal | Design heat flow rate for heating water production (>0) [W] | |
| Assumptions | |||
| Boolean | allowFlowReversal | false | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
Connectors
| Type | Name | Description |
|---|---|---|
| Bus | weaBus | Weather data bus |
| FluidPorts_a | ports_aHeaWat[nPorts_aHeaWat] | Heating water inlet ports |
| FluidPorts_b | ports_bHeaWat[nPorts_bHeaWat] | Heating water outlet ports |
| FluidPorts_a | ports_aChiWat[nPorts_aChiWat] | Chilled water inlet ports |
| FluidPorts_b | ports_bChiWat[nPorts_bChiWat] | Chilled water outlet ports |
| output RealOutput | QHea_flow | Total heating heat flow rate transferred to the loads (>=0) [W] |
| output RealOutput | QCoo_flow | Total cooling heat flow rate transferred to the loads (<=0) [W] |
| output RealOutput | PHea | Power drawn by decentralized heating system [W] |
| output RealOutput | PCoo | Power drawn by decentralized cooling system [W] |
| output RealOutput | PFan | Power drawn by fan motors [W] |
| output RealOutput | PPum | Power drawn by pump motors [W] |
Modelica definition
Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BaseClasses.BuildingWithETS
Dummy building with ETS model for validation purposes
Information
This is a minimum example of a class extending Buildings.Experimental.DHC.Loads.BaseClasses.PartialBuildingWithPartialETS developed for testing purposes only.
Extends from Buildings.Experimental.DHC.Loads.BaseClasses.PartialBuildingWithPartialETS (Partial model of a building with an energy transfer station).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package MediumSer | Water | Service side medium | |
| replaceable package MediumSerHea_a | Water | Service side medium at heating inlet | |
| replaceable package MediumBui | Water | Building side medium | |
| Configuration | |||
| Integer | nPorts_heaWat | 0 | Number of heating water fluid ports |
| Integer | nPorts_chiWat | 0 | Number of chilled water fluid ports |
| Scaling | |||
| Real | facMul | 1 | Multiplier factor |
| Assumptions | |||
| Boolean | allowFlowReversalSer | false | Set to true to allow flow reversal on service side |
| Boolean | allowFlowReversalBui | false | Set to true to allow flow reversal on building side |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPort_a | port_aSerAmb | Fluid connector for ambient water service supply line |
| FluidPort_b | port_bSerAmb | Fluid connector for ambient water service return line |
| FluidPort_a | port_aSerHea | Fluid connector for heating service supply line |
| FluidPort_b | port_bSerHea | Fluid connector for heating service return line |
| FluidPort_a | port_aSerCoo | Fluid connector for cooling service supply line |
| FluidPort_b | port_bSerCoo | Fluid connector for cooling service return line |
| Bus | weaBus | Weather data bus |
| output RealOutput | QHea_flow | Total heating heat flow rate transferred to the loads (>=0) [W] |
| output RealOutput | QCoo_flow | Total cooling heat flow rate transferred to the loads (<=0) [W] |
| output RealOutput | PHea | Power drawn by heating system [W] |
| output RealOutput | PCoo | Power drawn by cooling system [W] |
| output RealOutput | PFan | Power drawn by fan motors [W] |
| output RealOutput | PPum | Power drawn by pump motors [W] |
| output RealOutput | QFue_flow[nFue] | Fuel energy input rate [W] |
Modelica definition
Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BaseClasses.ETS
Dummy ETS model for validation purposes
Information
This is a minimum example of a class extending Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.PartialETS developed for testing purposes only.
Extends from Buildings.Experimental.DHC.EnergyTransferStations.BaseClasses.PartialETS (Partial class for modeling an energy transfer station).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| replaceable package MediumSer | Water | Service side medium | |
| replaceable package MediumSerHea_a | Water | Service side medium at heating inlet | |
| replaceable package MediumBui | Water | Building side medium | |
| Generic | fue[nFue] | Fuel type | |
| MassFlowRate | m_flow_nominal | Nominal mass flow rate [kg/s] | |
| Configuration | |||
| DistrictSystemType | typ | TypDisSys.CombinedGeneration... | Type of district system |
| Boolean | have_heaWat | false | Set to true if the ETS supplies heating water |
| Boolean | have_hotWat | false | Set to true if the ETS supplies hot water |
| Boolean | have_chiWat | false | Set to true if the ETS supplies chilled water |
| 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_eleHea | false | Set to true if the ETS has electric heating system |
| Integer | nFue | 0 | Number of fuel types (0 means no combustion system) |
| Boolean | have_eleCoo | false | Set to true if the ETS has electric cooling system |
| Boolean | have_weaBus | false | Set to true to use a weather bus |
| Nominal condition | |||
| HeatFlowRate | QHeaWat_flow_nominal | 0 | Nominal capacity of heating system (>=0) [W] |
| HeatFlowRate | QHotWat_flow_nominal | 0 | Nominal capacity of hot water production system (>=0) [W] |
| HeatFlowRate | QChiWat_flow_nominal | 0 | Nominal capacity of cooling system (<=0) [W] |
| Assumptions | |||
| Boolean | allowFlowReversalSer | false | Set to true to allow flow reversal on service side |
| Boolean | allowFlowReversalBui | false | Set to true to allow flow reversal on building side |
Connectors
| Type | Name | Description |
|---|---|---|
| FluidPorts_a | ports_aHeaWat[nPorts_aHeaWat] | Fluid connectors for heating water return (from building) |
| FluidPorts_b | ports_bHeaWat[nPorts_bHeaWat] | Fluid connectors for heating water supply (to building) |
| FluidPorts_a | ports_aChiWat[nPorts_aChiWat] | Fluid connectors for chilled water return (from building) |
| FluidPorts_b | ports_bChiWat[nPorts_bChiWat] | Fluid connectors for chilled water supply (to building) |
| FluidPort_a | port_aSerAmb | Fluid connector for ambient water service supply line |
| FluidPort_b | port_bSerAmb | Fluid connector for ambient water service return line |
| FluidPort_a | port_aSerHea | Fluid connector for heating service supply line |
| FluidPort_b | port_bSerHea | Fluid connector for heating service return line |
| FluidPort_a | port_aSerCoo | Fluid connector for cooling service supply line |
| FluidPort_b | port_bSerCoo | Fluid connector for cooling service return line |
| output RealOutput | PHea | Power drawn by heating system [W] |
| output RealOutput | PCoo | Power drawn by cooling system [W] |
| output RealOutput | PFan | Power drawn by fan motors [W] |
| output RealOutput | PPum | Power drawn by pump motors [W] |
| output RealOutput | QFue_flow[nFue] | Fuel energy input rate [W] |
| Bus | weaBus | Weather data bus |