You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the Time series Power Flow, however, no matter what values I give loadmult, the voltage values remains the same. (for example for loadmult=[0,0.5,1] I get 3 identical values of voltages at all of the loads) (the code appears below)
Is there an option to get the values of P,Q at each load (like voltages.get_all for voltage values)?
Is it possible to identify different loadmult to different loads?
The loadmult is a global OpenDSS variable that multiplies all loads in the system and cannot be assigned as a List. See "LoadMult" on Opendss Manual.
If you need just three simulations, you can use run_static_pf three times with an action that change the loads. See an example of an action that change loads in Creating your first Action.
If you need a time-series power flow, you can use a load shape in the .dss file and assigning this load shape to the loads manually:
! Defining a LoadShape
New Loadshape.my_loadshape npts=3 Interval=1 Pmult=(0.3, 0.5, 1) QMult=(0.1, 0.2, 0.5)
! Setting the LoadShape in loads (You need to include "daily=my_loadshape" in each load definition)
New Load.my_load Bus1=860 Phases=3 Conn=Wye kV=13.8 kW=60.0 kVAR= 48.0 daily=my_loadshape
Hello,
Thank you!
the code:
distSys = SystemClass(path=path, kV=[115, 4.16, 0.48], loadmult=[0,0.5,1])
cfg_tspf(distSys, step_size="1h", initial_time=(0, 0))
[voltageDataFrame] = run_tspf(distSys, tools=[voltages.get_all], num_steps=3)
The text was updated successfully, but these errors were encountered: