Skip to content

Commit

Permalink
Fix notebook facade usage
Browse files Browse the repository at this point in the history
  • Loading branch information
simnh committed Jun 18, 2019
1 parent 1e6807f commit ff0df50
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions docs/tutorials/facade-usage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@
" capacity=100,\n",
" marginal_cost=25,\n",
" output_parameters={\n",
" 'min': 0.1,\n",
" 'max': 0.9,\n",
" 'summed_min': 1000,\n",
" 'summed_max': 2000}\n",
" )\n",
Expand Down Expand Up @@ -195,6 +193,22 @@
")\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Add the subnodes of the Reservoir to energy system (hopefully soon obsolete). When reading from datapackage resource this is not necessary as the datapackage reader takes care of this."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"es.add(*es.groups['rsv'].subnodes)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit ff0df50

Please sign in to comment.