Skip to content

Commit

Permalink
fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoppe-J committed Jan 15, 2025
1 parent 7020f0e commit 077907c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hisim/components/electricity_meter.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,8 @@ def get_component_kpi_entries(
"""Calculates KPIs for the respective component and return all KPI entries as list."""
total_energy_from_grid_in_kwh: float
total_energy_to_grid_in_kwh: float
total_power_from_grid_in_watt: float
total_power_to_grid_in_watt: float
list_of_kpi_entries: List[KpiEntry] = []
for index, output in enumerate(all_outputs):
if output.component_name == self.component_name and output.load_type == lt.LoadTypes.ELECTRICITY:
Expand Down

0 comments on commit 077907c

Please sign in to comment.