AMPERENEST
ENERGY ENGINE.
An enterprise-grade Django 5.1 electricity management platform implementing verified Tamil Nadu TANGEDCO LT-1A telescopic slab calculations, multi-household sub-meter tracking, moving-average bill projections, appliance drain audits, and proactive 80% budget surge alerts.
ELIMINATING POST-FACTO ELECTRICITY BILL SHOCK.
Non-linear telescopic slabs make mid-cycle bill estimation difficult for households. AmpereNest tracks daily dial or kWh readings across sub-meters and exposes exact slab progression before cycle close.
TANGEDCO LT-1A Engine
Computes exact non-linear residential telescopic slabs (0–100 free, 101–200, 201–400, 401–500, >500 tiers) transparently.
Multi-Household & Sub-Meters
Switch workspaces across properties (e.g., Main 3-Phase Domestic vs Borewell Motor sub-meter) with Owner/Viewer RBAC.
Dial Rollover Validation
Supports both cumulative meter dial diffs and direct kWh logs while catching duplicate dates and dial inversions.
Cycle-End Bill Forecasting
Projects cycle-end units and INR bills using moving averages paired with a >= 2 readings sparse-data safeguard.
Appliance What-If Planner
Calculates kWh drain by wattage and daily run hours so households can simulate AC/heater schedule cuts.
Budget & Surge Alerts
Triggers rule-based warnings when daily usage spikes unexpectedly or monthly spending crosses 80% of budget.
HOW IT WORKS.
Requests pass HouseholdContextMiddleware into modular Django tariff, consumption, forecasting, alerting, and reporting services.
Dial / kWh
Validate meter rollovers & inversions.
LT-1A Slabs
Compute telescopic block-by-block cost.
Forecasting
Moving-average cycle-end projection.
Rule Alerts
Evaluate surge & 80% budget triggers.
Plotly & Export
7 interactive views + Excel/CSV reports.
APPLICATION SCREENSHOTS.
Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.
UTILITY TARIFF & SAFETY SAFEGUARDS.
Key modules, rules, safety checks, and automated test results documented in the repository.
| Service Module | Domain Logic | Verified Protection |
|---|---|---|
| HouseholdContextMiddleware | Multi-property session switching & RBAC | Blocks cross-tenant URL manipulation |
| Tariff & Slab Service | TANGEDCO/TNPDCL LT-1A schedule engine | Exact non-linear block verification |
| Forecast Safeguard | Requires >= 2 readings in billing window | Zero sparse-data hallucinated totals |
| Automated Tests | Django unit & service verification suite | 28 / 28 Passed (100%) |
CORE TECHNOLOGIES.
Frameworks, databases, visualization tools, and testing libraries used in AmpereNest.
FUTURE ENHANCEMENTS.
Upcoming improvements planned for AmpereNest.
EXPLORE SOURCE & DOCS.
View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.