File tree Expand file tree Collapse file tree 7 files changed +46
-1171
lines changed
Expand file tree Collapse file tree 7 files changed +46
-1171
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ uv add ispypsa
2828
2929## Quick Start
3030
31- 1 . Download the [ example config] ( docs/downloads/ ispypsa_config.yaml) and edit paths for your environment
31+ 1 . Download the [ example config] ( ispypsa_config.yaml ) and edit paths for your environment
32322 . Run:
3333
3434``` bash
Original file line number Diff line number Diff line change @@ -56,9 +56,9 @@ Python script.
5656
5757::: ispypsa.pypsa_build.build_pypsa_network
5858
59- ::: ispypsa.pypas_build .update_network_timeseries
59+ ::: ispypsa.pypsa_build .update_network_timeseries
6060
61- ::: ispypsa.pypas_build .save_pypsa_network
61+ ::: ispypsa.pypsa_build .save_pypsa_network
6262
6363## Tabular Results Extraction
6464
Original file line number Diff line number Diff line change @@ -69,22 +69,21 @@ pip install or a python package manager can install ISPyPSA
6969 # ===== Path configuration =============================================================
7070
7171 paths:
72+ # The run directory where all inputs and outputs will be stored
73+ run_directory: "ispypsa_runs"
74+
7275 # The name of the ISPyPSA model run
7376 # This name is used to select the output folder within `ispypsa_runs`
7477 ispypsa_run_name: example_model_run
7578
76- # Base directory where trace data will be downloaded
77- # The download task will create isp_2024 subdirectory automatically
79+ # The path to the folder containing parsed demand, wind and solar traces.
7880 parsed_traces_directory: "data/trace_data"
7981
80- # Path where the ISP Excel workbook will be downloaded
82+ # The path to the ISP workbook Excel file
8183 workbook_path: "data/2024-isp-inputs-and-assumptions-workbook.xlsx"
8284
8385 # The path to the workbook table cache directory
8486 parsed_workbook_cache: "data/workbook_table_cache"
85-
86- # The run directory where all inputs and outputs will be stored
87- run_directory: "ispypsa_runs"
8887 ```
8988
9089!!! Important "Relative paths"
Original file line number Diff line number Diff line change 11# ===== Paths ==========================================================================
22
33paths :
4- # The path to the folder containing parsed demand, wind and solar traces.
5- # If set to ENV the path will be retrieved from the environment variable
6- # "PATH_TO_PARSED_TRACES"
7- parsed_traces_directory : ENV
8-
9- # The path to the ISP workbook Excel file
10- workbook_path : " ../isp-workbook-parser/workbooks/6.0/2024-isp-inputs-and-assumptions-workbook.xlsx"
11-
12- # The path to the workbook table cache directory
13- parsed_workbook_cache : " ispypsa_runs/workbook_table_cache"
14-
154 # The run directory where all inputs and outputs will be stored
165 run_directory : " ispypsa_runs"
176
187 # The name of the ISPyPSA model run
198 # This name is used to select the output folder within `ispypsa_runs`
20- ispypsa_run_name : overnight_build_nsw_2050
9+ ispypsa_run_name : example_model_run
10+
11+ # The path to the folder containing parsed demand, wind and solar traces.
12+ parsed_traces_directory : " data/trace_data"
13+
14+ # The path to the ISP workbook Excel file
15+ workbook_path : " data/2024-isp-inputs-and-assumptions-workbook.xlsx"
16+
17+ # The path to the workbook table cache directory
18+ parsed_workbook_cache : " data/workbook_table_cache"
2119
2220
2321# ===== Trace Data =====================================================================
Original file line number Diff line number Diff line change 11[project ]
22name = " ISPyPSA"
3- version = " 0.1.0beta1 "
3+ version = " 0.1.1beta1 "
44description = " An open-source capacity expansion model based on the methodology and datasets used by the Australian Energy Market Operator (AEMO) in their Integrated System Plan (ISP)."
55authors = [
66 { name = " prakaa" , email = " abiprakash007@gmail.com" },
@@ -26,7 +26,7 @@ dependencies = [
2626 " mkdocs-material>=9.6.18" ,
2727]
2828readme = " README.md"
29- requires-python = " >= 3.10"
29+ requires-python = " >=3.10,<3.13 "
3030
3131[project .scripts ]
3232ispypsa = " ispypsa.cli.cli:main"
Original file line number Diff line number Diff line change 4747
4848config_path = get_var ("config" , None )
4949
50+ DOIT_CONFIG = {
51+ "default_tasks" : [
52+ "cache_required_iasr_workbook_tables" ,
53+ "create_ispypsa_inputs" ,
54+ "create_pypsa_friendly_inputs" ,
55+ "create_and_run_capacity_expansion_model" ,
56+ "create_and_run_operational_model" ,
57+ ]
58+ }
59+
5060if config_path :
5161 config = load_config (Path (config_path ))
5262
5363 run_dir = Path (config .paths .run_directory ) / config .paths .ispypsa_run_name
5464 run_dir .mkdir (parents = True , exist_ok = True )
55- DOIT_CONFIG = {"dep_file" : run_dir / "doit.db" }
65+ DOIT_CONFIG . update ( {"dep_file" : run_dir / "doit.db" })
5666
5767else :
5868 config = None
You can’t perform that action at this time.
0 commit comments