Test_OpenDSS.py

141 views
Skip to first unread message

Yasser Assolami

unread,
Nov 26, 2020, 10:06:17 AM11/26/20
to Open-DSOPF
Hello all,

I am trying to run "Test_OpenDSS.py", but it did not work well. 

I got the error:
Building definitions from type library...
Generating...
Importing module

Please let me know if you have any hints to fix this problem. I am a beginner user of python, but I had a good experience in Opendss.

Best,
Yasser

valentin...@gmail.com

unread,
Nov 26, 2020, 11:11:16 AM11/26/20
to Open-DSOPF
Hi Yasser,

The problem may be that you dont have the required libraries in Pyomo.

If you read the short tutorial pdf I wrote, I reccomended to install Anaconda. https://www.anaconda.com/products/individual

Anaconda will install all common libraries. You will still need to add the Pyomo libraries and the IPOPT (if you use that solver). That is also explained in the same pdf (look for the tutorial folder in the GitHub download)

Best regards,
Valentin

valentin...@gmail.com

unread,
Nov 26, 2020, 11:12:50 AM11/26/20
to Open-DSOPF
I meant to say,  required libraries in Python 
Reply all
Reply to author
Forward
0 new messages