jsacostas / Course-Python-PSCAD

English version of the course to automate PSCAD using Python
MIT License
42 stars 16 forks source link

Automation of single-line diagram generation #1

Open javier-hm opened 2 years ago

javier-hm commented 2 years ago

Hi!

Do you think it is possible to automate the generation of single-line diagrams?

Thanks for your time :smile:

jsacostas commented 2 years ago

Hi Javier,

It is possible to do it, but I think that it is better to draw the schematic by yourself. You can see the information here: https://www.pscad.com/webhelp/al-help/automation/components.html

Regards,

javier-hm commented 2 years ago

Thank you for your response. I am looking for a way to automatically generate single-line diagrams of photovoltaic installations. I just need an output in SVG, DWG... or something like that. Could this tool be useful? Can you think of something?

Best regards and thanks for your time

jsacostas commented 2 years ago

Javier, I am not sure about SVG or DWG files, but you can for sure make screenshots of the PSCAD schematic. You can find an example here: https://www.pscad.com/knowledge-base/article/370

You can also consider using Pyautogui or OpenCV to take the screenshot in the place that you want.