Ocems: Online Continuous Effluent Monitoring Software

Download as pdf or txt
Download as pdf or txt
You are on page 1of 25

BIRLA INSTITUTE OF TECHNOLOGY & SCIENCE PILANI (RAJASTHAN)

(04/2024)

BITS ZG628T: Dissertation

OCEMS
Online continuous Effluent
Monitoring software

By

Pratyush Gupta

Bits Id- 2022mt12045


What is OCEMS?
OCEMS, or Online Continuous Effluent Monitoring Software, is a
system that tracks and analyzes industrial and domestic
wastewater in real-time. It continuously monitors parameters
such as pH, temperature, turbidity, COD, BOD, ensuring
compliance with environmental regulations. OCEMS offers
instant data collection, analysis, and reporting, enabling plants
and industries to identify and address any deviations from
discharge standards. By providing accurate and timely
information, ocems promotes sustainable operations.

Area of application
1. Common Effluent Treatment Plants (CETPs) [15-25 MLD]
2. Sewage Treatment Plants (STPs) [25-50 MLD]
3. Municipal wastewater treatment [5-10 MLD]
4. Chemical manufacturing plants [10-15 MLD]
Problems

1. Improper use of chemicals leads to overdosing or underdosing

2. Frequent failure of motors, sensors and blowers due to overconsumption

leads to inefficiency.

3. No closed monitoring over the effluent data discharged by the industries.

4. No transparency over the working of plant operations.

5. Inefficient sludge management practices leads to disposal challenges

and environmental contamination.

6. High energy consumption in treatment processes contributes to

operational expenses and environmental impact.

7. Inefficient method to collect the payment and keep track of the paid bills,

late paid bills etc.


Features
Monitoring: -
. Fetching data of every instrument of plants in real-time.
. Realtime monitoring of effluents of different chambers of plant.
. Realtime monitoring of inlet effluents and outlet water consumption of various industries.
Management: -
Monitoring
. Team management feature.
. Inventory management feature.
. Billing and Payment management feature.
. Plant operations management feature. Management
. Industries management feature.
. Finance management feature.
Analysis: - Control &
. Daily/monthly/yearly Report generation of each feature. Optimize
. Graphical analysis of each report
Optimization: -
. Learning of ML model based on the last 3-4 months collected data.
. ML model suggestion for optimization of STP/CETP plant based on operations and revenue
expenditure.
. Alert generation on detection of any anomalies.
Features All the read
and write
Admin Access

Team Hierarchy
Management
Officers
Only Departmental
Access as assign by Admin

Operators
Only Particular Department
access as assign by Admin and Officer
Features
Team
Management
Industry Side

• Only Admin can add Industry


• Industry can send
boarding request to the
admin for his approval.
Features
Team
Management

Plant Side
• Admin can add staff working
in the plant and assign roles
and responsibilities.
Features
Industry
Management
• Realtime Monitoring of the data from
online analyzer like PH meter, TDS
analyzer, flow meters etc.
• Realtime Monitoring of the treated
water consumption quantity and
quality of discharged effluent from
industries.
Features
Notices and Bills
Management

• Automatic Notification/Alerts if any


industry defaults on quality and
quantity of discharged effluent.
• Notification to industry about bill
generation/bill due date.
Features
Notices and Bills
Management
• Payment gateway integration for
industry with online bill receipt
generation
• Admin view to monitor bill
payment status of all industries.
Features
Process Monitoring and Management
• Realtime and easy monitoring of online analyzers, transmitters, indicators, blowers and pumps
etc.
• User can filter the data on the basis of location/type of fluid/inlet or outlet.
• User can create/read/update/delete the mapping of an STP/CETP plant layout for easy
visualization.
• View to see data on daily/monthly and yearly basis in graphical form.
• ML model automatically analyse the trends, patterns and predict any abnormalities,
anomalies and suggest required solutions for it.
• Alert generation on detection of any anomalies.
• Updating the details of effluent producing units (Add new / remove / suspended) with
approval of authority.
Features

Process
Monitoring and
Management
Features

