First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
I have a script that works fine in v33 to calculate SCRs. The script uses the ascc_currents API. When I try to run the same script on v34 I get the following error message:
Traceback (most recent call last): File "U:\PSSE\G-T Queue Studies\In Queue\DPP-2020\PSCAD\SCRScreening\v34Test\ASCCCURRENTSautodoublestocsvfileArpin345kV.py", line 349, in <module> outdata = calcscrsa(allpois) File "U:\PSSE\G-T Queue Studies\In Queue\DPP-2020\PSCAD\SCRScreening\v34Test\ASCCCURRENTSautodoublestocsvfileArpin345kV.py", line 214, in calcscrsa tpunty=1,dcload=0,zcorec=0,lnchrg=2,shntop=2,loadop=2,machpq=1,volts=1.0) TypeError: ascc_currents() takes exactly 2 arguments (1 given)
This is how I am using ascc_currents in the script:
rlst = pssarrays.ascc_currents(sid=1,all=0,flt3ph=1,fltlg=1,fltllg=1,fltll=1,linout=1,linend=0,voltop=1,genxop=0,
tpunty=1,dcload=0,zcorec=0,lnchrg=2,shntop=2,loadop=2,machpq=1,volts=1.0)
Any idea what I need to change to get this to work in v34?
2 | No.2 Revision |
I have a script that works fine in v33 to calculate SCRs. The script uses the ascc_currents API. When I try to run the same script on v34 I get the following error message:
Traceback (most recent call last):
File "U:\PSSE\G-T Queue Studies\In This is how I am using ascc_currents in the script:
rlst = pssarrays.ascc_currents(sid=1,all=0,flt3ph=1,fltlg=1,fltllg=1,fltll=1,linout=1,linend=0,voltop=1,genxop=0,
tpunty=1,dcload=0,zcorec=0,lnchrg=2,shntop=2,loadop=2,machpq=1,volts=1.0)
Any idea what I need to change to get this to work in v34?