On this page
System Structure and Parametrization (SSP) is a tool-independent standard used to define complete systems consisting of one or more Functional Mock-up Units (FMUs). The FMUs generated by various third-party suppliers can be exported from the modeling tool. The exported SSP file can then be imported to various simulation tools (such as Dymola), enhancing the interoperability. For systems without FMUs, SSP can still be used to export the internal system structure, providing a standardized way to share and reuse system architectures. SSP export works only on instances.
System structure in the SysML and Modelica.
Exporting the SSP file from the modeling tool
To export the SSP file
- In the Containment tree, right-click the instance, and select the Export to SSP command.
- In the Select Destination Directory, select the location to save the SSP file.
Importing and Simulating the SSP file in the Dymola
To import the SSP file in Dymola
- Click File>Open>Import SSP.
- In the Import SSP dialog, select the imported SSP file.
- In the Save package FMUControl_FMUTank as Modelica File dialog, save the Modelica file.
- Select the FMUControl_FMUTank model in the tree.
- In the Simulation pane, specify the Stop time for the simulation, and click Simulate in the Simulation tab..
The compiler must be set up for the simulation to work. To learn more about setting up the compiler, refer to Help Documents in the Tool tab of the Dymola application.
- Select the required variables from the simulation results in the Variables Browser. The graph for the selected variables is available in the simulation pane.
Exporting the CSV file from the Dymola
To export the CSV file from Dymola
- In the Variable Browser, right-click the required results and select Export Result>All.
- In the Export Result-All dialog, select the location to export the CSV file.
This exported CSV file can be loaded into the Results Player to display numerical values from a CSV file directly in composite structure diagrams.
Sample model
The model used in the figures is the WaterTankFMI.mdzip sample, bundled with the modeling tool.
To open the sample
- Find the sample in the modeling tool <install_root>\samples\simulation\fmi\WaterTankFMI.mdzip