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

TypeNameDefaultDescription
General › Surfaces
IntegernSurfacesNumber of building surfaces
BooleancalcLwRadtrueTrue: long-wave radiation exchange on building surfaces is considered; false: no long-wave radiation exchange
General › Airpaths
IntegernAirpaths0Number of airpaths to the building
Modelica.Units.SI.Length[nAirpaths]heightAirpathfill(0.0, nAirpaths)Height of the airpaths to the building facades
General › Location
RealrhoAmb0.2Reflection factor for short-wave radiation of the ground
Modelica.Units.SI.LengthzRefvWind10.0Reference height for wind measurement
RealP0.4Roughness exponent for wind profil calculation
Modelica.Units.SI.LengthzRefTAir2.0Reference height air temperature measurement
Realgamma0.01Temperature gradient of the planetary boundary layer
Modelica.Units.SI.PressurepAirRef100000.0Static air pressure on reference height
Advanced › Data source
BuildingSystems.Buildings.Types.DataSourcexAirSouBuildingSystems.Buildings.Types.DataSource.CalculationData source for absolute humidity of the ambient air
Modelica.Units.SI.MassFractionxAir_constant0.5Absolute humidity of the ambient air (used if xAirSou=Parameter)
BuildingSystems.Buildings.Types.DataSourceTAirRefSouBuildingSystems.Buildings.Types.DataSource.CalculationData source for air temperature on reference height
Modelica.Units.SI.TemperatureTAirRef_constant293.15Air temperature on reference height (used if TAirRefSou=Parameter)
BuildingSystems.Buildings.Types.DataSourceIrrDirHorSouBuildingSystems.Buildings.Types.DataSource.CalculationData source for solar beam radiation of horizontal surface
Modelica.Units.SI.RadiantEnergyFluenceRateIrrDirHor_constant0.0Solar beam radiation of horizontal surface (used if IrrDirHorSou=Parameter)
BuildingSystems.Buildings.Types.DataSourceIrrDifHorSouBuildingSystems.Buildings.Types.DataSource.CalculationData source for solar diffuse radiation of horizontal surface
Modelica.Units.SI.RadiantEnergyFluenceRateIrrDifHor_constant0.0Solar diffuse radiation of horizontal surface (used if IrrDifHorSou=Parameter)
BuildingSystems.Buildings.Types.DataSourcevWindRefSouBuildingSystems.Buildings.Types.DataSource.CalculationData source for solar wind speed on reference height
Modelica.Units.SI.VelocityvWindRef_constant0.0Wind speed on reference height (used if vWindRefSou=Parameter)
BuildingSystems.Buildings.Types.DataSourceangleDegWindRefSouBuildingSystems.Buildings.Types.DataSource.CalculationData source for Angle of wind direction on reference height
Modelica.Units.NonSI.Angle_degangleDegWindRef_constant0.0Angle of wind direction on reference height (used if angleDegWindRefSou=Parameter)
BuildingSystems.Buildings.Types.DataSourcecloudCoverSouBuildingSystems.Buildings.Types.DataSource.CalculationData source for cloud cover of the sky
RealcloudCover_constant0.0Cloud cover of the sky (used if cloudCoverSou=Parameter)

Components

TypeNameDefaultDescription
BuildingSystems.Climate.WeatherData.WeatherDataReaderweatherDataReaderWeather data from file
BuildingSystems.Buildings.Interfaces.SurfaceToAirPorts[nSurfaces]toAirPortsClimate boundary conditions for the building surfaces dependent on the ambient air
BuildingSystems.Buildings.Interfaces.SurfaceToSurfacesPorts[nSurfaces]toSurfacePortsClimate boundary conditions for the building surfaces dependent on ambient surfaces
Modelica.Fluid.Vessels.BaseClasses.VesselFluidPorts_b[nAirpaths]toAirpathPortsClimate boundary conditions for the building airpaths
BuildingSystems.Interfaces.Moisture_absOutputxAirAbsolute moisture of ambient air
BuildingSystems.Interfaces.Moisture_absInputxAir_inAbsolute moisture of the ambient air from input
BuildingSystems.Interfaces.Temp_KOutputTAirRefAir temperature on reference height
BuildingSystems.Interfaces.Temp_KInputTAirRef_inAir temperature on reference height from input
BuildingSystems.Interfaces.RadiantEnergyFluenceRateOutputIrrDirHorSolar beam radiation of horizontal surface
BuildingSystems.Interfaces.RadiantEnergyFluenceRateInputIrrDirHor_inSolar beam radiation of horizontal surface from input
BuildingSystems.Interfaces.RadiantEnergyFluenceRateOutputIrrDifHorSolar diffuse radiation of horizontal surface
BuildingSystems.Interfaces.RadiantEnergyFluenceRateInputIrrDifHor_inSolar diffuse radiation of horizontal surface from input
BuildingSystems.Interfaces.VelocityOutputvWindRefWind speed on reference height
BuildingSystems.Interfaces.VelocityInputvWindRef_inWind speed on reference height from input
BuildingSystems.Interfaces.Angle_degOutputangleDegWindRefAngle of wind direction on reference height
BuildingSystems.Interfaces.Angle_degInputangleDegWindRef_inAngle of wind direction on reference height from input
Modelica.Blocks.Interfaces.RealOutputcloudCoverCloud cover of the sky
Modelica.Blocks.Interfaces.RealInputcloudCover_inCloud cover of the sky from input
BuildingSystems.Interfaces.Temp_KOutputTSkySky temperature
BuildingSystems.Climate.SolarRadiationTransformers.SolarRadiationTransformerIsotropicSky[nSurfaces]radiationRadiation on tilted surfaces
BuildingSystems.Interfaces.Angle_degOutputlatitudeDegLatitude
BuildingSystems.Interfaces.Angle_degOutputlongitudeDegLongitude
BuildingSystems.Interfaces.Angle_degOutputlongitudeDeg0Longitude of the local time zone
BuildingSystems.Interfaces.Angle_degOutputangleDegAziSunradiation[1].radiationPort.angleDegAziSunAzimuth angle of the sun
BuildingSystems.Interfaces.Angle_degOutputangleDegHeightSunradiation[1].radiationPort.angleDegHeightSunHeight angle of the sun

Contents

NameDescription
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.