-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
part:power-managementAffects the management of battery power and distributionAffects the management of battery power and distributiontype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Description
What's needed?
There is a need to differentiate between two types of algorithms currently present in the DistributionAlgorithm implementation. This distinction is necessary to prevent confusion and improve clarity.
Proposed solution
To address this issue, the following improvements can be implemented:
- Transform
DistributionAlgorithminto an abstract base class. - Introduce two new subclasses:
SoCBalancingAlgorithmandBlindDivisionAlgorithmandBlindAverageAlgorithm(name to be defined).
Additionally, it is suggested to reorganize the power package hierarchy by adding another level. This would result in classes such as power.distribution.Algorithm, power.distribution.SoCBalancingAlgorithm, etc. This restructure enables convenient usage like from ...power import distribution, distribution.SoCBalancingAlgorithm.
Additional context
For more detailed context, please refer to the initial discussion at #365 (comment)
Metadata
Metadata
Assignees
Labels
part:power-managementAffects the management of battery power and distributionAffects the management of battery power and distributiontype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Type
Projects
Status
To do