PSSL Utility

File Input

The following are sample code to read a Loadflow data file in the IEEE Common Format and run Loadflow analysis.

AclfNetworkDSL netDSL = IpssAdapter.importAclfNet("testData/aclf/ieee14.ieee")

.setFormat(IpssAdapter.FileFormat.IEEECommonFormat)

.load();


netDSL.createLoadflowAlgorithm()

            .lfMethod(AclfMethod.NR)
            .tolerance(0.0001, UnitType.PU)
            .runLoadflow();               

System.out.println(AclfOutFunc.loadFlowSummary(netDSL.getAclfNet()));