openTEPES 4.18.2__py3-none-any.whl → 4.18.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- openTEPES/9n/oT_Data_RESEnergy_9n.csv +1 -1
- openTEPES/9n/oT_Data_ReserveMargin_9n.csv +1 -1
- openTEPES/__init__.py +1 -1
- openTEPES/openTEPES.py +11 -5
- openTEPES/openTEPES_InputData.py +117 -93
- openTEPES/openTEPES_Main.py +4 -3
- openTEPES/openTEPES_ModelFormulation.py +54 -45
- openTEPES/openTEPES_OutputResults.py +178 -149
- openTEPES/openTEPES_ProblemSolving.py +4 -5
- {opentepes-4.18.2.dist-info → opentepes-4.18.3.dist-info}/METADATA +6 -3
- {opentepes-4.18.2.dist-info → opentepes-4.18.3.dist-info}/RECORD +14 -14
- {opentepes-4.18.2.dist-info → opentepes-4.18.3.dist-info}/LICENSE +0 -0
- {opentepes-4.18.2.dist-info → opentepes-4.18.3.dist-info}/WHEEL +0 -0
- {opentepes-4.18.2.dist-info → opentepes-4.18.3.dist-info}/entry_points.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Open Generation, Storage, and Transmission Operation and Expansion Planning Model with RES and ESS (openTEPES) -
|
|
2
|
+
Open Generation, Storage, and Transmission Operation and Expansion Planning Model with RES and ESS (openTEPES) - January 27, 2025
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
import time
|
|
@@ -56,16 +56,15 @@ def ProblemSolving(DirName, CaseName, SolverName, OptModel, mTEPES, pIndLogConso
|
|
|
56
56
|
if os.path.exists(FileName):
|
|
57
57
|
os.remove(FileName)
|
|
58
58
|
Solver.options['log_file' ] = _path+f'/openTEPES_highs_{CaseName}_{p}_{sc}_{st}.log'
|
|
59
|
-
Solver.options['log_to_console' ] = 'true'
|
|
60
59
|
Solver.options['solver' ] = 'simplex'
|
|
61
|
-
Solver.options['run_crossover' ] = '
|
|
60
|
+
Solver.options['run_crossover' ] = 'on'
|
|
62
61
|
Solver.options['mip_rel_gap' ] = 0.01
|
|
63
62
|
Solver.options['threads' ] = int((psutil.cpu_count(logical=True) + psutil.cpu_count(logical=False))/2)
|
|
64
63
|
Solver.options['time_limit' ] = 36000
|
|
65
64
|
Solver.options['simplex_iteration_limit'] = 36000000
|
|
66
|
-
if SolverName == 'gams':
|
|
65
|
+
if SolverName == 'gams' or SolverName == 'GAMS':
|
|
67
66
|
solver_options = {
|
|
68
|
-
'file COPT / cplex.opt / ; put COPT putclose "LPMethod 4" / "
|
|
67
|
+
'file COPT / cplex.opt / ; put COPT putclose "LPMethod 4" / "EpGap 0.01" / ; GAMS_MODEL.OptFile = 1 ;'
|
|
69
68
|
'option SysOut = off ;',
|
|
70
69
|
'option LP = cplex ; option MIP = cplex ;',
|
|
71
70
|
'option ResLim = 36000 ; option IterLim = 36000000 ;',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: openTEPES
|
|
3
|
-
Version: 4.18.
|
|
3
|
+
Version: 4.18.3
|
|
4
4
|
Summary: Open Generation, Storage, and Transmission Operation and Expansion Planning Model with RES and ESS (openTEPES)
|
|
5
5
|
Home-page: https://pascua.iit.comillas.edu/aramos/openTEPES/index.html
|
|
6
6
|
Author: IIT-EnergySystemModels
|
|
@@ -66,7 +66,10 @@ The **openTEPES** model has been developed at the `Instituto de Investigación T
|
|
|
66
66
|
The **openTEPES** model presents a decision support system for defining the **integrated generation, storage, and transmission resource planning** (IRP, GEP+SEP+TEP) of a **large-scale electric system** at a tactical level (i.e., time horizons of 10-20 years),
|
|
67
67
|
defined as a set of **generation, storage, and (electricity, hydrogen, and heat) networks dynamic investment decisions for multiple future years**.
|
|
68
68
|
|
|
69
|
-
It is integrated
|
|
69
|
+
It is integrated into the `open energy system modelling platform <https://openenergymodels.net/>`_, helping model Europe's energy system and in the list of `energy models published under open source licenses <https://wiki.openmod-initiative.org/wiki/Open_Models>`_.
|
|
70
|
+
It is also part of the Africa `open energy system modelling toolbox <https://africaenergymodels.net/>`_, which is a suite of open and linked state-of-the-art open-source energy system models for Africa.
|
|
71
|
+
|
|
72
|
+
Scripts are provided to exchange information with Integrated Assessment Models (IAM) using their `nomenclature and data formats <https://nomenclature-iamc.readthedocs.io/en/stable/>`_.
|
|
70
73
|
|
|
71
74
|
It has been used by the **Ministry for the Ecological Transition and the Demographic Challenge (MITECO)** to analyze the electricity sector in the latest Spanish `National Energy and Climate Plan (NECP) Update 2023-2030 <https://www.miteco.gob.es/content/dam/miteco/es/energia/files-1/pniec-2023-2030/PNIEC_2024_240924.pdf>`_ in September 2024.
|
|
72
75
|
|
|
@@ -74,7 +77,7 @@ Reference
|
|
|
74
77
|
############
|
|
75
78
|
**A. Ramos, E. Quispe, S. Lumbreras** `“OpenTEPES: Open-source Transmission and Generation Expansion Planning” <https://www.sciencedirect.com/science/article/pii/S235271102200053X>`_ SoftwareX 18: June 2022 `10.1016/j.softx.2022.101070 <https://doi.org/10.1016/j.softx.2022.101070>`_.
|
|
76
79
|
|
|
77
|
-
**openTEPES**: `summary presentation <https://pascua.iit.comillas.edu/aramos/openTEPES.pdf>`_ and `installation <https://pascua.iit.comillas.edu/aramos/openTEPES_installation.pdf>`_
|
|
80
|
+
**openTEPES**: `summary presentation <https://pascua.iit.comillas.edu/aramos/openTEPES.pdf>`_, `présentation (French) <https://pascua.iit.comillas.edu/aramos/openTEPES_fr.pdf>`_, and `installation <https://pascua.iit.comillas.edu/aramos/openTEPES_installation.pdf>`_
|
|
78
81
|
|
|
79
82
|
Description
|
|
80
83
|
############
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
openTEPES/__init__.py,sha256=
|
|
1
|
+
openTEPES/__init__.py,sha256=PuLMxCWXTuXja-37mg32JjEBhTtCOXxynRhR9tbupTg,832
|
|
2
2
|
openTEPES/openTEPES.mapbox_token,sha256=xsXNkwGp2vzXqQy2zVkyLhhNcNWniK2BMeOFpc5SZHI,93
|
|
3
|
-
openTEPES/openTEPES.py,sha256=
|
|
4
|
-
openTEPES/openTEPES_InputData.py,sha256=
|
|
5
|
-
openTEPES/openTEPES_Main.py,sha256=
|
|
6
|
-
openTEPES/openTEPES_ModelFormulation.py,sha256=
|
|
7
|
-
openTEPES/openTEPES_OutputResults.py,sha256=
|
|
8
|
-
openTEPES/openTEPES_ProblemSolving.py,sha256=
|
|
3
|
+
openTEPES/openTEPES.py,sha256=LLzQlfp5VWwQaFTfG_-y-LC9IuA-qzIGMRhaAjhi0EM,21143
|
|
4
|
+
openTEPES/openTEPES_InputData.py,sha256=blUzjw4zTp5SciPlGDGKuwoA_PzqkY4u5YY6WFDDiHE,213218
|
|
5
|
+
openTEPES/openTEPES_Main.py,sha256=wWbl_KAYNzOhLtYqQR-UQwZ4l7hJvZzojhn3aSKBmIQ,39916
|
|
6
|
+
openTEPES/openTEPES_ModelFormulation.py,sha256=mCyvXtiwNZ8ixsFXV7dGV9EeME1ZEjnHwrlmHOZ7CXg,117660
|
|
7
|
+
openTEPES/openTEPES_OutputResults.py,sha256=lifyQkf2EO5BIvnyVOdNtNqoHa57TteY7hwgxia7lFU,211055
|
|
8
|
+
openTEPES/openTEPES_ProblemSolving.py,sha256=zKic5bdkge5X4VCsPrDR7owZAPepupWZDhNVvzWBUuQ,14736
|
|
9
9
|
openTEPES/openTEPES_gitinfo.py,sha256=6fA1fa-JcyusSc_HcjPiCgnV9zn-fZwdG-kK0a5Fxc8,2004
|
|
10
10
|
openTEPES/.idea/.name,sha256=jiwfcnJ20wztcvpny4SHcqmAIWK-w5tCqN9TWf0GOkw,11
|
|
11
11
|
openTEPES/.idea/misc.xml,sha256=m4-3O284ZBS8WZSQD0QWwk8YjuQYz92w6kr7NRFNips,298
|
|
@@ -28,8 +28,8 @@ openTEPES/9n/oT_Data_OperatingReserveUp_9n.csv,sha256=VqBDqfaIPiD1guy1rLNAYEEZYW
|
|
|
28
28
|
openTEPES/9n/oT_Data_Option_9n.csv,sha256=2onSiuxVxB0WXX45pBWpfb6uoGY1o_FuAYKrp7w3cpQ,230
|
|
29
29
|
openTEPES/9n/oT_Data_Parameter_9n.csv,sha256=Gn-pzaThuI_w9USJwZ-AGDy5VnXMuVnmiac3W1sm2ds,220
|
|
30
30
|
openTEPES/9n/oT_Data_Period_9n.csv,sha256=NFbJq1PV7fhKMp7ocoy_hy42mKuVabBdPqe9Pt2IVQ4,26
|
|
31
|
-
openTEPES/9n/oT_Data_RESEnergy_9n.csv,sha256=
|
|
32
|
-
openTEPES/9n/oT_Data_ReserveMargin_9n.csv,sha256=
|
|
31
|
+
openTEPES/9n/oT_Data_RESEnergy_9n.csv,sha256=zOj39jlgP1Pj6oIWDY8Kr-ysvvKUhkap5zCZn9s68is,40
|
|
32
|
+
openTEPES/9n/oT_Data_ReserveMargin_9n.csv,sha256=WCIVw1Yr64PzAOBRta-7h4Ri8G0kLNvdu7700sQr6Yg,46
|
|
33
33
|
openTEPES/9n/oT_Data_Scenario_9n.csv,sha256=UGeFNxqb6ysUgpVrLESkfFGy-3X9nzJoeRooynFTTQQ,45
|
|
34
34
|
openTEPES/9n/oT_Data_Stage_9n.csv,sha256=fHzcT28maF4tn7D92epcXLZqsQct_ZrmOfLGZj12B6Q,24
|
|
35
35
|
openTEPES/9n/oT_Data_VariableEmissionCost_9n.csv,sha256=OVKIL2LhUakkInIKxvL8GjE7jcGQyod3ZOxG3LDtRZM,419537
|
|
@@ -335,8 +335,8 @@ openTEPES/sSEP/oT_Dict_Storage_sSEP.csv,sha256=H2rJXZvoMuT-25sI2GpG8IuiNKD-dxuty
|
|
|
335
335
|
openTEPES/sSEP/oT_Dict_Technology_sSEP.csv,sha256=MCTpplzz7_eVPKQfOw35c86ib6CTtW6UK6JrbCJ8wls,170
|
|
336
336
|
openTEPES/sSEP/oT_Dict_ZoneToArea_sSEP.csv,sha256=AUDCs5Bg6sw9f2pVjGP1o4IJjXFF_VrokOGf_V3QsEI,24
|
|
337
337
|
openTEPES/sSEP/oT_Dict_Zone_sSEP.csv,sha256=TBud-fvbFbiAsuutxTYe8wWlv_x1P8oyWXILMpYiXJc,13
|
|
338
|
-
opentepes-4.18.
|
|
339
|
-
opentepes-4.18.
|
|
340
|
-
opentepes-4.18.
|
|
341
|
-
opentepes-4.18.
|
|
342
|
-
opentepes-4.18.
|
|
338
|
+
opentepes-4.18.3.dist-info/entry_points.txt,sha256=gNNPrDaTsRuRJXI1FLNgqMX1CiJ45bEp1dEDH7ZB8Oc,49
|
|
339
|
+
opentepes-4.18.3.dist-info/LICENSE,sha256=4O7bphXVzRuYavtsWzpLGuM3E-fp3HTRna7F4yIfnS4,35184
|
|
340
|
+
opentepes-4.18.3.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82
|
|
341
|
+
opentepes-4.18.3.dist-info/METADATA,sha256=zxBf3NCfvcib0pJoHWv-Kg8bPMWiANOhW0qfo_odYiA,18389
|
|
342
|
+
opentepes-4.18.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|