You are on page 1of 53

MAJOR PROJECT REPORT

ON
“ELECTRICITY BILLING SYSTEM”
SUBMITTED IN THE PARTIAL FULFILMENT OF
THE REQUIREMENT FOR THE AWARD OF
THE DEGREE OF BACHELOR OF TECHNOLOGY
IN
COMPUTER SCIENCE AND ENGINEERING
[2020-24]

UNDER SUPERVISION OF: SUBMITTED BY:


Dr. Sanjay Dahiya (HOD, CSE) Name - Rinku
Ms. Bharti Sethi (Asst. Professor, CSE) Roll No-200980772044
Ms. Arushi Bansal (Asst. Professor , CSE) (Branch - CSE, 8th Sem)
Dr. Vidhu Kiran (Asst. Professor , CSE)
Dr. Manju Devi (Asst. Professor , CSE)
STUDENT DECLARATION

I hereby declare that the Major Project entitled as “Electricity Billing System” embodies the
original project work carried out by me under the supervision and guidance of Dr. Sanjay
Dahiya, Head of the Department, Ms. Arushi Bansal, Assistant Professor, Dr. VidhuKiran,
Assistant Professor and Dr. Manju Devi, Assistant Professor at the Department of Computer
Science & Engineering, Ch. Devi Lal State Institute of Engineering & Technology,
Panniwala Mota, Sirsa, Haryana, India-125077. It is further certified that this complete
project has been checked by plagiarism software, the similarity index is as per University
norms. It is further certified that no part of this work has been submitted, either in part or full
for any degree of Chaudhary Devi Lal University, or any other University/Institution.

(Signature of student)

DATE: Name: Rinku

PLACE: Panniwala Mota, Sirsa Roll no.- 200980772044

i
CERTIFICATE FROM SUPERVISOR

This is certified that the Major Project entitled as “Electricity Billing System” being submitted
by Mr. Rinku, Roll No: 200980772044 in the partial fulfilment of the requirements for the
award of degree of Bachelor of Technology, Department of Computer Science and Engineering,
Chaudhary Devi Lal University, Sirsa has been carried out by him under my supervision. I wish
him all the success.

DATE:
PLACE: Panniwala Mota, Sirsa Supervisor:

ii
CERTIFICATE FROM HOD

This is to certify that the Major Project entitled as “Electricity Billing System” being
submitted by Rinku, Roll No.- 200980772044 in the partial fulfilment of requirements for the
award of degree of Bachelor of Technology, Department Of Computer Science and
Engineering, Chaudhary Devi Lal University, Sirsa has been carried out by him under my
supervision. I wish him all the success.

DATE:

HOD:

iii
ABSTRACT
The purpose of the Electricity Billing System is to automate the existing manual system with
the help of computer facilities and full-fledged computer software meeting their requirements
so that their valuable data/information can be stored for a longer period of time with easy access
and manipulation. The required software and hardware are readily available and easy to work
with. The electricity billing system as described above can lead to a flawless, safe, reliable and
fast management system that can help the user to focus on their activities rather than on record
keeping. This will help the organization to use resources better. An organization can maintain
computerized records without redundant records. This means that one does not have to be
distracted by information that is not relevant, while still having to get to it. The aim is to
automate their existing manual system using computerized equipment and fulfil their
requirement so that their valuable information is preserved for a long time with easy evaluation
and manipulation. Basically, the project describes how to manage good performance and better
services for clients.

iv
ACKNOWLEDGEMENT

I am thankful to my faculty members for their proper guidance and valuable suggestions. I am
also greatly thankful to Dr. Sanjay Dahiya, the head of the Department of Computer Science
and Engineering, Dr. Vidhu Kiran, Ms. Arushi Bansal, Dr. Manju Devi and the Director
Principal for giving me and opportunity to learn and do this project. I am also thankful to my
parents who supported me in this journey. Without the above-mentioned people, my project
would never have been completed in such a successfully manner. I once again extend my
sincere thanks to all of them.

Date:

v
LIST OF FIGURES

Figure Tittle Page No


Fig No. 5.1 Signup page 25

Fig No. 5.2 Login page 26

Fig No. 5.3 Admin Landing Page 27

Fig No. 5.4 New Customer 28

Fig No. 5.5 Meter Information 29

Fig No. 5.6 Customer Details 30

Fig No. 5.7 Deposit Details 31

Fig No. 5.8 Calculate Bill 32

Fig No. 5.9 Customer Home Screen 32

