hexagon logo

Initialization commands in FMU and Matlab plant export

Hello I fully do not understand role of initialization commnad during export of control plant from Acar. Adm 711 says in lecture 6, that it is mandatory to define this as:
– The initialization command field uses the ‘file/command’ command to load the special _controls.acf file. This initializes the vehicle model and is essential for proper operation.
 
but here in this article:
 
 
they do not use initialization command.
 
My question is during FMI1 or FMI2 export from ACAR, are those Initialization Commands also mandatory using Control/Plant Export?
 
In this article the also do not use them:
 
 
Thanks
 
Jozef
Parents
  • Hi Jozef,
     
    I am quite certain that the FMU method does this for your automatically - you do not need to specify the ADAMS_init command. Here is another article about a new FMU export interface:
     
    You can see in this article that there is not even a way to specify the init command, so I'm quite certain that it does it automatically. If you change the .fmu to be .zip and then open the archive and look in the /resources directory you will see that the xxxx_controls.acf file gets automatically put into the fmu and is automatically called at the beginning of a full-vehicle event.
     
    HTH,
    Kent
     
Reply
  • Hi Jozef,
     
    I am quite certain that the FMU method does this for your automatically - you do not need to specify the ADAMS_init command. Here is another article about a new FMU export interface:
     
    You can see in this article that there is not even a way to specify the init command, so I'm quite certain that it does it automatically. If you change the .fmu to be .zip and then open the archive and look in the /resources directory you will see that the xxxx_controls.acf file gets automatically put into the fmu and is automatically called at the beginning of a full-vehicle event.
     
    HTH,
    Kent
     
Children
No Data