ascc_currents not working in v34
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\SCR_Screening\v34_Test\ASCC_CURRENTS_auto_doubles_to_csv_file_Arpin_345kV.py", line 349, in <module>
out_data = calc_scrs_a(all_pois)
File "U:\PSSE\G-T Queue Studies\In Queue\DPP-2020\PSCAD\SCR_Screening\v34_Test\ASCC_CURRENTS_auto_doubles_to_csv_file_Arpin_345kV.py", line 214, in calc_scrs_a
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?
Contact Siemens PTI.