You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/structure.rst
+45-21Lines changed: 45 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,37 +11,61 @@ Structure of the repository
11
11
12
12
This repository has the following structure:
13
13
14
-
- **inputs**: input data in format .csvor .xlsx
14
+
- **inputs**: input data in format .csv, .xlsx or .parquet
15
15
16
16
- **outputs**: technology data saved as ``costs_{year}.csv`` format for defined years. In the output ``costs_{year}.csv`` are specified
17
17
18
-
* technology (e.g. 'onwind')
19
-
* parameter (e.g. FOM)
20
-
* value (e.g. 1.18)
21
-
* unit (e.g. %/year)
22
-
* source (e.g. DEA, excel_file_name.xlsx)
23
-
* further description (specific assumptions, sheet name if data from a multi-sheet Excel file)
18
+
* technology (e.g. 'onwind')
19
+
* parameter (e.g. FOM)
20
+
* value (e.g. 1.18)
21
+
* unit (e.g. %/year)
22
+
* source (e.g. DEA, excel_file_name.xlsx)
23
+
* further description (specific assumptions, sheet name if data from a multi-sheet Excel file)
24
+
* currency_year (year used for adjusting economic values to reflect current purchasing power)
25
+
26
+
- **outputs/US**: US-specific technology data saved as ``US/costs_{year}.csv`` format for defined years. In the outputs ``US/costs_{year}.csv`` are specified
27
+
28
+
* technology (e.g. 'onwind')
29
+
* parameter (e.g. FOM)
30
+
* value (e.g. 1.18)
31
+
* unit (e.g. %/year)
32
+
* source (e.g. DEA, excel_file_name.xlsx)
33
+
* further description (specific assumptions, sheet name if data from a multi-sheet Excel file)
34
+
* currency_year (year used for adjusting economic values to reflect current purchasing power)
35
+
* financial_case (financial assumptions for the definition of the cost of capital)
36
+
* scenario (technology innovation scenario)
24
37
25
38
- **config**:
26
39
27
40
.. literalinclude:: ../config.yaml
28
41
:language: yaml
29
-
:lines: 4-24
30
-
31
-
the following parameters can be set in the ``config.yaml``
32
-
33
-
* years : numpy array of all the years of which an output costs csv should be created
* :mod:`compile_cost_assumptions.py` converts input data from multiple sources to ``cost_{year}.csv`` for chosen year. Interpolates data for missing years or calculates the costs at a certain year based on the inflation rate. Technology data from the `Danish Energy Agency <https://github.com/PyPSA/technology-data>`_ are preferred. If data are missing from all sources, these are taken from the old PyPSA cost assumptions (with a printed warning).
43
-
* :mod:`convert_pdf_fraunhofer_to_dataframe.py` converts table from Fraunhofer ISE report in pdf to csv format for input data. Script can be modified to convert other .pdf sources to .csv format
44
-
* :mod:`retrieve_data_from_dea.py` downloads up-to-date technology data from DEA website and saves it in the **input** folder. Optional, also retrieves the documentation of the data into the folder **docu**
65
+
* :mod:`compile_cost_assumptions.py` converts input data from multiple sources to ``cost_{year}.csv`` for chosen year. Interpolates data for missing years or calculates the costs at a certain year based on the inflation rate. Technology data from the `Danish Energy Agency <https://github.com/PyPSA/technology-data>`_ are preferred. If data are missing from all sources, these are taken from the old PyPSA cost assumptions (with a printed warning).
66
+
* :mod:`compile_cost_assumptions_usa.py` converts input data from NREL/ATB to ``US/cost_{year}.csv`` for chosen year. It starts from the cost assumptions files produced by `compile_cost_assumptions.py`. All technology-parameter pairs present in the NREL/ATB input data are updated. Those not present in NREL/ATB are left untouched.
67
+
* :mod:`convert_pdf_fraunhofer_to_dataframe.py` converts table from Fraunhofer ISE report in pdf to csv format for input data. Script can be modified to convert other .pdf sources to .csv format
68
+
* :mod:`retrieve_data_from_dea.py` downloads up-to-date technology data from DEA website and saves it in the **input** folder. Optional, also retrieves the documentation of the data into the folder **docu**
45
69
46
70
- **docu**: reports, paper, additional information about the input data, format .pdf
0 commit comments