The UFZ services GitLab and Mattermost will be unavailable on Monday, December 06 from 06:00 AM to 08:00 AM due to maintenance work.

Commit 3f158025 authored by Markus Millinger's avatar Markus Millinger
Browse files

Undid changes

parent 1bfe30b2
......@@ -77,17 +77,17 @@ for scenario = 1:noScenarios
s.weatherYear = {'2017'};
fileID = ['../data/powerData' strjoin([countryID s.weatherYear],'_') '.mat'];
% if isfile(fileID)
% powerDataCountry = ... %reads data from .mat file
% importdata(fileID);
% else
% %Read power system data for each region in 60 min resolution
% powerData = readtable('../data/time_series_60min_singleindex.csv');
% powerDataCountry = ... %Save to .mat-file
% powerData(contains(powerData.cet_cest_timestamp,s.weatherYear),...
% contains(powerData.Properties.VariableNames,countryID));
% save(fileID,'powerDataCountry');
% end
if isfile(fileID)
powerDataCountry = ... %reads data from .mat file
importdata(fileID);
else
%Read power system data for each region in 60 min resolution
powerData = readtable('../data/time_series_60min_singleindex.csv');
powerDataCountry = ... %Save to .mat-file
powerData(contains(powerData.cet_cest_timestamp,s.weatherYear),...
contains(powerData.Properties.VariableNames,countryID));
save(fileID,'powerDataCountry');
end
% Set country-specific data
% Make sure the initial capacity for solar PV and On- and offshore wind
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment