How to optimize a Activate file in Hyper study?

Mohammad Ehsan Abdollhai
Mohammad Ehsan Abdollhai Altair Community Member
edited November 2020 in Community Q&A

Hi, 

I need to optimize a activate model in the hyper study but I don't find any way to implement activate in the hyper study software. Does anyone have any solution for that?

The activate model is block-based and I need to connect it to flux software in the hyper study for optimization.

Thanks in advance for your help:)

Best Answer

  • Gildas_GUILLY
    Gildas_GUILLY
    Altair Employee
    edited November 2020 Answer ✓

    Hello Mohammad,
    It is actually pretty simple.
    1 - First you need to register Activate as a new solver in HyperStudy : Edit > Register solver Script.
    2 - Create a new solver, pointing to the Activate_batch.bat file you will find in your activate installation
    3 - In the field "user argument", enter "-f", then click OK to finilize registration of Activate as wa new solver.

    Then you can use your Activate model (scm) file as a parameterized file as for any kind of solver.
    I would recommand you use the context option in Activate to define variables.
    This way you can find all your variables for HyperStudy at the same place in your csm file.

    Gildas

Answers

  • Gildas_GUILLY
    Gildas_GUILLY
    Altair Employee
    edited November 2020 Answer ✓

    Hello Mohammad,
    It is actually pretty simple.
    1 - First you need to register Activate as a new solver in HyperStudy : Edit > Register solver Script.
    2 - Create a new solver, pointing to the Activate_batch.bat file you will find in your activate installation
    3 - In the field "user argument", enter "-f", then click OK to finilize registration of Activate as wa new solver.

    Then you can use your Activate model (scm) file as a parameterized file as for any kind of solver.
    I would recommand you use the context option in Activate to define variables.
    This way you can find all your variables for HyperStudy at the same place in your csm file.

    Gildas

  • Mohammad Ehsan Abdollhai
    Mohammad Ehsan Abdollhai Altair Community Member
    edited November 2020

    Hello Mohammad,
    It is actually pretty simple.
    1 - First you need to register Activate as a new solver in HyperStudy : Edit > Register solver Script.
    2 - Create a new solver, pointing to the Activate_batch.bat file you will find in your activate installation
    3 - In the field "user argument", enter "-f", then click OK to finilize registration of Activate as wa new solver.

    Then you can use your Activate model (scm) file as a parameterized file as for any kind of solver.
    I would recommand you use the context option in Activate to define variables.
    This way you can find all your variables for HyperStudy at the same place in your csm file.

    Gildas

    Hi Gildas, 

    Thank you that works. Just out of curiosity do you use .csv file for your output or you find a direct way for that?

    Thanks in advance.

  • Gildas_GUILLY
    Gildas_GUILLY
    Altair Employee
    edited November 2020

    Hi Gildas, 

    Thank you that works. Just out of curiosity do you use .csv file for your output or you find a direct way for that?

    Thanks in advance.

    Mohammad,
    Yes using an ascii output file is the way to go.
    Gildas