![]() | 1 | initial version |
Use GENDAT
and BUSDT2
to obtain the total PGEN and PLOAD at the bus.
![]() | 2 | No.2 Revision |
Use GENDAT
and BUSDT2
to obtain the total PGEN and PLOAD at the bus.
EDIT:
I didn't find any API returning bus subsystem totals. However, it is possible to use API scale for this. Example: A bus subsystem defined with sid=0.
ierr, totals, moto = psspy.scal_4(0,0,0,[],[])
The totals for the selected subsystem are returned in a tuple. Here, totals[1]
contains the total MW load and totals[2]
the total MW generation. See PAG manual for the rest of the content in totals
.
![]() | 3 | No.3 Revision |
Use GENDAT
and BUSDT2
to obtain the total PGEN and PLOAD at the bus.
EDIT:
I didn't find any API returning bus subsystem totals. However, it is possible to use API scale scal for this. Example: A bus subsystem defined with sid=0.
ierr, totals, moto = psspy.scal_4(0,0,0,[],[])
The totals for the selected subsystem are returned in a tuple. Here, totals[1]
contains the total MW load and totals[2]
the total MW generation. See PAG manual for the rest of the content in totals
.
![]() | 4 | No.4 Revision |
Use GENDAT
and BUSDT2
to obtain the total PGEN and PLOAD at the bus.
EDIT:
I didn't find any API returning bus subsystem totals. However, it is possible to use API scal for this. Example: A bus subsystem defined with sid=0.
ierr, ierr, totals, moto = psspy.scal_4(0,0,0,[],[])
The totals for the selected subsystem are returned in a tuple. Here, totals[1]
contains the total MW load and totals[2]
the total MW generation. See PAG manual for the rest of the content in totals
.