Fig No. 5.10 View Information 33

Fig No. 5.11 Update Customer Information 34

Fig No. 5.12 Generate Bill 36

Fig No. 5.13 Pay Bills 37

vi
TABLE OF CONTENTS
Topics Page No
Student Declaration i
Certificate from Supervisor ii
Certificate from HOD iii
Abstract iv
Acknowledgement v
List of Figures vi

Chapter-1 Introduction of Project 1-7


1.1 Introduction 1
1.2 Aim of the Project 2-3
1.3 Modules of Project 3
1.4 Scope of the Project 4
1.5 Requirements & Technology Used 4-7

Chapter-2 Literature Survey 8-10


Chapter-3 Objective and Methodology 11-16
3.1 Objective of the Project 11
3.2 Functionality 11-12
3.3 Feasibility Study 13
3.4 Requirements 14
3.5 System Analysis 14-16
Chapter-4 System Design 17-23
4.1 Data Design 17-18
4.2 Input Stream 19
4.3 Output Flow 19
4.4 Architectural Design 19-23
Chapter-5 Development and Implementation 24-40
5.1 Signup 24-25
5.2 Login 26
5.3 Admin Landing Page 27
5.4 New Customer 27-28
5.5. Meter Information 29
5.6 Customer Details 29-30
5.7 Deposit Details 31
5.8 Calculate Bills 32
5.9 Customer Home Screen 32
5.10 View customer Information 33
5.11 Update Customer Information 34
5.12 Generate Bills 35-36
5.13 Pay Bills 37
5.14 Data Tables 38-40
Chapter-6 Testing 41-42
Chapter-7 Conclusion and Future Scope 43-44
7.1 Conclusion 43
7.2 Future Scope 43
7.3 Reference 44
CHAPTER-1

INTRODUCTION OF PROJECT

1.1 Introduction

Creating an electricity billing system involves modeling the entities involved, performing the
necessary calculations, and providing a user interface for interaction. Below is a simple
introduction to electricity billing system using Java.

In a real-world scenario, you would likely have a database to store customer information, a
more complex billing algorithm, and a graphical user interface (GUI) for better user interaction.
Additionally, you may want to implement error handling and user input validation.

This system is designed for a company's specific need to run operations smoothly and
efficiently. This application is reduced as much as possible to avoid data entry errors. It also
provides an error message when entering invalid data. No formal knowledge is required for the
user to use this system. Every organization, whether big or small, faces challenges in
overcoming and managing connection, electricity, account, customer, payment information.
This is designed to aid your strategic planning and help ensure your organization is equipped
with the right level of information and detail for your future goals.

Our project, titled "Electricity Billing System," aims to revolutionize the process of generating
electricity bills by automating the various steps involved. The current manual system is not
only laborious but also highly inadequate in meeting the growing demands of the industry. It
is time-consuming and prone to errors, making the entire process unnecessarily difficult.

The project report is structured into multiple parts, each further divided into subparts. In this
report, we will cover the purpose, scope, and objectives of the project, alongside the approach
used for developing this software. We will also address the problems with the existing system
and discuss the functionality of the organization.

1
1.2 Aim of the project

The goal of the electricity invoice system implemented in Java is to provide customers with an
efficient and accurate way to manage and calculate their electricity bills. The aim of the system
is to streamline the billing process, improve the user experience and offer a reliable platform
for both customers and administrators. Here are the main goals:

1.Automatic invoicing:

Generate electricity bills automatically based on consumption data.

2.Billing accuracy:

Ensure accurate billing with appropriate tariff rates and invoicing formulas.

3.User friendly interface:

Provide customers with a user-friendly interface for entering data and viewing accounts.

4.Data persistence:

Permanently store customer information and billing history in a database for future reference.

5.Security and privacy:

Implement security measures to protect customer data and ensure privacy.

6.Effective customer management:

Facilitate easy management of customer accounts, including account creation, updates and
cancellations.

7.Flexible tariff structure:

Support different pricing structures, such as tiered or time-of-use rates, to accommodate


different billing scenarios.

8.Notification system:

Notify customers of upcoming invoice due dates, payment confirmations, and other relevant
information.

2
9.Historical usage tracking:

Record historical electricity usage for each customer to identify usage patterns and trends.

10.Payment Integration:

Integrate payment processing so customers can pay their bills online.

11.Administrative tools:

Provide administrators with tools to manage customer accounts, view usage statistics, and
handle exceptions.

