From 66ef4d51bec78806e549cbb44fb40acc2fbc74c9 Mon Sep 17 00:00:00 2001 From: ClaraBuettner Date: Thu, 7 Nov 2024 09:46:27 +0100 Subject: [PATCH] Settings for server calculation --- etrago/appl.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/etrago/appl.py b/etrago/appl.py index fe5db629..1c2c841f 100644 --- a/etrago/appl.py +++ b/etrago/appl.py @@ -55,7 +55,7 @@ "method": { # Choose method and settings for optimization "type": "lopf", # type of optimization, 'lopf' or 'sclopf' "n_iter": 4, # abort criterion of iterative optimization, 'n_iter' or 'threshold' - "formulation": "linopy", + "formulation": "pyomo", "market_optimization": { "active": True, @@ -84,17 +84,18 @@ "threads": 4, }, "model_formulation": "kirchhoff", # angles or kirchhoff - "scn_name": "eGon2035", # scenario: eGon2035, eGon100RE or status2019 + "scn_name": "eGon2035_lowflex", # scenario: eGon2035, eGon100RE or status2019 # Scenario variations: "scn_extension": None, # None or array of extension scenarios "scn_decommissioning": None, # None or decommissioning scenario # Export options: "lpfile": False, # save pyomo's lp file: False or /path/to/lpfile.lp - "csv_export": "results", # save results as csv: False or /path/tofolder + "csv_export": "results_seed963852", # save results as csv: False or /path/tofolder # Settings: "extendable": { "extendable_components": [ - "as_in_db" + "as_in_db", + "electrolysis_unlimited" ], # Array of components to optimize "upper_bounds_grid": { # Set upper bounds for grid expansion # lines in Germany @@ -111,7 +112,7 @@ }, }, "generator_noise": 789456, # apply generator noise, False or seed number - "seed_electrolysis_capex": 123456, # apply noise on capital cost for electrolysis expansion, False or seed number + "seed_electrolysis_capex": 963852, # apply noise on capital cost for electrolysis expansion, False or seed number "extra_functionality": {}, # Choose function name or {} # Spatial Complexity: "delete_dispensable_ac_buses": True, # bool. Find and delete expendable buses @@ -122,7 +123,7 @@ "network_clustering": { "active": True, # choose if clustering is activated "method": "kmedoids-dijkstra", # choose clustering method: kmeans or kmedoids-dijkstra - "n_clusters_AC": 30, # total number of resulting AC nodes (DE+foreign) + "n_clusters_AC": 300, # total number of resulting AC nodes (DE+foreign) "cluster_foreign_AC": False, # take foreign AC buses into account, True or False "method_gas": "kmedoids-dijkstra", # choose clustering method: kmeans or kmedoids-dijkstra "n_clusters_gas": 14, # total number of resulting CH4 nodes (DE+foreign) @@ -169,9 +170,9 @@ }, # Simplifications: "branch_capacity_factor": {"HV": 0.5, "eHV": 0.7}, # p.u. branch derating - "load_shedding": True, # meet the demand at value of loss load cost + "load_shedding": False, # meet the demand at value of loss load cost "foreign_lines": { - "carrier": "AC", # 'DC' for modeling foreign lines as links + "carrier": "DC", # 'DC' for modeling foreign lines as links "capacity": "osmTGmod", # 'osmTGmod', 'tyndp2020', 'ntc_acer' or 'thermal_acer' }, "comments": None,