Summary
Create an $N-1$ contingency analysis app that goes through all faults in the system and runs a simulation for each of them.
Rationale
$N-1$ contingency analysis is a standard procedure for stability studies and GridKit should provide an app that does that rather than expecting user to write scripts to run a single fault app with different contingency in succession.
Description
The app should load the system and then loop through the list of all fault components, run a stability analysis simulation for each fault, and store complete simulation results (each in separate csv file).
Ideally, the loop will be parallelized. For now, shared memory parallelism (e.g. OpenMP ) should be okay. In that case, we probably need a separate instance of a model and a solver on each thread, together with a list of contingencies assigned to that thread.
For the first pull request, a partially hard-wired solution with limited configuration options should suffice.
Additional information
No response
Summary
Create an$N-1$ contingency analysis app that goes through all faults in the system and runs a simulation for each of them.
Rationale
Description
The app should load the system and then loop through the list of all fault components, run a stability analysis simulation for each fault, and store complete simulation results (each in separate csv file).
Ideally, the loop will be parallelized. For now, shared memory parallelism (e.g. OpenMP ) should be okay. In that case, we probably need a separate instance of a model and a solver on each thread, together with a list of contingencies assigned to that thread.
For the first pull request, a partially hard-wired solution with limited configuration options should suffice.
Additional information
No response