From 316f42395e515995cc8684ea8a218f208b75fcbb Mon Sep 17 00:00:00 2001 From: jfreissmann Date: Mon, 25 Mar 2024 11:09:56 +0100 Subject: [PATCH] Remove unused st tes parameters in dispatch model of main network of sub network. --- optimization/energy_system.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/optimization/energy_system.py b/optimization/energy_system.py index 45bcec8..a4bf0ae 100644 --- a/optimization/energy_system.py +++ b/optimization/energy_system.py @@ -228,16 +228,12 @@ def primary_network(data, param, use_hp=True, return_unsolved=False): inputs={ hnw: solph.Flow( nominal_value=param['st-tes']['Q_in'], - max=param['st-tes']['Q_rel_in_max'], - min=param['st-tes']['Q_rel_in_min'], variable_costs=param['st-tes']['op_cost_var'], nonconvex=solph.NonConvex() )}, outputs={ hnw: solph.Flow( nominal_value=param['st-tes']['Q_out'], - max=param['st-tes']['Q_rel_out_max'], - min=param['st-tes']['Q_rel_out_min'], nonconvex=solph.NonConvex())}, initial_storage_level=param['st-tes']['init_storage'], loss_rate=param['st-tes']['Q_rel_loss'],