PSIM simulation hangs
Hello.
I am using PSIM 2024.0.0.2471. I have a simulation that last about 15 minutes to finish. Everything works correctly. But if "Save Flag" is activated in Simulation Control the simulation never ends. The simulation reaches 99% in 15 minutes and does not stop. I have keep simulation running 50 minutes and is still in 99%. If I try to stop simulation says "simulation in progress..". If try to close the program says the same. Why? what is happening?
Thanks.
Answers
-
is there a time delay block in the simulation? I have seen issues in the past where a block like this will cause a problem with the save flag if the delay is abnormally long. In the image below "100s" is very long. In the case below
The Save Flag will save all the points required by the delay block, and the number of points is equal to:
N = Delay_Time / time_stepIn this case, N = 100/1e-5 = 10e6. Essentially PSIM tries to write 10M points to a text file, and this will take a very long time. On my computer, for example, for a delay time of 1 sec. (or 100K points), it took 3 min. to complete the writing and generated a text file of 6MB.
0 -
Thanks. Solved.
I had some Delays in my system. I removed all and the problem was solved.
Thanks a lot.
0 -
Dionisio said:
Thanks. Solved.
I had some Delays in my system. I removed all and the problem was solved.
Thanks a lot.
brilliant.
0