How does psspy.machine_chng_2 work?
I tried using psspy.machinechng2 to change the Pgen of some machine, but I always get error at it. Here some line of the programme:
P=-1
while 1:
P=P+1
ierr = psspy.machinechng2(81000, s, [i, _i, _i, _i, _i, 1], [P,])
psspy.fdns(
options1=0,
options2=0,
options3=0,
options4=0,
options5=1,
options6=1,
options7=0,
options8=0,
)
ierr = psspy.solved() if ierr!=0:break H=P-1
What should I do?