Skip to content

Commit

Permalink
-fix grid utils
Browse files Browse the repository at this point in the history
-add tutorial 7 to the documentation
-fix levels in tutorial
  • Loading branch information
nick-harder committed Mar 20, 2024
1 parent 5b8ffe3 commit 3b729e0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assume/common/grid_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def add_generators(
names=generators.index,
bus=generators["node"], # bus to which the generator is connected to
p_nom=generators["max_power"], # Nominal capacity of the powerplant/generator
**generators,
**gen_c,
)


Expand Down
1 change: 1 addition & 0 deletions docs/source/examples/07_interoperability_example.nblink
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"path": "../../../examples/notebooks/07_interoperability.ipynb"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: ASSUME Developers

SPDX-License-Identifier: AGPL-3.0-or-later
1 change: 1 addition & 0 deletions docs/source/examples_basic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ Here you can find several tutorials on how to use ASSUME framework to get you st
examples/04_reinforcement_learning_example.nblink
examples/05_market_comparison.nblink
examples/06_advanced_orders_example.nblink
examples/07_interoperability_example.nblink
6 changes: 3 additions & 3 deletions examples/notebooks/07_interoperability.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# 1. Scenario from CLI"
"## 1. Scenario from CLI"
]
},
{
Expand Down Expand Up @@ -242,7 +242,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# 3. Load AMIRIS scenario\n",
"## 3. Load AMIRIS scenario\n",
"\n",
"First we need to download the examples repository from amiris"
]
Expand Down Expand Up @@ -307,7 +307,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# 4. Load PyPSA scenario"
"## 4. Load PyPSA scenario"
]
},
{
Expand Down

0 comments on commit 3b729e0

Please sign in to comment.