Page History
...
Warning | ||
---|---|---|
| ||
Before simulating FMU files, you must make sure the following conditions are met:
|
To co-simulate FMU blocksBlocks
...
- Drag FMU files into a Block Definition diagram of the SysML project. The FMU files will be presented as «block» and «fmu» stereotypes along with ports. You may create associations (aggregations) with the main system block to make the FMU files become part properties.
- If there is only one FMU file to simulate, proceed to Step 3. Otherwise, you will have to create an Internal Block diagram for the main system block to automatically include part properties in the diagram. Select the Flow Port context menu to show flow ports of those properties and create connections as needed.
...
3. Create a Simulation Configuration diagram and specify start time, end time, and either step size or number of steps in the properties of the Simulation Configuration. Add with a SimulationConfig to specify startTime, stepSize, and endTime (optional) in the properties. You can add a Time series chart and specify represents and specify values of FMUs value of the FMU represented as user interfaces. You can also include CSVExport to to store the results.
4. Run the Simulation Configuration and see the results in the Time series chart and Variables pane, as well as the resulting Excel file from CSVExport.
...