Skip to content
Snippets Groups Projects
Commit fd622c33 authored by David Radu's avatar David Radu
Browse files

fixed load magnitude bug on potential-based criticality cases

parent 257ebcf8
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ data_path: '/data/dcradu/resite_ip/'
# Spatial resolution (in degrees) of the potential sites.
spatial_resolution: 0.25
# Start time and end time of the analysis.
time_slice: ['2011-01-01T00:00', '2020-12-31T23:00']
time_slice: ['2010-01-01T00:00', '2019-12-31T23:00']
# Technologies to deploy.
regions: ['GB', 'NL', 'FR', 'DE', 'DK', 'NO', 'PL', 'IE', 'IT', 'SE', 'FI', 'ES', 'GR', 'PT', 'BE', 'LT', 'LV', 'EE', 'HR']
technologies: ['wind_offshore']
......
......@@ -429,6 +429,8 @@ def smooth_load_data(data_path, regions, date_slice, delta):
load_data_fn = join(data_path, 'input/load_data', 'load_entsoe_2006_2020_full.csv')
load_data = read_csv(load_data_fn, index_col=0)
# From MW to GW
load_data = load_data.divide(1e3)
load_data.index = to_datetime(load_data.index)
load_data_sliced = load_data.loc[date_slice[0]:date_slice[1]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment