First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
You should show the error message!!!!
Both case
and bus_chng_3
are returning error codes. Print those codes for debugging.
Your arguments to API buschng3 are completely wrong. Use the defaults _i, _f, _s instead of zeroes.
2 | No.2 Revision |
You should show the error message!!!!
Both case
and bus_chng_3
are returning error codes. Print those codes for debugging.
Your arguments to API buschng3 are completely wrong. Use the defaults _i, _f, _s instead of zeroes.
EDIT:
In scripts you may need to import the defaults with the following:
import psspy
_i = psspy.getdefaultint()
_f = psspy.getdefaultreal()
_s = psspy.getdefaultchar()