Skip to content

About

Analyze electricity load profiles and simulate Time-of-Use (TOU) electricity costs in a Streamlit web app.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Load Profile & TOU Simulator

Analyze electricity load profile data (power readings, usually every 15 minutes) and simulate TOU (Time of Use) or single-rate electricity cost. The app runs in your web browser on your own computer, so your data stays local.

🇹🇭 ภาษาไทย: README_TH.md

What it does

  1. Upload .csv, .txt, .xlsx, or .xls files (up to 20 files, 50 MB each, 200 MB total). Multiple files are combined automatically.
  2. Configure billing: choose TOU or single rate, enter the rates, the On-Peak hours, and a holiday list.
  3. Review results in four tabs:
    • Energy Overview: total energy (kWh), peak demand (kW), estimated cost, and anomalies.
    • Daily Insights: a 15-minute chart and table for a selected day.
    • Shift Graph: move load earlier or later and compare it with the original.
    • Cost Analysis: cost summaries by total, month, day, or custom date range.
  4. Download the results as CSV files.

For a full walkthrough, see the User Guide.

Download (Windows)

Download the latest build from the Releases page. Extract the zip and double-click DATAelectricWORKs.exe. Python does not need to be installed.

The executable is not digitally signed, so Windows may show a SmartScreen warning. Choose "More info", then "Run anyway", if you trust the download.

Run from source

Requirements: Python 3.12 is recommended.

python -m venv venv
venv\Scripts\activate            # macOS / Linux: source venv/bin/activate
pip install pandas numpy plotly streamlit openpyxl xlrd xlwt
streamlit run app.py

To generate sample data, run python generate_mock_data.py. This creates files in mock_data/.

Documentation

For developers (tests, CI, Windows build, project layout), see the Developer Guide.

Document Language
User Guide / คู่มือผู้ใช้งาน EN / TH
Quickstart Guide / คู่มือเริ่มต้นใช้งานอย่างรวดเร็ว EN / TH
Input Formats / รูปแบบข้อมูลนำเข้า EN / TH
Troubleshooting / แก้ปัญหาการใช้งาน EN / TH
Developer Guide / คู่มือนักพัฒนา EN / TH
Functional Tests / การทดสอบเชิงฟังก์ชัน EN / TH
Test Quality / คุณภาพของการทดสอบ EN / TH

License

No license file has been added yet.

About

Analyze electricity load profiles and simulate Time-of-Use (TOU) electricity costs in a Streamlit web app.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages