dragonfly_uwg.simulation.refsite module

class dragonfly_uwg.simulation.refsite.ReferenceEPWSite(average_obstacle_height=0.1, vegetation_coverage=0.9, temp_measure_height=10, wind_measure_height=10)[source]

Bases: object

Properties of the reference site where the input rural EPW was recorded.

Parameters:
  • average_obstacle_height – A number that represents the height in meters of objects that obstruct the view to the sky at the weather station site. This includes both trees and buildings. (Default: 0.1 m).

  • vegetation_coverage – A number between 0 and 1 that represents the fraction of the reference EPW site that is covered in grass. (Default: 0.9).

  • temp_measure_height – A number that represents the height in meters at which temperature is measured on the weather station. (Default: 10m, the standard measurement height for US DoE EPW files).

  • wind_measure_height – A number that represents the height in meters at which wind speed is measured on the weather station. (Default: 10m, the standard measurement height for US DoE EPW files).

ToString()[source]

Overwrite .NET ToString method.

duplicate()[source]

Get a copy of this object.

classmethod from_dict(data)[source]

Create a ReferenceEPWSite object from a dictionary

Parameters:

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

{
'type': 'ReferenceEPWSite',
'average_obstacle_height': 10,  # float for obstacle height in meters
'vegetation_coverage': 0.95,  # float for vegetation coverage between 0 and 1
'temp_measure_height': 10,  # float for temp measurement height in meters
'wind_measure_height: 15  # float for wind measurement height in meters
}
to_dict()[source]

Get ReferenceEPWSite dictionary.

property average_obstacle_height

Get or set a number for the average obstacle height in meters.

property temp_measure_height

Get or set a number for the temperature measurement height in meters.

property vegetation_coverage

Get or set a fractional number for the vegetation coverage.

property wind_measure_height

Get or set a number for the wind measurement height in meters.