I am currently coding in python automation software to take information from an excel sheet and automatically generate an openDSS model. I have become familiar with win32.com.client for interfacing with openDSS, but I would like to be able to generate a .DSS file so that I can also open it in openDSS-G. Is there any way/example to do this?
Thank you,
Chester
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am currently coding in python automation software to take information from an excel sheet and automatically generate an openDSS model. I have become familiar with win32.com.client for interfacing with openDSS, but I would like to be able to generate a .DSS file so that I can also open it in openDSS-G. Is there any way/example to do this?
Thank you,
Chester
Hi Chester,
Yes, after creating the model in memory you can export it using the command "save circuit". It's something like this:
This way, whatever you have in memory will be downloaded in the form of dss files at the folder specified in "mydir".
Best regards
Davis