dragonfly_uwg.simulation.boundary module

class dragonfly_uwg.simulation.boundary.BoundaryLayerParameter(day_boundary_layer_height=1000, night_boundary_layer_height=80, inversion_height=150, circulation_coefficient=1.2, exchange_coefficient=1.0)[source]

Bases: object

Properties of the urban boundary layer.

Parameters
  • day_boundary_layer_height – A number that represents the height in meters of the urban boundary layer during the daytime. This is the height to which the urban meteorological conditions are stable and representative of the overall urban area. Typically, this boundary layer height increases with the height of the buildings. (Default: 1000 meters).

  • night_boundary_layer_height – A number that represents the height in meters of the urban boundary layer during the nighttime. This is the height to which the urban meteorological conditions are stable and representative of the overall urban area. Typically, this boundary layer height increases with the height of the buildings. (Default: 80 meters).

  • inversion_height – A number that represents the height in meters at which the vertical profile of potential temperature becomes stable. Can be determined by flying helium balloons equipped with temperature sensors and recording the air temperatures at different heights. (Default: 150 meters).

  • circulation_coefficient – A number representing the circulation coefficient. (Default: 1.2, per Bueno (2012)).

  • exchange_coefficient – A number representing the exchange coefficient. (Default: 1.0, per Bueno (2014)).

ToString()[source]

Overwrite .NET ToString method.

duplicate()[source]

Get a copy of this object.

classmethod from_dict(data)[source]

Create a BoundaryLayerParameter object from a dictionary

Parameters

data – A dictionary representation of an BoundaryLayerParameter object in the format below.

{
'type': 'BoundaryLayerParameter',
'day_boundary_layer_height': 1000,  # float for height in meters
'night_boundary_layer_height': 80,  # float for height in meters
'inversion_height': 150,  # float for inversion layer height
'circulation_coefficient': 1.2,  # float for circulation coefficient
'exchange_coefficient': 1.0  # float for exchange coefficient
}
to_dict()[source]

Get BoundaryLayerParameter dictionary.

property circulation_coefficient

Get or set a number for the circulation coefficient.

property day_boundary_layer_height

Get or set a number for the daytime boundary layer height in meters.

property exchange_coefficient

Get or set the exchange coefficient.

property inversion_height

Get or set a number for the inversion height in meters.

property night_boundary_layer_height

Get or set a number for the nighttime boundary layer height i meters.