0% found this document useful (0 votes)
15 views23 pages

DBMS Mini PRG

The document is a mini project report on the 'Energy Billing System' developed by Kadam Mrinal Vinod and Shelar Rutuja Shriram under the guidance of Prof. N. G. Khandare at Bhivarabai Sawant College of Engineering & Research. It outlines the project's motivation, goals, design, requirements, and testing, emphasizing the transition from manual to automated billing processes to enhance efficiency and accuracy. The system is built using Java and MySQL, aiming to provide secure data management and real-time updates for energy billing.

Uploaded by

mrinalkadam09
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views23 pages

DBMS Mini PRG

The document is a mini project report on the 'Energy Billing System' developed by Kadam Mrinal Vinod and Shelar Rutuja Shriram under the guidance of Prof. N. G. Khandare at Bhivarabai Sawant College of Engineering & Research. It outlines the project's motivation, goals, design, requirements, and testing, emphasizing the transition from manual to automated billing processes to enhance efficiency and accuracy. The system is built using Java and MySQL, aiming to provide secure data management and real-time updates for energy billing.

Uploaded by

mrinalkadam09
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 23

A Mini Project Report

on

“ENERGY BILLING SYSTEM”


by

1.Kadam Mrinal Vinod (T1908004228)


2. Shelar Rutuja Shriram(T1908004269)

Under the guidance of

Prof. N. G.Khandare

Department of Computer Engineering

TSSM’s Bhivarabai Sawant College of Engineering & Research, Pune-41

SAVITRIBAI PHULE PUNE UNIVERSITY

2024-2025
The Shetkari Shikshan Mandal,
Department of Computer Engineering
Bhivarabai Sawant College of Engineering & Research ,
Pune-41

Date:22-10-24

CERTIFICATE

This is to certify that,

Kadam Mrinal Vinod (TE24.)

of class T.E Computer Engineering Sem-V; I have successfully completed their project stage one
work on “ENERGY BILLING SYSTEM’’ at Bhivarabai Sawant College of Engineering & Research,
Pune in the partial fulfillment of the Post. Graduate Degree course in T.E at the Department of
Computer Engineering, in the academic Year 2024-2025 Semester – V as prescribed by the
Savitribai Phule Pune University.

Prof.N.G.Khandare Dr.A.D.Gujar
Guide Head of the Department
(Department of Computer Engineering) (Department of Computer Engineering)
Acknowledgements
I would like to express my sincere gratitude to all those who have contributed to the successful
completion of this mini project on "Energy Billing System."Firstly, I would like to thank my project
guide, Prof. N.G.Khandare, professor at TSSM’S Bhivarabai Sawant College of Engineering and
Research Narhe Pune, for her invaluable guidance, encouragement, and support throughout this
project. Her expertise and insights have greatly contributed to the successful completion of this work.I
extend my gratitude to the Head of the Department, Computer Engineering, Dr A.D.Gujar sir for
providing the necessary resources and facilities for the project and for offering valuable suggestions
during the progress of the work. My appreciation also goes to the Principal of TSSM’S Bhivarabai
Sawant College of Engineering and Research for providing an inspiring and conducive learning
environment.I would also like to acknowledge the management of TSSM’S Bhivarabai Sawant
College of Engineering and Research for their constant support in all academic endeavors.Special
thanks are due to the lab attendants for their assistance in providing the equipment and ensuring the
smooth functioning of the laboratory during the project period.I would also like to thank my friends
for their encouragement and valuable suggestions, which helped me to improve my project. Finally, I
am deeply grateful to my family for their continuous support, understanding, and motivation
throughout this journey. I am greatly grateful for this opportunity and knowledge they have provided.

Kadam Mrinal Vinod(TE24)


Contents

 Acknowledgment

 List figures

 List of tables

 Abbreviations

 Abstract

 Brief about each chapter

 Chapter -1:- Introduction

 Chpter-2:- Mini Project Design

 Chapter-3:- Requirement Analysis

 Chapter 4 :- Graphical User Interface

 Chapter 5:- Source Code

 Chapter 6:-Testing

 Chapter 7:-Conclusion

