Skip to content

Commit

Permalink
Added nbsphinx to rtd requirements and made changes to simple example…
Browse files Browse the repository at this point in the history
… notebook
  • Loading branch information
maike93he committed Sep 28, 2022
1 parent 69f1d3c commit b0a433b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions examples/edisgo_simple_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Reinforcement is invoked by calling `edisgo.reinforce()`. To make this example faster we will only conduct grid reinforcement for the MV and MV-LV stations, which is defined by the parameter `mode`. To conduct reinforcement for all voltage levels (MV, MV-LV and LV) set parameter `mode` to None.\n",
"Reinforcement is invoked by calling `edisgo.reinforce()`. \n",
"With the parameter `without_generator_import` it can be specified if costs arising from connecting new generators to the grid should be included in the calculation of grid reinforcement costs or not."
]
},
Expand All @@ -657,7 +657,7 @@
"outputs": [],
"source": [
"# Do grid reinforcement\n",
"edisgo.reinforce(mode=\"mvlv\", without_generator_import=True)"
"edisgo.reinforce(without_generator_import=True)"
]
},
{
Expand Down Expand Up @@ -830,6 +830,13 @@
"edisgo_ego100.set_time_series_worst_case_analysis()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"To make this example faster we will only conduct grid reinforcement for the MV and MV-LV stations, which is defined by the parameter `mode`. To conduct reinforcement for all voltage levels (MV, MV-LV and LV) set parameter `mode` to None."
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down
1 change: 1 addition & 0 deletions rtd_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ docutils == 0.16.0
sphinx >= 4.3.0, < 5.1.0
sphinx_rtd_theme >=0.5.2
sphinx-autodoc-typehints
nbsphinx

0 comments on commit b0a433b

Please sign in to comment.