Open mohamadfaraji98 opened 1 month ago
Dear Mohamad,
Unfortunately I think that there's no way to signficantly speed up the process the fact is that anytime you call calculate the system has to: 1) Load and open EES 2) perfrom the calculation and 3) write the output file, which are all operation that tooks many time to be completed (especially the ones in bold).
The only solution I think is to try to condensate as much operation as possible on the EES file. For example, if you what to perfrom an optimization over different design conditions you can try to run the optimization in EES and use python just to collect and plot the results (you can use _ees.calculationinstruction to do so starting from version 1.0.0 - see the end of the main README for further clarification).
The other option is to modify EES connector so that it will use the DDE protocol wich is something that I always wanted to implement but never got time to 😅. This will get rid at least of the first point making the code faster (but not incredibely fast)
Thank you Pietro. It seems there is no other choice.
Hi, when I run my code in EES software, it takes less than 100ms, but when I run the same code through Python, it takes about 4 seconds. The speed of calculations is important to me. How to increase the execution speed of the calculate method. I ran with both version 1.0.0 and 0.4.0 of the package and there was no difference. Please give me a solution for version 0.4.0.