Skip to content

Commit

Permalink
build based on a8b9778
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Sep 18, 2024
1 parent dc5504c commit e786b04
Show file tree
Hide file tree
Showing 54 changed files with 1,596 additions and 1,604 deletions.
2 changes: 1 addition & 1 deletion dev/.documenter-siteinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-18T09:38:25","documenter_version":"1.7.0"}}
{"documenter":{"julia_version":"1.10.5","generation_timestamp":"2024-09-18T11:12:34","documenter_version":"1.7.0"}}
2 changes: 1 addition & 1 deletion dev/contents/index.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dev/examples/juliacon_2023/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@
Var. naming conv.: structured
Event indicators: 28
Inputs: 0
Outputs: 0
States: 6


Outputs: 0
States: 6
33554432 ["driver.accelerationPedalController.PI.x"]
33554433 ["driver.brakePedalController.PI.x"]
33554434 ["drivingCycle.s"]
Expand Down Expand Up @@ -551,4 +551,4 @@
#using DistributedHyperOpt.Distributed

# ... and uncomment the following line
#end # NODE_Training </code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../simple_hybrid_ME/">« Simple ME-NeuralFMU</a><a class="docs-footer-nextpage" href="../modelica_conference_2021/">Modelica Conference 2021 »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 18 September 2024 09:38">Wednesday 18 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
#end # NODE_Training </code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../simple_hybrid_ME/">« Simple ME-NeuralFMU</a><a class="docs-footer-nextpage" href="../modelica_conference_2021/">Modelica Conference 2021 »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 18 September 2024 11:12">Wednesday 18 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
74 changes: 37 additions & 37 deletions dev/examples/juliacon_2023_files/juliacon_2023_11_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 33 additions & 33 deletions dev/examples/juliacon_2023_files/juliacon_2023_13_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
158 changes: 79 additions & 79 deletions dev/examples/juliacon_2023_files/juliacon_2023_25_1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
72 changes: 36 additions & 36 deletions dev/examples/juliacon_2023_files/juliacon_2023_29_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 38 additions & 38 deletions dev/examples/juliacon_2023_files/juliacon_2023_31_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 40 additions & 40 deletions dev/examples/juliacon_2023_files/juliacon_2023_35_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 40 additions & 40 deletions dev/examples/juliacon_2023_files/juliacon_2023_45_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
80 changes: 40 additions & 40 deletions dev/examples/juliacon_2023_files/juliacon_2023_58_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 41 additions & 41 deletions dev/examples/juliacon_2023_files/juliacon_2023_60_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
78 changes: 39 additions & 39 deletions dev/examples/juliacon_2023_files/juliacon_2023_62_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
82 changes: 41 additions & 41 deletions dev/examples/juliacon_2023_files/juliacon_2023_64_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 37 additions & 37 deletions dev/examples/juliacon_2023_files/juliacon_2023_66_0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 9 additions & 11 deletions dev/examples/modelica_conference_2021/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@
Inputs: 0
Outputs: 0
States: 2


33554432 [&quot;mass.s&quot;]
33554433 [&quot;mass.v&quot;, &quot;mass.v_relfric&quot;]
Parameters: 12
Expand Down Expand Up @@ -90,7 +88,7 @@
velReal = getValue(realSimData, &quot;mass.v&quot;)
plot(realSimData)</code></pre><pre><code class="nohighlight hljs">Simulating ME-FMU ... 0%|█ | ETA: N/A

