Skip to content

Commit

Permalink
Settings for server calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraBuettner committed Nov 7, 2024
1 parent a1ad437 commit 66ef4d5
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions etrago/appl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 66ef4d5

Please sign in to comment.