First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
1 | initial version |
I am not sure exactly what you are trying to do, or if you are working with a normal model or a user model, but I would take a look at the API and look at the ierr = psspy.change_var(number, newval)
function. You might need to do some DOCU parsing to get the VAR number if you want it to be automatic.