Ask Your Question

murshed00123's profile - activity

2021-11-01 01:57:10 -0500 received badge  Famous Question (source)
2021-10-29 15:47:19 -0500 received badge  Notable Question (source)
2021-10-29 08:39:26 -0500 commented answer Branch length using python

I have checked err10 code there is no problem with err10. The same code is working for 33.4 but for 34.4 variable rval returning 0.0 value...

2021-10-29 08:35:52 -0500 received badge  Popular Question (source)
2021-10-28 23:32:34 -0500 received badge  Editor (source)
2021-10-28 23:30:41 -0500 asked a question Branch length using python

I have written a code for the finding branch length as

for m in range(len(frombus)): 
     err10, rval = psspy.brndat(frombus[m],tobus[m],Branch_id[m],'LENGTH') 
     Busval=frombus[m]#if str(rval)>0:
     BUSval1.append(Busval)
     linlen.append(rval)
     if rval>0.0:
            frombus1.append(frombus[m])
            tobus1.append(tobus[m])
            Branch_id1.append(Branch_id[m])
            linlen1.append(rval)e here

I work for psse 33.4 but not working in PSSE 34.4 . How can I solve the issue. After debugging I found rval returning value for PSSS 33.4 but in case of PSSE 34.4 returning no value