Module fmipp.simplifyModelDescription

simplifyFMU(fmuFileName)

Simplify an FMU by removing all scalar variables whose causality is not defined as either input or output from its XML model description. Also remove type definitions that are not related to input or output types.

Parameters

fmuFileName (str) – path to FMU file

Note

Attention: The changes applied to the FMU are permanent.

simplifyModelDescription(xmlModelDescription)

Simplify an FMU’s XML model description by removing all scalar variables whose causality is not defined as either input or output. Also remove type definitions that are not related to input or output types.

Parameters

xmlModelDescription (str) – FMU model description (XML format)