Track broken components in BatteryPool and PowerDistributor(MicrogridPowerManagement) #27
Replies: 4 comments 3 replies
-
I have a few naming suggestions (or course, it is much easier to nitpicking about names than think about the overall design 😆 ):
Now about the design:
OK, I only reviewed the PS: I too the liberty to edit your original message to add |
Beta Was this translation helpful? Give feedback.
-
Hi @leandro-lucarella-frequenz , thanks for the comments.
Ok. I didin't pay much attention to the names at this step. But I will the next time.
Ok - It is anyway not possible to subscribe for data in init. But fault.
It is just harder to do, but I can try. The
Ok. Good idea. It should be implemented in
You mean that it should use
Brave act! Thanks. :) |
Beta Was this translation helpful? Give feedback.
-
Do we have a conclusion for this discussion @ela-kotulska-frequenz ? I kind of lost track of it and I guess this is what you are working on so you should know. If there is a conclusion, can you write it down in a new comment and mark it as the answer? |
Beta Was this translation helpful? Give feedback.
-
It is already solved. BatteryStatus is tool fro tracking broken components. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
BatteryPool is another kind of LogicalMeter that stores pool of batteries, subscribe for its metrics and returns overall (sum) of metrics for the pool. Some metrics like:
active_power
should be stream metrics.Some metrics like
power_upper_bound
orcapacity
should be returned on demand. As it makes no sense to return them with frequency.It should be possible to create many instances of BatteryPool.
Question: Should it be possible to create
BatteryPool
with only 1 battery? Or we will have separate instance for Battery?BatteryPowerDistributor - should control the power that is set to the microgrid batteries. In future will be extended with PowerManagerActor
Both BatteryPowerDistributor and BatteryPool should use only working batteries.
Separate instance:
BatteryStatus
should track what batteries are working.BatteryStatus should be Singleton that stores status of all battery-inverter pairs in the microgrid.
Implementation proposition:
Beta Was this translation helpful? Give feedback.
All reactions