openTEPES 4.18.5__py3-none-any.whl → 4.18.6__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/RTS-GMLC/oT_Data_VariableMinGeneration_RTS-GMLC.csv +1 -1
- openTEPES/RTS-GMLC_6y/oT_Data_VariableFuelCost_RTS-GMLC_6y.csv +1 -1
- openTEPES/__init__.py +1 -1
- openTEPES/openTEPES.py +8 -5
- openTEPES/openTEPES_InputData.py +1120 -1142
- openTEPES/openTEPES_Main.py +3 -3
- openTEPES/openTEPES_ModelFormulation.py +5 -5
- openTEPES/openTEPES_OutputResults.py +54 -59
- openTEPES/openTEPES_ProblemSolving.py +6 -1
- openTEPES/sSEP/oT_Data_DemandHydrogen_sSEP.csv +8736 -8736
- openTEPES/sSEP/oT_Data_Generation_sSEP.csv +1 -1
- openTEPES/sSEP/oT_Data_HydroOutflows_sSEP.csv +1 -1
- {openTEPES-4.18.5.dist-info → opentepes-4.18.6.dist-info}/METADATA +54 -34
- {openTEPES-4.18.5.dist-info → opentepes-4.18.6.dist-info}/RECORD +17 -17
- {openTEPES-4.18.5.dist-info → opentepes-4.18.6.dist-info}/WHEEL +1 -1
- {openTEPES-4.18.5.dist-info → opentepes-4.18.6.dist-info}/entry_points.txt +0 -0
- {openTEPES-4.18.5.dist-info → opentepes-4.18.6.dist-info/licenses}/LICENSE +0 -0
|
@@ -3,7 +3,7 @@ Nuclear1,Valencia,Nuclear,,,,,Yes,,,Yes,2020,2050,500,500,,,,,,,,,,,,,,,,1,,,,,,
|
|
|
3
3
|
Nuclear2,Caceres,Nuclear,,,,,Yes,,,Yes,2020,2050,500,500,,,,,,,,,,,,,,,,1,,,,,,1,5,,20,,10,,,,,,,,,,,,,,
|
|
4
4
|
Coal1,Almeria,Coal_Subbituminous,,,,,,,,Yes,2020,2050,650,260,,,,,,,,,,,,,,,,1,250,250,24,24,,1,50,1000,5,,0.06,,1,,,,,,,,,,,,
|
|
5
5
|
Coal2,Lugo,Coal_Subbituminous,,,,,,,,Yes,2020,2050,650,260,,,,,,,,,,,,,,,,1,250,250,24,24,,1,50,1000,5,,0.06,,1,,,,,,,,,,,,
|
|
6
|
-
CCGT1,Bilbao,CCGT,,,,,,,,Yes,2020,2050,390,150,,,,,,,,,,,,,,,,1,250,250,6,6,,1,60,300,3,,0.02,,
|
|
6
|
+
CCGT1,Bilbao,CCGT,,,,,,,,Yes,2020,2050,390,150,,,,,,,,,,,,,,,,1,250,250,6,6,,1,60,300,3,,0.02,,0.5,,,,,,,,,,,,
|
|
7
7
|
CCGT2,Barcelona,CCGT,,,,,,,,Yes,2020,2050,380,155,,,,,,,,,,,,,,,,1,250,250,6,6,,1,58,300,3,,0.02,,0.5,,,,,,,,,,,,
|
|
8
8
|
CCGT3,Barcelona,CCGT,,,,,,,,Yes,2020,2050,820,320,,,,,,,,,,,,,,,,1,250,250,6,6,,1,57,1000,3,,0.04,,0.5,,,,,,,,,,,,
|
|
9
9
|
CCGT4,Cadiz,CCGT,,,,,,,,Yes,2020,2050,790,310,,,,,,,,,,,,,,,,1,250,250,6,6,,1,57,1000,3,,0.04,,0.5,,,,,,,,,,,,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
Period,Scenario,LoadLevel,R_Azutan,R_Valdecanas,R_TorrejonTajo,R_TorrejonTietar,R_JoseMariaOriol,R_Cedillo,R_GuijoGranadilla
|
|
2
2
|
2030,CY2015,01-01 00:00:00+01:00,,,,,,,
|
|
3
3
|
2030,CY2015,01-01 01:00:00+01:00,,,,,,,
|
|
4
4
|
2030,CY2015,01-01 02:00:00+01:00,,,,,,,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: openTEPES
|
|
3
|
-
Version: 4.18.
|
|
3
|
+
Version: 4.18.6
|
|
4
4
|
Summary: Open Generation, Storage, and Transmission Operation and Expansion Planning Model with RES and ESS (openTEPES)
|
|
5
5
|
Home-page: https://opentepes.readthedocs.io/en/latest/index.html
|
|
6
6
|
Author: IIT-EnergySystemModels
|
|
@@ -12,6 +12,7 @@ Classifier: Intended Audience :: Science/Research
|
|
|
12
12
|
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
License-File: LICENSE
|
|
15
16
|
Requires-Dist: pyomo>=5.7.3
|
|
16
17
|
Requires-Dist: matplotlib>=3.3.4
|
|
17
18
|
Requires-Dist: numpy>=1.20.1
|
|
@@ -24,8 +25,7 @@ Requires-Dist: jsonschema>=4.16.0
|
|
|
24
25
|
Requires-Dist: networkx>=3.3
|
|
25
26
|
Requires-Dist: dill>=0.3.8
|
|
26
27
|
|
|
27
|
-
|
|
28
|
-
.. image:: doc/img/openTEPES.png
|
|
28
|
+
.. image:: https://pascua.iit.comillas.edu/aramos/openTEPES.png
|
|
29
29
|
:target: https://opentepes.readthedocs.io/en/latest/index.html
|
|
30
30
|
:alt: logo
|
|
31
31
|
:align: center
|
|
@@ -63,22 +63,42 @@ Requires-Dist: dill>=0.3.8
|
|
|
63
63
|
|
|
64
64
|
The **openTEPES** model has been developed at the `Instituto de Investigación Tecnológica (IIT) <https://www.iit.comillas.edu/index.php.en>`_ of the `Universidad Pontificia Comillas <https://www.comillas.edu/en/>`_.
|
|
65
65
|
|
|
66
|
-
The **openTEPES** model presents a decision support system for defining the **integrated generation, storage, and transmission resource planning** (IRP, GEP+SEP+TEP) -**Integrated Resource Planning** (IRP)- of a **large-scale electric system** at a tactical level (i.e., time horizons of 5-30 years),
|
|
66
|
+
The **openTEPES** model presents a decision support system for defining the **integrated generation, storage, and transmission resource planning** (IRP, GEP+SEP+TEP) -**Capacity Expansion Planning** (CEP) or **Integrated Resource Planning** (IRP)- of a **large-scale electric system** at a tactical level (i.e., time horizons of 5-30 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
69
|
The `openTEPES complete documentation <https://opentepes.readthedocs.io/en/latest/index.html>`_ presents the input data, output results, mathematical formulation, download and installation, and the research projects where the model has been used.
|
|
70
70
|
|
|
71
|
-
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
|
|
71
|
+
It is integrated into the `open energy system modelling platform <https://openenergymodels.net/>`_, helping model Europe's energy system, and is in the list of `energy models published under open-source licenses <https://wiki.openmod-initiative.org/wiki/Open_Models>`_.
|
|
72
72
|
It is also part of the `Africa's open energy system modelling toolbox <https://africaenergymodels.net/models/>`_, which is a suite of open and linked state-of-the-art open-source energy system models for Africa, and of the `African Energy modelling Network Open-Source Tools <https://africanenergymodellingnetwork.net/en/focus-area-3-open-source-tools-and-data>`_.
|
|
73
73
|
|
|
74
74
|
Scripts are provided to exchange information with Integrated Assessment Models (IAM) using their `nomenclature and data formats <https://nomenclature-iamc.readthedocs.io/en/stable/>`_.
|
|
75
75
|
|
|
76
76
|
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.
|
|
77
77
|
|
|
78
|
-
|
|
78
|
+
How to Cite
|
|
79
79
|
############
|
|
80
|
+
If you use openTEPES for a scientific publication, we would appreciate it if you cite the following paper:
|
|
81
|
+
|
|
80
82
|
**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>`_.
|
|
81
83
|
|
|
84
|
+
If your work relies heavily on the software, we also encourage you to cite the repository directly.
|
|
85
|
+
|
|
86
|
+
BibTeX entry:
|
|
87
|
+
.. code::
|
|
88
|
+
|
|
89
|
+
@article{Ramos2022,
|
|
90
|
+
author = {Andrés Ramos and Erik Quispe and Sara Lumbreras},
|
|
91
|
+
title = {openTEPES: Open-source Transmission and Generation Expansion Planning},
|
|
92
|
+
journal = {SoftwareX},
|
|
93
|
+
volume = {18},
|
|
94
|
+
pages = {101070},
|
|
95
|
+
year = {2022},
|
|
96
|
+
issn = {2352-7110},
|
|
97
|
+
doi = {https://doi.org/10.1016/j.softx.2022.101070},
|
|
98
|
+
url = {https://www.sciencedirect.com/science/article/pii/S235271102200053X},
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
|
|
82
102
|
**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>`_
|
|
83
103
|
|
|
84
104
|
Authors
|
|
@@ -94,19 +114,19 @@ for supplying the forecasted demand at minimum cost. Tactical planning is concer
|
|
|
94
114
|
The main results are the guidelines for the future structure of the generation, storage, and transmission systems.
|
|
95
115
|
|
|
96
116
|
The **openTEPES** model presents a decision support system for defining the integrated generation, storage, and transmission expansion plan of a large-scale electric system at a tactical level,
|
|
97
|
-
defined as a set of generation, storage, and network investment decisions for future years. The expansion candidate, generators, ESS and lines
|
|
117
|
+
defined as a set of generation, storage, and network investment decisions for future years. The expansion candidate, generators, ESS, and lines are pre-defined by the user, so the model determines
|
|
98
118
|
the optimal decisions among those specified by the user.
|
|
99
119
|
|
|
100
120
|
It determines automatically optimal expansion plans that satisfy simultaneously several attributes. Its main characteristics are:
|
|
101
121
|
|
|
102
|
-
- **Dynamic (perfect foresight)**: the scope of the model corresponds to several periods (years) at a long-term horizon, 2030, 2035 and 2040 for example.
|
|
122
|
+
- **Dynamic (perfect foresight)**: the scope of the model corresponds to several periods (years) at a long-term horizon, 2030, 2035, and 2040, for example.
|
|
103
123
|
|
|
104
|
-
It represents hierarchically the different time scopes to
|
|
124
|
+
It represents hierarchically the different time scopes to make decisions in an electric system:
|
|
105
125
|
|
|
106
126
|
- Load level: one hour, e.g., 01-01 00:00:00+01:00 to 12-30 23:00:00+01:00
|
|
107
127
|
|
|
108
|
-
The time division allows a user-defined flexible representation of the periods for evaluating the system operation. Moreover, it can be run with chronological periods of several consecutive hours (bi-hourly, tri-hourly resolution) to decrease the computational burden without losing accuracy. The model can be run with a single period (year) or with several periods (years) to allow the analysis of the system evolution. The time definition allows
|
|
109
|
-
The model can be run with a single period (year) or with several periods (years) to allow the analysis of the system evolution. The time definition can also specify disconnected representative periods (e.g., days, weeks) to evaluate the system operation.
|
|
128
|
+
The time division allows a user-defined flexible representation of the periods for evaluating the system operation. Moreover, it can be run with chronological periods of several consecutive hours (bi-hourly, tri-hourly resolution) to decrease the computational burden without losing accuracy. The model can be run with a single period (year) or with several periods (years) to allow the analysis of the system's evolution. The time definition also allows for specifying disconnected representative periods (e.g., days, weeks) to evaluate the system operation.
|
|
129
|
+
The model can be run with a single period (year) or with several periods (years) to allow the analysis of the system's evolution. The time definition can also specify disconnected representative periods (e.g., days, weeks) to evaluate the system operation.
|
|
110
130
|
The period (year) must be represented by 8736 hours because several model concepts representing the system operation are based on weeks (168 hours) or months (made of 4 weeks, 672 hours).
|
|
111
131
|
|
|
112
132
|
- **Stochastic**: several stochastic parameters that can influence the optimal generation, storage, and transmission expansion decisions are considered. The model considers stochastic
|
|
@@ -115,18 +135,18 @@ It determines automatically optimal expansion plans that satisfy simultaneously
|
|
|
115
135
|
The objective function incorporates the two main quantifiable costs: **generation, storage, and transmission investment cost (CAPEX)** and **expected variable operation costs (including generation, consumption, emission, and reliability costs) (system OPEX)**.
|
|
116
136
|
|
|
117
137
|
The model formulates a **two-stage stochastic optimization** problem, including generation, storage, and electricity, hydrogen, and heat network binary investment/retirement decisions, generation operation decisions (commitment, startup, and shutdown decisions are also binary), and electric line-switching decisions.
|
|
118
|
-
|
|
138
|
+
Capacity expansion considers adequacy system reserve margin and minimum and maximum energy constraints.
|
|
119
139
|
|
|
120
140
|
The very detailed operation model is an electric **network-constrained unit commitment (NCUC)** based on a **tight and compact** formulation, including **operating reserves** with a
|
|
121
141
|
**DC power flow (DCPF)**, including electric **line-switching** decisions. **ohmic losses of the electricity network** are considered proportional to the electric line flow. It considers different **energy storage systems (ESS)**, e.g., pumped-hydro storage,
|
|
122
142
|
battery, demand response, electric vehicles, solar thermal, electrolyzer, etc. It allows analyzing the trade-off between the investment in generation/transmission/pipeline and the investment and/or use of storage capacity.
|
|
123
143
|
|
|
124
|
-
The model allows
|
|
144
|
+
The model also allows a representation of the **hydro system** based on volume and water inflow data, considering the water stream topology (hydro cascade basins). If they are not available, it runs with an energy-based representation of the hydro system.
|
|
125
145
|
|
|
126
|
-
Also, it includes a representation of **Power to Hydrogen (P2H2)** by setting the **hydrogen demand** satisfied by the production of hydrogen with electrolyzers (
|
|
127
|
-
Besides, it includes a representation of **Power to Heat (P2H)** by setting the **heat demand** satisfied by the production of heat with heat pumps or electric heaters (
|
|
146
|
+
Also, it includes a representation of **Power to Hydrogen (P2H2)** by setting the **hydrogen demand** satisfied by the production of hydrogen with electrolyzers (consuming electricity to produce hydrogen) and a **hydrogen pipeline network** to distribute it.
|
|
147
|
+
Besides, it includes a representation of **Power to Heat (P2H)** by setting the **heat demand** satisfied by the production of heat with heat pumps or electric heaters (consuming electricity to produce heat) and a **heat pipe network** to distribute it. If they are not available, it runs with just the other energy carriers.
|
|
128
148
|
|
|
129
|
-
The main results of the model can be structured
|
|
149
|
+
The main results of the model can be structured into these topics:
|
|
130
150
|
|
|
131
151
|
- **Investment**: (generation, storage, hydro reservoirs, electric lines, hydrogen pipelines, and heat pipes) investment decisions and cost
|
|
132
152
|
- **Operation**: unit commitment, startup, and shutdown of non-renewable units, unit output and aggregation by technologies (thermal, storage hydro, pumped-hydro storage, RES), RES curtailment, electric line, hydrogen pipeline, and heat pipe flows, line ohmic losses, node voltage angles, upward and downward operating reserves, ESS inventory levels, hydro reservoir volumes, power, hydrogen, and heat not served
|
|
@@ -137,20 +157,20 @@ The main results of the model can be structured in these topics:
|
|
|
137
157
|
|
|
138
158
|
Results are shown in csv files and graphical plots.
|
|
139
159
|
|
|
140
|
-
A careful implementation has been done to avoid numerical problems by scaling parameters, variables and equations of the optimization problem allowing the model to be used for large-scale cases, e.g., the European system with hourly detail.
|
|
160
|
+
A careful implementation has been done to avoid numerical problems by scaling parameters, variables, and equations of the optimization problem, allowing the model to be used for large-scale cases, e.g., the European system with hourly detail.
|
|
141
161
|
|
|
142
162
|
Installation
|
|
143
163
|
############
|
|
144
164
|
`Installation guide <https://pascua.iit.comillas.edu/aramos/openTEPES_installation.pdf>`_.
|
|
145
165
|
|
|
146
|
-
There are 2 ways to get all required packages under Windows. We recommend using the Python distribution Miniconda. If you don't want to use it or already have an existing Python (version 3.11) installation, you can also download the required packages by yourself.
|
|
166
|
+
There are 2 ways to get all the required packages under Windows. We recommend using the Python distribution Miniconda. If you don't want to use it or already have an existing Python (version 3.11) installation, you can also download the required packages by yourself.
|
|
147
167
|
|
|
148
168
|
Miniconda (recommended)
|
|
149
169
|
=======================
|
|
150
170
|
1. `Miniconda <https://docs.conda.io/en/latest/miniconda.html>`_. Choose the 64-bit installer if possible.
|
|
151
171
|
|
|
152
172
|
1. During the installation procedure, keep both checkboxes "modify the PATH" and "register Python" selected! If only higher Python versions are available, you can switch to a specific Python Version by typing ``conda install python=<version>``
|
|
153
|
-
2. **Remark:** if Anaconda or Miniconda was installed previously, please check that
|
|
173
|
+
2. **Remark:** if Anaconda or Miniconda was installed previously, please check that Python is registered in the environment variables.
|
|
154
174
|
2. **Packages and Solver**:
|
|
155
175
|
|
|
156
176
|
1. Launch a new Anaconda prompt (or terminal in any IDE)
|
|
@@ -177,22 +197,22 @@ This solver is activated by calling the openTEPES model with the solver name 'ap
|
|
|
177
197
|
|
|
178
198
|
Gurobi
|
|
179
199
|
======
|
|
180
|
-
Another recommendation is the use of `Gurobi solver <https://www.gurobi.com/>`_. However, it is commercial solver but
|
|
181
|
-
As a commercial solver it needs a license that is free of charge for academic usage by signing up
|
|
200
|
+
Another recommendation is the use of `Gurobi solver <https://www.gurobi.com/>`_. However, it is a commercial solver but more powerful than open-source solvers for large-scale problems.
|
|
201
|
+
As a commercial solver, it needs a license that is free of charge for academic usage by signing up on the Gurobi webpage <https://pages.gurobi.com/registration/>>. You can also ask for an `evaluation license <https://www.gurobi.com/downloads/request-an-evaluation-license/>`_ for 30 days to test the solver.
|
|
182
202
|
It can be installed using: ``conda install -c gurobi gurobi`` and then ask for an academic or commercial license. Activate the license in your computer using the ``grbgetkey`` command (you need to be in a university internet domain if you are installing an academic license).
|
|
183
203
|
|
|
184
204
|
GLPK
|
|
185
205
|
=====
|
|
186
|
-
As an easy option for installation, we have the free and open
|
|
206
|
+
As an easy option for installation, we have the free and open source `GLPK solver <https://www.gnu.org/software/glpk/>`_. However, it takes too much time for large-scale problems. It can be installed using: ``conda install glpk``.
|
|
187
207
|
|
|
188
208
|
CBC
|
|
189
209
|
=====
|
|
190
|
-
The `CBC solver <https://github.com/coin-or/Cbc>`_ is also another free and open-source solver. For Windows users, the effective way to install the CBC solver is
|
|
210
|
+
The `CBC solver <https://github.com/coin-or/Cbc>`_ is also another free and open-source solver. For Windows users, the effective way to install the CBC solver is to download the binaries from this `site <https://www.coin-or.org/download/binary/Cbc/>`_, copy and paste the *cbc.exe* file to the PATH that is the "bin" directory of the Anaconda or Miniconda environment. Under Linux, it can be installed using: ``conda install -c conda-forge coincbc``.
|
|
191
211
|
|
|
192
212
|
Mosek
|
|
193
213
|
=====
|
|
194
|
-
Another alternative is the `Mosek solver <https://www.mosek.com/>`_. Note that it is a commercial solver and you need a license for it. Mosek is a good alternative to deal with QPs, SOCPs, and SDPs problems. You only need to use ``conda install -c mosek mosek`` for installation and request a license (academic or commercial). To request the academic one, you can request `here <https://www.mosek.com/products/academic-licenses/>`_.
|
|
195
|
-
Moreover, Mosek brings a `license guide <https://docs.mosek.com/9.2/licensing/index.html>`_. But if you
|
|
214
|
+
Another alternative is the `Mosek solver <https://www.mosek.com/>`_. Note that it is a commercial solver, and you need a license for it. Mosek is a good alternative to deal with QPs, SOCPs, and SDPs problems. You only need to use ``conda install -c mosek mosek`` for installation and request a license (academic or commercial). To request the academic one, you can request `here <https://www.mosek.com/products/academic-licenses/>`_.
|
|
215
|
+
Moreover, Mosek brings a `license guide <https://docs.mosek.com/9.2/licensing/index.html>`_. But if you request an academic license, you will receive the license by email, and you only need to locate it in the following path ``C:\Users\<username>\mosek`` on your computer.
|
|
196
216
|
|
|
197
217
|
GAMS
|
|
198
218
|
=====
|
|
@@ -204,26 +224,26 @@ Get started
|
|
|
204
224
|
|
|
205
225
|
Developers
|
|
206
226
|
==========
|
|
207
|
-
By cloning the `openTEPES <https://github.com/IIT-EnergySystemModels/openTEPES/tree/master>`_ repository, you can create branches and propose pull
|
|
227
|
+
By cloning the `openTEPES <https://github.com/IIT-EnergySystemModels/openTEPES/tree/master>`_ repository, you can create branches and propose pull requests. Any help will be greatly appreciated.
|
|
208
228
|
|
|
209
229
|
Users
|
|
210
230
|
=====
|
|
211
231
|
|
|
212
|
-
If you are not planning on developing, please
|
|
232
|
+
If you are not planning on developing, please follow the instructions of the `openTEPES installation <#installation>`_.
|
|
213
233
|
|
|
214
234
|
Once installation is complete, `openTEPES <https://github.com/IIT-EnergySystemModels/openTEPES/tree/master>`_ can be executed in a test mode by using a command prompt.
|
|
215
|
-
In the directory of your choice, open and execute the openTEPES_run.py script by using the following on the command prompt (Windows) or Terminal (Linux). (Depending on what your standard
|
|
235
|
+
In the directory of your choice, open and execute the openTEPES_run.py script by using the following on the command prompt (Windows) or Terminal (Linux). (Depending on what your standard Python version is, you might need to call `python3` instead of `python`.):
|
|
216
236
|
|
|
217
237
|
``openTEPES_Main``
|
|
218
238
|
|
|
219
239
|
Then, four parameters (case, dir, solver, results, and console log) will be asked for.
|
|
220
240
|
|
|
221
|
-
**Remark:** at this step only press enter for each input and openTEPES will be executed with the default parameters.
|
|
241
|
+
**Remark:** at this step, only press enter for each input, and openTEPES will be executed with the default parameters.
|
|
222
242
|
|
|
223
243
|
After this in a directory of your choice, make a copy of the `9n <https://github.com/IIT-EnergySystemModels/openTEPES/tree/master/openTEPES/9n>`_ or `sSEP <https://github.com/IIT-EnergySystemModels/openTEPES/tree/master/openTEPES/sSEP>`_ case to create a new case of your choice but using the current format of the CSV files.
|
|
224
|
-
A proper execution by ``openTEPES_Main`` can be made by introducing the new case and the directory of your choice. Note that the solver is **glpk** by default, but it can be changed
|
|
244
|
+
A proper execution by ``openTEPES_Main`` can be made by introducing the new case and the directory of your choice. Note that the solver is **glpk** by default, but it can be changed to other solvers that Pyomo supports (e.g., gurobi, highs).
|
|
225
245
|
|
|
226
|
-
Then, the **results** should be written in the folder
|
|
246
|
+
Then, the **results** should be written in the folder that is called with the case name. The results contain plots and summary spreadsheets for multiple optimized energy scenarios, periods, and load levels, as well as the investment decisions.
|
|
227
247
|
|
|
228
248
|
**Note that** there is an alternative way to run the model by creating a new script **script.py**, and write the following:
|
|
229
249
|
|
|
@@ -241,8 +261,8 @@ It can be run in Binder:
|
|
|
241
261
|
|
|
242
262
|
Expected Results
|
|
243
263
|
################
|
|
244
|
-
.. image::
|
|
264
|
+
.. image:: https://pascua.iit.comillas.edu/aramos/oT_Map_Network_TF2030.png
|
|
265
|
+
:alt: Network map with investment decisions
|
|
245
266
|
:width: 600px
|
|
246
267
|
:align: center
|
|
247
|
-
:alt: Network map with investment decisions
|
|
248
268
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
openTEPES/__init__.py,sha256=
|
|
1
|
+
openTEPES/__init__.py,sha256=620CYa1BKd-pO6z7ZMvukSU_Lb_GiJhSQILMWsbhhPk,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=gvXwy9I_qpMD8YIYBRji8aKUUbWRQsh_7SQtNGxHUfQ,27387
|
|
4
|
+
openTEPES/openTEPES_InputData.py,sha256=rZd-a5NEKxnpmaZlO8qTwCzKjo75VZGCLftF4dW-02w,237634
|
|
5
|
+
openTEPES/openTEPES_Main.py,sha256=kYsOJ8NnzKuUeN2MC5soM5Cz9CatdCQWbuXb3T1L8MI,39925
|
|
6
|
+
openTEPES/openTEPES_ModelFormulation.py,sha256=OKHq2Ezoi8y_uF7yTGRLpPodprRZc9wrgU0eviZejsw,136583
|
|
7
|
+
openTEPES/openTEPES_OutputResults.py,sha256=moN_cpsqX-BI7YNgdve1OLTySCIY1bWJUY1Gsxz0y78,219110
|
|
8
|
+
openTEPES/openTEPES_ProblemSolving.py,sha256=EvQxjdFU4y-XJXwnL8VhCKTegvmVkM2Ypz3pWYXPBCo,16186
|
|
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
|
|
@@ -219,7 +219,7 @@ openTEPES/RTS-GMLC/oT_Data_VariableMaxGeneration_RTS-GMLC.csv,sha256=RrL9qflX59F
|
|
|
219
219
|
openTEPES/RTS-GMLC/oT_Data_VariableMaxStorage_RTS-GMLC.csv,sha256=CS6Qrt0kIpRgM33BZ3ginRNdt547OOWcLGllhTGgnLI,3041813
|
|
220
220
|
openTEPES/RTS-GMLC/oT_Data_VariableMinConsumption_RTS-GMLC.csv,sha256=CS6Qrt0kIpRgM33BZ3ginRNdt547OOWcLGllhTGgnLI,3041813
|
|
221
221
|
openTEPES/RTS-GMLC/oT_Data_VariableMinEnergy_RTS-GMLC.csv,sha256=8O2XQoRJUpuEFCRZ-R8vcq4mt_ZEnIE2hpPC4BO11tU,1661525
|
|
222
|
-
openTEPES/RTS-GMLC/oT_Data_VariableMinGeneration_RTS-GMLC.csv,sha256=
|
|
222
|
+
openTEPES/RTS-GMLC/oT_Data_VariableMinGeneration_RTS-GMLC.csv,sha256=CS6Qrt0kIpRgM33BZ3ginRNdt547OOWcLGllhTGgnLI,3041813
|
|
223
223
|
openTEPES/RTS-GMLC/oT_Data_VariableMinStorage_RTS-GMLC.csv,sha256=CS6Qrt0kIpRgM33BZ3ginRNdt547OOWcLGllhTGgnLI,3041813
|
|
224
224
|
openTEPES/RTS-GMLC/oT_Dict_AreaToRegion_RTS-GMLC.csv,sha256=AC7WhEMDMekOKE9-kUHV-Dy92zmWKo6-YNL9vyps_j8,64
|
|
225
225
|
openTEPES/RTS-GMLC/oT_Dict_Area_RTS-GMLC.csv,sha256=VR1A8dGJ-9UcRtiyYaJwANd-7faXMtPggvkhNQ4RBf8,30
|
|
@@ -256,7 +256,7 @@ openTEPES/RTS-GMLC_6y/oT_Data_ReserveMargin_RTS-GMLC_6y.csv,sha256=XZa19ck8SpKqu
|
|
|
256
256
|
openTEPES/RTS-GMLC_6y/oT_Data_Scenario_RTS-GMLC_6y.csv,sha256=lS_3sX_OpRtgPp3_fnXtYyn6-PhehKqDlpHmoCq1_lY,107
|
|
257
257
|
openTEPES/RTS-GMLC_6y/oT_Data_Stage_RTS-GMLC_6y.csv,sha256=cRMZVFhN_r5iZ9Mpot1pms0BN3DqyaD073GJ7Omwbco,109
|
|
258
258
|
openTEPES/RTS-GMLC_6y/oT_Data_VariableEmissionCost_RTS-GMLC_6y.csv,sha256=TZB_4NU_utULtvgq-RGNviZukUjzvyjakn9sVH_-hRs,12582183
|
|
259
|
-
openTEPES/RTS-GMLC_6y/oT_Data_VariableFuelCost_RTS-GMLC_6y.csv,sha256=
|
|
259
|
+
openTEPES/RTS-GMLC_6y/oT_Data_VariableFuelCost_RTS-GMLC_6y.csv,sha256=TZB_4NU_utULtvgq-RGNviZukUjzvyjakn9sVH_-hRs,12582183
|
|
260
260
|
openTEPES/RTS-GMLC_6y/oT_Data_VariableMaxConsumption_RTS-GMLC_6y.csv,sha256=TZB_4NU_utULtvgq-RGNviZukUjzvyjakn9sVH_-hRs,12582183
|
|
261
261
|
openTEPES/RTS-GMLC_6y/oT_Data_VariableMaxEnergy_RTS-GMLC_6y.csv,sha256=TZB_4NU_utULtvgq-RGNviZukUjzvyjakn9sVH_-hRs,12582183
|
|
262
262
|
openTEPES/RTS-GMLC_6y/oT_Data_VariableMaxGeneration_RTS-GMLC_6y.csv,sha256=l-XhMyT4KTTfN7f_1KlZDqsX0PLQHahu2kbM13Cohn8,36205713
|
|
@@ -325,15 +325,15 @@ openTEPES/RTS24/oT_Dict_Storage_RTS24.csv,sha256=GbyzeENaCG-Yx67tdPsZhF1qUY-OVDK
|
|
|
325
325
|
openTEPES/RTS24/oT_Dict_Technology_RTS24.csv,sha256=swYCc0PuJMCXPCxQKLVk1EGYvMsns2ytUWXJSHO5BHI,126
|
|
326
326
|
openTEPES/RTS24/oT_Dict_ZoneToArea_RTS24.csv,sha256=t3iyShBHyb6t4ZKNAxpVOz8CH1mcWPMJHF_dKb33ick,130
|
|
327
327
|
openTEPES/RTS24/oT_Dict_Zone_RTS24.csv,sha256=9Za1irWadNb7RkpsLPQzlxzSwm17Xc7YjsIbs_xZReE,69
|
|
328
|
-
openTEPES/sSEP/oT_Data_DemandHydrogen_sSEP.csv,sha256=
|
|
328
|
+
openTEPES/sSEP/oT_Data_DemandHydrogen_sSEP.csv,sha256=M3Q3ebblmEYCkjyudVA7p3at-kLrA6EVBtM1oZoX72A,1439608
|
|
329
329
|
openTEPES/sSEP/oT_Data_Demand_sSEP.csv,sha256=tQ5GuzeOloH-KHyhiaNgUSmv22ZLegvCbyA-CgMjI7Y,1422002
|
|
330
330
|
openTEPES/sSEP/oT_Data_Duration_sSEP.csv,sha256=69YnUwZnWdm1euWHU6skau78eNYEteZiRLvXVdVKviw,349482
|
|
331
331
|
openTEPES/sSEP/oT_Data_Emission_sSEP.csv,sha256=HsblIOOt6wHebv0deb4bO7bzyeTMheq6X78thozUFjA,44
|
|
332
332
|
openTEPES/sSEP/oT_Data_EnergyInflows_sSEP.csv,sha256=ybFpVFejLlgcbrCc8ExcrdsP7cjFvLFI9hhVu6gBA3I,688816
|
|
333
333
|
openTEPES/sSEP/oT_Data_EnergyOutflows_sSEP.csv,sha256=GoKwVidj7HHsVpSC4G3e4sMcHuxWvtFv9KfiXw3H-Hw,673107
|
|
334
|
-
openTEPES/sSEP/oT_Data_Generation_sSEP.csv,sha256=
|
|
334
|
+
openTEPES/sSEP/oT_Data_Generation_sSEP.csv,sha256=bFZExPi9JbPZG229P8gAfXTGUgsDzlivkvU4ssEc6UY,5533
|
|
335
335
|
openTEPES/sSEP/oT_Data_HydroInflows_sSEP.csv,sha256=I1yH8jsFH_YkN_GMm3_5LH0dXfXIeuwWJ02-1_XFkZA,379470
|
|
336
|
-
openTEPES/sSEP/oT_Data_HydroOutflows_sSEP.csv,sha256=
|
|
336
|
+
openTEPES/sSEP/oT_Data_HydroOutflows_sSEP.csv,sha256=eMNGAfGKLjgkTveqDhXCCRMRPuC2n2G6iOQ7fxFNUX8,358302
|
|
337
337
|
openTEPES/sSEP/oT_Data_Inertia_sSEP.csv,sha256=LG0IZuFvUpioTai3VT6R_kh1JWgURt3iZUu-j6LURSA,305793
|
|
338
338
|
openTEPES/sSEP/oT_Data_NetworkHydrogen_sSEP.csv,sha256=0eTaluEszvhtku_Jwmee-a21VzHFfw6cgRY9VzrKovk,870
|
|
339
339
|
openTEPES/sSEP/oT_Data_Network_sSEP.csv,sha256=KkZ9c-dl-cHIFt0TEtU2vCAgOrJtFhH0jMFG03IbC98,2899
|
|
@@ -382,8 +382,8 @@ openTEPES/sSEP/oT_Dict_Storage_sSEP.csv,sha256=H2rJXZvoMuT-25sI2GpG8IuiNKD-dxuty
|
|
|
382
382
|
openTEPES/sSEP/oT_Dict_Technology_sSEP.csv,sha256=MCTpplzz7_eVPKQfOw35c86ib6CTtW6UK6JrbCJ8wls,170
|
|
383
383
|
openTEPES/sSEP/oT_Dict_ZoneToArea_sSEP.csv,sha256=AUDCs5Bg6sw9f2pVjGP1o4IJjXFF_VrokOGf_V3QsEI,24
|
|
384
384
|
openTEPES/sSEP/oT_Dict_Zone_sSEP.csv,sha256=TBud-fvbFbiAsuutxTYe8wWlv_x1P8oyWXILMpYiXJc,13
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
385
|
+
opentepes-4.18.6.dist-info/entry_points.txt,sha256=gNNPrDaTsRuRJXI1FLNgqMX1CiJ45bEp1dEDH7ZB8Oc,49
|
|
386
|
+
opentepes-4.18.6.dist-info/licenses/LICENSE,sha256=4O7bphXVzRuYavtsWzpLGuM3E-fp3HTRna7F4yIfnS4,35184
|
|
387
|
+
opentepes-4.18.6.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
388
|
+
opentepes-4.18.6.dist-info/METADATA,sha256=a4nqs6Nzm-_0yvnUoxa5KL3Kjt3HnmoV72bugaFNX20,19005
|
|
389
|
+
opentepes-4.18.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|