[34mSimulating ME-FMU ... 100%|██████████████████████████████| Time: 0:00:16[39m</code></pre><h4 id="Define-functions"><a class="docs-heading-anchor" href="#Define-functions">Define functions</a><a id="Define-functions-1"></a><a class="docs-heading-anchor-permalink" href="#Define-functions" title="Permalink"></a></h4><p>Also, a function to extract the position and velocity from the simulation data is created.</p><pre><code class="language-julia hljs">function extractPosVel(simData)
[34mSimulating ME-FMU ... 100%|██████████████████████████████| Time: 0:00:15[39m</code></pre><h4 id="Define-functions"><a class="docs-heading-anchor" href="#Define-functions">Define functions</a><a id="Define-functions-1"></a><a class="docs-heading-anchor-permalink" href="#Define-functions" title="Permalink"></a></h4><p>Also, a function to extract the position and velocity from the simulation data is created.</p><pre><code class="language-julia hljs">function extractPosVel(simData)
if simData.states === nothing
posData = getValue(simData, &quot;mass.s&quot;)
velData = getValue(simData, &quot;mass.v&quot;)
Expand Down Expand Up @@ -406,9 +404,9 @@
┌ Info:  Loss [501]: 0.2292
│  Avg displacement in data: 0.47875
└  Weight/Scale: 0.763209453810433 Bias/Offset: 0.20972727851143513
[ Info: Run: 1/2 Epoch: 2/5


[ Info: Run: 1/2 Epoch: 2/5
┌ Info:  Loss [551]: 0.15297
│  Avg displacement in data: 0.39111
└  Weight/Scale: 0.7716294020933754 Bias/Offset: 0.21500804696457382
Expand Down Expand Up @@ -508,9 +506,9 @@
┌ Info:  Loss [1501]: 0.01176
│  Avg displacement in data: 0.10843
└  Weight/Scale: 0.7521206937747862 Bias/Offset: 0.1989686681528405
[ Info: Run: 1/2 Epoch: 4/5


[ Info: Run: 1/2 Epoch: 4/5
┌ Info:  Loss [1551]: 0.01135
│  Avg displacement in data: 0.10653
└  Weight/Scale: 0.7506097264801087 Bias/Offset: 0.19789621918008185
Expand Down Expand Up @@ -559,9 +557,9 @@
┌ Info:  Loss [2001]: 0.00899
│  Avg displacement in data: 0.09481
└  Weight/Scale: 0.7379782021500545 Bias/Offset: 0.18645999496249335
[ Info: Run: 1/2 Epoch: 5/5


[ Info: Run: 1/2 Epoch: 5/5
┌ Info:  Loss [2051]: 0.00847
│  Avg displacement in data: 0.09201
└  Weight/Scale: 0.7365607177262747 Bias/Offset: 0.18511411682205303
Expand Down Expand Up @@ -612,7 +610,7 @@
└  Weight/Scale: 0.7438872351944437 Bias/Offset: 0.19014429963747764


96.876908 seconds (1.32 G allocations: 59.333 GiB, 8.89% gc time, 0.09% compilation time)
97.913890 seconds (1.32 G allocations: 59.333 GiB, 9.39% gc time, 0.08% compilation time)



Expand Down Expand Up @@ -699,9 +697,9 @@
┌ Info:  Loss [3001]: 0.00218
│  Avg displacement in data: 0.04673
└  Weight/Scale: 0.7438315491972639 Bias/Offset: 0.19698127821198744
[ Info: Run: 2/2 Epoch: 2/5


[ Info: Run: 2/2 Epoch: 2/5
┌ Info:  Loss [3051]: 0.0021
│  Avg displacement in data: 0.04584
└  Weight/Scale: 0.7438199538351697 Bias/Offset: 0.19793962190968858
Expand Down Expand Up @@ -750,9 +748,9 @@
┌ Info:  Loss [3501]: 0.00136
│  Avg displacement in data: 0.03688
└  Weight/Scale: 0.7441695114493807 Bias/Offset: 0.20665220126400813
[ Info: Run: 2/2 Epoch: 3/5


[ Info: Run: 2/2 Epoch: 3/5
┌ Info:  Loss [3551]: 0.0013
│  Avg displacement in data: 0.03608
└  Weight/Scale: 0.7442249966603137 Bias/Offset: 0.20760125403750768
Expand Down Expand Up @@ -905,7 +903,7 @@
└  Weight/Scale: 0.7366671763752564 Bias/Offset: 0.22303477489954107


86.059591 seconds (1.19 G allocations: 53.583 GiB, 8.47% gc time)
87.087247 seconds (1.19 G allocations: 53.583 GiB, 8.76% gc time)



Expand All @@ -930,4 +928,4 @@

[ Info: Friction model 1 mse: 16.30873694544497
[ Info: Friction model 2 mse: 18.472186845588634</code></pre><p>Finally, the FMUs are cleaned-up.</p><pre><code class="language-julia hljs">unloadFMU(simpleFMU)
unloadFMU(realFMU)</code></pre><h3 id="Summary"><a class="docs-heading-anchor" href="#Summary">Summary</a><a id="Summary-1"></a><a class="docs-heading-anchor-permalink" href="#Summary" title="Permalink"></a></h3><p>Based on the plots, it can be seen that the curves of the <em>realFMU</em> and the <em>neuralFMU</em> are very close. The <em>neuralFMU</em> is able to learn the friction and displacement model.</p><h3 id="Source"><a class="docs-heading-anchor" href="#Source">Source</a><a id="Source-1"></a><a class="docs-heading-anchor-permalink" href="#Source" title="Permalink"></a></h3><p>[1] Tobias Thummerer, Lars Mikelsons and Josef Kircher. 2021. <strong>NeuralFMU: towards structural integration of FMUs into neural networks.</strong> Martin Sjölund, Lena Buffoni, Adrian Pop and Lennart Ochel (Ed.). Proceedings of 14th Modelica Conference 2021, Linköping, Sweden, September 20-24, 2021. Linköping University Electronic Press, Linköping (Linköping Electronic Conference Proceedings ; 181), 297-306. <a href="https://doi.org/10.3384/ecp21181297">DOI: 10.3384/ecp21181297</a></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../juliacon_2023/">« JuliaCon 2023</a><a class="docs-footer-nextpage" href="../workshops/">Pluto Workshops »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 18 September 2024 09:38">Wednesday 18 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
unloadFMU(realFMU)</code></pre><h3 id="Summary"><a class="docs-heading-anchor" href="#Summary">Summary</a><a id="Summary-1"></a><a class="docs-heading-anchor-permalink" href="#Summary" title="Permalink"></a></h3><p>Based on the plots, it can be seen that the curves of the <em>realFMU</em> and the <em>neuralFMU</em> are very close. The <em>neuralFMU</em> is able to learn the friction and displacement model.</p><h3 id="Source"><a class="docs-heading-anchor" href="#Source">Source</a><a id="Source-1"></a><a class="docs-heading-anchor-permalink" href="#Source" title="Permalink"></a></h3><p>[1] Tobias Thummerer, Lars Mikelsons and Josef Kircher. 2021. <strong>NeuralFMU: towards structural integration of FMUs into neural networks.</strong> Martin Sjölund, Lena Buffoni, Adrian Pop and Lennart Ochel (Ed.). Proceedings of 14th Modelica Conference 2021, Linköping, Sweden, September 20-24, 2021. Linköping University Electronic Press, Linköping (Linköping Electronic Conference Proceedings ; 181), 297-306. <a href="https://doi.org/10.3384/ecp21181297">DOI: 10.3384/ecp21181297</a></p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../juliacon_2023/">« JuliaCon 2023</a><a class="docs-footer-nextpage" href="../workshops/">Pluto Workshops »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="auto">Automatic (OS)</option><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option><option value="catppuccin-latte">catppuccin-latte</option><option value="catppuccin-frappe">catppuccin-frappe</option><option value="catppuccin-macchiato">catppuccin-macchiato</option><option value="catppuccin-mocha">catppuccin-mocha</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> version 1.7.0 on <span class="colophon-date" title="Wednesday 18 September 2024 11:12">Wednesday 18 September 2024</span>. Using Julia version 1.10.5.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Loading

0 comments on commit e786b04

Please sign in to comment.