Electricity Billing System Is A Software-Based Application
Electricity Billing System Is A Software-Based Application
ii. It mainly focuses on the calculation of units consumed during the specified
time and the money to be charged by the electricity offices.
iii. This computerized system will make the overall billing system easy,
accessible, comfortable, and effective for consumers. To design the billing
system more service oriented and simple, the following features have been
implemented in the project. The application has high speed of performance with
accuracy and efficiency.
The software provides facility of data sharing, it does not require any staff as in
the conventional system. Once it is installed on the system only the meter
readings are to be given by the admin where customer can view all details, it has
the provision of security restriction.
The electricity billing software calculates the units consumed by the customer
and makes bills, it requires small storage for installation and functioning. There
is provision for debugging if any problem is encountered in the system.
The system excludes the need of maintaining paper electricity bill, administrator
does not have to keep amanual track of the users, users can pay the amount
without visiting the office. Thus, it saves human efforts and resources.
The main aim of our project is to satisfy customer by saving their time by
payment process, maintaining records, and allowing the customer to view
his/her records and permitting them to update their details.
OBJECTIVES
The objectives of our project are as follows: To keep the information of
customer.
FLOWCHART:-
ER-Diagram:-
FIRST LEVEL DFD:-
SECOND LEVEL DFD:-
CODE:-
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.GradientPaint;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextField;
import javax.swing.SwingConstants;
import javax.swing.SwingUtilities;
gbc.gridx = 0; gbc.gridy = 3;
mainPanel.add(btnCalculateBill, gbc);
gbc.gridx = 1;
mainPanel.add(btnClear, gbc);
gbc.gridx = 0; gbc.gridy = 4;
mainPanel.add(btnExit, gbc);
// Result text area for showing bill details
taResult = new JTextArea(5, 30);
taResult.setEditable(false);
taResult.setFont(new Font("Arial", Font.PLAIN, 14));
taResult.setBackground(new Color(240, 248, 255));
JScrollPane scrollPane = new JScrollPane(taResult);
gbc.gridx = 1; gbc.gridy = 5;
mainPanel.add(scrollPane, gbc);
add(mainPanel, BorderLayout.CENTER);
button.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseEntered(java.awt.event.MouseEvent evt) {
button.setBackground(button.getBackground().darker()); // Darker
color on hover
}
return button;
}
if (name.isEmpty() || meterNumber.isEmpty() ||
unitsConsumedStr.isEmpty()) {
throw new Exception("Please fill in all fields.");
}
// Calculate bill
double billAmount = 0.0;
if (unitsConsumed <= 100) {
billAmount = unitsConsumed * 1.5;
} else if (unitsConsumed <= 200) {
billAmount = 100 * 1.5 + (unitsConsumed - 100) * 2.0;
} else {
billAmount = 100 * 1.5 + 100 * 2.0 + (unitsConsumed - 200) * 3.0;
}
OUTPUT:-
CONCLUSION:-
Usability testing was part of the post implementation review and performance
evaluation for the Electricity Online Bill Payment System, in order to ensure
that the intended users of the newly developed system can carry out the
intended task effectively using real data so as to ascertain the acceptance of the
system and operational efficiency.
It caters for consumers’ bills and also enables the administrator to generate
monthly reports. It is possible for the administrator to know the consumers have
made payment in respect of their bills for the current month, thereby improving
the billing accuracy, reduce the consumption and workload on the Electricity
Board employees or designated staff., increase the velocity of electricity
distribution, connection, tariff scheduling and eliminates variation in bills based
on market demand.
REFERENCES:-
[1]. Arimoro, T. A., Oyetunji, A. K., &Odugboye, O. E. (2019).
https://www.google.com/