I want to use MATLAB and OpenDSS in parallel. I want to do a simulation for a specific period on OpenDSS, then pass the states to the MATLAB and do calculation, reinitialize some of the states in OpenDSS based on MATLAB calculation and run the simulation in OpenDSS again.
I have tried daily simulation at 1 point, but the problem is OpenDSS does not save the previous stat, and each time simulation runs with default value.
Can you help me with that?
Thank you,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OpenDSS keeps the values, I think probably you are restarting everything at each simulation step, problably by setting up the simulation mode on each step, that's a problem. Share your code in the part you have the simulation setup and the simulation loop, we'll figure it out what's going on.
By the way, the way you describe your simulation is not parallel, is sequential.
Best regards
Davis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I want to use MATLAB and OpenDSS in parallel. I want to do a simulation for a specific period on OpenDSS, then pass the states to the MATLAB and do calculation, reinitialize some of the states in OpenDSS based on MATLAB calculation and run the simulation in OpenDSS again.
I have tried daily simulation at 1 point, but the problem is OpenDSS does not save the previous stat, and each time simulation runs with default value.
Can you help me with that?
Thank you,
Hello,
OpenDSS keeps the values, I think probably you are restarting everything at each simulation step, problably by setting up the simulation mode on each step, that's a problem. Share your code in the part you have the simulation setup and the simulation loop, we'll figure it out what's going on.
By the way, the way you describe your simulation is not parallel, is sequential.
Best regards
Davis