aesim-tech / simba-project

Roadmap & issue tracking
7 stars 0 forks source link

Python API does not work with 23.08 #340

Open ArmiSchm opened 11 months ago

ArmiSchm commented 11 months ago

I have observed two issue:

manu-aesim commented 11 months ago

@ArmiSchm , thanks for the issue. We will look into it right away. Can you please confirm which version of the python module are you using (pip show aesim.simba)?

@AdriPWS, are you able to reproduce this issue ? If yes, can you please share a project file for 23.05 and a script causing those exceptions ? Thanks.

AdriPWS commented 11 months ago

Hi, Please could you give me the version of the python module that you are using as asked by Emmanuel? In command prompt, just type : pip show aesim.simba

Then I tried to reproduce your issue but I failed (sorry for that):

I downloaded SIMBA.exe version 23.5.5.0 and did a simple buck converter + saved the project (.jsimba file) I downloaded aesim.simba version 2023.5.19 and run this simple buck converter in python and it worked well.

Now I downloaded aesim.simba version 2023.8.1a1 and launched the same script and it worked as well Now I downloaded aesim.simba version 2023.8.31 and launched the same script and it worked as well

So I also loaded the .jsimba project created earlier into SIMBA.exe 23.08.31 and launched the same script as before with still aesim.simba version 2023.8.31 and it worked again.

Sorry I don't succeed to reproduce your behavior. Did you think to update the python version? pip install aesim.simba==2023.9.25a1 Can you try also please? We can set up a meeting as well.

Thanks, Adrien

ArmiSchm commented 11 months ago

aesim.simba Version: 2023.5.19

ArmiSchm commented 11 months ago

InverterSim.zip

Find attached the necessary files to reproduce.

ArmiSchm commented 11 months ago

Hi, I just updated to pip install aesim.simba==2023.9.25a1 and the error did not occur. THX

AdriPWS commented 11 months ago

Hi, Ok perfect, thanks for your positive feedback. So everything is solved now.

ArmiSchm commented 11 months ago

Yes. Perfect. I suggest to add some kind of revision check between the Simba.exe and the API.

You can now close the topic. THX.

AdriPWS commented 11 months ago

I totally agree with you and we already do that but I have tried to reproduce your issue without success. I used 2023.9.25a1, 2023.8.31 and 2023.5.19 and even with those version I don't have your error message. So I don't understand what's happened.

As your problem is fixed, yes we can close. But for sure we will double check that for later revision.

Thanks,