Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It is easy to change the value for a particular quantity. For example, to change bus base voltage for bus 151 (in case savnw):

Record a python script and perform the change manually. PSSE will write the corresponding API for the performed data change. In this case:

psspy.bus_chng_3(151,[_i,_i,_i,_i],[ 510.0,_f,_f,_f,_f,_f,_f],_s)

Here, just the base voltage is changed and all other values are, by default, not changed. The variables _i, _f and _s make so those quantities are keeping their values. In the call above only the first real argument (base voltage) is changed.

It is also possible to only specify the value to be changed. In this case it is the first value in real argument list.

psspy.bus_chng_3(151,realar1=510)

This is exactly what you are asking for!