Algorithm CodeThe algorithm code representation describes the mathematical model in a target and implementation-independent fashion. It describes the model as input/output, sampled data block with one fixed or variable sample time using the GALEC (Guarded Algorithmic Language for Embedded Control) language. The GALEC programming language is part of the eFMI standard and serves as an intermediate representation between the modeling and embedded programming domains.
The execution of the algorithm described by the GALEC code on an embedded target requires suitable production code (usually C or C++ code). Production CodeThe production code representation allows you to ship C code either as nearly target-independent generic code or as highly optimized target-specific code. The software production operation parses an eFMU component and detects if it contains an algorithm code. The operation then generates a new FMU with an equivalent production code in C format. eFMU Generators WorkflowThis diagram describes the tools used for transforming the eFMU code before
executing an eFMU model in a target environment. | |||||||