-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windturbine and additional parameters/function in weather modell #277
Conversation
todo: automatische änderung bei plots von hPa in bar etc.
vorbereitung funktion zum beziehen von wetterdaten vom dwd (10min aflösung) durch extra modell --> aktuelle reale wetterdaten für ein jahr
# Conflicts: # hisim/sim_repository_singleton.py
Hier nur Windkraft und wetter
- fix pytest issues
- Function for era5 data added - function for dwd retrieval corrected - variables and function renamed for better overview (DWD to DWD_TRY) --> Script for data retrieval from dwd/era5 database will follow after consultation
# Conflicts: # hisim/components/weather.py
…PLEASE CHECK ALSO FOR MERGING - fixing testing issues - implement new test setups for data request - add new python lib to test/requirement files
please also check new implemented model for weather data request from dwd and era5 "original" weather.py model is adapted to new import possibility |
Is this ready? |
… specified in the config class. Enables the integration of several weather objects in the simulation (particularly helpful for wind turbine applications, as they often have a different location than buildings)
From my side I have nothing more to add for now. The commit from just now was the last point that came to mind for more "flexibility" of the model |
# Conflicts: # hisim/components/weather.py
…" were added due to new parameters in weather.py model (error with "old" files due to missing parameters if using nsrdb_15min) - todo: push branch again when "Fix utsp tests" is merged into main to pass tests
Licence issues for weather data talked about in meeting:
Both licences are free to use. So I think there is no problem to publish the data requests in hisim repository |
* specify pv production in kpis * fix pytest electricity meter * fix kpi error due to error in postprocessingflag of hp hplib thermal power * fix pytest builing sizer pp-option * add some of new kpis to scneario processing list * small fix * remove rounding in electricity meter * enable heating by devices * chaanges on building * smaller changes * add stacked bar plot and flow and return temps in kpis and scenario evaluation * order bar plots * fix mypy * prospector * try to fix tests * more explanation for heating test * fix pytests and prospector * fix rounding error in kpis * add some building kpis * add some more building outputs * add more outputs and kpis for building for testing purposes * small change * plotting improvement * sort kpis * fix pytest electricity meter * implement hds flow and return temperatures as kpis * some important changes * more change * use ems and battery only when pv is used in cluster system setup * some more dev on scenario evaluation * make tofromgrid output in Wh for em * fix pytest * fix pytest * fix pylint * keep electricity availabe in watt * code qualy * add some more inputs to advanced hp for cooling validation * add some more hplib kpis * fix hplib test * add some more hplib kpis * fix pytest * fix pytest * fix pylint * make cluster system setup run * code qualy * some more changes * some more changes * save x_y_plot_data * small improvement in plotting * slight changes on scenario evaluation * Add files via upload * Debug ems (#326) * ems renaming variables * use more default connections for ems * use more default connections for ems * some more renaming * some more cleaning up ems * more tidying up and chnages on ems outputs, try to investiagte grid dependency of each component * fix pytest * some more renaming * some more renaming * some more renaming * Windturbine and additional parameters/function in weather modell (#277) * more advanced heat pump model, example and tester * tester for more advanced heatpump * units for pressure todo: automatische änderung bei plots von hPa in bar etc. * weather model ergänzt um druck aus-/übergabe * model ergänzt um druck für ggf zukünftige erweiterung von windkraftanlage modell * pressure output angepasst * pressure ergänzt * anpassen auf SI-Einheit für Druck * anpassen auf SI-Einheit für Druck * anpassen auf SI-Einheit für Druck * modell ergänzt um pressure output für windkraftanlage, vorbereitung funktion zum beziehen von wetterdaten vom dwd (10min aflösung) durch extra modell --> aktuelle reale wetterdaten für ein jahr * test * wettermodell update * hisim uodate * wp modell nicht für diesen Branche! Hier nur Windkraft und wetter * New Modell of a Windturbine based on windpowerlib https://github.com/wind-python/windpowerlib/tree/dev * test for generic windturbine * gehört nicht zum branche für windkraftanlage * manuell auf aktuelle hisim version kopiert * erst zu mein branche, wenn komplett fertig und abgenommen * - implement windpowerlib in requirements.txt - fix pytest issues * - Preparation for external weather data retrieval of DWD and era5 data - Function for era5 data added - function for dwd retrieval corrected - variables and function renamed for better overview (DWD to DWD_TRY) --> Script for data retrieval from dwd/era5 database will follow after consultation * geändert auf original weather model * NOTE: NEW MODEL FOR WEATHER DATA IMPORT (weather_data_import.py) --> PLEASE CHECK ALSO FOR MERGING - fixing testing issues - implement new test setups for data request - add new python lib to test/requirement files * a small change to make the variable "name" flexible --> "name" is now specified in the config class. Enables the integration of several weather objects in the simulation (particularly helpful for wind turbine applications, as they often have a different location than buildings) * update and fix merge conflicts * - updated nsrdb_15min files: parameter "pressure" and "wind direction" were added due to new parameters in weather.py model (error with "old" files due to missing parameters if using nsrdb_15min) - todo: push branch again when "Fix utsp tests" is merged into main to pass tests --------- Co-authored-by: noah80 <[email protected]> Co-authored-by: Hoppe-J <[email protected]>
generic Windturbine: based on windpowerlib (https://github.com/wind-python/windpowerlib/tree/dev)
Calculates the elctrical output power of a windturbine with weather data from weather model (pressure,windspeed,temperature)
windpowerlib calculates the weatherparameter on hub height and calculate the elecitrical power for a specific windturbine model from a specific manufactor.
Because of the windtrubine modell the hisim weather model was expanded to include the parameter “pressure” in outputs for every weather data format (nsrdb,try/dwd)
In addition, the weather model has been expanded to include a function that can process current DWD data. The integration of the dwd database and the provision of the data will follow later