Details of each chapter


Chapter -1:- Introduction
1.1 Motivation
1.2 Goal
1.3 Problem Statement
1.5 Scope of the work
1.6 Outcomes
1.7 Conclusion
Chapter-2:- Mini Project Design
Chpter-3:- Requirement Analysis
Chapter 4:- Graphical User Interface(GUI)
Chapter 5:- Source Code
Chapter 6:-Testing
Chapter 7:-Conclusion
List of Tables
Table No. Title Page No.
1.1 Functional and Non-Functional Requirements 2

2.1 Software Requirements Specification 4

3.1 Database Schema for the Energy Billing System 5

4.1 Test Cases for User Authentication 10

4.2 Test Cases for Input Validation 10

4.3 Testing Results for Mobile Number Validation 11

5.1 Summary of User Roles and Permissions 8


Abstract
In the current era of technology, manual systems for managing energy billing are becoming
obsolete due to inefficiencies such as time consumption, data inconsistencies, and lack of
security. This project addresses these issues by proposing an automated "Energy Billing
System" that leverages database management techniques to streamline the entire billing
process. The broader aim is to improve the accuracy, reliability, and accessibility of billing
information, which is critical for utility companies and customers alike.The system aims to
provide a solution by automating the generation of energy bills based on user consumption
data, ensuring secure data management and easy retrieval of records. It also allows for real-
time updates and modifications, which enhance operational efficiency and reduce manual
workload. The proposed approach involves the use of Java for front-end development and
MySQL for back-end database management. The integration of these technologies enables
effective user management, billing, and report generation.Performance testing of the system
showed significant improvements in the speed and accuracy of billing processes compared to
traditional manual methods. The system's ability to handle multiple user accounts and
transactions concurrently without compromising data integrity demonstrates its robustness
and scalability for real-world applications. The successful implementation of this project lays
the foundation for further enhancements, including integrating advanced analytics and mobile
app support.
Chapter 1
Introduction
This chapter is organized as follows. Section 1.2 provides an overview of the project's motivation,
detailing the driving factors behind the development of the system. Section 1.3 discusses the goal of
the project and the key objectives. The problem statement is presented in Section 1.4, outlining the
issues with existing manual billing methods. The scope of the work is described in Section 1.5,
highlighting the features and limitations of the proposed system. Section 1.6 outlines the expected
outcomes, emphasizing the benefits of the automated solution. The chapter concludes with a summary
in Section 1.7, reinforcing the need for the proposed system.In today’s world of emerging technology,
computers are playing a vital role in every walk of life The problems due to the traditional system are
overcome with the help of tasks being online. Maintenance of the data like insertion, deletion and
modification is difficult with manual systems. The basic option of security is itself not provided which
is of major concern. Apart from this, storage of the large amounts of data is difficult. Moreover the
problems of consistency, reliability, integrity alsoexists. Since this is a manual system there is always
a probability that there is loss of data, resulting in less durability. As these issues are of major
concern, we developed an application were in all the above factors are achieved.The application
basically starts by asking the user to sign in. Later username and password of the employee option is
provided. Validating the username and password, the user is directed to the homepage were in he has
various options like consumer management, revenue collection, billing and accounting, generating the
report. Regarding the modification, constraint is provided wherein the access is limited to the
administrator. The statuses of the requests are updated at the earliest. The rectificationinformation will
be again updated for the knowledge of the employee. The employee can check the status of the
requests before accessing the computer, which will speed up the disposal of the request. Thus,
improving the overall efficiency of the organization.

1
1.1 Motivation

In today's fast-paced world, the manual process of energy billing has numerous challenges, including
errors, delays, and inefficiencies. With increasing energy consumption, there is a growing need for a
more reliable, automated, and user-friendly system that can manage billing processes effectively. The
motivation behind this project is to develop a solution that addresses these challenges by leveraging
database management techniques and software automation to improve the accuracy, reliability, and
efficiency of energy billing.

1.2 Goal

