modelAmbience
Model which calculates the outside climate boundary conditions of one ore more buildings
Information
This is a model which calculates the outside climate boundary conditions of one ore more buildings.
Under BuildingSystems.Resources.Scripts.WeatherDataConverter you will find a short guide, which describes a Python based generation of NetCDF files, which can be read by this component.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| General › Surfaces | |||
| Integer | nSurfaces | Number of building surfaces | |
| Boolean | calcLwRad | true | True: long-wave radiation exchange on building surfaces is considered; false: no long-wave radiation exchange |
| General › Airpaths | |||
| Integer | nAirpaths | 0 | Number of airpaths to the building |
| Modelica.Units.SI.Length[nAirpaths] | heightAirpath | fill(0.0, nAirpaths) | Height of the airpaths to the building facades |
| General › Location | |||
| Real | rhoAmb | 0.2 | Reflection factor for short-wave radiation of the ground |
| Modelica.Units.SI.Length | zRefvWind | 10.0 | Reference height for wind measurement |
| Real | P | 0.4 | Roughness exponent for wind profil calculation |
| Modelica.Units.SI.Length | zRefTAir | 2.0 | Reference height air temperature measurement |
| Real | gamma | 0.01 | Temperature gradient of the planetary boundary layer |
| Modelica.Units.SI.Pressure | pAirRef | 100000.0 | Static air pressure on reference height |
| Advanced › Data source | |||
| BuildingSystems.Buildings.Types.DataSource | xAirSou | BuildingSystems.Buildings.Types.DataSource.Calculation | Data source for absolute humidity of the ambient air |
| Modelica.Units.SI.MassFraction | xAir_constant | 0.5 | Absolute humidity of the ambient air (used if xAirSou=Parameter) |
| BuildingSystems.Buildings.Types.DataSource | TAirRefSou | BuildingSystems.Buildings.Types.DataSource.Calculation | Data source for air temperature on reference height |
| Modelica.Units.SI.Temperature | TAirRef_constant | 293.15 | Air temperature on reference height (used if TAirRefSou=Parameter) |
| BuildingSystems.Buildings.Types.DataSource | IrrDirHorSou | BuildingSystems.Buildings.Types.DataSource.Calculation | Data source for solar beam radiation of horizontal surface |
| Modelica.Units.SI.RadiantEnergyFluenceRate | IrrDirHor_constant | 0.0 | Solar beam radiation of horizontal surface (used if IrrDirHorSou=Parameter) |
| BuildingSystems.Buildings.Types.DataSource | IrrDifHorSou | BuildingSystems.Buildings.Types.DataSource.Calculation | Data source for solar diffuse radiation of horizontal surface |
| Modelica.Units.SI.RadiantEnergyFluenceRate | IrrDifHor_constant | 0.0 | Solar diffuse radiation of horizontal surface (used if IrrDifHorSou=Parameter) |
| BuildingSystems.Buildings.Types.DataSource | vWindRefSou | BuildingSystems.Buildings.Types.DataSource.Calculation | Data source for solar wind speed on reference height |
| Modelica.Units.SI.Velocity | vWindRef_constant | 0.0 | Wind speed on reference height (used if vWindRefSou=Parameter) |
| BuildingSystems.Buildings.Types.DataSource | angleDegWindRefSou | BuildingSystems.Buildings.Types.DataSource.Calculation | Data source for Angle of wind direction on reference height |
| Modelica.Units.NonSI.Angle_deg | angleDegWindRef_constant | 0.0 | Angle of wind direction on reference height (used if angleDegWindRefSou=Parameter) |
| BuildingSystems.Buildings.Types.DataSource | cloudCoverSou | BuildingSystems.Buildings.Types.DataSource.Calculation | Data source for cloud cover of the sky |
| Real | cloudCover_constant | 0.0 | Cloud cover of the sky (used if cloudCoverSou=Parameter) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| BuildingSystems.Climate.WeatherData.WeatherDataReader | weatherDataReader | Weather data from file | |
| BuildingSystems.Buildings.Interfaces.SurfaceToAirPorts[nSurfaces] | toAirPorts | Climate boundary conditions for the building surfaces dependent on the ambient air | |
| BuildingSystems.Buildings.Interfaces.SurfaceToSurfacesPorts[nSurfaces] | toSurfacePorts | Climate boundary conditions for the building surfaces dependent on ambient surfaces | |
| Modelica.Fluid.Vessels.BaseClasses.VesselFluidPorts_b[nAirpaths] | toAirpathPorts | Climate boundary conditions for the building airpaths | |
| BuildingSystems.Interfaces.Moisture_absOutput | xAir | Absolute moisture of ambient air | |
| BuildingSystems.Interfaces.Moisture_absInput | xAir_in | Absolute moisture of the ambient air from input | |
| BuildingSystems.Interfaces.Temp_KOutput | TAirRef | Air temperature on reference height | |
| BuildingSystems.Interfaces.Temp_KInput | TAirRef_in | Air temperature on reference height from input | |
| BuildingSystems.Interfaces.RadiantEnergyFluenceRateOutput | IrrDirHor | Solar beam radiation of horizontal surface | |
| BuildingSystems.Interfaces.RadiantEnergyFluenceRateInput | IrrDirHor_in | Solar beam radiation of horizontal surface from input | |
| BuildingSystems.Interfaces.RadiantEnergyFluenceRateOutput | IrrDifHor | Solar diffuse radiation of horizontal surface | |
| BuildingSystems.Interfaces.RadiantEnergyFluenceRateInput | IrrDifHor_in | Solar diffuse radiation of horizontal surface from input | |
| BuildingSystems.Interfaces.VelocityOutput | vWindRef | Wind speed on reference height | |
| BuildingSystems.Interfaces.VelocityInput | vWindRef_in | Wind speed on reference height from input | |
| BuildingSystems.Interfaces.Angle_degOutput | angleDegWindRef | Angle of wind direction on reference height | |
| BuildingSystems.Interfaces.Angle_degInput | angleDegWindRef_in | Angle of wind direction on reference height from input | |
| Modelica.Blocks.Interfaces.RealOutput | cloudCover | Cloud cover of the sky | |
| Modelica.Blocks.Interfaces.RealInput | cloudCover_in | Cloud cover of the sky from input | |
| BuildingSystems.Interfaces.Temp_KOutput | TSky | Sky temperature | |
| BuildingSystems.Climate.SolarRadiationTransformers.SolarRadiationTransformerIsotropicSky[nSurfaces] | radiation | Radiation on tilted surfaces | |
| BuildingSystems.Interfaces.Angle_degOutput | latitudeDeg | Latitude | |
| BuildingSystems.Interfaces.Angle_degOutput | longitudeDeg | Longitude | |
| BuildingSystems.Interfaces.Angle_degOutput | longitudeDeg0 | Longitude of the local time zone | |
| BuildingSystems.Interfaces.Angle_degOutput | angleDegAziSun | radiation[1].radiationPort.angleDegAziSun | Azimuth angle of the sun |
| BuildingSystems.Interfaces.Angle_degOutput | angleDegHeightSun | radiation[1].radiationPort.angleDegHeightSun | Height angle of the sun |
Contents
| Name | Description |
|---|---|
| Medium | |
| WeatherData |
Revisions
-
Mar 12, 2020 by Christoph Nytsch-Geusen:
Sky temperature can have also a constant value. -
Sep 5, 2019 by Christoph Nytsch-Geusen:
Model class renamed in Ambience. -
Aug 20, 2019 by Christoph Nytsch-Geusen:
Outputs for height angle and azimuth of the sun added. -
June 14, 2018 by Christoph Nytsch-Geusen:
Adapted to modified NetCDF weather data reader. -
November 07, 2017 by Christoph Nytsch-Geusen:
Output for cloud cover added. -
April 4, 2017 by Christoph Nytsch-Geusen:
Outputs for latitudeDeg, longitudeDeg and longitudeDeg0 added. -
May 23, 2015 by Christoph Nytsch-Geusen:
First implementation.