Creating an FMU from Surrogates
In Design Manager, you generate the surrogates using a sweep design study, and then export them to Functional Mockup Units (FMUs).
Pre-requisite: Before running a sweep study, set up the reference simulation as instructed in Setting Up the Reference Simulation.
-
To create a Sweep design study, right-click on the
Design Studies node and select
New.
The default Study Type for any new design study is Sweep.
Surrogates can be computed from any study type except CAD Robustness study type.
-
For each input quantity required by the FMU, add an input parameter in the design
study. For details, see Setting Up a Design Study.
You are advised to add and set the input parameters one by one according to the numbered order of the input variables expected by the external software application. The FMU model can fail to run in the external application if the order of parameters differs from what the external application expects.
-
For each output quantity required by the FMU, add a corresponding response in the
design study. For details, see Setting Up a Design Study.
Make sure that the order in which you add the responses matches the numbered order expected by the external application.
-
For each of the responses, create a corresponding surrogate:
-
To run the design study, right-click the Run Study.
node and select
Note The surrogate computation is done at the end of the study run. -
To export the computed surrogates in a FMU file, right-click
Surrogates node and select Export to
FMU....
For more details regarding FMU export, refer to Export to FMU....