Add a force
option in PowerDistributingActor
Request
#320
Replies: 5 comments 1 reply
-
Shouldn't be whoever is doing the gap discharge responsible for doing this work (caching the last value, etc.)? Looks like out of the scope of the power distributing actor. |
Beta Was this translation helpful? Give feedback.
-
If what we need is a way to force the power distributor to apply some command to all batteries regardless of their working status, I would name that option just |
Beta Was this translation helpful? Give feedback.
-
I agree, |
Beta Was this translation helpful? Give feedback.
-
I converted this issue into a discussion because there are some stuff that is not clear, like it seems to be contradictory when saying that values are cached to use when we do To keep the original context, in case we misinterpreted something, we keep this issue as a discussion and we create a new issue with what we understand it was the intention behind it. |
Beta Was this translation helpful? Give feedback.
-
This feature is going away in this PR: #713 |
Beta Was this translation helpful? Give feedback.
-
What's needed?
As it was discussed, every component metric received from microgrid can be NaN. In that case metrics are independent from each: if one metric is NaN, then others can be correct float values.
PowerDistributingActor is ignoring components with NaN metrics, now.
But when we do
gap_discharge
it should replace those metrics with the latest not-NaN values and use them.Proposed solution
gap_discharge
. Actor should set it toTrue
, if he is doinggap_discharge
. This should prevent from using cached values in the normalset_power
operation. It should also simplify decision making process (less branches).Use cases
No response
Alternatives and workarounds
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions