Skip to content

Commit

Permalink
Merge branch 'main' into flow_demand
Browse files Browse the repository at this point in the history
  • Loading branch information
SouthEndMusic committed Mar 18, 2024
2 parents 6b0d585 + 7c60841 commit 3184d73
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docs/python/examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import pandas as pd\n",
"import ribasim\n",
"from ribasim import Model, Node\n",
"from ribasim import Allocation, Model, Node\n",
"from ribasim.nodes import (\n",
" basin,\n",
" discrete_control,\n",
Expand Down Expand Up @@ -1238,7 +1237,7 @@
"metadata": {},
"outputs": [],
"source": [
"model.allocation = ribasim.Allocation(use_allocation=True, timestep=86400)"
"model.allocation = Allocation(use_allocation=True, timestep=86400)"
]
},
{
Expand Down Expand Up @@ -1413,7 +1412,7 @@
"metadata": {},
"outputs": [],
"source": [
"model = ribasim.Model(\n",
"model = Model(\n",
" starttime=\"2020-01-01\",\n",
" endtime=\"2020-02-01\",\n",
")"
Expand Down Expand Up @@ -1541,7 +1540,7 @@
"metadata": {},
"outputs": [],
"source": [
"model.allocation = ribasim.Allocation(use_allocation=True, timestep=1e5)"
"model.allocation = Allocation(use_allocation=True, timestep=1e5)"
]
},
{
Expand Down Expand Up @@ -1697,7 +1696,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.8"
"version": "3.12.2"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 3184d73

Please sign in to comment.