VARs exceeded cross-run after a fault applied, and DYR "file in use"
Two things, after having a very confusing time diagnosing an issue where I cannot output channels after looped dynamic simulation runs.
1: How many VARS/ICONS/CONs are consumed by applying a bus fault? In a playin-based run, I consume around 310 VARs + 8-10 for output channels. In fault simulations, the max VARS (300) are exceeded and plots cannot be created.
1b: After testing, there seems to be some kind of VAR accumulation happening cross-run, which should be impossible since I am running the following commands each time: psspy.closepowerflow() psspy.dyrenew([1,1,1,1],dyrfile,..) psspy.deleteallplot_channels()
How could this be possible?
2: When I run these, they apply a lock on the .DYR file and I cannot remove it, even after the simulation is over. Is there a command to unload the DYR, like there is to unload a case? (psspy.close_powerflow())