diff --git a/examples/compression_heatpump_and_chiller/airsource_heatpump_const_max_output.py b/examples/compression_heatpump_and_chiller/airsource_heatpump_const_max_output.py index 1a7d7a0a..10170b32 100644 --- a/examples/compression_heatpump_and_chiller/airsource_heatpump_const_max_output.py +++ b/examples/compression_heatpump_and_chiller/airsource_heatpump_const_max_output.py @@ -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"] ) diff --git a/examples/compression_heatpump_and_chiller/cop_dependence_on_temperature_difference.py b/examples/compression_heatpump_and_chiller/cop_dependence_on_temperature_difference.py index eb30d6c5..c26c6160 100644 --- a/examples/compression_heatpump_and_chiller/cop_dependence_on_temperature_difference.py +++ b/examples/compression_heatpump_and_chiller/cop_dependence_on_temperature_difference.py @@ -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, diff --git a/examples/stratified_thermal_storage/operation_facade.py b/examples/stratified_thermal_storage/operation_facade.py index 0ace2c97..e3c55e43 100644 --- a/examples/stratified_thermal_storage/operation_facade.py +++ b/examples/stratified_thermal_storage/operation_facade.py @@ -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 @@ -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)