Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment 2 : Working with Data sets ( Electricity Consumption Data ) Your team has been given the Electricity consumption data for a typical university
Assignment : Working with Data sets Electricity Consumption Data
Your team has been given the Electricity consumption data for a typical university for the
period from to see attached
Working with that data perform the following tasks:
Task
Import the necessary libraries Numpy Pandas, matplotlib, etc. into your python using
the Spyder IDE.
Get the data from a CSV file into your Spyder IDE.
Task
Create Monthly Energy Consumption Graphs:
To create monthly energy consumption graphs, you can follow these steps:
Load your energy consumption data into a Pandas DataFrame.
Extract the relevant columns Date active power, etc.
Group the data by month and calculate the total energy consumption for each
month.
Use Matplotlib to create bar charts showing the monthly energy consumption trends
for Oct, Nov, Dec, Jan, Feb, and Mar.
Task
Monthly Maximum Demand Graphs:
Maximum Demand MD is the highest level of electrical demand monitored in a particular
period usually a month It is measured in kilowatts kW
Create maximum demand graphs for each month by finding the largest number of
kilowatthours kWh supplied during any consecutive minutes in that month.
Task
Time of Use Tariff TOU:
TOU tariff schemes offer different rates at different times of the day eg lower rates
during offpeak hours See below for the typical university:Forex Earners: Industrial, Agriculture, Commercial & Institutions: Government Municipal Mission Schonls, Hospitals and Clinics
Take note:
Maximum Demand MD customers are urged to peak during offpeak periods. For
a customer who attains MD during offpeak, the applicable MD is the one attained
during the peak or standard period.
Reactive energy charge shall be applied to any reactive energy in excess of
power factor less than of the active power recorded kWh during a billing
period.
Monthly Bill Calculation:
Calculate the monthly bill by multiplying the energy consumption during each time
zone Peak MidPeak, and OffPeak by the corresponding rates.
Add the maximum demand charges if applicable based on the highest demand
recorded during the month.
Add also the reactive energy charge
Create a pie chart showing distribution of capacity charge, energy charge and
reactive energy charge
Task
Pie Chart for Consumption Pattern:
Create a pie chart showing the distribution of energy consumption across the three
time zones Peak MidPeak, and OffPeak
The chart will visually represent the proportion of energy consumed during each time
zone.
Remember to import the necessary libraries NumPy Pandas, and Matplotlib and
organize your code into functions for better readability and maintainability
Task
Distribution of energy consumption by month in terms of peak, offpeak and
standard
create bar graphs of peak, offpeak and standard energy consumption by month
Oct Nov, Dec, Jan, Feb and Mar
Create a monthly line plot for Power factor Oct Nov, Dec, Jan, Feb and Mar
Task
Load factor, in essence, means efficiency. It is the ratio of actual kilowatthours used in a
given period, divided by the total possible kilowatt hours that could have been used in
the same period, at the peak kW level established by the customer during the billing
period.
A high load factor is a good thing, and a low load factor is a bad thing. A low load factor
means that you are using electricity inefficiently relative to what you could be if you were
controlling your peak demand.
create a monthly line plot for load factor Oct Nov, Dec, Jan, Feb and Mar
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started