modelBuilding1Zone1DDistrict

Simplified 1D building model for district simulation

Extends from BuildingSystems.Buildings.BuildingTemplates.Building1Zone1DBox (1 zone thermal building model with the shape of a box).

Information

This is a 1 simplified 1D building model for district simulation.

Parameters

TypeNameDefaultDescription
BooleancalcHygroThermal (from BuildingTemplate)falseSwitch for hygro-thermal calculation
Modelica.Units.SI.LengthheightSto3.0Height of one storey
RealnSto2.0Number of storeys
Modelica.Units.SI.AreaARoom4.0*4.0Mean floor area of a room
General › Orientation
BooleanflexibleOrientation (from BuildingTemplate)falseFalse (default) or true: building can dynamically rotate (azimuth angle of the building from input)
Modelica.Units.NonSI.Angle_degangleDegAziBuilding (from BuildingTemplate)0.0Fixed azimuth angle of the building: south: 0 deg, east: -90 deg, west +90 deg, north: 180 deg (if flexibleOrientation == false)
General › Ports
IntegernZones (from BuildingTemplate)0Number of thermal zones of the building
IntegernHeatSources (from BuildingTemplate)0Number of heat sources of the building
IntegernMoistureSources (from BuildingTemplate)0Number of moisture sources of the building
Advanced › 3D discretisation
IntegernSurfacesAmbience (from BuildingTemplate)surfacesToAmbience.nSurfacesNumber of surfaces (with air contact) to the building ambience
Advanced › Convection model on building facades
BuildingSystems.HAM.ConvectiveHeatTransfer.Types.ConvectionconvectionOnSurfaces (from BuildingTemplate)BuildingSystems.HAM.ConvectiveHeatTransfer.Types.Convection.constType of convection calculation for outside building surfaces
Modelica.Units.SI.SurfaceCoefficientOfHeatTransferalphaConstant (from BuildingTemplate)10.0Convective heat transfer coefficient for simplified calculations
General › Solid building ambience
IntegernSurfacesSolid (from BuildingTemplate)0Number of surfaces (with contact to solids) to the building ambience
General › Air change
BooleanprescribedAirchange (from BuildingTemplate)trueSwitch for air change calculation
BooleanuseAirPaths (from BuildingTemplate)trueTrue: airpath calculation is possible; false: no airpath calculation
IntegernAirpaths (from BuildingTemplate)0Number of air paths to the building ambience
General › Heat and cooling load calculation
BooleancalcIdealLoads (from BuildingTemplate)trueTrue: calculation of the ideal heating and cooling load; false: no calculation
General › Heat and moisture sources
BooleanheatSources (from BuildingTemplate)falseTrue: heat source present; false: no heat source present
BooleanmoistureSources (from BuildingTemplate)falseTrue: moisture source present; false: no moisture source present
Advanced › Optional
Booleanshow_TAir (from BuildingTemplate)falseShow air temperatures of each building zone as an output (vector)
Booleanshow_xAir (from BuildingTemplate)falseShow air humidity of each building zone as an output (vector)
Booleanshow_TSur (from BuildingTemplate)falseShow suface temperatures of each building element as an output (vector)
IntegernSurfaces (from BuildingTemplate)0if show_TSur = true: Overall number of building surfaces
Opaque constructions › Exterior constructions
BuildingSystems.Buildings.Data.Constructions.OpaqueThermalConstructionconstructionWall1 (from Building1Zone1DBox)Data of the thermal construction
BuildingSystems.Buildings.Data.Constructions.OpaqueThermalConstructionconstructionWall2 (from Building1Zone1DBox)Data of the thermal construction
BuildingSystems.Buildings.Data.Constructions.OpaqueThermalConstructionconstructionWall3 (from Building1Zone1DBox)Data of the thermal construction
BuildingSystems.Buildings.Data.Constructions.OpaqueThermalConstructionconstructionWall4 (from Building1Zone1DBox)Data of the thermal construction
BuildingSystems.Buildings.Data.Constructions.OpaqueThermalConstructionconstructionCeiling (from Building1Zone1DBox)Data of the thermal construction
BuildingSystems.Buildings.Data.Constructions.OpaqueThermalConstructionconstructionBottom (from Building1Zone1DBox)Data of the thermal construction
Opaque constructions › Interior constructions
BooleanInteriorWalls (from Building1Zone1DBox)trueTrue: Interior walls are present, false: Interior walls are absent
Modelica.Units.SI.AreaAInteriorWalls (from Building1Zone1DBox)1.0Surface area of one side of the interior walls
BuildingSystems.Buildings.Data.Constructions.OpaqueThermalConstructionconstructionWallsInterior (from Building1Zone1DBox)Data of the thermal construction
BooleanInteriorCeilings (from Building1Zone1DBox)trueTrue: Interior ceilings are present, false: Interior ceilings are absent
Modelica.Units.SI.AreaAInteriorCeilings (from Building1Zone1DBox)1.0Surface area of one side of the interior ceilings
BuildingSystems.Buildings.Data.Constructions.OpaqueThermalConstructionconstructionCeilingsInterior (from Building1Zone1DBox)Data of the thermal construction
Opaque constructions › Thermal boundary conditions
BuildingSystems.Buildings.Types.ThermalBoundaryConditionBCWall1 (from Building1Zone1DBox)BuildingSystems.Buildings.Types.ThermalBoundaryCondition.AmbienceThermal boundary condition wall1
Modelica.Units.SI.TemperatureTWall1_constant (from Building1Zone1DBox)293.15Constant temperature on the outer surface of wall1 (used if BCWall1=Constant)
BuildingSystems.Buildings.Types.ThermalBoundaryConditionBCWall2 (from Building1Zone1DBox)BuildingSystems.Buildings.Types.ThermalBoundaryCondition.AmbienceThermal boundary condition wall2
Modelica.Units.SI.TemperatureTWall2_constant (from Building1Zone1DBox)293.15Constant temperature on the outer surface of wall2 (used if BCWall2=Constant)
BuildingSystems.Buildings.Types.ThermalBoundaryConditionBCWall3 (from Building1Zone1DBox)BuildingSystems.Buildings.Types.ThermalBoundaryCondition.AmbienceThermal boundary condition wall3
Modelica.Units.SI.TemperatureTWall3_constant (from Building1Zone1DBox)293.15Constant temperature on the outer surface of wall3 (used if BCWall3=Constant)
BuildingSystems.Buildings.Types.ThermalBoundaryConditionBCWall4 (from Building1Zone1DBox)BuildingSystems.Buildings.Types.ThermalBoundaryCondition.AmbienceThermal boundary condition wall4
Modelica.Units.SI.TemperatureTWall4_constant (from Building1Zone1DBox)293.15Constant temperature on the outer surface of wall4 (used if BCWall4=Constant)
BuildingSystems.Buildings.Types.ThermalBoundaryConditionBCCeiling (from Building1Zone1DBox)BuildingSystems.Buildings.Types.ThermalBoundaryCondition.AmbienceThermal boundary condition ceiling
Modelica.Units.SI.TemperatureTCeiling_constant (from Building1Zone1DBox)293.15Constant temperature on the outer surface of ceiling (used if BCCeiling=Constant)
General › Geometry
Modelica.Units.SI.Lengthwidth (from Building1Zone1DBox)10.0Width of the building (inner space)
Modelica.Units.SI.Lengthlength (from Building1Zone1DBox)10.0Length of the building (inner space)
Modelica.Units.SI.Lengthheight (from Building1Zone1DBox)2.8Height of the building (inner space)
Transparent constructions › window1 (included in constructionWall1)
Modelica.Units.SI.LengthwidthWindow1 (from Building1Zone1DBox)0.0Width of window1
Modelica.Units.SI.LengthheightWindow1 (from Building1Zone1DBox)0.0Height of window1
RealframePortionWindow1 (from Building1Zone1DBox)0.2Frame portion of window1
BuildingSystems.Buildings.Data.Constructions.TransparentConstructionconstructionWindow1 (from Building1Zone1DBox)Data of the construction of window1
Booleanuse_GSCWindow1_in (from Building1Zone1DBox)false= true, use input for geometric shading coefficient GSCWindow1
Transparent constructions › window2 (included in constructionWall2)
Modelica.Units.SI.LengthwidthWindow2 (from Building1Zone1DBox)0.0Width of window2
Modelica.Units.SI.LengthheightWindow2 (from Building1Zone1DBox)0.0Height of window2
RealframePortionWindow2 (from Building1Zone1DBox)0.2Frame portion of window2
BuildingSystems.Buildings.Data.Constructions.TransparentConstructionconstructionWindow2 (from Building1Zone1DBox)Data of the construction of window2
Booleanuse_GSCWindow2_in (from Building1Zone1DBox)false= true, use input for geometric shading coefficient GSCWindow2
Transparent constructions › window3 (included in constructionWall3)
Modelica.Units.SI.LengthwidthWindow3 (from Building1Zone1DBox)0.0Width of window3
Modelica.Units.SI.LengthheightWindow3 (from Building1Zone1DBox)0.0Height of window3
RealframePortionWindow3 (from Building1Zone1DBox)0.2Frame portion of window3
BuildingSystems.Buildings.Data.Constructions.TransparentConstructionconstructionWindow3 (from Building1Zone1DBox)Data of the construction of window3
Booleanuse_GSCWindow3_in (from Building1Zone1DBox)false= true, use input for geometric shading coefficient GSCWindow2
Transparent constructions › window4 (included in constructionWall4)
Modelica.Units.SI.LengthwidthWindow4 (from Building1Zone1DBox)0.0Width of window4
Modelica.Units.SI.LengthheightWindow4 (from Building1Zone1DBox)0.0Height of window4
RealframePortionWindow4 (from Building1Zone1DBox)0.2Frame portion of window4
BuildingSystems.Buildings.Data.Constructions.TransparentConstructionconstructionWindow4 (from Building1Zone1DBox)Data of the construction of window4
Booleanuse_GSCWindow4_in (from Building1Zone1DBox)false= true, use input for geometric shading coefficient GSCWindow4
Initialization › Opaque constructions
Modelica.Units.SI.TemperatureTWall1_start (from Building1Zone1DBox)293.15Start temperature of each layer of wall1
Modelica.Units.SI.TemperatureTWall2_start (from Building1Zone1DBox)293.15Start temperature of each layer of wall2
Modelica.Units.SI.TemperatureTWall3_start (from Building1Zone1DBox)293.15Start temperature of each layer of wall3
Modelica.Units.SI.TemperatureTWall4_start (from Building1Zone1DBox)293.15Start temperature of each layer of wall4
Modelica.Units.SI.TemperatureTCeiling_start (from Building1Zone1DBox)293.15Start temperature of each layer of ceiling
Modelica.Units.SI.TemperatureTBottom_start (from Building1Zone1DBox)293.15Start temperature of each layer of bottom
Modelica.Units.SI.TemperatureTWallsInterior_start (from Building1Zone1DBox)293.15Start temperature of each layer of interior walls
Modelica.Units.SI.TemperatureTCeilingsInterior_start (from Building1Zone1DBox)293.15Start temperature of each layer of interior ceilings
Initialization › Transparent constructions
Modelica.Units.SI.TemperatureTWindow1_start (from Building1Zone1DBox)293.15Start temperature of each layer of window1
Modelica.Units.SI.TemperatureTWindow2_start (from Building1Zone1DBox)293.15Start temperature of each layer of window2
Modelica.Units.SI.TemperatureTWindow3_start (from Building1Zone1DBox)293.15Start temperature of each layer of window3
Modelica.Units.SI.TemperatureTWindow4_start (from Building1Zone1DBox)293.15Start temperature of each layer of window4
Initialization
Modelica.Units.SI.TemperatureTAir_start (from Building1Zone1DBox)293.15Start temperature of indoor air temperature
Advanced › Thermal comfort (PMV and PPD calculation)
Realclo (from Building1Zone1DBox)0.5Clothing
Realmet (from Building1Zone1DBox)1.2Metabolism rate
Modelica.Units.SI.VelocityvAir (from Building1Zone1DBox)0.1Mean relative air velocity in the area of user presence
Advanced › Numerical Parameters
BuildingSystems.Buildings.Types.NumericalResolutionnumResWall1 (from Building1Zone1DBox)BuildingSystems.Buildings.Types.NumericalResolution.LowNumerical resolution wall1
BuildingSystems.Buildings.Types.NumericalResolutionnumResWall2 (from Building1Zone1DBox)BuildingSystems.Buildings.Types.NumericalResolution.LowNumerical resolution wall2
BuildingSystems.Buildings.Types.NumericalResolutionnumResWall3 (from Building1Zone1DBox)BuildingSystems.Buildings.Types.NumericalResolution.LowNumerical resolution wall3
BuildingSystems.Buildings.Types.NumericalResolutionnumResWall4 (from Building1Zone1DBox)BuildingSystems.Buildings.Types.NumericalResolution.LowNumerical resolution wall4
BuildingSystems.Buildings.Types.NumericalResolutionnumResCeiling (from Building1Zone1DBox)BuildingSystems.Buildings.Types.NumericalResolution.LowNumerical resolution ceiling
BuildingSystems.Buildings.Types.NumericalResolutionnumResBottom (from Building1Zone1DBox)BuildingSystems.Buildings.Types.NumericalResolution.LowNumerical resolution bottom
BuildingSystems.Buildings.Types.NumericalResolutionnumResCeilingsInterior (from Building1Zone1DBox)BuildingSystems.Buildings.Types.NumericalResolution.LowNumerical resolution interior ceilings
BuildingSystems.Buildings.Types.NumericalResolutionnumResWallsInterior (from Building1Zone1DBox)BuildingSystems.Buildings.Types.NumericalResolution.LowNumerical resolution interior walls
General
Integerid1Building ID

