Open BDonnot opened 2 years ago
The current behaviour is to hard code in the compute_loads
function the lag (in number of days).
It is currently set to 6 corresponding to a "proper year" 2050
Day_lag has been introduced to deal with that. https://github.com/BDonnot/ChroniX2Grid/blob/237a41ccce77cd60e91bb154f24e0e6996aa58db/chronix2grid/generation/consumption/consumption_utils.py#L27
But still need a bit of work to work properly end-to-end. For now it is hard coded to day_lag=6 for year 2050
When you want to generate loads for a given period, for example with:
The 2048-06-01 is a monday. However the load profile for this command is:
Which clearly starts a Thursday (week-end after 2 days) and NOT a monday.
The profile is obtained regardless of the year.