| 1 | initial version |
Forget your "solution".
Use this to define the variables for the default values:
import psspy
_i=psspy.getdefaultint()
_f=psspy.getdefaultreal()
_s=psspy.getdefaultchar()
psspy.branch_chng(frombusNum,tobusNum,r"""cktID""",[_i,_i,_i,_i,_i,_i],[_f,_f,_f, newRatingAfloat,newRatingBfloat,newRatingCfloat,_f,_f,_f,_f,_f,_f,_f,_f,_f])
whit loves you. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.