Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If I understands your question correctly, assuming you want to use the PSSE API python method to take a branch out of service in the powerflow model.

Here's the standard python syntax per PSSE_API document - i = frombus, j = tobus, ckt = circuit id, intgar is an array of 6 elements, so using the keyword function, intgar1 is where the branch status can be set from 1 to 0 where 1 = in service.

psspy.branchdata3( i=12345,j=34567,ckt = '1',intgar1 = 0)