Hi @emmacooper
Thank you for your question. The short answer is that these two sets of unit commitment events should not be used together in the same scenario.
The first set of ON/OFF/ONOFF events in your “planning” scenario enforce availability and outage constraints on the optimal unit commitment decisions in that scenario. The second set of ON/OFF events enforce the unit commitment decisions from your “planning” scenario in your “operation” scenario. It would not make sense to include both sets of events in the same scenario, although there would never be an infeasible conflict between them. The unit commitment results are simply a further constrained set of the same events since they are the output of an optimization problem subject to the first set of constraints.
I hope this helps. Please allow me to explain little more about the “Integrated Planner”. There are two ways to send events to another scenario: “Transfer” and “Pass-Through”. “Transfer” is for results → inputs, and “Pass-Through” is for inputs → inputs. Notice in my screenshot above I use only 1 “Transfer” config for Unit Commitment. I then used “Pass-Through” configs for the remainder of my inputs, with the config for WIND PSET events shown and the others collapsed for the purpose of the screenshot.
When you create your “operation” scenario from the results of your “planning” scenario, you should not pass through the ON/OFF/ONOFF events from the original scenario if you are transferring the Unit Commitment results. Unit Commitment events are indeed passed as ON and/or OFF events and not ONOFF events. This is the intended behavior for the “Transfer” config: results from one scenario are sent as inputs to the next.
I acknowledge that I swept a lot under the rug in “Step 4” above. I apologize for being intentionally vague, but there is no correct way to do this nor is there a simply catch-all solution. It all depends on your model and the questions you are trying to answer.
Since you are modeling an unforeseen outage, you will need to make sure your new unforeseen outage does not have an infeasibly conflict with the unit commitment results for that generator in your “planning” scenario, because your “planning” scenario was optimized without knowledge of the unforeseen outage.
You may need to take some additional steps. Perhaps you have fast-start generators with small minimum up/down times in your network. In your “operation” scenario, you may want to loosen the unit commitment constraints for these generators so they can turn on in response to your unforeseen outage. This can be done by directly manipulating the Unit Commitment events that were transferred from your planning scenario (for example by changing the OFF events to be ONOFF). Or, you might choose to implement something fancier using custom constraints and penalty prices.
Remember that you as the user have full control over your scenarios in SAInt. With this great power comes great responsibility, and you are doing well thinking through potential issues!
If you want to provide a few more details about your model and use case, I could recommend the approach that I would try. Just let me know!