You are on page 1of 35

InterPSS

2010-12-15

Outline

InterPSSBackground
InterPSS
InterPSS

Vstab

Facts
Trajectory-based Stability Analysis

InterPSSBackground

FACTS

FortranC

1 (PSCAD)
2BPA/PSSE
3 or

Backgroundcont

C++JavaC#
Component-based developmentCBD

in-parallel
InterPSS

InterPSSInternet based Power System Simulation


,

Mike Zhou&Charles LiIT


IT

NOTE: 2008PhD@ASU
InterPSS

Backgroundcont

Java
JavaJVM

InterPSS
InterPSS

: 1)AC/DCHVDC; 2); 3)

*InterPSS
InterPSS

InterPSSA foundation rather than a complete solution.

Googlehttp://code.google.com/p/interpss/
5

InterPSSBackground
InterPSS
InterPSS

Vstab

Facts
Trajectory-based Stability Analysis

InterPSS

http://sourceforge.net/projects/interpss/
V1.4.04

PSAT, MATPOWER)
Eclipse

InteerPSS
1.

NetworkObject,

InteerPSS
2. Y-matrix
[I]=[Y][V]
3.

InterPSS

Decompled

InterPSSBPA/PSSE
ODM
10

InterPSS

// Create an AclfNetwork object


AclfNetwork net = CoreObjectFactory.createAclfNetwork();
double baseKva = 100000.0;
// set system basekva for loadflow calculation
net.setBaseKva(baseKva);

AclfBus bus2 = CoreObjectFactory.createAclfBus(Bus2, net); //


bus2.setAttributes(Bus 2, ); //
bus2.setBaseVoltage(4000.0);
//
bus2.setGenCode(AclfGenCode.NON_GEN); //
bus2.setLoadCode(AclfLoadCode.CONST_P);//
LoadBusAdapter loadBus = bus2.toLoadBus(); //
loadBus.setLoad(new Complex(1.0, 0.8), UnitType.PU);// P+j*Q

InterPSS

//algo

LoadflowAlgorithm algo =
CoreObjectFactory.createLoadflowAlgorithm();
//

net.accetpt(algo)

----algo.loadflow();

//

System.out.println(AclfOutFunc.loadFlowSummary(net));

12

OOPInterPSS

OOPInterPSS

extends

14

OOPInterPSS
InterPSS

formJmatrix( )
formYmatrix( )
formB1Matrix( )
accept (IAclfNetVisitor)

get/SetV()
get/setLoad
getYii

15

get/SetZ()
getYft

InterPSSBackground
InterPSS
InterPSS

Vstab

Facts
Trajectory-based Stability Analysis

16

InterPSS-

JAVA JDKEclipse
1Java JDK
2
3Eclipseeclipse1.6

Subclipse
http://subclipse.tigris.org/
Eclipse update site URL: http://subclipse.tigris.org/update_1.6.x
Zipped downloads: http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240

InterPSSSVNcheckout interpsstrunk
http://code.google.com/p/interpss/source/checkout
svn checkout http://interpss.googlecode.com/svn/trunk/

17

InterPSS-

interpss trunkjarinterpssProject
InterPSS Trunkjar
jar

http://interpss.wiki.zoho.com/

18

InterPSS-Power Flow

6main
Run

7Debug

1
methodclass
3
4
5Iteration

19

InterPSS-Power Flow

2NR

1) ConvertXfrToZ.classpi

1NetworkAclfBusAclfBranch3

2) CreateDeltaPQV.classPi, Qi, Vi2


3) CreateMatrixes.classY,J, W, V
4) ComputeS.classS
5) Iteration.class

20

InterPSS-Power Flow

CreateMatrixes.class
1) setYMatrix, getYMatrix Y
2) setWMatrix, getWMatrix W
3) setJMatrix, getJMatrix J
4) setVMatrix, getVMatrix V

21

InterPSS-Power Flow

4Iteration.classdoIteration

22

InterPSS-Power Flow

5NR

11-5
23

InterPSS-Vstab

f f
x dx 0

d 1
ek
f f
x x f ( x, )
0

ek

net.formJmatrix()
LUAX=BLU

NR

24

InterPSS-Vstab

// create network J-matrix with n extra-dimension


int n = 1;
SparseEqnMatrix2x2 lfEqn = getAclfNet().formJMatrix(n, msg);

NR
public abstract interface INrSolver{

NrSolverInterface

NR

public abstract AclfNetwork getAclfNet();


public abstract SparseEqnMatrix2x2 formJMatrix(IPSSMsgHub paramIPSSMsgHub);
public abstract void setPowerMismatch(SparseEqnMatrix2x2 paramSparseEqnMatrix2x2);
public abstract void updateBusVoltage(SparseEqnMatrix2x2 paramSparseEqnMatrix2x2);
public abstract boolean updateBusVoltageNonDivergent(SparseEqnMatrix2x2
paramSparseEqnMatrix2x2, double paramDouble, IPSSMsgHub paramIPSSMsgHub);
}

25

InterPSS-Vstab
NR

public class CorrectorStepSolver extends DefaultNrSolver {

@Override
public void updateBusVoltage(SparseEqnMatrix2x2 lfEqn) {
// update the bus voltage
super.updateBusVoltage(lfEqn);
// the solution result of the extra variable defined is stored at B(n+1)
lambda.update(lfEqn
}

26

Vstab

27

Apache: http://commons.apache.org/math/

http://sourceforge.net
Jgraph, Gephi

28

InterPSSBackground
InterPSS
InterPSS

Vstab

Facts
Trajectory-based Stability Analysis

29

Next Step-FACTs

FACTs
InterPSSFACTs

FACTS
SVC

30

Next Step-

31

Next Step-
InterPSSe.g. GridGain

.,2009,
33(1):56-60
32

Next Step-

Trajectory-based Stability Analysis

33

Next Step-

4
1

34

35

You might also like