You are on page 1of 15

ELECTRIC BILL MANAGEMENT

SYSTEM
SECTION : B-03
COURSE NAME: PYTHON PROGRAMMING
COURSE CODE : 211CSE1402

TEAM MEMBERS :
1.Vishnu Vardhan .P [9922040296]
2.Vineeth kumar reddy.M [99220041263]
3.Adithya.P [9922005227]
• INTRODUCTION:

• An electric bill management system is a software or online platform designed to help


individuals or organizations effectively manage their electric bills and optimize their energy
consumption.
• The bill may also provide important details about the customer's energy usage patterns, such as
comparisons to previous months or similar households, helping customers track and manage
their electricity consumption.
• The system typically allows users to input and store their electric bill data, including billing
periods, meter readings, and charges.
• By gaining insights into their energy usage, users can make informed decisions and implement
energy-saving measures to reduce wastage and lower their bills.
• OBJECTIVES OF THE PROJECT :

lines of code. Here’s an abstract of how you can implement it is a


Electric bill management system is a online platform that can be
implemented in Python with just a few
1.Accurate billing and cost monitoring.
2.Budgeting and forecasting.
3.Customer engagement and education.
4.Efficient data management.
• MODULES

Functions
Float
Address
Dictionary
Def
while
Features/advantages:

• Bill Data Storage and Retrieval: Store and retrieve electric bill data, including
meter readings, billing periods, and charges, for easy access and reference.
• Integration with Smart Devices: Integrate with smart meters, home automation
systems, or renewable energy sources to gather real-time energy consumption
data and enhance functionality.
• Convenience and Accessibility: Users can access their electric bill information
anytime and anywhere through the system's online platform or mobile app.
• Enhanced User Experience: Users have access to personalized
recommendations, reports, and insights, empowering them to actively manage
and control their energy usage.
FLOWCHART:
# Electricity Bill Management System
SOURCE CODE: # Define dictionary to store customer datacustomers = {}
# Function to add a new customer
def add_customer():
name = input("Enter customer name: ")
meter_number = input("Enter meter number: ")
units = float(input("Enter units consumed: "))
address = input("Enter customer address: ")
# Calculate bill amount if units <= 100:
bill_amount = units * 1.5 elif units <= 200:
bill_amount = 100 * 1.5 + (units - 100) * 2.5 else:
bill_amount = 100 * 1.5 + 100 * 2.5 + (units - 200) * 4.5

# Store customer data in dictionary


customers[meter_number] = {"Name": name, "Units":
units, "Address": address, "Bill Amount": bill_amount}
else: print("Customer not found!")
SOURCE CODE: # Function to view all customersdef
view_all_customers():
for meter_number, customer in
customers.items(): print("Meter
Number:", meter_number)
print("Name:", customer["Name"])
print("Units:", customer["Units"])
print("Address:", customer["Address"])
print("Bill Amount:", customer["Bill
Amount"])
print("")# Main functiondef main(): while
True:
print("1. Add Customer")
print("2. View Customer")
print("3. Delete Customer")
print("4. View All Customers")
Sourcecode print("5. Exit")
choice = int(input("Enter your choice: "))
if choice == 1:
add_customer()
elif choice == 2:
view_customer()
elif choice == 3:
delete_customer()
elif choice == 4:
view_all_customers()
elif choice == 5:
break else:
print("Invalid choice!")
if _name_ == "_main_": main()
OUTPUT
:
B-03

You might also like