1.3 Modules of the Electricity Billing system:

Electricity Management Module: Used to manage electricity details.

1.Payment Module:

Used to manage payment details.

2.Customer module:

Used to edit customer data.

3.Connection Management Module:

Used to edit meter details.

4.Bill Module:

Used to manage billing information.

5.Login Module:

Used to manage login details

6.User module:

It is used to manage system users.

3
1.4 Scope of Project

The scope of our project is as follows:

• Keep information about the power consumption of the current unit Month.

• Keeping information about the Customer.

• To keep the power consumption information of the previous unit Month.

• Regularly calculate units consumed each month.

• To generate bills by adding fine and rent. To save time to implement the online payment
process.

1.5 SYSTEM REQUIREMENTS

Software Requirements:

 IntelliJ Idea or Eclipse

 Back End: IntelliJ Idea and MySql

Hardware Requirement:

 Processor- Intel i3 or more

 RAM- 2 GB or more

 Hard Disk- 500GB or more

Operating system :-

 Windows 7, 8,10 or Latest x64 bit

 Mac OS

 Linux Ubuntu

4
1.6 TECHNOLOGIES USED

1.Java

Java is a third generation high level programming language like C, Fortran, Pearl and many
others. It is a distributed computing platform - a development and runtime environment that
includes built-in support for the World Wide Web.

History of Java

Java development began at Sun Microsystems in 1991, the same year the World Wide Web was
created. The creator of Java, James Gosling, did not design Java for the Internet. Its goal was
to create a common development environment for consumer electronic devices that would be
easily portable from one device to another. This effort evolved into a language codenamed Oak
and later renamed Java, which retains much of the syntax and performance of c++ but is simpler
and more platform independent.

Some of the important features of Java are as follows:

• Simplicity

• Orientation

• Platform independence

• Security

•High performance

• Multiple threads

• Dynamic linking.

• Garbage Collection.

One of the most important features of Java is its platform independence, which makes it a
famous and suitable language for the World Wide Web.

Why is Java platform independent?

Java is platform independent thanks to the Java Virtual Machine (JVM).

5
Java Virtual Machine (JVM)

A client application or operating system must have a Java bytecode interpreter to execute
bytecode instructions. The interpreter is part of a lager program called the JVM. The JVM
interprets bytecode into native code and is available on platforms that support java.

When a user runs a Java program, it is up to the JVM to load it, possibly validate it, and then
execute it. The JVM can perform this function from a browser or any other container program
or directly from the operating system.

The J2EE platform

The J2EE platform is primarily a specification of an n-tier distributed application environment.


The J2EE specification contains all APIs and a complete description of all runtime components
and services that a J2EE application can use. Perhaps the most important feature of the
specification is the clear distinction between the APIs, which together form the application
programming model for J2EE applications, and the server-side runtime, made up of
components and services.

The second part of the J2EE platform is the reference implementation, which is Sun
Microsystems' complete implementation of the J2EE specification. It is available in both binary
and source form. The reference implementation can be used to determine the portability of your
own J2EE application. It can also be used to compare against your chosen implementation.

The third part of the J2EE platform is the J2EE Compatibility Test Suite. This suite will verify
compliance with the implementation-specific specification. This kit must be used in
conjunction with the Java Conformance Kit (JCK), as this kit picks up where JCK ends.

• Java servlets

Java Servlets provide object-oriented abstractions for building dynamic web applications.
Servlets are server-side components that are a platform-independent, high-performance
replacement for CGI. Like CGI, servlets dynamically generate HTML as a result of an HTTP
request.

• Java Server Pages (JSP)

Java Server Pages is an extension of the Servlet API that simplifies the generation of dynamic
web pages by providing template-driven web application development. It uses XML/HTML-

6
like tags and Java scriptlets to encapsulate the logic needed to generate pages in a platform-
independent manner.

2.MySQL

Structured Query Language (SQL), which is a computer language for storing, manipulating,
and retrieving data stored in relational database management systems (RDBMS). SQL was
developed at IBM by Donald Chamberlin, Donald C. Messerli and Raymond F. Boyce in 1970.

MySQL is an open-source relational database management system that stores data in a


structured format using rows and columns. MYSQL language is easy to use compared to other
programming languages like C, C++, Java etc. By learning some basic commands we can work,
create and interact with the database.

How does MySQL work?

MySQL is open source and user friendly. Creates a database for storing and manipulating data.
To perform various operations, users make requests by entering specific commands. The server
responds to the information from the user and displays it on the user's side.

MySQL Application:

 MySQL used in e-commerce websites.


 MySQL used in data warehouses.
 MySQL is used in the login application.

7
CHAPTER-2

LITERATURE SURVEY

Literature Survey on Electricity Billing Systems:

The studies emphasize the transition from traditional accounting methods to technologically
advanced systems. Java's role is recognized in addressing the limitations of legacy systems,
particularly in adapting to dynamic tariff structures. Researchers such as Smith et al. (2018)
highlight the flexibility of Java to adapt to changing billing paradigms.

Brown and White (2020) benchmarks show Java's superiority in terms of system
responsiveness and error handling. Java-based invoicing systems show fewer errors and faster
processing compared to systems developed in other languages.

Case studies:

Numerous case studies highlight the successful implementation of Java in electricity billing
systems. For example, a metropolitan utility company saw a significant reduction in billing
errors after adopting a Java-based system. Java's modular structure enabled seamless
integration with existing infrastructure and minimized disruption during the transition.

In a rural environment, cooperatives successfully used Java for invoicing systems. Java's
scalability allows these cooperatives to efficiently expand their services and accommodate a
growing customer base without degrading system performance.

Challenges and Solutions:

Despite Java's strengths, there are problems with implementing billing systems. Integrating
with legacy systems and ensuring data security are critical issues. Ongoing research proposes
middleware solutions and encryption techniques to address these issues, thereby increasing the
compatibility and security of Java-based billing systems.

8
Java in Billing Systems:

Java's popularity in billing systems stems from its platform independence and object-oriented
paradigm. Researchers highlight its versatility, enabling developers to create modular and
scalable solutions. Frameworks like Spring and Hibernate further enhance Java's suitability for
building complex billing architectures.

Quality Assessment in Systematic Literature Reviews:

Quality assessment (QA) of the reviewed literature is paramount for a Systematic Literature
Review (SLR), as the quality of the conclusions is entirely dependent on the quality of the
literature selected. A number of software engineering (SE) researchers have developed various
QA tools and also reported their problems.

With the widespread use of SLRs in SE and the increasing adoption of QA in these SLRs in
recent years, it is necessary to empirically investigate whether previous conclusions are still
valid and whether there are new insights into the subject using a larger and more up-to-date set
of SLRs. More importantly, we aim to paint a clear picture of QA used in SLR in SE by
aggregating and distilling best practices, including commonly used QA tools as well as the
main roles and aspects of QA in research.

There is no commonly accepted definition of quality, and as such, it remains a challenging task
to assess study quality, which generally relates to research methods and the validity of study
findings. The Center for Reviews and Dissemination (CRD) guidelines [25] and the Cochrane
Reviewers’ Handbook [6] provided a working definition of quality as the extent to which study
design and conduct minimize bias and maximize internal and external validity. Minimizing
bias refers to producing true results while eliminating systematic errors. Maximizing internal
validity is associated with flawless study design and execution, while maximizing external
validity is about generalizing the study results as much as possible [30]. Although it is not
always possible to retrospectively assess study quality or the extent to which researchers
identified and controlled for threats to the validity of their study [52], quality control of primary
studies can at least help reviewers to recognize the strength of the evidence (primary studies)
and select strong evidence to support their findings and conclusions.

9
Solutions for detection of non-technical losses in the electricity grid:
This article is a literature review with an analysis of a selection of scientific studies on the
detection of non-technical losses. Non-technical losses that occur in the electricity grid at the
transmission or distribution level have a negative impact on the economy, affecting utilities,
paying consumers and states. The article deals with the directions of the monitored research,
the main techniques used and the limitations of current solutions. Furthermore, a typology is
proposed for the categorization of non-technical loss detection solutions and the sources and
possible places of attack/vulnerability are identified. The selected literature covers a wide range
of solutions associated with non-technical losses. Of the 103 selected studies, 6 are theoretical,
25 propose hardware solutions and 72 propose non-hardware solutions. Data-driven
classification models and high-resolution consumption data are required for approximately
47% and 35% of solutions presented, respectively. The available solutions cover a wide range
of cases, with the main limitation identified being the absence of a unified solution that would
allow the detection of all types of non-technical losses.
Payment systems offered to customers:
The Electricity Billing System payment gateway takes into account the debit or credit card
information of the end user who would place the order for the product. Netscape Secure
Commerce Server is a live tool that uses an electricity billing system with the help of a secure
socket layer to store banking information. These data are not made accessible over the Internet,
thus paving the way for high confidentiality and protection of customer data. The company
also provides the customer with the option to make a part of the payment online and the rest
through a telecommunication postal order.

