Characteristics of eFMU Algorithm Code to Component Generator

This topic describes the characteristics of the operation that generates production code from an eFMU with algorithm code.

This page discusses:

See Also
About eFMU Algorithm Code to Component Generator
Data Management for eFMU Algorithm Code to Component Generator

Properties

This table describes the properties of the operation:

Characteristics Values
Name eFMU Algorithmic To Production Code Generator
Nature Component generation
Description This operation generates an eFMU with a ProductionCode container containing C code
Scan description Scan function lists algorithm codes which are contained in an eFMU
Supported files Files with the .efmu extension or folder with __content.xml file
Input objects eFMU file or folder
Return codes

0 : OK - Normal ending

-1 : Unexpected internal exception

0 : OK - Normal ending

-1 : Unexpected internal exception

2 : Reading manifest error

3 : Generation errorNo extra return code.

Feature Generation - 100 credits per algorithm code

Parameters

This section describes the parameters, which can be used when invoking this operation.

Table 1. outputAsEfmu
Attributes Values
Name outputAsEfmu
Description Output Production Code as .efmu file

Possible values are "true", "false"

If true, an eFMU file is generated else an eFMU folder

Type boolean
Values [Default] false
Multiplicity 0...1
Table 2. prodCodeName
Attributes Values
Name prodCodeName
Description Define the generated ProductionCode container name
Type String
Values [Default] -
Multiplicity 0..1
Table 3. floatPrec
Attributes Values
Name floatPrec
Description Float precision in bits for variables of the model

Value can be 32 or 64

Type enum
Values [Default] 64
Multiplicity 0..1
Table 4. interfaceName
Attributes Values
Name interfaceName
Description Optional parameter specifying the name of the interface.
Type String
Values [Default] eFMU algorithm code name
Multiplicity 0..1