Open ela-kotulska-frequenz opened 2 hours ago
target_power
is the power we want to set, not the measured power. So, I think the behaviour is correct. But maybe we can make it easier to understand.
Also on every update pv status is send 2 times. I expect 1 message per update.
This is also a known issue, just hasn't been prioritized: https://github.com/frequenz-floss/frequenz-sdk-python/issues/818#issuecomment-2203358082
What happened?
I would like to receive pv power on every update of pv power or its bounds.
I receive power status from
pv_pool.power_status.new_receiver()
but until I sendpv_pool.propose_power
, the target_power is None.Also on every update pv status is send 2 times. I expect 1 message per update.
Logs:
What did you expect instead?
target_power
has correct pv power since startup. (not None)Affected version(s)
v1.0.0-rc1200, v1.0.0-rc1300,
Affected part(s)
Microgrid (API, component graph, etc.) (part:microgrid)
Extra information
No response