When running BertottiIronLossesVsSlipAclm macro, getting error "list.index(x): x not in list"

Riyas S
Riyas S Altair Community Member
edited January 2023 in Community Q&A

Loaded this macro

image

When running it, getting message

image

Advanced error

image

Am I supposed to declare something or include any files to rectify this error?

Tagged:

Best Answer

  • Karun Avula
    Karun Avula
    Altair Employee
    edited January 2023 Answer ✓
    Riyas S said:

    Hi team,

    Thanks for your reply

    I actually used 'Slip' parameter in my scenario but now checked the scenario was partially solved.

    Now its working properly

    Thanks again

    Hi Riyas,

     

    Thanks for feedback on Bertotti macro usage.

    "TIME" is the default quantity that is available when we solve the model in transient Magnetic application. And it can be used in definition of source. While defining the scenario we can choose the lower and higher limits of "TIME" parameter to solve the model. (Solve the model by control of time instead of control by mechanical set in the scenario).

     

    Thanks

    Karun

Answers

  • Karun Avula
    Karun Avula
    Altair Employee
    edited January 2023

    Hi Riyas,

     

    Thank you for contacting us.

    The problem comes from choosing the Scenario while running the macro. The scenario should have the "slip" parameter defined by Multi values of upper and lower limits.

    Please check the scenario chosen while running the macro.

     

    Thanks 

    Karun

     

  • Riyas S
    Riyas S Altair Community Member
    edited January 2023

    Hi team,

    Thanks for your reply

    I actually used 'Slip' parameter in my scenario but now checked the scenario was partially solved.

    Now its working properly

    Thanks again

  • Karun Avula
    Karun Avula
    Altair Employee
    edited January 2023 Answer ✓
    Riyas S said:

    Hi team,

    Thanks for your reply

    I actually used 'Slip' parameter in my scenario but now checked the scenario was partially solved.

    Now its working properly

    Thanks again

    Hi Riyas,

     

    Thanks for feedback on Bertotti macro usage.

    "TIME" is the default quantity that is available when we solve the model in transient Magnetic application. And it can be used in definition of source. While defining the scenario we can choose the lower and higher limits of "TIME" parameter to solve the model. (Solve the model by control of time instead of control by mechanical set in the scenario).

     

    Thanks

    Karun

  • Riyas S
    Riyas S Altair Community Member
    edited January 2023

    Hi Riyas,

     

    Thanks for feedback on Bertotti macro usage.

    "TIME" is the default quantity that is available when we solve the model in transient Magnetic application. And it can be used in definition of source. While defining the scenario we can choose the lower and higher limits of "TIME" parameter to solve the model. (Solve the model by control of time instead of control by mechanical set in the scenario).

     

    Thanks

    Karun

    Sure, thanks for your explanation