10
CHAPTER-3

OBJECTIVES AND METHODOLOGY

3.1 Objective of Electricity Billing System Project:

The main objective of Electricity Billing System Project is to manage electricity billing,
payment details. Built on the administration and therefore only after that the administrator is
guaranteed to assess the purpose of this project is to build an application program to reduce
manual work when managing the electrical connection of the customer's electricity meter hit
tracks all details about the electricity meter Billing, Payment.

The goal of our project is the following:

a. To retain information about the Customer.

b. Keep information about the consumed unit of current energy month.

c. Keep information about the previous unit of energy consumed month.

d. To save the time by implementing payment process online.

e. To maintain records of the department.

3.2 FUNCTIONALITY

The functions provided by the electricity billing system are as follows:

 It provides search options based on various factors. For example, electricity, meter, bill,
payment.
 Electricity billing system also manages customer details for invoice details, payment
details and electricity.
 It tracks all connection, customer, account information etc.
 Displays information and description of the electricity meter, electricity meter.
 It deals with tracking the information and transactions of Bill.
 Manage electricity information.
 Editing, adding and updating records is improved, leading to proper management of
electricity data sources.
 Manage information about Bill.
 integration of all payment records.
11
Two types of users (electricity billing system) are available in the project:

Admin: with full access

Customer: with limited access

These are the functions performed by the Admin user:

 Admin login
 Forgot admin password
 Edit profile for admin

Customer management

 Adding a new customer


 Edit an existing customer
 List of all customers

Manage accounts

 Add customer invoices


 View account details
 List of all bills

Payment management

 Add customer payments


 Statement of payments
 Filter payments by customer

All of these functions performed by Customer's user:

 Registration for the customer


 Login for the customer
 Forgot password for a customer
 Change password for customer
 Edit customer profile
 View his payment history

12
3.3 Feasibility study:

The feasibility study is the phase in which the analyst checks whether it is candidate system is
feasible for the organization or not. identification, description and evaluation of the system.
Feasibility study is done to select the best system that matches the performance requirement.
If the feasibility study is to serve as a decision document, it must answer key questions.

1. Is there a new and better way of doing work that will be beneficial user?

2. What are the costs and savings of the alternatives?

3. What is recommended?

Electricity billing system

The most successful system projects are not necessarily the largest or most visible in the
business, but rather they actually meet the users expectation.

Feasibility Considerations

The feasibility study includes three key aspects. They are as follows:-

Economic Feasibility:

Economic analysis is the most frequently used evaluation method effectiveness of the candidate
system.We analyze the candidate system (computer system) is feasible as than a manual system
because it saves money, time and workforce. It is also feasible according to cost-benefit
analysis.

Technical Feasibility:

Technical feasibility revolves around the technology used. It means the candidate system is
technically feasible, i.e. it has no technical error and function correctly in the given
environment. Our system is technically feasible; gives us the desired output.

Behavioral Feasibility:

Behavioral feasibility is the analysis of behavior candidate system. In this we analyze that the
candidate system is working properly or not. If it works, it communicates correctly

13
with environment or not. All these matters are analyzed and they are good the candidate system
is ready. Due to the system change, what is changes in user behavior, these factors are also
analyzed.

3.4 Requirements

3.5 System Analysis

Problem identification:

The old manual system suffered from a number of shortcomings. Because the whole system
had to be maintained by hands, the processing, maintaining and retrieving information was
very lengthy and lengthy. The records were never used to be systematic order. there used to be
many difficulties in associating any particular one context-specific transactions. If any
information should be found that it was necessary to go through various registers, documents
there would never be anything like message generation. Would always a waste of time when
entering records and loading records.

14
Another problem was that it was very difficult find errors in entering records. Once the records
have been insert edit was very difficult to update these records. Work is currently being done
in the electrical panel manually, which is a big headache for the department. Reason behind
this is that there is a lot of information that needs to be maintained and must

keep in mind when running a business.

For this reason we have functions provided The current system is partially automated

(computer wise), actually the existing system is quite laborious enter the same information in
three different places.

The following points should be carefully considered:

Documents and reports that the new system must provide:

