Skip to content

Commit

Permalink
update paper
Browse files Browse the repository at this point in the history
  • Loading branch information
markaren committed Dec 2, 2024
1 parent 5898ebe commit d348998
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions doc/paper/paper.bib
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ @inproceedings{junghanns2021functional
@misc{reference_fmus,
author = {{Modelica Association}},
title = {Reference FMUs},
year = {2024},
year = {2023},
url = {https://github.com/modelica/Reference-FMUs},
note = {Accessed: 2024-12-02},
abstract = {A collection of reference Functional Mock-up Units (FMUs) for testing and validation of FMI tools and implementations.}
Expand All @@ -36,7 +36,7 @@ @misc{reference_fmus
@misc{fmu4j,
author = {Hatledal, Lars Ivar},
title = {FMU4j - A JVM framework for creating FMUs},
year = {2024},
year = {2021},
url = {https://github.com/Ecos-platform/FMU4j},
note = {Accessed: 2024-12-02},
abstract = {FMU4j is a software package for the JVM that enables export of models compatible with FMI 2.0 for Co-simulation.}
Expand All @@ -45,7 +45,7 @@ @misc{fmu4j
@misc{cppfmu,
author = {Viproma},
title = {cppfmu - A C++ library for FMU development},
year = {2024},
year = {2017},
url = {https://github.com/viproma/cppfmu},
note = {Accessed: 2024-12-02},
abstract = {cppfmu is a C++ library designed to simplify the creation of Functional Mock-up Units (FMUs) for the FMI standard.}
Expand All @@ -62,7 +62,7 @@ @inproceedings{hatledal2020enabling
@misc{javafmi,
author = {Siani},
title = {JavaFMI - A Java library for working with FMUs},
year = {2024},
year = {2015},
url = {https://bitbucket.org/siani/javafmi/wiki/Home},
note = {Accessed: 2024-12-02},
abstract = {JavaFMI is a library that enables loading, interacting with, and simulating Functional Mock-up Units (FMUs) using Java.}
Expand All @@ -78,8 +78,8 @@ @inproceedings{legaard2021universal

@misc{FMPy,
title = {FMPy - A Python library to simulate Functional Mock-up Units (FMUs)},
author = {CATIA Systems},
year = {2024},
author = {{CATIA Systems}},
year = {2017},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/CATIA-Systems/FMPy}},
Expand Down
16 changes: 8 additions & 8 deletions doc/paper/paper.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
title: 'FMU4cpp: A GitHub template repository for creating Functional Mockup Units in C++'
tags:
- FMI
- FMI 2.0
- FMU
- Functional Mockup Interface
- Simulation and Modelling
- CMake
- GitHub Actions
Expand Down Expand Up @@ -42,6 +40,11 @@ on an Ubuntu and Windows runner.
The resulting shared libraries are then joined into a final archive which can be directly downloaded and
imported into a simulation tool.

\autoref{fig:bb} demonstrates simulation of a simple *BouncingBall* model generated with FMU4cpp within the Python simulation library FMPy [@FMPy].
Similarly, the generated FMU can be imported into any of the many available simulation tools compatible with FMI 2.0 for Co-simulation.

![Bouncing ball model created with FMU4cpp simulated with FMPy.\label{fig:bb}](figures/bouncing_ball.png)


# Statement of need

Expand All @@ -66,16 +69,13 @@ Thus, FMU4cpp provides a significant usability improvement over these alternativ
1. Provides a simplified API to implement.
2. Generates the required XML metadata.
3. Verifies the FMU against the standard.
4. Cross-compiles the shared library
5. Packages the FMU
4. Cross-compiles the shared library.
5. Packages the FMU.

A framework like FMU4cpp is useful for generating both simple and more complex models that does not fit with the restrictions
of a specialized modelling tools. Targeting C++ is also useful compared to similar solutions for Python and Java,
as a runtime is not necessarily required to invoke the model, increasing portability.

Figure \autoref{fig:bb} demonstrates simulation of a simple *BouncingBall* model generated with FMU4cpp within the Python simulation library FMPy [@FMPy].

![Bouncing ball model created with FMU4cpp simulated with FMPy.\label{fig:bb}](figures/bouncing_ball.png)

# Future of FMU4cpp

Expand Down

0 comments on commit d348998

Please sign in to comment.