This sample demonstrates testing an FMU. A sample FMU is provided.
Click here to download the project: https://github.com/DanlawMxTeam/Samples/raw/master/FMI.rar
Applies to: •MxSuite 3.41.16 or later Other Requirements: •The user should have an understanding of MxSuite Scenarios, TestCases, and Transforms. |
This sample includes the following: •An FMU file: Engine1b.fmu •One Scenario: EngineProfile.mxs •One TestCase: Startup.mxc
|
To run the sample: 1.Download the sample to the MxSuiteSample folder. 2.Unzip the FMI.rar file. 3.Select File->Open->Project, then browse to the MxSuiteSamples folder. 4.Select the FMI folder and open the Engine.mxp project. 5.Open the EngineProfile Scenario. 6.Click The Startup TestCase compares actual outputs from the Engine 1b FMU to expected outputs.
This Scenario and TestCase are designed to pass. You can use the Initialization Parameters dialog to examine and change parameters. Use the Selected Signals dialog to add or remove ports. |