Step III (In RecurDyn)

 

Step to identify plant inputs

The input of interest is the translational force is applied to the piston body.

 

1.  Click the Plant_Input icon of the Control group in the Communicator tab. The Plant Input List dialog box appears as shown in Figure 1.

 

Figure 1  Plant Input List dialog box

 

2.  Add a plant input as the name of the actuator.

3.  Add an expression function as a following figure.

 

Figure 2  Expression dialog box

 

4.  Open the dialog box of Translational force by double clicking Translational1 in the Database window. And then input the expression function defined in the upper step.

 

Figure 3  Translational force dialog box

 

Step to identify plant outputs

The output of interest is the displacement and velocity between the piston and the cylinder body. This distance is in the X direction.

 

1.  Click the Plant_Output icon of the Control group in the Communicator tab. The Plant Output List dialog box appears as shown in Figure 1. For more information, click here.

 

Figure 1  Plant Output dialog box

 

2.  Add plant outputs as expression functions. At this dialog, the defined expression functions are as following figures.

 

Figure 2  Expression dialog box

 

Step to set interface information

1.  Save the RecurDyn model in the normal fashion.

2.  Click the FMI icon of the Control group in the Communicator tab. The FMI dialog box appears. For more information, click here.

 

Figure 1  Amesim dialog box [RecurDyn Host]

 

3.  Select a type as Import

4.  Select a Interface Version as 2.0.

5.  Select a Model File (the FMU file).

6.  Click OK to save interface information.