The primary goal of this project is to design and implement an "Energy Billing System" that
automates the process of generating energy bills based on customer consumption data. The system
aims to provide a secure and scalable platform for managing user data, generating bills, and allowing
for easy access to billing information.

1.3 ProblemStatement

The existing manual systems for energy billing face several issues, such as data inconsistencies, lack
of security, and slow processing. This project seeks to replace the traditional manual methods with an
automated system that can handle data securely, generate bills accurately, and reduce human errors.
The "Energy Billing System" will also allow real-time updates, modifications, and data retrieval.

2
1.4 Scope of Work

The scope of this project encompasses the development of a web-based application that uses Java for
the front end and MySQL for the back-end database. It will enable functionalities such as user
management, billing, and report generation. The system is designed to be easily adaptable to different
organizations with minor modifications, ensuring flexibility in various real-world scenarios. Future
enhancements could include incorporating mobile app support and advanced data analytics for energy
usage forecasting.

1.5 Outcomes

The successful implementation of this project will result in an automated billing system that reduces
manual workload, minimizes billing errors, and improves the overall efficiency of energy
management. Additionally, it will provide a centralized database for storing and managing user data
securely, enabling faster data access and reporting.

1.6 Conclusion

The "Energy Billing System" is expected to transform the conventional manual billing process into a
streamlined, automated solution. By implementing this system, organizations can benefit from
increased accuracy, improved data management, and enhanced user satisfaction.

3
Chapter 2
Mini Project Design
This chapter is organized as follows. Section 2.1 introduces data modeling concepts, explaining the
importance of representing data structures and relationships for the successful design of the mini
project. Section 2..1.1 presents the Entity-Relationship (ER) Diagram, detailing the process of
identifying entities, attributes, and relationships within the system. This section includes examples and
diagrams to illustrate the ER model relevant to the project. Section 2.1.2 discusses the relational
model, explaining how the entities and relationships defined in the ER diagram translate into tables,
keys, and constraints in a relational database. It includes examples of table structures and
normalization processes to ensure data integrity.

4
2.1 Data Modeling

 ER diagram

 Relational Modeling

5
Chapter 3
Requirement Analysis
This chapter is organized as follows. Section 3.1 discusses the functional requirements of the system,
detailing the specific capabilities and features that the software must provide. This section emphasizes
the importance of identifying and documenting these requirements to ensure a clear understanding
among stakeholders. Section 3.2 presents the non-functional requirements, which encompass the
performance, usability, security, and other quality attributes that the system must meet.In software
engineering, a functional requirement defines a function of a software system or its component. A
function is described as a set of inputs, the behavior, and outputs. Functional requirements may be
calculations, technical details, data manipulation and processing and other specific functionality that
show how a use case is to be fulfilled. They are supported by non-functional requirements, which
impose constraints on the design or implementation (such as performance requirements, security, or
reliability).As defined in requirements engineering, functional requirements specify particular
behaviors of a system. This should be contrasted with non-functional requirements which specify
overall characteristics such as cost and reliability

6
3.1 Functional Requirements-

 Bill generated automatically as per reading.


 Its work speed is depends upon the processor speed or clock speed of
system.
 Customer is able to see Generated Bill by putting Consumer Number and
also customer can take printout of same bill.

3.2 Non Functional Requirements –


There are two types of Non-Functional Requirements:-

2.2.1) Software Requirements:


3.3 Operating System :- Windows 7/8/10, Ubuntu 14.04/16.04/18.04
3.4 Tools :- Mysql , Netbeans IDE 8.2
3.5 Languages :- JAVA, RDBMS

2.2.2) Hardware Requirements:


3.6 Processor :- Pentium 3 or above
3.7 RAM :- 256 MB
3.8 Hard Disk :- Min.300 MB working space
3.9 Key Board :- 101 Standards

7
Software Requirements

Front End:-
- jdk-8u181-windows-x64(JAVA)
- NetBeans 8.2 IDE

Back End:-
-MySQL 8.0.12

Database Connectivity:-
-MySQL connector.jar
-jdbc.odbc connector

8
Chapter 4
Graphical User Interface

 Front Page