Chambers
Management
Features
Sludge
Management
• Online monitoring of sludge
generation and disposal at
STP/CETP campus.
• Billing of different type
sludges and record keeping
of bills
Features
Inventory
Management
• Interface to update inventory
daily and get all the available
item quantities and their
usage.
• View to see different
consumables used on
daily/monthly/yearly basis.
Features
Report Section
• Online report generation of all
industries including payment defaulter,
any type of upgradation of industry
etc as per requirement.
• Online reports for consumptions of
chemicals etc and repair and
replacement of equipments etc.
• Online report generation for Power
consumptions, solar power
generations and PNG consumptions
under the contract and penalty.
Development Contribution
1. Software Architecture Designing Design criteria
- The software targets the B2B market.
- Here the clients are industries, which are generally 2000 to 3000 in
numbers for the normal 10 MLD plant.
- Frequency of data read and write is per 15 minutes for one plant.
- Size of incoming data from one plant per 15 minutes is 10 Kb.
- Incoming data is categorized in three major categories: - data from the
plant instrument like sensors and analysers, data from the onboarded
industries (COD, BOD, TSS, PH etc. parameters, general data collected
from different features like notices, bills & payment, inventory, team
management etc.
- Data backup of 1 year duration.
- Implementation of a separate Modbus server for instrument data
retrieval and storage (last 7 days). This Modbus Client server actually
performs the corn job at a particular frequency as assigned, it reads the High level software architecture model
analog/digital register of the instruments and sensors whose fixed
addresses are stored into the database
Development Contribution
1. Software Architecture Designing Design criteria
Main Server (NodeJS):- The main server is an Ubuntu System of 64 bits,
1VCPU, 1GB storage, 25 GB SSD Disk and 1000 GB Transfer. This server is
hosted upon Digital ocean platform. The communication from the remote
system is made through SHA key generated by PUTTY gen software.
All the backend logics like routing, authentication, middleware,
payment handling etc are implemented in the Main server.

Modbus Client Server:- functionality of this server is to fetch the data from
the on-premise plant local server through port forwarding. This Modbus
Client server actually performs the corn job at a particular frequency as
assigned, it reads the analog/digital register of the instruments and
sensors whose fixed addresses are stored into the database.

Port forwarding:- In computer networking, port forwarding or port


mapping is an application of network address translation that redirects a
communication request from one address and port number combination
to another while the packets are traversing a network gateway, such as a
router or firewall.

Database:- NoSQL Firebase database cluster is used in the development. High level software architecture model
Different models corresponding to different features based on their
designed schemas are created in the database.
Development Contribution
2. Sludge Management Architecture

The database architecture is made to accommodate the diverse


requirements of sludge management in water treatment plants
Users can define and implement complex formulas for each specific type
of sludge, ensuring precise and efficient calculation of daily production
rates.
A data model is designed based on type of sludge production, treatment
stage, plant layout, and chamber capacity. This structured approach
accurately compute the daily production of sludge.

Generally there are 3 types of sludges namely, chemical sludge, biological


sludge, and crystalline sludge, generated from the plant from different
stages of water treatment. These sludges are stored at a place and after High level architecture of pub/sub time scheduling cloud function
dewatering is sold for making bricks, so feature of billing of these sludges
Is also added.
Development Contribution
2. Sludge Management Architecture

Google Cloud Functions is a serverless execution environment for


building and connecting cloud services. With Cloud Functions we can
write simple, single-purpose functions that are attached to events emitted
from our cloud infrastructure and services

Pub/Sub Cloud functions:- Separate serverless Pub/Sub Cloud functions


are deployed to calculate the sludge produced based on entered
frequency (e.g.- per hour, per half an hour). The entered frequency is
converted into a cronjob, which triggers the cloud function at the desired
time.

High level architecture of pub/sub time scheduling cloud function


Development Contribution
3. Alerts/Notification Architecture

One trigger is a general trigger generated when an admin sends login


credentials to the industry and operators, when an admin sends bills to
the industries, when an item is added in the inventory, when an admin
sends notices to the industries and his/her staff, in all these cases
industries and other plant users should receive a notification on web app,
and an email on their accounts.
Second trigger is the plant operation trigger. Such trigger can happen
when the Modbus client server or sludge pub/sub time schedule server
gets any anomaly in the readings of instruments and sensors. In this case
only working staff should get an alerts message, so that they can solve
the issue.

Main server will trigger any general event whereas Modbus Time
Scheduled server will trigger the process events, both will report to the High level architecture of alerts/notification feature
cloud messaging server. The cloud messaging server will fetch the FCM
(Firebase Cloud Messaging) token from the databas and will send
Alert/notification to the recipients. Based on severity of the trigger’s
payload is decided by the cloud messaging server.
Development Contribution
4. Controlling Plant Operations

Modbus devices communicate using a master-slave (client-server)


technique in which only one device (the master/client) can initiate
transactions (called queries). The other devices (slaves/servers) respond
by supplying the requested data to the master, or by taking the action
requested in the query. A slave is any peripheral device (I/O transducer,
valve, network drive, or other measuring device) which processes
information and sends its output to the master using Modbus. TCP/IP
refers to the Transmission Control Protocol and Internet Protocol, which
provides the transmission medium for Modbus TCP/IP messaging.
There are four types of registers in the Modbus memory area namely
Coils, inputs, input registers and holding registers which is equivalent to
digital input/ output and analog input/ output.

Backend logic is designed through which user can control the working of Modbus TCP/IP registers block diagram
plant remotely i.e., the logic to control different analog/digital sensors and
instruments installed at different chambers by overriding the register
logics in memory area through Modbus client server communication.
Development Contribution
5. Database Schemas 7. Backend Coding

Design an efficient database schemas for OCEMS to ensure easy For backend coding NodeJS framework is used. I have developed the Apis collection,
accessibility and minimal latency. Created an Entity Relationship (ER) routes and middleware for the billing, notices, process, sludge, chambers and inventory
diagrams of various software features like process, inventory, billing, management features.
notices, reports, team, chambers and sludge management. Postman Api: - https://documenter.getpostman.com/view/21883208/2s9YeD8DSa

6. Data Preprocessing

The cluttered data of plant like instrument list, P&ID list, Sludge calculation
list, industries list, Mass balance-chambers list, operations list, various
bills, inventory item list etc. are collected and pre-processed for its better
understanding. Through the understanding of these lists decision is taken
over database and software architecture designing.
In future these pre-processed data together with the collected data will
be used for implementing optimization feature.
Benefit

1 2 3 4
Plant operations streamlining, Alerts operators about the Ensures adherence to Provides continuous, real-
reducing manual deviations of instruments from environmental regulations time data on plant
interventions and human optimal conditions which and effluent standards, performance and effluent
errors. allows for immediate action. reducing the risk of non- quality, enabling proactive
compliance penalties. decision-making.
THANK
YOU

You might also like