Skip to content

Commit 338af99

Browse files
authored
Merge pull request #726 from PyPSA/develop
`v0.8.0` Release Candidate
2 parents 105edcb + 6baf8d3 commit 338af99

File tree

79 files changed

+4191
-1391
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+4191
-1391
lines changed

.pre-commit-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
autoupdate_branch: develop
1+
autoupdate_branch: develop

.pre-commit-config.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ repos:
1212
args: ['--maxkb=10000']
1313

1414
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
15-
rev: v2.15.0
15+
rev: v2.16.0
1616
hooks:
1717
- id: pretty-format-yaml
1818
args: [--autofix, --indent, "2", --preserve-quotes]
1919

2020
- repo: https://github.com/asottile/add-trailing-comma
21-
rev: v3.2.0
21+
rev: v4.0.0
2222
hooks:
2323
- id: add-trailing-comma
2424

2525
- repo: https://github.com/asottile/pyupgrade
26-
rev: v3.20.0
26+
rev: v3.21.2
2727
hooks:
2828
- id: pyupgrade
2929
args: [--py39-plus]
@@ -35,17 +35,19 @@ repos:
3535
exclude: examples/solve-on-remote.ipynb
3636

3737
- repo: https://github.com/snakemake/snakefmt
38-
rev: v0.11.0
38+
rev: v0.11.3
3939
hooks:
4040
- id: snakefmt
4141

4242
- repo: https://github.com/keewis/blackdoc
43-
rev: v0.4.1
43+
rev: v0.4.6
4444
hooks:
4545
- id: blackdoc
46+
# additional_dependencies:
47+
# - black==23.12.1
4648

4749
- repo: https://github.com/astral-sh/ruff-pre-commit
48-
rev: v0.12.9 # Check for the latest version
50+
rev: v0.15.0 # Check for the latest version
4951
hooks:
5052
- id: ruff
5153
args: ["--config=pyproject.toml", "--fix"]
94.2 KB
Loading

docs/source/_static/pypsa-usa.drawio

Lines changed: 70 additions & 80 deletions
Large diffs are not rendered by default.
82.7 KB
Loading
74.9 KB
Loading

docs/source/about-introduction.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ PyPSA-USA is an open-source tool that enables you to model and simulate the Unit
55

66
PyPSA-USA offers a versatile toolkit that allows you to customize the **data** for your energy system model with ease. Through a simple configuration file, you can control the spatial, temporal, and operational resolution of your model. Access a range of cleaned and prepared historical and forecasted data to build a model tailored to your needs.
77

8+
PyPSA-USA builds on and leverages the work of [PyPSA-EUR](https://pypsa-eur.readthedocs.io/en/latest/index.html) developed by TU Berlin. PyPSA-USA is actively developed by the [INES Research Group](https://ines.stanford.edu) at [Stanford University](https://www.stanford.edu/) and the [ΔE+ Research Group](https://www.sfu.ca/see/research/delta-e.html) at [Simon Fraser University](https://www.sfu.ca/).
9+
10+
```{note}
11+
This model is under active development. If you need assistance or would like to discuss using the model, please reach out to **ktehranchi@stanford.edu** and **trevor_barnes@sfu.ca**
12+
```
13+
14+
## Power Sector
15+
816
Whether you’re focusing on **ERCOT, WECC, or the Eastern Interconnection**, PyPSA-USA gives you the flexibility to:
917
- Choose between multiple transmission networks.
1018
- Cluster the nodal network a user-defined number of nodes, respecting county lines, balancing areas, states, NERC region boundaries.
@@ -14,14 +22,22 @@ Whether you’re focusing on **ERCOT, WECC, or the Eastern Interconnection**, Py
1422

1523
You can create and export data models for use in your own optimization models via CSV tables or xarray netCDF formats.
1624

17-
PyPSA-USA also provides an interface for running capacity expansion planning and operational simulation models with the Python for Power System Analysis (pypsa) package. You can run expansion planning exercises which integrate regional and national policy constraints like RPS standards, emissions standards, PRMs, and more.
25+
PyPSA-USA also provides an interface for running capacity expansion planning and operational simulation models with the Python for Power System Analysis (pypsa) package. You can run expansion planning exercises which integrate regional and national policy constraints like RPS standards, emissions standards, ERMs, and more.
26+
27+
## Sector Coupling
1828

19-
PyPSA-USA builds on and leverages the work of [PyPSA-EUR](https://pypsa-eur.readthedocs.io/en/latest/index.html) developed by TU Berlin. It is actively developed by the [INES Research Group](https://ines.stanford.edu) at Stanford University and the [ΔE+ Research Group](https://www.sfu.ca/see/research/delta-e.html) at Simon Fraser University. We welcome contributions and collaborations from the community- please don't hesitate to reach out!
29+
Sector coupling studies build on the power sector to represent different aspects of the energy system. PyPSA-USA allows you to:
30+
- Model end-use technology options by sector (residential, commercial, transportation, industrial)
31+
- Include multiple end-use fuels (heating, cooling, ect.)
32+
- Study the natrual gas sector at a state level
33+
- Evaluate different electrification policies across different sectors
34+
35+
Additionally, data from the NREL EFS, EIA Annual Energy Outlook, EIA consumption surveys, amoung other sources, are automatically pulled into PyPSA-USA limit/enforce production and capacity requirements accross different sectors.
2036

2137
(workflow)=
2238
## Workflow
2339

24-
The diagram below illustrates the workflow of PyPSA-USA, highlighting how the data flows through the model scripts.
40+
The diagram below illustrates the power sector workflow of PyPSA-USA, highlighting how the data flows through the model scripts.
2541

2642
![pypsa-usa workflow](https://github.com/PyPSA/pypsa-usa/blob/master/workflow/repo_data/dag.jpg?raw=true)
2743

@@ -62,8 +78,3 @@ PyPSA-USA is organized to facilitate easy navigation and efficient execution. Be
6278
| │ └── example_data.csv
6379
| └── Snakefile
6480
```
65-
66-
67-
```{warning}
68-
**This model is under active development. If you need assistance or would like to discuss using the model, please reach out to ktehranchi@stanford.edu and trevor_barnes@sfu.ca.**
69-
```

docs/source/changelog.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"sphinx.ext.mathjax",
3232
"sphinx.ext.napoleon",
3333
"sphinx.ext.graphviz",
34-
# "sphinxcontrib.bibtex",
34+
"sphinxcontrib.bibtex",
3535
# 'sphinx.ext.pngmath',
3636
# 'sphinxcontrib.tikz',
3737
# 'rinoh.frontend.sphinx',
@@ -43,6 +43,8 @@
4343
templates_path = ["_templates"]
4444
exclude_patterns = []
4545

46+
bibtex_bibfiles = ["publications.bib"]
47+
bibtex_default_style = "unsrt"
4648

4749
# -- Options for HTML output -------------------------------------------------
4850
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

docs/source/config-configuration.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ Specifies the types of generators that are included in the network, which are ex
9393
:file: configtables/electricity.csv
9494
```
9595

96-
```{note}
97-
See [here](./config-co2-base.md) for information on interconnect level base emission values.
98-
```
99-
10096
(renewable_cf)=
10197
## `renewable`
10298

@@ -228,6 +224,7 @@ For a sector-based model:
228224
:header-rows: 1
229225
:widths: 22,7,22,33
230226
:file: configtables/dac.csv
227+
```
231228

232229
(costs_cf)=
233230
## `costs`

0 commit comments

Comments
 (0)