9
 Administrator Login

 Customer Login

10
 Help

11
Chapter 5
Source Code

1) Login_Form Code :
package

Billing_System;;

import

java.awt.Toolkit;

import

java.awt.event.WindowEvent;

import java.sql.*;

import javax.swing.*;

import

java.util.logging.Level;

import

java.util.logging.Logger;

public class Login extends

javax.swing.JFrame {Connection con;

PreparedStatemen

t pst;ResultSet rs;

String sql;

String uname,passwd;

public Login() throws

SQLException {

initComponents();

this.setLocationRelativeTo(null);

12
} private void loginbtnActionPerformed(java.awt.event.ActionEvent

evt) {try {

con =

DriverManager.getConnection("jdbc:mysql://localhost:3306/project","root","nick@123");

sql="Select Uname,Password from Employee where Uname=?";

pst =

con.prepareStatement(sql);

pst.setString(1,

usertxt.getText());rs =

pst.executeQuery();

while(rs.next())

uname=rs.getString("Uname");

passwd =

rs.getString("Password");

if (uname.equalsIgnoreCase(usertxt.getText()) && passwd.equals(passtxt.getText()))

JOptionPane.showMessageDialog(null,"Login Successful");

close();

MainForm mf = new

MainForm();

mf.setVisible(true);

else

JOptionPane.showMessageDialog(null,"Incorrect UserName or Password...

13
Please Try again");

usertxt.setText

("");

passtxt.setText

("");

} catch (Exception ex) {

JOptionPane.showMessageDialog(null,"Incorrect UserName or Password... Please Try


again");

usertxt.setText

("");

passtxt.setText

("");

private void registerbtnActionPerformed(java.awt.event.ActionEvent

evt) {close();

Register R=new

Register();

R.setVisible(true);

private void cancelbtnActionPerformed(java.awt.event.ActionEvent

evt) {this.hide();

Frontpage F;

F = new

Frontpage();

F.setVisible(true)

; }

14
Chapter 6
Testing
Test case Expected actualoutput
S.No Explanation Remarks
Name output

Username & Username & Username &


1 Authentication Password Password will Password is Pass
confirmation accepted accepted
Username &
Username & Username &
Password
2 Authentication Password Password is not Fail
should not
confirmation matched
matched
Pin code should Pin code Pin code
3 Acceptance Pass
be 6 digit should accept
accepted successfully
Pin code should Pin code
4 Acceptance Pin code not Fail
be 6 digit should not
accepted
accepted
Email should Email
5 Acceptance Email should Pass
have correct accepted
accepted
format successfully
Email should
6 Acceptance Email should Email not Fail
have correct
not accepted accepted
format
Consumer
Enter Correct Consumer is
number
7 Authentication consumer Pass
accepted
should
number
accepted

15
Consumer
Enter Correct Consumer isnot
number
8 Authentication consumer Fail
present
should
number
present

Cannot leave
10 Field Field should Field is not Pass
any field empty
not empty Empty

Cannot leave
11 Field Field should Field is Fail
any field empty
empty Empty

Bill Details
12 Print Print the Bill Bill Details Pass
should be
Details are printed
printed

Mobile no.
13 Mobile No Mobile No. Mobile no. Isof Pass
Should be of
Is 10 Digit 10 digit
10 digit

Mobile no.
Mobile No. Mobile no. Is
14 Mobile No Should be Fail
Is 10 Digit not 10 digit
not of 10
digit

Reading should Reading


Reading
be should
15 Update reading updated Pass
enter in updated
successfully
database successfully

16
Chapter 7
Conclusion
We have been given the problem of Billing of Electricity Consumers. Earlier the Billing
process is manually calculated by using the database small tolls and small scale packages at
their desktop. In our project “ENERGY BILLING SYSTEM” we have automated the entire
billing system is Online and centralized with all offices which they have in the central power
distribution company limited.In Consumer Management, I have tracked all the information of
the consumer and have given the privileged modifications, changes.As a result of this
automation, manual workload is reduced and data retrieval becomes easy. This project can be
helpful for centralization of information.

17

You might also like