Skip to content

Commit

Permalink
V0.10.4 (#92)
Browse files Browse the repository at this point in the history
* minor fix in scheduler

* minor fix scheduler

* minor scheduler fix

* scheduler fix

* minor fix scheduler

* changed dispatch for batch loss

* scheduler...

* intermediate save

* intermediate tutorial

* modified action

* minor adjustments

* tutorial 1st

* minor mod
  • Loading branch information
ThummeTo authored Jul 24, 2023
1 parent 53c23a4 commit f8f26eb
Show file tree
Hide file tree
Showing 20 changed files with 1,962 additions and 223 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest] # , ubuntu-latest]
file-name: [advanced_hybrid_ME, modelica_conference_2021, simple_hybrid_CS, simple_hybrid_ME, mdpi_2022]
julia-version: ['1.8'] # 1.7
file-name: [advanced_hybrid_ME, modelica_conference_2021, simple_hybrid_CS, simple_hybrid_ME, mdpi_2022, juliacon_2023]
julia-version: ['1.9']
julia-arch: [x64]
experimental: [false]

Expand Down
12 changes: 6 additions & 6 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
name = "FMIFlux"
uuid = "fabad875-0d53-4e47-9446-963b74cae21f"
version = "0.10.3"
version = "0.10.4"

[deps]
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
DifferentiableEigen = "73a20539-4e65-4dcb-a56d-dc20f210a01b"
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
FMIImport = "9fcbc62e-52a0-44e9-a616-1359a0008194"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
SciMLSensitivity = "1ed8b502-d754-442c-8d5d-10ac956f44a1"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
ThreadPools = "b189fb0b-2eb5-4ed4-bc0c-d34c51242431"

[compat]
ChainRulesCore = "1.16.0"
Colors = "0.12.8"
DiffEqCallbacks = "2.26.0"
DifferentialEquations = "7.7.0"
FMIImport = "0.15.6"
Flux = "0.13.16"
DifferentiableEigen = "0.2.0"
DifferentialEquations = "7.8.0"
FMIImport = "0.15.7"
Flux = "0.13.17"
Optim = "1.7.0"
ProgressMeter = "1.7.0"
Requires = "1.3.0"
SciMLSensitivity = "7.31.0"
ThreadPools = "2.1.1"
julia = "1.6"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 6 additions & 5 deletions docs/src/examples/overview.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# Examples - Overview

This section discusses the included examples of the FMIFlux.jl library. So you can execute them on your machine and get detailed information about all of the steps.
This section discusses the included examples of the FMIFlux.jl library. You can execute them on your machine and get detailed information about all of the steps.
If you require further information about the function calls, see [library functions](https://thummeto.github.io/FMIFlux.jl/dev/library/) section.
For more information related to the setup and simulation of an FMU see [FMI.jl library](https://thummeto.github.io/FMI.jl/dev/).

The examples are primarily intended for users who work in the field of first principle and/or data driven modeling and are further interested in hybrid model building.
The examples show how to combine FMUs with machine learning and illustrates the advantages of this approach.
The examples are intended for users who work in the field of first principle and/or data driven modeling and are further interested in hybrid model building.
The examples show how to combine FMUs with machine learning ("NeuralFMU") and illustrates the advantages of this approach.

## Examples
- [__Simple CS-NeuralFMU__](https://thummeto.github.io/FMIFlux.jl/dev/examples/simple_hybrid_CS/): Showing how to train a NeuralFMU in Co-Simulation-Mode.
- [__Simple ME-NeuralFMU__](https://thummeto.github.io/FMIFlux.jl/dev/examples/simple_hybrid_ME/): Showing how to train a NeuralFMU in Model-Excahnge-Mode.
- [__Advanced ME-NeuralFMU__](https://thummeto.github.io/FMIFlux.jl/dev/examples/advanced_hybrid_ME/): Advanced training techniques for a ME-NeuralFMU.

## Advanced examples: Demo applications
- [__Modelica Conference 2021__](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*).
- [__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*).
- [__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*).
3 changes: 2 additions & 1 deletion examples/src/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.jld2
params/
*.png
Loading

2 comments on commit f8f26eb

@ThummeTo
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/88184

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.10.4 -m "<description of version>" f8f26eb0791a7ec0bf2aba70f29824229672a10f
git push origin v0.10.4

Please sign in to comment.