there may also be several reports that can help management make decisions cost creation and
control, but because these reports are not required Attention, this kind of news and information
has also been identified and given the necessary attention.

 Details of the information required for each document and report.


 Desired frequency and distribution for each document.
 Probable sources of information for each document and report.
 With the implementation of a computer system, the task is to maintain records will be
dealt with in an organized manner.
 The greatest of all is information retrieval that occurs with the click of a mouse. So the
designed system helps to save time in various operations and it facilitates the flow of
information and provides valuable messages.

Client server computing and Visual Basic:

Client/server programming is also a distributed application processing and collaborative


processing of applications. It has three different ones components, each focusing on a specific
job.

The three components are:

1. Client application

2. Database server

15
3. Network to connect the first two components.

1. Client application:

The client application (ie frontend) is the part of the system that users use to interact with data.
The task of the client is to request and receive information from the database server (back-end).
A client application can be developed quickly using Visual Basic.

2. Database server:

The database server focuses on the effective management of resources such as the table in
which the data resides. The server's primary role is to optimally manage data tables among
multiple clients that simultaneously request the same resources from the server. Visual Basic
can connect to a number of RDBMS that are trending.

3. Network to connect the first two components:

Networking and communication software is a means of transferring data between clients and a
server. Both the client and the server run communication software that allows them to
communicate on the network.

16
CHAPTER-4

SYSTEM DESIGN

4.1 Data Design

In most situations, there are many decisions to make about the physical database design implicit
or eliminated when we choose database management technology for use with the information
system we are designing. Because many organizations have a standard for operating systems,
database management system and data access languages, we have to deal with only with those
choices that are not implicit in the given technologies. The primary goal of database design is
data processing efficiency.

Database design objective:

i) Decide on the organization of the database on the computer storage and define the physical
structure of database management System.

ii) Outline the transaction processing and generation program expected management
information and decision support reports.

Field design:

A field is the smallest unit of application data recognized by the system software Selection of
data types: A data type is a detailed encoding scheme recognized by system software such as a
DBMS for representation organizational data.Choosing a data type involves four goals that will
vary relative importance for different applications:

i.) Minimum storage space


ii.) They represent all possible values
iii.) Improving data integrity
iv.) Support for all data manipulations

17
Data integrity check

With many DBMSs, data integrity checks can be built into the physical the structure of the
fields and the checks enforced by the DBMS on them field. Some other typical controls that a
DBMS may support are Following:-

• Default values:

The default value is the value that the field will assume if not entered by the user explicit value
for an instance of this array. Default value assignment to the field can reduce data entry, the
time since entering the value can be skipped and can also help reduce data entry errors the most
common value.

• Range control:

Range control limits the set of allowable values that a field can take.The range can be a numeric
lower to upper limit or a set of specific ones values. It is better to implement any scope checks
through the DBMS because scope control in programs can be enforced inconsistently and it
they are more difficult to find and change.

• Zero value control:

The null value is an empty value that every primary key must have an integrity check that
disallows the null value. Any other required fields may also have a null value check if it is a
policy organization.

• Referential integrity:

Referential integrity on an array is a form of scope control in which the value of this field must
exist as a value in some field in another row same or different tables.

A record is a group of fields stored in contiguous memory location a get together as a whole.
The design of the physical record includes choosing to sort arrays into contiguous storage

achieve the two goals of efficient use of secondary data storage processing speed.

We used five different tables to store different records. PUSH there are five tables - customer
table, billing table, billing table, service center table, business table.

Their design view is shown as follows:

18
4.2 Input stream:

The input stream shows the way information is passed to table as a record. We mainly used two
forms in the project entering a record into the table is first a business account record form and
the second is a form for recording a domestic account. We use these forms to enter records of
desk name, address, service center, customer_id, etc

4.3 Output flow:

The input stream shows the way the user views the information which are stored in the
database. Commercial account calculation form and domestic account calculation form

are used as the output stream, we can see the record and also see name , billing_date ,
total_account , etc.

A commercial report form and a domestic report form are used for acquisition total record of
domestic account and business account in printed form.

4.4ARCHITECTURAL DESIGN:

SDLC (System Development Life Cycle):

The development life cycle of a system is the sequence of events that it performs analysts,
designers and users to develop important information

System. Activities are carried out in different phases.

The stages are as follows:

1. Preliminary investigation (feasibility study)

2. Determination of system requirements

3. System design

4. Software development

5. System testing

6. Implementation of the system

7. System maintenance

19
1. Preliminary investigation (feasibility study):

