IEMAS

Every watt.
Logged, visualized, understood.

IEMAS connects to Schneider RS-485 energy meters across CNC machines and PMCC panels — pulling live consumption data into a single dashboard with historical trends and an AI query layer.

0 kW
Live Plant Load
0.0 V
Line Voltage
0.00
Power Factor
0 Meters
Connected
The Problem

Meters everywhere. Data nowhere.

  • Manual Data SilosHeavy CNC machines and PMCC panels were equipped with individual sub-meters, but engineers had to manually walk the floor to log readings via clipboard, leading to severe human error.
  • Invisible kVAh PenaltiesPower factor drops from inductive loads went entirely unnoticed. By the time the utility bill arrived with massive reactive demand surcharges, it was too late to react.
  • Reactive MaintenanceWithout real-time phase voltage monitoring or harmonic surge alerts, maintenance was purely reactive. Transformer fuses tripped unexpectedly, causing expensive production downtime.
Before IEMAS System log
[08:14] Machine 3 — checked manually. ~42 kWh noted.
[11:30] PMCC Panel B — reading unavailable. Engineer busy.
[16:45] Grid Incomer — PF dropped to 0.74 lagging. No warning triggered.
[EOD] Data sheet missing metrics. Peak consumption report incomplete.
Data Pipeline

Modbus Ingestion Schema

01 · RS-485 BUS

Schneider meters wired on Modbus RTU bus, polled every 10 seconds.

02 · GATEWAY

RS-485 serial to Ethernet Modbus converter bridges field registers to server.

03 · DATA ENGINE

Python service validates schemas, stamps timestamps, and stores register reads.

04 · DASHBOARD + AI

Web UI visualizes active vectors; Gemini chatbot coordinates audits queries.

Console Sandbox

Live Systems Simulator

Simulate actual grid conditions and run analytics workflows. Click any tab below:

Live Telemetry Flow Map

Operational Energy Schematic

Toggle breakers, slide operational levels, and observe utility load fluctuations calculated dynamically.

Net Incomer
358 kW
Solar Gen
60 kW
Facility PF
0.86
FLOW LEGEND: Active Telemetry Node Active Generation Node

Channel Monitor

Main Incomer (Schneider PM8000)

Primary utility grid feed monitored by a Schneider PM8000 smart meter. Measures raw line quality and power factor.

Live Readings
Load Power
358 kW
Current
579.4 A
Voltage
414.8 V
Power Factor
0.86
Bus Frequency50.01 Hz
Facility Incomer Mode

This meter measures the composite balance. Adjust the specific sub-feed loads in the flow diagram to test how reactive power and grid demand fluctuate in real-time.

Live system view active
Pipeline Topology

Layer 01 - Local Telemetry Polling

ESP32 Edge Gateway

Layer 01 - Local Telemetry Polling

ESP32 Edge Gateway

The hardware interface deployed at the factory floor. It acts as the local Modbus master node, directly wired to physical Schneider energy meter serial lines.

  • Polls Modbus registers every 5-10 seconds over serial RS485 line driver boards.
  • Buffers telemetry locally in non-volatile flash storage if network drop occurs.
  • Encrypts telemetry payload strings and dispatches them over HTTPS.
Active Telemetry pipeline streaming
Layer 02 - Industrial Networking Bus

Modbus Protocol Frame

The standard industrial fieldbus protocol used by Schneider PM8000 and PM1200 series meters to communicate electrical parameters.

  • Reads voltage, current, active power, and PF directly from input register coordinates.
  • Utilizes cyclic redundancy check (CRC-16) to prevent electrical noise payload corruptions.
  • Buses multiple meters on a single RS485 daisy-chain wire run.
Layer 03 - Ingestion & Streaming REST API

FastAPI Telemetry Ingest

A high-performance Python application server. It processes incoming JSON packets from local edge gateways and handles authorization keys.

  • Maintains WebSocket connections to push live telemetry straight to the user dashboard.
  • Runs rapid JSON validation schemas via Pydantic structures in less than 5ms.
  • Triggers threshold checks: instantly dispatches alerts if voltage spikes or PF drops.
Layer 04 - Optimized Storage Engine

PostgreSQL Time-Series Store

The persistence layer housing meter registries and telemetry history tables. It uses partitioned indices on timestamps to support fast analytics queries.

  • Stores raw voltage, current, harmonics, and active power logs for long-term audit.
  • Optimized partition tables segment telemetry datasets monthly for rapid queries.
  • Integrates cleanly with database triggers to manage historical consumption calculations.
Layer 05 - Cognitive Analytics Insight

Gemini AI Diagnostic Engine

The artificial intelligence intelligence core. It reviews historical logs from Schneider sub-meters to output diagnostics recommendations.

  • Detects hidden power factor anomalies and motor efficiency drops automatically.
  • Forecasts peak demand risk periods based on diurnal weather and operational scheduling.
  • Compiles detailed energy saving logs and returns them as natural language action sheets.
Features

Built for precision engineering.

Live Monitoring

Real-time active power (kW), voltage level, phase currents, and lagging power factor logs tracked per machine.

Historical Trends

Hourly, daily, and monthly charts tracking aggregate values with single-click CSV export options.

Plant-Wide View

A single rolled-up SCADA map tracking load imbalances and distribution transformers capacity.

Role-Based Auth

Secure credentials layers partitioning administrator configs from standard viewer access tiers.

AI Query Layer

Ask diagnostics questions like "What was Machine 4's harmonics distortion yesterday?" in plain English.

Anomaly Alerts

Detects current surges or low power factor states instantly and dispatches alarms to edge workers.

Built With

The stack behind the meter.

Hardware Layer
Schneider EM6436HRS-485 Serial BusModbus RTU MasterEthernet GatewayESP32 Nodes
Software Layer
Python FastAPINode.js CorePostgreSQL TimeseriesNext.js App RouterRecharts UIGemini AI API
The Builder

Hi, I'm Jayant.

I'm a pre-final year Mechanical Engineering student at GH Raisoni College of Engineering, Nagpur — with a Computer Science minor and a habit of building software at hackathons. IEMAS started as a technical brief during my internship at Lemken India Agro Pvt. Ltd. and became a deployed IoT platform.

I've participated in 12+ hackathons, won ETH Mumbai, and built cross-functional tools spanning full-stack AI, Web3 protocols, and industrial IoT. This project sits directly at the crossroads of physical energy systems and digital architectures — exactly where I aim to innovate.