First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
In PSSE Xplore 34 version, I've found that there is an example .ECD file given in the 'EXAMPLE'' folder (C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE) named savnw.ecd. To import this into PSSE, I used the following code snippet:
psspy.case(r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.sav""")
psspy.fnsl([0,0,0,1,1,1,0,0])
psspy.ecdi(0,1,1,r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.ecd""",0,[0.0,0.0]) psspy.ecdi(0,1,2,r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.ecd""",0,[0.0,0.0]) psspy.ecdi(0,1,3,r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.ecd""",0,[ 3258.6, 100.0]) psspy.ecdi(0,1,4,r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.ecd""",0,[0.0,0.0])
![]() | 2 | No.2 Revision |
In PSSE Xplore 34 version, I've found that there is an example .ECD file given in the 'EXAMPLE'' folder (C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE) named savnw.ecd. To import this into PSSE, I used the following code snippet:
# opening .SAV file first
first
psspy.case(r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.sav""")
# solving for load flow
flow
psspy.fnsl([0,0,0,1,1,1,0,0]) psspy.fnsl([0,0,0,1,1,1,0,0])
# importing and running ECd for particular load (3285.6 MW) and MVA (100 MVA)
MVA)
psspy.ecdi(0,1,1,r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.ecd""",0,[0.0,0.0])
psspy.ecdi(0,1,2,r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.ecd""",0,[0.0,0.0])
psspy.ecdi(0,1,3,r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.ecd""",0,[ 3258.6, 100.0])
psspy.ecdi(0,1,4,r"""C:\Program Files (x86)\PTI\PSSEXplore34\EXAMPLE\savnw.ecd""",0,[0.0,0.0])
(x86)\PTI\PSSEXplore34\EXAMPLE\savnw.ecd""",0,[0.0,0.0])