packageStringParameters
Connection of one FMU with a source, and the FMU has a String parameter holding a file name and a file is read into the FMU
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Information
The following issues are checked with this test model:
- Support for String parameters, so it is possible to set a parameter of type String for an FMU instance. In the test model, a file name must be defined.
- Support for reading data from a file. The difficult part is that the file to be read must be identified when exporting the FMU and this file has to be stored inside the FMU, and when importing the FMU, this file has to be read during importing or during initialization.
Contents
| Name | Description |
|---|---|
| Reference solution in pure Modelica using exactly the same structuring as in Model WithFMUs | |
| Solution with FMUs | |
| For all models in this package an FMU must be generated |