Skip to content

Commit

Permalink
Merge pull request #331 from openego/features/release-0.8.0
Browse files Browse the repository at this point in the history
change some setup requirements
  • Loading branch information
ClaraBuettner authored Apr 7, 2021
2 parents 130996c + 04bea08 commit 495bb3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions etrago/appl.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,14 @@
'gridversion': 'v0.4.6', # None for model_draft or Version number
'method': { # Choose method and settings for optimization
'type': 'lopf', # type of optimization, currently only 'lopf'
'n_iter': 4, # abort criterion of iterative optimization, 'n_iter' or 'threshold'
'n_iter': 2, # abort criterion of iterative optimization, 'n_iter' or 'threshold'
'pyomo': True}, # set if pyomo is used for model building
'pf_post_lopf': {
'active': False, # choose if perform a pf after a lopf simulation
'add_foreign_lopf': True, # keep results of lopf for foreign DC-links
'q_allocation': 'p_nom'}, # allocate reactive power via 'p_nom' or 'p'
'start_snapshot': 1,
'end_snapshot': 72,
'end_snapshot': 3,
'solver': 'gurobi', # glpk, cplex or gurobi
'solver_options': { # {} for default options, specific for solver
'BarConvTol': 1.e-5,
Expand Down Expand Up @@ -91,9 +91,9 @@
'tol': 1e-6, # affects clustering algorithm, only change when neccesary
'n_jobs': -1}, # affects clustering algorithm, only change when neccesary
'network_clustering_ehv': False, # clustering of HV buses to EHV buses.
'disaggregation': 'uniform', # None, 'mini' or 'uniform'
'disaggregation': None, # None, 'mini' or 'uniform'
'snapshot_clustering': {
'active': True, # choose if clustering is activated
'active': False, # choose if clustering is activated
'n_clusters': 2, # number of periods
'how': 'daily', # type of period, currently only 'daily'
'storage_constraints': 'soc_constraints'}, # additional constraints for storages
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@
include_package_data=True,
install_requires=['egoio == 0.4.7',
'scikit-learn',
'sqlalchemy == 1.2.0',
'sqlalchemy == 1.3.16',
'geoalchemy2 >= 0.3.0, <=0.4.0',
'matplotlib == 3.0.3',
'tsam==0.9.9',
'tsam == 0.9.9',
'shapely',
'oedialect',
'pyproj == 2.0.2',
'tilemapbase == 0.4.5',
'pypsa == 0.17.1'],
'pypsa == 0.17.1',
'setuptools >= 54.2.0'],
extras_require={
'docs': [
'sphinx >= 1.4',
Expand Down

0 comments on commit 495bb3d

Please sign in to comment.