Electric Vehicles have BMS - Battery Management Systems
Here is an article that helps to understand the need for BMS
Wikipedia gives an idea of the types and topologies
This site gives the optimum Charging-temperature limits
This abstract suggests a range for the optimum State of Charge
Here is a reference for the maximum charge rate
- Protect batteries while charging: at home, in public place, within vehicle / regenerative braking
- Estimate life, inventory and supply chains
We will explore the charging phase of Li-ion batteries to start with.
- The code here has high complexity in a single function.
- The tests are not complete - they do not cover all the needs of a consumer
- Reduce the cyclomatic complexity.
- Separate pure functions from I/O
- Avoid duplication - functions that do nearly the same thing
- Complete the tests - cover all conditions.
- To take effective action, we need to know the abnormal measure and the breach - whether high or low. Add this capability.
How well does our code hold-out in the rapidly evolving EV space? Can we add new functionality without disturbing the old?
- Limits may change based on new research
- Technology changes due to obsolescence
- Sensors may be from different vendors with different accuracy
- Predicting the future requires Astrology!
Shorten the Semantic distance
- Procedural to express sequence
- Functional to express relation between input and output
- Object oriented to encapsulate state with actions
- Apect oriented to capture repeating aspects
- Early Warning - Warning message has been given in English and German for users.
- Support a language in addition to English - German language option added by setting in global variable.