Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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],Branchid[m],'LENGTH') # Short the line from Transformer by using 'Length' because Line has length transformer has no 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]) Branchid1.append(Branch_id[m]) linlen1.append(rval)

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

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],Branchid[m],'LENGTH') # Short the line from Transformer by using 'Length' because Line has length transformer has no 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]) Branchid1.append(Branch_id[m]) linlen1.append(rval)as image description

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

Branch length using python

I have written a code for the finding branch length as image description

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

Branch length using python

I have written a code for the finding branch length as image descriptionas

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