Energy Monitoring
Comprehensive energy consumption monitoring system tracking power usage across water pumps, treatment plants, and distribution systems with efficiency metrics, cost analysis, and optimization insights.
Overview
The Energy Monitoring module provides detailed tracking of energy consumption related to water operations. It monitors pump energy usage, treatment plant power consumption, distribution network energy, and provides efficiency metrics and cost analysis for optimization.
Location: libs/energy/
Route: /energy
Permission Required: ENERGY_CATEGORY
Key Features
1. Total Energy Consumption
- Real-time kWh tracking
- Daily/Monthly/Yearly totals
- Peak demand identification
- Off-peak vs Peak consumption split
- Energy intensity (kWh per kL of water)
2. Pump-Wise Energy Breakdown
- Raw Water Pumps - Source extraction energy
- Freshwater Treatment Pumps - RO/filtration energy
- ETP & STP Pumps - Wastewater treatment energy
- Distribution Pumps - Network delivery energy
- Individual pump monitoring
3. Energy Efficiency Metrics
- Specific Energy Consumption (kWh/kL)
- Pump efficiency percentage
- Motor load factor
- Power factor tracking
- Energy loss identification
4. Cost Analysis
- Energy cost calculation (kWh × tariff rate)
- Time-of-day tariff support
- Monthly energy bills
- Cost per kL of water processed
- Savings from efficiency improvements
5. Time-Based Analysis
- Hourly consumption patterns
- Day/Night consumption split
- Weekly patterns
- Seasonal variations
- Comparison periods (MoM, YoY)
6. Energy Dashboard
- Summary cards (Total kWh, Cost, Efficiency)
- Consumption trends graph
- Pump comparison chart
- Energy distribution pie chart
- Efficiency vs Flow correlation graph
Energy Metrics
Specific Energy Consumption (SEC)
SEC = Total Energy (kWh) / Total Water Processed (kL)
Pump Efficiency
Efficiency = (Output Power / Input Power) × 100%
Energy Cost
Total Cost = Σ (Energy (kWh) × Tariff Rate (₹/kWh))
Energy Intensity
Intensity = Energy Consumed / Production Output
Data Structure
{
summary: {
totalEnergy: 15240, // kWh
totalCost: 152400, // ₹
avgEfficiency: 78.5, // %
totalWater: 12000 // kL
},
pumpWise: [
{
pumpName: "Raw Water Pump 1",
energy: 2800, // kWh
efficiency: 82, // %
cost: 28000, // ₹
flowRate: 1500 // kL
}
],
hourlyData: [...],
dailyData: [...],
monthlyData: [...]
}
Usage Examples
Calculate Energy Cost
const calculateEnergyCost = (kWh, tariffRate) => {
return kWh * tariffRate;
};
// Peak hours (₹8/kWh)
const peakCost = calculateEnergyCost(5000, 8);
// Off-peak hours (₹5/kWh)
const offPeakCost = calculateEnergyCost(3000, 5);
Energy Efficiency Calculation
const calculateEfficiency = (pumpData) => {
const theoreticalEnergy = pumpData.flowRate * pumpData.head * 2.725;
const actualEnergy = pumpData.energyConsumed;
return ((theoreticalEnergy / actualEnergy) * 100).toFixed(2);
};
Integration
- True Cost of Water - Energy cost component
- HMI Interface - Real-time energy monitoring
- Dashboard - Energy summary card
- Alerts - Energy threshold violations
Related Documentation
- True Cost of Water - Energy cost analysis
- HMI Interface - Real-time control
- Dashboard - Energy summary
- Additional Features - Energy overview
Last Updated: February 2026
Module Location: libs/energy/