First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered Oct 11 '19

perolofl gravatar image

To change a specific VAR with index IVAR use:

 psspy.change_var(IVAR,new_value)

To change VAR number N for a plant model with name xxx use:

psspy.change_plmod_var(ibus,id,'xxx',N, new_value)

There are similar API's for other types of dynamic models, like wind machine, loads, line relays, etc. See the API manual.