The Climate File - kaemco/CitySim-Solver GitHub Wiki

The header

CitySim needs a .cli file that contains climatic data. You can generate this data using the Meteonorm software or providing your own weather measurements using the specific format of the file described below. Additionnaly to the .cli file, you can use a horizon profile to take into account the far-field obstructions of the skyline. The corresponding .hor file can also be created with the help of Meteonorm or measured by yourself.

Each Climate File (.cli format) starts with a header that contains the geographical location of the weather station. An example is provided below for the city of Basel which is lattitude 47.55°N and longitude 7.583°E, 316 m above sea level and meridian 1 corresponding to UTC+1.

The header

Basel 
47.55,7.583,316,1

The meteorological data

Each Climate File contains meteorological data for a year, organized by day, month and hour. It comprises the following information:

name units
d day
m month
h hour
G_Dh Diffuse horizontal irradiance W/m2
G_Bn Beam normal irradiance W/m2
Ta Air temperature °C
Tg Ground Temperature °C
FF Wind speed m/s
DD Wind Direction °
RH Relative Humidity %
RR Precipitation mm
N Nebulosity octa

The azimuth for the Wind direction are given as °North Clockwise.

The Ground Temperature Tg is the temperature monitored at a depth corresponding to the Ground Composite, generally between 0.5 and 4 m deep.

The .cli file must be coded as a table separated with tabulators (\t).

If the weather station does not provide G_Dh and G_Bn, alternatively those two columns can be replaced by:

name units
G_Dh Diffuse horizontal irradiance W/m2
G_h Global horizontal irradiance W/m2

or just:

name units
G_h Global horizontal irradiance W/m2

in the order of precision of the possible radiation calculation.

Example

⚠️ **GitHub.com Fallback** ⚠️