Download Interactive Power Systems Calculator

Transcript
Power system output functions calling options and return values:
Function
Name
SSNet
SSNetGen
SSNetGenST
SSNetLoad
SSNetVolt
SSNetShunt
SSNetPrint
SSNetPrintFlows
SSNetJac
SSNetG
SSNetB
SSNetCost
Required
Arguments
1) net name
2) input file
3) supply file
4) demand file
1) net name
2) bus number
3) generator ID
1) net name
2) bus number
3) generator ID
1) net name
2) bus number
3) load ID
1) net name
2) bus number
1) net name
2) bus number
1) net name
1) net name
1) net name
1) net name
1) net name
1) net name
Optional
Arguments
Return
Values
(0??)
4) new P
5) new Q
1) old P
2) old Q
4) new ST
1) old ST
4) new P
5) new Q
1) old P
2) old Q
3)
4)
3)
4)
1)
2)
1)
2)
0
0
1)
1)
1)
1)
new
new
new
new
mag
ang
Gl
Bl
1) output file
old
old
old
old
Vmag
Vang
Gl
Bl
Jacobian
matrix G
matrix B
cost
Table 2.5: Power system input/output functions arguments
The implemented power system algorithms are described in Table 2.4.
Power system algorithm calling options and return values are shown in Table
2.6. SSNet function requires four arguments where some or all of the last
two can be empty strings.
Functions SSNetGen, SSNetGenST, SSNetLoad, SSNetVolt, and SSNetShunt
are used to get, set, or get old and set new values. For example, the following
command at the same time reads the old generator status value and sets the
23