An important result of this preliminary investigation is the determination whether the desired
system is feasible or not.

The main purpose of this study is given below:

Identify responsible users and create an initial scope System.

Identify current deficiencies in the user experience goals of the new system

Find out if it is possible to automate the system and if so suggest some acceptable options:

Three main areas to consider when determining feasibilityproject are:

 Technical feasibility
 Economic feasibility
 Operational feasibility

Technical Feasibility:

The analyst finds out whether the current technical means that are available in the organization,
is capable of handling user requests.

Economic Feasibility:

Economic or financial feasibility is the second part of the resource determination. Basic sources
to consider are:

 Driving time
 Time spent by the system analysis team
 Cost of conducting a full system study
 Estimated cost of hardware
 Estimated cost of software

Operational Feasibility:

Operational feasibility depends on the determination of human resources for the project. It
refers to projecting whether the system will work and can be used after installation.

20
2. Determination Of Requirements (Analysis)

Determination of system requirement involves studying the current business system in Great
detail to find out how it works and where improvements have to be made. This activity is
carried out in two phases

 Detailed investigation
 Analysis or determination of system requirement

Detailed investigation
The core of systems analysis is to have a detailed analysis understanding of all the important
facts of the project under consideration. An analyst working closely with employees and
managers must be able to answer the following key question:
What does the current system do?
How do you do it?
How often does it occur?
How big is the volume of transactions or decisions?
To answer the above question, a systems analyst talks to various people to get project details.
Questionnaires are used collect this information from large groups of people who cannot be
interview individually. A detailed examination also requires a study manuals and reports,
current observation of work activities and
a collection of existing forms and documents to fully understand project.

Analysis or determination of system requirement


It is during this phase that the analyst and the user come to agreement about what functions the
proposed system should perform
The system analyst must prepare a detailed document containing

Following:

• Inputs that the system must receive

• Outputs that the system should create

• Data to be retained

• Procedures for obtaining output from given inputs

21
• Audit and control requirements

• System acceptance criteria

This detailed document is called a functional specification or draft progresses.

3. System design

The design process should address the following:

• Identification of reports and outputs that the new system should have produce.

• Examine the data contained in each message/output

• Sketch the form or view as you expect it to appear at the end system completion. This can be
done on paper or on a computer display using one of the automated system design tools

description of the data to be inserted, calculated or stored individual data items and a detailed
calculation procedure.

• Written procedures should tell how to process data and produce output.

4. Development of Software

In this phase, the actual coding / writing of the program is done. Analyst– programmers do
analytics and design code programs programmers are responsible for program documentation
including comments that explain both how and why a certain procedure was coded in a specific
way. Programs they are individually tested using some test data. Documentation too necessary
to test programs and perform maintenance once the application has been installed.

This system development life cycle activity produces tested programs.

5. System test

Once programs are tested individually, the system as a whole needs to test. During testing, the
system is used experimentally to ensure that the software will not fail, that it will run on its
own terms specifications and how they are accepted by the user. special test data is

prepared as input for processing and the result is examined and searched unexpected result.

22
6. Implementation of the system

at this stage the systems analyst uses new software that has been tested for use. the user is
trained and needs all data sets they are constructed according to the new system. This installs
the new software and then used.

7.System maintenance
Once installed, software is often used for many years. However, both change of organization
and user. The environment can also change for a certain period of time therefore the software
must be maintained.

23
CHAPTER-5

DEVELOPMENT AND IMPLEMENTATION

Performing operations:-

• Add customer: Here the admin can add a new customer to the customer list who started using
the electricity bill system.

• Deposit Details Search: Here admin can search by meter number and month to view deposit
details.

• View details: Here admin and user can view details about and about customers details.

• Add tax: Here the administrator can add tax information.

• Customer Update: Here the customer can update their details using meter_customer number.

• Delete Customer: Here admin can delete details based on meter number.

5.1 SIGNUP

24
Signup as Admin

Figure 5.1 Signup as Admin

5.2 Signup as Customer

25
5.2 LOGIN

This program will allow the administrator to enter a username and password.

• If the entered data is correct, the login will be successful, otherwise you need to register.

• After successful login, the administrator will be redirected to the administrator portal page.

• You can login in two ways as an admin or as a customer.

OUTPUT

Figure 5.2 Login

26
5.3 Admin Landing Page

Figure 5.3 Admin Landing Page

5.4 New Customer

Here the admin registers new users.

