Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
p-snft committed Oct 10, 2024
1 parent cfa7066 commit 939b80d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ def airource_hp_const_example():
energysystem = solph.EnergySystem()
energysystem.restore(dpath=None, filename=None)

results = energysystem.results["main"]

electricity_bus = solph.views.node(results, "electricity")
heat_bus = solph.views.node(results, "heat")

string_results = solph.views.convert_keys_to_strings(
energysystem.results["main"]
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ def cop_temperature_example():
temp_high - temp_diff_q for temp_diff_q in temperature_diff_q_grade
]
for q in quality_grades:
list_temp_low = [
temp_high - temp_diff_q for temp_diff_q in temperature_diff_q_grade
]
cops_q_grade[q] = cmpr_hp_chiller.calc_cops(
temp_high=[temp_high],
temp_low=list_temp_low_q_grade,
Expand Down
2 changes: 0 additions & 2 deletions examples/stratified_thermal_storage/operation_facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from oemof.solph import Bus # noqa
from oemof.solph import EnergySystem
from oemof.solph import Flow
from oemof.solph import Model
from oemof.solph.components import Sink
from oemof.solph.components import Source

Expand Down Expand Up @@ -58,7 +57,6 @@ def print_parameters():
print_parameters()

# Set up an energy system model
solver = "cbc"
periods = 100
datetimeindex = pd.date_range("1/1/2019", periods=periods, freq="H")
demand_timeseries = np.zeros(periods)
Expand Down

0 comments on commit 939b80d

Please sign in to comment.