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.
First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!
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
Asked: 2013-05-15 07:21:16 -0600
Seen: 1,389 times
Last updated: May 23 '13
Yep, you can use `scal`