Closed chrisnexxtlab closed 4 years ago
You just have to add a second const_controller, wie a second DataFrame including the q_mvar
values:
for n in range(0, len(pod_array)):
pod = pod_array[n:n+1].pop()
const_load = pandapower.control.ConstControl(net, element=‘load', element_index=net.load.index, variable='p_mw', data_source=ds, profile_name=pod)
const_load = pandapower.control.ConstControl(net, element=‘load', element_index=net.load.index, variable='q_mvar', data_source=ds_qmvar, profile_name=pod)
Thank you @FlorianShepherd. Indeed straight forward, working nicely.
Great :+1:
I have a question related to time series simulation.
I am building controllers for loads, sgen and storage like this:
So far so good. But I don’t want to simulate a network having purely resistive loads. How can I add “_qmvar” values for the same network per bus and time step?
Is that a functionality that is not yet provided with ts simulation by pp 2.2.2 or did I miss something essential?
Thank you very much in advance!