Open kkarrancsu opened 1 year ago
I believe the root this issue is that our simulation uses a constant sector-duration parameter. In reality, sectors may have longer durations. The image below shows the various powers. All of the data is historical (i.e. no projections). The dotted line is there to indicate the start of simulation, but the scheduled expirations are also historical - recall that we know scheduled-expirations upto a certain future date based on sector durations. However, we only know the onboarded and renewed power upto the present date.
Examine the purple dotted line, which has a length equal to the sector duration. At the end of the purple line, we see that the scheduled expired power > the total onboarded+renewed power. Secondly, I think that the power scheduled to expire after (forecast_start + duration
) is power from sectors that have duration > simulation's configured duration. But, this is inconsistent w/ the simulation and causes negative power in extremely pessimistic scenarios of renewal rates and onboarding power. One solution is to not use the scheduled power expire vector after time forecast_start+duration
. Before & after plots of power with this implementation shown below.
Interested to hear your thoughts @misilva73 @tmellan
Original
With proposed solution
At the end of the purple line, we see that the scheduled expired power > the total onboarded+renewed power.
I think this happens because the known sectors don't all have the same duration. In order words, the vector rb_known_scheduled_expire_vec
includes power from sectors renewed or onboarded in a different date than 01-2023.
I think that the power scheduled to expire after (forecast_start + duration) is power from sectors that have duration > simulation's configured duration. But, this is inconsistent w/ the simulation and causes negative power in extremely pessimistic scenarios of renewal rates and onboarding power
I am not following this. By forecast_start
do you mean the start of power forecasting? I.e. the current date?
And why are known sectors with duration > simulation's configured duration a problem/inconsistency?
Also, the sectors being "onboarded" after the current date (i.e. the "modelled sectors"), will always be scheduled to expire after forecast_start + duration
and their duration is by definition the simulation's configured duration.
One solution is to not use the scheduled power expire vector after time forecast_start+duration.
If we don't use the scheduled power expire vector, what do we use instead? I.e., what is the solution?
I am curious to know what parameters are used in the code snippet to produce RBP < 0:
scenario_params = curated.forecast_pessimistic_scenario(forecast_lenght)
rb_onboard_power_vec = scenario_params['rb_onboard_power']
renewal_rate_vec = scenario_params['renewal_rate']
filplus_rate_vec = scenario_params['filplus_rate']
Do you know the values used?
forecast_start
Date at which forecasting starts.
If we don't use the scheduled power expire vector, what do we use instead? I.e., what is the solution?
This was poorly written. I should have said, my proposed solution is to not use rb_known_scheduled_expire_vec
after forecast_start + duration
. This means that only modeled sectors contribute to SE power after t=forecast_start+duration
I think this resolves the other comments you were mentioning, but let me know if not?
Input values
Code snippet to produce RBP < 0