Having trouble in Altair Activate Simulation

Abdul Muizz Jamal
Abdul Muizz Jamal Altair Community Member
edited April 2021 in Community Q&A

I am having an issue in running simulation on Activate with the help of CSV file from Atair Compose.

The generated figure from compose looks like this. 

Shield like image.

image

But when I simulate it in Activate, I don't get this image but something else comes.

like this

image

I have changed the file path too in 'Model' but the issue is still there.

 

Please please help!!

 

 

 

 

 

 

 

 

Answers

  • Rahul_P1
    Rahul_P1
    Altair Employee
    edited April 2021

    Please make sure you follow the below tips and steps. especially steps 3 and 4

    1. The path should be given in [mm] and within +-160mm for X and +-125mm for Y. You can check the path easily by changing the Block 'Reference Trajectory':image
    2. the 'Gain' of 0 ensures that the plant (ball) will not follow the path input, an easy way to speed up checks (I recommend to select the linear plant with PID controller as well and remove the 'real time scaling' in the simulation parameters to get results in "warp speed".)
    3. The plot shows the problem for the selected path.... scaling and offset is required:

    image

    You still might see issues when you select the 'observer' as controller. The reason can be the setting of the 'initial state':

     image

            4.Either you give the whole system more time to settle (the observer will adjust itself) or you define a better value for x0_est right from the beginning:

    image

    The current model pulls the initial position for the observer directly from the .csv file and later modifications are not considered. The easiest (but not most flexible) way is to replicate the modification.

  • Rahul_P1
    Rahul_P1
    Altair Employee
    edited April 2021
  • Abdul Muizz Jamal
    Abdul Muizz Jamal Altair Community Member
    edited April 2021

    Please make sure you follow the below tips and steps. especially steps 3 and 4

    1. The path should be given in [mm] and within +-160mm for X and +-125mm for Y. You can check the path easily by changing the Block 'Reference Trajectory':image
    2. the 'Gain' of 0 ensures that the plant (ball) will not follow the path input, an easy way to speed up checks (I recommend to select the linear plant with PID controller as well and remove the 'real time scaling' in the simulation parameters to get results in "warp speed".)
    3. The plot shows the problem for the selected path.... scaling and offset is required:

    image

    You still might see issues when you select the 'observer' as controller. The reason can be the setting of the 'initial state':

     image

            4.Either you give the whole system more time to settle (the observer will adjust itself) or you define a better value for x0_est right from the beginning:

    image

    The current model pulls the initial position for the observer directly from the .csv file and later modifications are not considered. The easiest (but not most flexible) way is to replicate the modification.

    The images you have attached above aren't visible. Please help!

  • Rahul_P1
    Rahul_P1
    Altair Employee
    edited April 2021

    The images you have attached above aren't visible. Please help!

    The images and the tips are attached as a pdf here.

  • Abdul Muizz Jamal
    Abdul Muizz Jamal Altair Community Member
    edited April 2021

    For how much time does a License file is valid? How I'll know that my license file is valid on the submission day?

    2) What are the SOPs while submitting the file as a team?

  • Rahul_P1
    Rahul_P1
    Altair Employee
    edited April 2021

    For how much time does a License file is valid? How I'll know that my license file is valid on the submission day?

    2) What are the SOPs while submitting the file as a team?

    The license file is valid for a year, you can open the license file in a text editor (like notepad) to see the expiry date.

    You need to attach the license files of all your team members along with the files mentioned in the upload section here - https://altairuniversity.com/contest/