Answer Question
PSCAD Automation library doesn't detect installed pscad versions
Hi,
I was trying to learn how to use PSCAD automation library. I used the following script to check the available PSCAD versions and Fortran versions installed on my computer. However, when I print the outputs, I get empty arrays for both PSCAD versions and Fortran versions.
So I uninstalled both PSCAD and PSCAD automation libraries and reinstalled them again. But still, the automation library doesn't detect the PSCAD version. I use python 3.7 to compile the script.
I was trying to learn how to use PSCAD automation library. I used the following script to check the available PSCAD versions and Fortran versions installed on my computer. However, when I print the outputs, I get empty arrays for both PSCAD versions and Fortran versions.
So I uninstalled both PSCAD and PSCAD automation libraries and reinstalled them again. But still, the automation library doesn't detect the PSCAD version. I use python 3.7 to compile the script.
import mhrc.automation
controller = mhrc.automation.controller()
pscad_versions = controller.get_paramlist_names('pscad')
print(pscad_versions)
fortran_versions = controller.get_paramlist_names('fortran')
print(fortran_versions)