FMU and Code Generation Clause Samples
FMU and Code Generation. The generation of Functional Mockup Units (FMUs) and compilable source code is nec- ▇▇▇▇▇▇ before any simulation may take place in the INTO-CPS tool chain. Figure 16 presents the elements surrounding the FMU export activity, these are the simulation models, model check models and test cases from which FMUs can be generated and the tools used to generate them. The output is the FMU itself. The creation of an FMU to support Hardware in the loop (HiL) simulation differs slightly in that instead of being generated from an simulation or model check model it will take a model description file as its input, Figure 17. Associated with this activity is a software agent that actually configures and compiles the FMU to permit communication with the hardware asset. The activity of code generation is shown in Figure 18, where its inputs are simulation and model check models and its output is some form of source code. The files associated with code generation are presented in Figure 19. Figure 17: BDD showing FMU generation to allow HiL simulation Figure 18: BDD Showing the activity of code generation Figure 19: BDD showing the files associated with code generation
