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