Scaling load
Is there a way, within python code, to scale load by a certain amount rather than to set a new value? In other words I don't want to set the scaled load to a certain value, I'd like to instead change it by a certain value.
Is there a way, within python code, to scale load by a certain amount rather than to set a new value? In other words I don't want to set the scaled load to a certain value, I'd like to instead change it by a certain value.
check the API, you can set the incremental value, rather than a new total in the function scale_2
Here is how you can use scal
with Python to to an incremental scale instead of setting to a specific level.
psspy.scal(
sid=1, # only scale subsystem id 1
status1=3, # specify incremental power
status3=5, # incremental Q load
scalval1=5, # increment by 5 MW
scalval7=5) # increment by 5 MVAr
1.216 of the API manual has the full run down of options for scal
Yep, you can use `scal`