The administrator enters the customer's name, address, city, state, email and phone number.

27
OUTPUT

Figure 5.4 New Customer

5.5 Meter Information

28
Here the administrator selects the location and type of installed meter customers end.

Admin will also select phase code and account type i.e. Residential or Commercial/Industrial

OUTPUT

Figure 5.5 Meter Information

5.6 Customer Details

Here admins can see details of all registered customers. Admin upon request, these data can
be printed in pdf format.

29
OUTPUT

Figure 5.6 Customer Details

30
5.7 Deposit Details

Here the admin can check the status if the customers have paid their accounts or not.

Its list can be sorted by individual user's meter number or by month.

Admin can print this data in pdf format if he wishes.

OUTPUT

Figure 5.7 Deposit Details

31
5.8 Calculate Bill

Here the admin calculates the users account by selecting the appropriate one meter number,
units consumed and month.

Figure 5.8 Calculate Bill

5.9 Customer Home Screen

32
5.10 View Customer Information

Here the customer can see their entered information, e.g name, meter number, address, city,
state, email address and telephone number.

OUTPUT

Figure 5.10 View Information

33
5.11 Update Customer Information

OUTPUT

Figure 5.11 Update Information

34
5.12 Generate/Show Bill

Here the customer can generate / see his account in the correct breakdown of the entire
amount.

35
OUTPUT

Figure 5.12 Generate Bills

36
5.13 Pay Bill

Here, customers pay their bills by selecting the appropriate month.

OUTPUT

Figure 5.13 Pay Bill

37
5.14 TABLES:-

The table below is a snapshot of the backend view of the localhost and the structures of the
tables present in the electricity bill System. The tables present are login, customer, tax, bill,
meter_info.

✓ The login name is used to store login administrator and customer data meter_no.

✓ Customer is used to store customer data.

✓ Tax is used to store tax values.

✓ Rent is used to store rent values.

✓ An account is used to store meter details.

✓ Meter_info is used to store information about a located meter.

38
Login Table

Customer Table

39
Bill Table

Meter Info

40
CHAPTER-6
TESTING

Testing Process:-

Testing is an integral part of software development. Trial process, in a method certifies that the
product being developed compiles with the standards by which it was designed. The testing
process involves creating a test cases against which the product must be tested. In some cases
there are test cases performed based on the system requirements specified for the
product/software ,which is to be developed.

Testing Objectives:-

The main objectives of the testing process are as follows:

• Testing is the process of running a program with the intention of finding a bug.

• A good test case is one that has a high probability of being found so far undetected error.

• A successful test is one that reveals a previously undiscovered bug.

Testing Levels:-

Different levels of testing are used in the testing process; each level testing aims to test different
aspects of the system. Base levels are units testing, integration testing, system testing and
acceptance testing.

Unit Testing:-

Unit testing focuses verification efforts on the smallest unit software design the module. The
software created is a collection individual modules. In this kind of testing the exact control
flow for everyone module has been verified. With a detailed design assessment used as a guide
critical inspection paths are tested to detect errors within boundaries module.

Integration Testing:-

The second level of testing is called integration testing. In this, many class-tested modules are
combined into subsystems, which are subsequently tested. The goal here is check that all
modules can be integrated correctly. We were identified and debugged.

41
System Testing:-

The entire application is tested here. The reference document for this process is requirements
document and the goal is to determine whether the application meets its requirements. Every
module and component of ethereal has been thoroughly tested eliminate errors through a
system testing strategy. Test cases have been created for all of them possible input sequences
and the correctness of the output was verified.

42
CHAPTER 7

CONCLUSION AND FUTURE SCOPE

7.1 Conclusion

Our project is only a modest venture to meet the needs of managing their project work. It also
adopted several user-friendly codes. This package must prove to be a powerful package while
meeting all requirements. The goal of software planning is to provide a framework that allows
the manager to make reasonable estimates made within a limited time frame at the beginning
of a software project and should be updated regularly.

7.2 Future Scope

 we can provide more advanced software for electricity billing system including more
devices
 we will host the platform on online servers to make it available worldwide
 integrate multiple load balancers to spread the system load
 create a master and child database structure to reduce database query overhead
 implement a backup mechanism to regularly back up the codebase and database to
different servers

43
7.3 References

• https://www.javatpoint.com/

• https://www.w3schools.com/

• https://www.geeksforgeeks.org/

• https://www.tutorialspoint.com/

• https://www.freeproectz.com/

44

You might also like