Giter Site home page Giter Site logo

patel-himanshu / simple-monitor-in-py-venu-shastri Goto Github PK

View Code? Open in Web Editor NEW

This project forked from venu-shastri/simple-monitor-in-py-venu-shastri

1.0 1.0 0.0 6 KB

simple-monitor-in-py-venu-shastri created by GitHub Classroom

License: MIT License

Python 100.00%

simple-monitor-in-py-venu-shastri's Introduction

Programming Paradigms

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

Possible purpose

  • Protect batteries while charging: at home, in public place, within vehicle / regenerative braking
  • Estimate life, inventory and supply chains

The Starting Point

We will explore the charging phase of Li-ion batteries to start with.

Issues

  • 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

Tasks

  1. Reduce the cyclomatic complexity.
  2. Avoid duplication - functions that do nearly the same thing
  3. Complete the tests - cover all conditions.
  4. To treat, we need to know the abnormal vital and the breach - whether high or low. Add this capability.
  5. Add the ability to plug-in different reporters to this code.

The Exploration

How well does our code hold-out in the rapidly evolving EV space? Can we add new functionality without disturbing the old?

The Landscape

  • 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!

Keep it Simple

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

simple-monitor-in-py-venu-shastri's People

Contributors

patel-himanshu avatar github-classroom[bot] avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.