
MWh
) at facility scale and gigawatt-hours (GWh
) at network and grid scale. Unlike power, which is an instantaneous measurement, energy accounts for the duration over which power is used or produced.
Definition of Energy
Energy is the integral of power over time, representing the area under the power curve on a graph of power versus time. In simpler terms, it is the accumulation of power usage or generation over a given time interval. For example, if a device uses 1 kilowatt (kW) of power continuously for one hour, it consumes 1 kilowatt-hour (kWh) of energy.Difference Between Energy and Power
-
Power: Power is the rate at which energy is generated or consumed at any given moment. It is an instantaneous measurement and is typically expressed in watts (
W
) or megawatts (MW
). -
Energy: Energy is the total amount of power used or generated over a period of time. It is a cumulative measurement and is expressed in kilowatt-hours (
kWh
) or megawatt-hours (MWh
).
Energy Calculation in OpenElectricity
OpenElectricity calculates energy for each interval by averaging the power generated during that interval and the previous interval. This method provides a more accurate representation of energy usage or generation over time.Calculation Method
The energy for a given interval is calculated using the following formula: Where:Calculation Example
Calculate the energy for a 5-minute interval where the power during the current interval is 60MW
and the power during the previous interval is 50 MW
.
Step 1: Average the Power Values
Step 2: Divide by Interval Duration
We get a result that is 4.583 MWh, the energy in MWh
for that 5-minute interval.