Skip to content

Commit

Permalink
✨ feat(tutorials): Clean up & make consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 committed Jan 14, 2025
1 parent ccf12ac commit 16bc1e5
Show file tree
Hide file tree
Showing 3 changed files with 778 additions and 159 deletions.
20 changes: 6 additions & 14 deletions tutorial/transport/0_transport-tutorial_platform-setup.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"\n",
"This tutorial consists of three Jupyter notebooks:\n",
"\n",
"0. Set up an **ixmp4.Platform** to store the scenario input data and solution\n",
"0. Set up an `ixmp4.Platform` to store the scenario input data and solution\n",
"1. Implement the **baseline version of the transport problem** and solve it\n",
"2. Create an **alternative scenario** and solve it "
]
Expand Down Expand Up @@ -83,7 +83,7 @@
"id": "b6209e20-9979-4f3b-b6b7-fe37a1c09366",
"metadata": {},
"source": [
"## Defining units in the platform and database\n",
"## Defining units in the `Platform` and database\n",
"\n",
"The **ixmp4** package requires that units are defined explicitly before adding data using them.\n",
"\n",
Expand All @@ -92,7 +92,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "9be63ed0-aca6-44e3-a6c6-d8fdf8ec2549",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -154,7 +154,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 5,
"id": "6c1a395d-6c8a-489c-9aa8-39d24895ca51",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -195,19 +195,11 @@
"The prompt will ask whether you also want to delete the SQLite database file from your computer, \n",
"answer `y` for a complete deletion."
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9395354e-2a0a-45f1-b819-34af7d925805",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": ".venv",
"language": "python",
"name": "python3"
},
Expand All @@ -221,7 +213,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.12.3"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 16bc1e5

Please sign in to comment.