GithubHelp home page GithubHelp logo

tristancorbellari / electricity-bill-calculator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.53 MB

Nifty little program to draw up an electricity bill for a given tariff structure according to user-specified date-time regions.

Python 100.00%
bill-calculator bill-calculator-app calculator data data-visualization electricity-bill matplotlib python tkinter

electricity-bill-calculator's Introduction

Screenshot

Electricity Bill Calculator

Nifty little program to draw up an electricity bill for a given tariff structure according to user-specified date-time regions. Made with Python and Tkinter (plus some other libraries too).

Instructions

Firstly, to install all dependencies that are needed for the project, cd into the project directory and run:

pip install -r requirements.txt

Then, to start the program, simply run:

python3 main.py

Using the program

This application accepts two files: a load profile .csv file with a record of meter readings in Wh (watt-hours), and a .json file which specifies the format of the block tariffs according to which the electricity bill will be calculated. The application will launch with two default files selected, though the user can select any files of their own so long as they adhere to the correct formats.

From there, you will be displayed the full calculation for the electricity bill, as well as a graph display of the electricity used over time. You can also adjust the region of time to either the entire region, a specific calendar month or a custom region, and the graph and electricity bill will update according to your choice.

Assumptions

The calculations within this application were applied with the following assumptions in mind:

  • The single-phase house is a domestic, residential unit, i.e. not a non-domestic, business or industrial unit.
  • The unit is a single house, not part of a complex or gated community.
  • The resident of the house is not an indigent customer.
  • VAT is to be ignored.

electricity-bill-calculator's People

Contributors

tristancorbellari avatar

Watchers

 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.