A weather data generation tool for building energy system simulations.Pull, Transform, Export.
Project description
AixWeather
A weather data generation tool for building energy system simulations. Pull, Transform, Export.
It is being developed at RWTH Aachen University, E.ON Energy Research Center, Institute for Energy Efficient Buildings and Indoor Climate (EBC) in Aachen, Germany.
As the library is developed at RWTH Aachen University's EBC, the library's name AixWeather is derived from the city's French name Aix-la-Chapelle, which the people of Aachen are very fond of and use a lot. With the name AixWeather we follow this local tradition.
If you have any questions regarding AixWeather, feel free to contact us at aixweather@eonerc.rwth-aachen.de.
WebApp
For fast access without setup, use the WebApp. The repository AixWeather-WebApp contains the corresponding WebApp for this repo. This repository contains the functionalities useful for, e.g., automation of tasks.
How to use
For each data origin, a class is defined. Use generic functions to create the desired output file. See the examples to know how to use them.
Tool structure and overview
This tool consists of three layers:
-
Import raw weather data from several sources
-
Transform the weather data to a defined core format with consideration of:
2.1. Time zone
2.2. Time of measurement (whether a value at a certain time stamp is for the indicated time or, e.g., the average of the preceding hour)
2.3. Avoidance of smoothing through interpolation (pass through variables without interpolation if possible)
2.4. Units
2.5. Calculate missing variables from available ones, e.g., horizontal direct radiation from diffuse and global radiation
2.6. Missing data.
-
Transform the core-format data to your desired output format
Overview
Known limitations:
- only hourly data
Chances:
- generic code base that allows for fast and easy extensions to both other import formats and output formats
DWD station IDs and DWD MOSMIX station IDs
The station IDs for the DWD weather stations to pull historical data from are listed here. Only german stations available. Aachen would be 15000.
The DWD MOSMIX station IDs for the DWD forecast are listed here or located on a map here. Worldwide station available. Aachen would be 10505.
You may use the imported package Wetterdienst to search for stations automatically, as described here.
Sources of information for corresponding data formats
Input
Test Reference Years (TRY):
TRY data can be downloaded from the DWD (sign up required but for free) TRY data sets.
Additional information on the suitability of TRY data (last update: 2019): There are typical TRY datasets grouped by the year of publication:
- 2004 datasets: (DWD; some errors in solar radiation; dataset should be avoided).
- 2010 datasets: suitable for EnEV and GEG, not for solar thermal simulations.
- 2015 datasets: not suitable for EnEV and GEG, but for solar thermal simulations
- Overall: Reliable quantities in TRYs are only the air temperature and the global radiation!
DWD historical: open data website
DWD forecasts (MOSMIX i.e. KML files): open data website go to content.log.bz2.
EnergyPlus (EPW):
For format information, see the corresponding output format description.
Online sources for EPW data: https://climate.onebuilding.org/default.html and https://www.ladybug.tools/epwmap/
ERC data:
This data is from the weather station of the Institute for Energy Efficient Buildings and Indoor Climate (RWTH). Access requires user credentials. Such credentials are pre-defined if you use the WebApp.
Output formats
EnergyPlus (EPW):
Modelica ReaderTMY3:
TMY3 reader from the IBPSA library used in the AixLib library. Model info at OpenModelica. It claims to use mainly TMY3 data, though we found that the pressure is used in mbar instead of Pa. Further deviations possible.
Additional information for AixLib users.
Weather data usage in the low order model (LOM):
Used in LOM:
- TDryBul
- RelHum
- TBlaSky (calculated via HInfHor, TDryBul, TDewPoi, and OpaSkyCov)
- HGloHor
- HDifHor
- HDirNor
Not used in the LOM:
- total sky cover
- ceiling height
- wind direction
- wind speed
- atmospheric pressure
Unconverted to x
exports the core data without conversion to .csv, .json, or .pickle files.
How to contribute to the development
You are invited to contribute to the development of this weather tool. Issues can be reported using this site's Issues section. Furthermore, you are welcome to contribute via Pull Requests. More info on how to contribute can be found here.
License
The weather tool is released by RWTH Aachen University, E.ON Energy Research Center, Institute for Energy Efficient Buildings and Indoor Climate and is available under a 3-clause BSD license. See license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aixweather-0.1.7.tar.gz
.
File metadata
- Download URL: aixweather-0.1.7.tar.gz
- Upload date:
- Size: 45.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01fbb66ea43ff78b539c2cb80baa4a6d12ddeeeba9da0555313a7596888c3ee5 |
|
MD5 | 132cc6e0c8af4cee3c0ca00f53b51704 |
|
BLAKE2b-256 | 7e2504a288d504f7b96f789f4b676515924af48c531c8c0e7ed580b729f26507 |
File details
Details for the file AixWeather-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: AixWeather-0.1.7-py3-none-any.whl
- Upload date:
- Size: 57.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ba1cc6e39a2fcd97c9d2f626b8e4b27d5b03d1b5da326b04586345e7b3a7e95 |
|
MD5 | 898bb719b54f94d235f56cf85c0e5a58 |
|
BLAKE2b-256 | e80d4abc2c783bc2ff7153c36ac5fe61e151edd93e0eaf940ff5bd9225af34f4 |