rl-institut / RAMP

Repository of the open-source RAMP model for generating multi-energy loads profiles
European Union Public License 1.2
3 stars 0 forks source link

Feature: possibility to define a date range #20

Closed Bachibouzouk closed 1 year ago

Bachibouzouk commented 2 years ago

Fix #11 Fix #13

@ismaeel036 You can call the program for specific date ranges now python ramp.py -i ramp/input_files/input_file_4.xlsx -n 3 --start-date 2022-02-01 --end-date 2022-02-04 Will generate 4 daily profiles which are each obtained by averaging 3 random profiles

If you don't specify start date it will default to january 1st of the same year as the end date.

If you don't specify end date, it will default to december 31st of the same year as the start date

If you provide only -y 2021 it will generate the whole year 2021 (if you provide the path of a folder with the option -i and if that folder contains 12 months, then each folder will be matched with one month)

If you want to get the same sort of outputs you had with previous version of ramp you can just set the -n option to 1 instead of 3

Bachibouzouk commented 1 year ago

-n should be set by default to 1

Bachibouzouk commented 1 year ago

If someone only provides the n_days then it starts on a monday

Bachibouzouk commented 1 year ago

Taken over by https://github.com/RAMP-project/RAMP/pull/52