Connectors

TypeNameDefaultDescription
BuildingSystems.Interfaces.Angle_degOutputangleDegAziBuilding_internal (from BuildingTemplate)Azimuth angle of the building
BuildingSystems.Interfaces.Angle_degInputangleDegAziBuilding_in (from BuildingTemplate)Azimuth angle of the building from input
BuildingSystems.Interfaces.Temp_KInput[nZones]T_setHeating (from BuildingTemplate)Set air temperature for heating of each thermal zone
BuildingSystems.Interfaces.Temp_KInput[nZones]T_setCooling (from BuildingTemplate)Set air temperature for cooling of each thermal zone
BuildingSystems.Interfaces.AirchangeRateInput[nZones]airchange (from BuildingTemplate)Air change rate of each thermal zone
BuildingSystems.Interfaces.Temp_KInputTAirAmb (from BuildingTemplate)Air temperature of the building ambience
BuildingSystems.Interfaces.Moisture_absInputxAirAmb (from BuildingTemplate)Absolute moisture of the building ambience
BuildingSystems.Interfaces.Temp_KOutput[nZones]TAir (from BuildingTemplate)Air temperature of each thermal zone
BuildingSystems.Interfaces.Moisture_absOutput[nZones]xAir (from BuildingTemplate)Air humidity of each thermal zone
BuildingSystems.Interfaces.Temp_KOutput[nSurfaces]TSur (from BuildingTemplate)Surface temperatures of the individual building elements
BuildingSystems.Interfaces.HeatFlowRateOutput[nZones]Q_flow_cooling (from BuildingTemplate)Cooling power of each thermal zone
BuildingSystems.Interfaces.HeatFlowRateOutput[nZones]Q_flow_heating (from BuildingTemplate)Heating power of each thermal zone
Modelica.Fluid.Vessels.BaseClasses.VesselFluidPorts_b[nAirpaths]toAmbienceAirpathPorts (from BuildingTemplate)Interfaces for air paths to the building ambience
BuildingSystems.Buildings.Interfaces.SurfaceToSurfacesPorts[nSurfacesAmbience]toAmbienceSurfacesPorts (from BuildingTemplate)Interfaces between outside building surfaces to surfaces of the building ambience
BuildingSystems.Buildings.Interfaces.SurfaceToAirPorts[nSurfacesAmbience]toAmbienceAirPorts (from BuildingTemplate)Interfaces between outside building surfaces to the air of the building ambience
BuildingSystems.Interfaces.HeatPorts[nSurfacesSolid]toSolidHeatPorts (from BuildingTemplate)Heat port to the ground under the building
BuildingSystems.Interfaces.HeatPorts[nHeatSources]conHeatSourcesPorts (from BuildingTemplate)Heat port to internal convective heat sources of the building
BuildingSystems.Interfaces.HeatPorts[nHeatSources]radHeatSourcesPorts (from BuildingTemplate)Heat port to internal long-wave radiation heat sources of the building
BuildingSystems.Interfaces.MoisturePorts[nMoistureSources]moisturePorts (from BuildingTemplate)Moisture port to internal moisture sources
BuildingSystems.Interfaces.MoisturePorts[nSurfacesSolid]toSolidMoisturePorts (from BuildingTemplate)Mosture port to the ground under the building
Modelica.Blocks.Interfaces.RealOutputGSCWindow1_constant (from Building1Zone1DBox)0.0Constant shading coefficient window1 (if use_GSCWindow1_in = true)
Modelica.Blocks.Interfaces.RealInputGSCWindow1_in (from Building1Zone1DBox)Shading coefficient window1
Modelica.Blocks.Interfaces.RealOutputGSCWindow2_constant (from Building1Zone1DBox)0.0Constant shading coefficient window1 (if use_GSCWindow2_in = true)
Modelica.Blocks.Interfaces.RealInputGSCWindow2_in (from Building1Zone1DBox)Shading coefficient window2
Modelica.Blocks.Interfaces.RealOutputGSCWindow3_constant (from Building1Zone1DBox)0.0Constant shading coefficient window1 (if use_GSCWindow3_in = true)
Modelica.Blocks.Interfaces.RealInputGSCWindow3_in (from Building1Zone1DBox)Shading coefficient window3
Modelica.Blocks.Interfaces.RealOutputGSCWindow4_constant (from Building1Zone1DBox)0.0Constant shading coefficient window4 (if use_GSCWindow4_in = true)
Modelica.Blocks.Interfaces.RealInputGSCWindow4_in (from Building1Zone1DBox)Shading coefficient window4
Modelica.Blocks.Interfaces.RealInputwme (from Building1Zone1DBox)0.0External work

Components

TypeNameDefaultDescription
BuildingSystems.Buildings.Surfaces.SurfacesToAirsurfacesToAmbience (from BuildingTemplate)Model for all building surfaces to the building ambience
BuildingSystems.Buildings.Surfaces.SurfacesToSolidssurfacesToSolids (from BuildingTemplate)Model for all building surfaces to the ground under the building
BuildingSystems.Buildings.Surfaces.SurfaceToSolidouterSurfaceWall1 (from Building1Zone1DBox)Surface for outer thermal boundary condition of wall1
Modelica.Thermal.HeatTransfer.Sources.FixedTemperatureConstTempWall1 (from Building1Zone1DBox)Constant temperature on the outer surface of wall1
BuildingSystems.Buildings.Surfaces.SurfaceToSolidouterSurfaceWall2 (from Building1Zone1DBox)Surface for outer thermal boundary condition of wall2
Modelica.Thermal.HeatTransfer.Sources.FixedTemperatureConstTempWall2 (from Building1Zone1DBox)Constant temperature on the outer surface of wall2
BuildingSystems.Buildings.Surfaces.SurfaceToSolidouterSurfaceWall3 (from Building1Zone1DBox)Surface for outer thermal boundary condition of wall3
Modelica.Thermal.HeatTransfer.Sources.FixedTemperatureConstTempWall3 (from Building1Zone1DBox)Constant temperature on the outer surface of wall3
BuildingSystems.Buildings.Surfaces.SurfaceToSolidouterSurfaceWall4 (from Building1Zone1DBox)Surface for outer thermal boundary condition of wall4
Modelica.Thermal.HeatTransfer.Sources.FixedTemperatureConstTempWall4 (from Building1Zone1DBox)Constant temperature on the outer surface of wall4
BuildingSystems.Buildings.Surfaces.SurfaceToSolidouterSurfaceCeiling (from Building1Zone1DBox)Surface for outer thermal boundary condition of ceiling
Modelica.Thermal.HeatTransfer.Sources.FixedTemperatureConstTempCeiling (from Building1Zone1DBox)Constant temperature on the outer surface of ceiling
BuildingSystems.Buildings.Zones.ZoneTemplateAirvolumeMixedzone (from Building1Zone1DBox)Thermal zone
BuildingSystems.Buildings.Constructions.Walls.WallThermal1DNodeswall1 (from Building1Zone1DBox)Wall 1 (west oriented if angleDegAzi is 0 degree)
BuildingSystems.Buildings.Constructions.Walls.WallThermal1DNodeswall2 (from Building1Zone1DBox)Wall 2 (north oriented if angleDegAzi is 0 degree)
BuildingSystems.Buildings.Constructions.Walls.WallThermal1DNodeswall3 (from Building1Zone1DBox)Wall 3 (east oriented if angleDegAzi is 0 degree)
BuildingSystems.Buildings.Constructions.Walls.WallThermal1DNodeswall4 (from Building1Zone1DBox)Wall 4 (south oriented if angleDegAzi is 0 degree)
BuildingSystems.Buildings.Constructions.Walls.WallThermal1DNodesceiling (from Building1Zone1DBox)Ceiling (horizontal oriented)
BuildingSystems.Buildings.Constructions.Walls.WallThermal1DNodesbottom (from Building1Zone1DBox)Bottom
BuildingSystems.Buildings.Constructions.Walls.WallThermal1DNodeswallsInterior (from Building1Zone1DBox)Optional interior walls
BuildingSystems.Buildings.Constructions.Walls.WallThermal1DNodesceilingsInterior (from Building1Zone1DBox)Optional interior ceilings
BuildingSystems.Buildings.Constructions.Windows.Windowwindow1 (from Building1Zone1DBox)Window 1 (west oriented if angleDegAzi is 0 degree)
BuildingSystems.Buildings.Constructions.Windows.Windowwindow2 (from Building1Zone1DBox)Window 2 (north oriented if angleDegAzi is 0 degree)
BuildingSystems.Buildings.Constructions.Windows.Windowwindow3 (from Building1Zone1DBox)Window 3 (east oriented if angleDegAzi is 0 degree)
BuildingSystems.Buildings.Constructions.Windows.Windowwindow4 (from Building1Zone1DBox)Window 4 (south oriented if angleDegAzi is 0 degree)

Revisions

  • May 23, 2015 by Christoph Nytsch-Geusen:
    First implementation.