Skip to content

Commit

Permalink
Merge pull request #200 from dos-group/examples_update
Browse files Browse the repository at this point in the history
Examples Update
  • Loading branch information
marvin-steinke committed Apr 22, 2024
2 parents c5bfaff + 2ec195f commit e7fe48e
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/building-and-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

# Install dependencies needed for notebook execution
- name: Install notebook dependencies
run: pip install jupyter nbconvert
run: pip install jupyter nbconvert matplotlib

# Execute example notebooks to verify that no errors are thrown
- name: Run Jupyter Notebooks
Expand Down
69 changes: 46 additions & 23 deletions examples/basic_example.ipynb

Large diffs are not rendered by default.

99 changes: 71 additions & 28 deletions examples/controller_example.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/sil_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"metadata": {},
"outputs": [],
"source": [
"environment = Environment(sim_start=\"15-06-2022\")\n",
"environment = Environment(sim_start=\"2022-06-09 00:00:00\")\n",
"\n",
"monitor = Monitor() # stores simulation result on each step\n",
"sil_controller = SilController( # executes software-in-the-loop controller\n",
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ sphinx-copybutton = "*"
nbsphinx = "*"
pandoc = "*"
ipython = "*"
matplotlib = "*"

[build-system]
requires = ["setuptools", "poetry-core>=1.1.0"]
Expand Down

0 comments on commit e7fe48e

Please sign in to comment.