You will find the case is loaded and initialized for each dynamic contingency analysis. As we are using the same base case for the simulation in the loop, the case parsing and initialization process is repeated again and again. If a copy of it can be made after the first dynamic initialization ( in line#367 (dstabAlgo.initialization()), we can reused the copy of the network object for different contingencies withing loading from raw case files and even run them in parallel. Do you think this is doable? If so, can you give an example? You will need to update the ODM part to properly load the case files in this test case.
@jinjingfarm
Please see this example starting line#300, https://github.com/InterPSS-Project/ipss-plugin/blob/master/ipss.test.plugin.core/src/org/interpss/core/dstab/DStab_IEEE300Bus_Test.java
You will find the case is loaded and initialized for each dynamic contingency analysis. As we are using the same base case for the simulation in the loop, the case parsing and initialization process is repeated again and again. If a copy of it can be made after the first dynamic initialization ( in line#367 (dstabAlgo.initialization()), we can reused the copy of the network object for different contingencies withing loading from raw case files and even run them in parallel. Do you think this is doable? If so, can you give an example? You will need to update the ODM part to properly load the case files in this test case.