diff --git a/.github/workflows/Example.yml b/.github/workflows/Example.yml index aca5dfde..502b0e25 100644 --- a/.github/workflows/Example.yml +++ b/.github/workflows/Example.yml @@ -20,7 +20,7 @@ jobs: matrix: os: [windows-latest] # , ubuntu-latest] file-name: [growing_horizon_ME, modelica_conference_2021, simple_hybrid_CS, simple_hybrid_ME, mdpi_2022, juliacon_2023] - julia-version: ['1.9'] + julia-version: ['1.8'] julia-arch: [x64] experimental: [false] @@ -44,7 +44,7 @@ jobs: env: FILE: examples/src/${{ matrix.file-name }}.ipynb run: | - jupyter nbconvert --ExecutePreprocessor.kernel_name="julia-1.9" --to notebook --inplace --execute ${{ env.FILE }} + jupyter nbconvert --ExecutePreprocessor.kernel_name="julia-1.8" --to notebook --inplace --execute ${{ env.FILE }} jupyter nbconvert --to script ${{ env.FILE }} jupyter nbconvert --to markdown ${{ env.FILE }} diff --git a/docs/src/examples/overview.md b/docs/src/examples/overview.md index a0ce8c5d..05b45b5a 100644 --- a/docs/src/examples/overview.md +++ b/docs/src/examples/overview.md @@ -14,8 +14,7 @@ The examples show how to combine FMUs with machine learning ("NeuralFMU") and il ## Advanced examples: Demo applications - [__JuliaCon 2023: Using NeuralODEs in real life applications__](https://thummeto.github.io/FMIFlux.jl/dev/examples/juliacon_2023/): An example for a NeuralODE in a real world engineering scenario. -- [__MDPI 2022: Physics-enhanced NeuralODEs in real-world applications__](https://thummeto.github.io/FMIFlux.jl/dev/examples/mdpi_2022/): An example for a NeuralODE in a real world modeling scenario (Contribution in *MDPI Electronics 2022*). - [__Modelica Conference 2021: NeuralFMUs__](https://thummeto.github.io/FMIFlux.jl/dev/examples/modelica_conference_2021/): Showing basics on how to train a NeuralFMU (Contribution for the *Modelica Conference 2021*). ## Archived -- ... \ No newline at end of file +- [__MDPI 2022: Physics-enhanced NeuralODEs in real-world applications__](https://thummeto.github.io/FMIFlux.jl/dev/examples/mdpi_2022/): An example for a NeuralODE in a real world modeling scenario (Contribution in *MDPI Electronics 2022*). \ No newline at end of file diff --git a/examples/src/growing_horizon_ME.ipynb b/examples/src/growing_horizon_ME.ipynb index 2767448f..7894f510 100644 --- a/examples/src/growing_horizon_ME.ipynb +++ b/examples/src/growing_horizon_ME.ipynb @@ -15,7 +15,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": { "execution": { "iopub.execute_input": "2022-10-14T15:20:31.245000Z", @@ -81,7 +81,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": { "execution": { "iopub.execute_input": "2022-10-14T15:20:31.534000Z", @@ -676,13 +676,6 @@ }, { "cell_type": "markdown", - "metadata": { - "nteract": { - "transient": { - "deleting": false - } - } - }, "source": [ "Finally, the FMU is cleaned-up." ] @@ -734,18 +727,15 @@ "notebook_metadata_filter": "-all" }, "kernelspec": { - "display_name": "Julia 1.9.3", + "display_name": "Julia 1.8.5", "language": "julia", - "name": "julia-1.9" + "name": "julia-1.8" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.9.3" - }, - "nteract": { - "version": "0.28.0" + "version": "1.8.5" } }, "nbformat": 4, diff --git a/examples/src/juliacon_2023.ipynb b/examples/src/juliacon_2023.ipynb index 4a4d1519..35e7b4b7 100644 --- a/examples/src/juliacon_2023.ipynb +++ b/examples/src/juliacon_2023.ipynb @@ -971,15 +971,15 @@ ], "metadata": { "kernelspec": { - "display_name": "Julia 1.9.3", + "display_name": "Julia 1.8.5", "language": "julia", - "name": "julia-1.9" + "name": "julia-1.8" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.9.3" + "version": "1.8.5" }, "orig_nbformat": 4 }, diff --git a/examples/src/mdpi_2022.ipynb b/examples/src/mdpi_2022.ipynb index 614d914f..b85e3715 100644 --- a/examples/src/mdpi_2022.ipynb +++ b/examples/src/mdpi_2022.ipynb @@ -618,13 +618,6 @@ { "attachments": {}, "cell_type": "markdown", - "metadata": { - "nteract": { - "transient": { - "deleting": false - } - } - }, "source": [ "The batch loss (\"AVG\" and \"MAX\") is only updated every 5 steps, as defined in the scheduler. Every 25 steps, we plot the current batch element losses. Please note, that we only did around 100 training steps, so training has not converged for now. But we are curious and want to have a look on the intermediate results. \n", "\n", @@ -666,7 +659,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": null, "metadata": { "execution": { "iopub.execute_input": "2023-01-12T18:29:26.917Z", @@ -718,11 +711,6 @@ "jupyter": { "outputs_hidden": false, "source_hidden": false - }, - "nteract": { - "transient": { - "deleting": false - } } }, "outputs": [], @@ -756,18 +744,15 @@ "notebook_metadata_filter": "-all" }, "kernelspec": { - "display_name": "Julia 1.9.3", + "display_name": "Julia 1.8.5", "language": "julia", - "name": "julia-1.9" + "name": "julia-1.8" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.9.3" - }, - "nteract": { - "version": "0.28.0" + "version": "1.8.5" } }, "nbformat": 4, diff --git a/examples/src/modelica_conference_2021.ipynb b/examples/src/modelica_conference_2021.ipynb index b3a9362d..8e9446d3 100644 --- a/examples/src/modelica_conference_2021.ipynb +++ b/examples/src/modelica_conference_2021.ipynb @@ -979,13 +979,6 @@ }, { "cell_type": "markdown", - "metadata": { - "nteract": { - "transient": { - "deleting": false - } - } - }, "source": [ "Finally, the FMU is cleaned-up." ] @@ -1036,18 +1029,15 @@ "notebook_metadata_filter": "-all" }, "kernelspec": { - "display_name": "Julia 1.9.3", + "display_name": "Julia 1.8.5", "language": "julia", - "name": "julia-1.9" + "name": "julia-1.8" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.9.3" - }, - "nteract": { - "version": "0.28.0" + "version": "1.8.5" } }, "nbformat": 4, diff --git a/examples/src/simple_hybrid_CS.ipynb b/examples/src/simple_hybrid_CS.ipynb index 64cfe949..00a64956 100644 --- a/examples/src/simple_hybrid_CS.ipynb +++ b/examples/src/simple_hybrid_CS.ipynb @@ -574,13 +574,6 @@ }, { "cell_type": "markdown", - "metadata": { - "nteract": { - "transient": { - "deleting": false - } - } - }, "source": [ "Finally, the FMU is cleaned-up." ] @@ -632,18 +625,15 @@ "notebook_metadata_filter": "-all" }, "kernelspec": { - "display_name": "Julia 1.9.3", + "display_name": "Julia 1.8.5", "language": "julia", - "name": "julia-1.9" + "name": "julia-1.8" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.9.3" - }, - "nteract": { - "version": "0.28.0" + "version": "1.8.5" } }, "nbformat": 4, diff --git a/examples/src/simple_hybrid_ME.ipynb b/examples/src/simple_hybrid_ME.ipynb index 8f5eabf5..761df2ec 100644 --- a/examples/src/simple_hybrid_ME.ipynb +++ b/examples/src/simple_hybrid_ME.ipynb @@ -572,13 +572,6 @@ }, { "cell_type": "markdown", - "metadata": { - "nteract": { - "transient": { - "deleting": false - } - } - }, "source": [ "Finally, the FMU is cleaned-up." ] @@ -629,18 +622,15 @@ "notebook_metadata_filter": "-all" }, "kernelspec": { - "display_name": "Julia 1.9.3", + "display_name": "Julia 1.8.5", "language": "julia", - "name": "julia-1.9" + "name": "julia-1.8" }, "language_info": { "file_extension": ".jl", "mimetype": "application/julia", "name": "julia", - "version": "1.9.3" - }, - "nteract": { - "version": "0.28.0" + "version": "1.8.5" } }, "nbformat": 4,