Skip to content

Behind the Meter Commercial & Industry Electricity Bill Calculator

main

nrgise.economics.behind_the_meter.electricity_bill_calculator.main.calculate_electricity_bill

calculate_electricity_bill(
    grid_tariff: GridTariff,
    list_of_grid_power_utilization: Iterable[float],
    energy_price: float = 0.0697,
    feed_in_tariff: float = 0.0608,
    taxes: float = 0.0149,
    time_delta_seconds: int = 900,
) -> Dict

Performs the calculation of the yearly electricity bill.

Parameters:

Name Type Description Default
taxes float

See https://www.bdew.de/service/daten-und-grafiken/bdew-strompreisanalyse/

0.0149
grid_tariff GridTariff

A GridTariff which defines the costs of using the electricity grid. See grid_tariffs.py for different tariffs.

required
list_of_grid_power_utilization Iterable[float]

The power profile in kW that defines how the grid was used.

required
energy_price float

Price per kWh energy. The default value is set by using the arithmetic mean of the 1st half of 2024 of the day ahead stock market prices (https://energy-charts.info/).

0.0697
feed_in_tariff float

Defines how many € is paid per kwh energy fed into the grid. The default value is based on the EEG 2024 and holds for PV systems between 100 and 1000 kWp. For more information see: https://www.bundesnetzagentur.de/DE/Fachthemen/ElektrizitaetundGas/ErneuerbareEnergien/EEG_Foerderung/start.html

0.0608
time_delta_seconds int

Defines the delta in seconds between two power values in the list_of_grid_power_utilization.

900

Returns: A dict representing the electricity bill.

nrgise.economics.behind_the_meter.electricity_bill_calculator.main.calculate_grid_charges

calculate_grid_charges(
    grid_tariff: GridTariff,
    time_delta_seconds: int,
    list_of_grid_power_utilization: Iterable[float],
) -> GridCharges

Calculates the grid charges based on the so-called usage hours ("Benutzungssstunden").

nrgise.economics.behind_the_meter.electricity_bill_calculator.main.calculate_grid_power_cost_for_one_year

calculate_grid_power_cost_for_one_year(
    list_of_grid_power_utilization: Iterable[float],
    power_price: float,
) -> float

Calculates the part of the grid charges caused by the power utilization of the grid. Note that the price is calculated on a yearly basis. Please see https://www.energie-lexikon.info/registrierende_leistungsmessung.html for more information on how the power prices are determined.

nrgise.economics.behind_the_meter.electricity_bill_calculator.main.calculate_usage_hours

calculate_usage_hours(
    list_of_grid_power_utilization: Iterable[float],
    time_delta_seconds: int,
) -> float

The calculation of the grid charges ("Netzentgelte") depends on the so-called usage hours ("Benutzungsstunden" or "Jahresbenutzungsdauer"). Note that the usage hours are calculated per year. The benutzungsstunden are calculated by: "benutzungsstunden" = "sum of energy of one year in kWh" / "max power of this year in kW"