I'm trying to run this simple script, the problem is that every simulation, the RAM usage increases until PSIM runs out of memory.
My computer has more than enough RAM to complete each simulation.
Is there a way to make the script flush the RAM once it's not needed? I don't need the simulation results on RAM, since it's saved to a file for processing in MATLAB.
Side question, when using ASimulate(), is there a way to limit concurrent simulations? I tried using a regular Simulate() every 11 ASimulate(), but after some time the program just closes itself without a given error.
Edit: It looks like the first problem is related to a memory leak fixed with PSIM 2023.0 . Unfortunately I don't have access to the 2023 versions (Student License)
Thank you in advance.
