![]() | 1 | initial version |
The best way to find the API to perform a certain task in PSSE is to:
Se also post How to pass only certain elements of an array in function.
In your case the integer array is empty and all reals are set to 0! This is completely wrong.
It should be ierr = psspy.machine_chng_2(bus_numbers[1], '1', [0], [])
.