Details
Datum der Bereitstellung | 2022 |
---|---|
Herausgeber (Verlag) | Forschungsdaten-Repositorium der LUH |
Beschreibung
To get the __consumption model__ from Section 3.1, one needs load execute the file consumption_data.R. Load the data for the 3 Phases ./data/CONSUMPTION/PL1.csv, PL2.csv, PL3.csv, transform the data and build the model (starting line 225). The final consumption data can be found in one file for each year in ./data/CONSUMPTION/MEGA_CONS_list.Rdata To get the results for the __optimization problem__, one needs to execute the file analyze_data.R. It provides the functions to compare production and consumption data, and to optimize for the different values (PV, MBC,). To __reproduce the figures__ one needs to execute the file visualize_results.R. It provides the functions to reproduce the figures. To calculate the __solar radiation__ that is needed in the Section Production Data, follow file calculate_total_radiation.R. To reproduce the __radiation data from from ERA5__, that can be found in data.zip, do the following steps: 1. [ERA5](https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-single-levels?tab=form) - download the reanalysis datasets as GRIB file. For FDIR select "Total sky direct solar radiation at surface", for GHI select "Surface solar radiation downwards", and for ALBEDO select "Forecast albedo". 2. convert GRIB to csv with the file era5toGRID.sh 3. convert the csv file to the data that is used in this paper with the file convert_year_to_grid.R