ElectricUtility dispatch for Outage Scenarios Looks Inaccurate #193
-
|
Modeled a grid-tied microgrid with PV, ElectricStorage and Generator via the reOpt API. The input for "ElectricUtility" included an outage of 4000 hours starting at a time step of 3077. When looking at the "ElectricUtility" object in the "outputs" section, I expected to see a huge block of zeroes in the "electric_to_load_series_kw" array due to the fact that I am modeling an outage during that time and hence, the grid should not be supplying electricity to the load during that outage period. However, the array doesn't seem to indicate any outage period at all. Is this a change that can be made to the array to make it easier to visualize the outage periods? Thanks Attaching the inputs to the reOpt API and the output json: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
|
Great question! In REopt, there are two distinct ways you can model outages:
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you so much for the clarification! |
Beta Was this translation helpful? Give feedback.


The inputs you've supplied will result in REopt modeling both a 24 and 4,000 timestep (e.g. hour) outage occurring at both time_step 5 and 3077, both with 50% probability.
All of the outage timeseries results are 3-dimensional arrays with dimensions corresponding to the outage durations, the outage start time, and the time step in the outage. For example,
results["Outages"]["critical_loads_per_outage_series_kw"][s,t,ts]is the critical load in outage scenario (duration)s, starting at time stept, at time steptsin that outage. To access the timeseries for the outage of duration 24, starting at timestep 3077, you'd useresults["Outages"]["critical_loads_per_outage_series_kw"][1,2,:]. (We…