Ask Your Question

Revision history [back]

click to hide/show revision 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.

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()