Use a result formula as input for a block

Carlos Fondevila
Carlos Fondevila Altair Community Member

Hi all,

I want to use the result of the next formula:

As the imput of a Sawtooth block, specifically the period parameter:

It's possible?

Tagged:

Best Answer

  • GTT Adam
    GTT Adam
    Altair Employee
    Answer ✓

    Hi @Carlos Fondevila,

    One way of designing this would be with the help of the Diagram variables:

    In the Diagram window, create the variables for c1, c2, and p. Then they can be used within the constant block and sawtooth block as needed:

    Hope this helps!

    Adam Reid

Answers

  • GTT Adam
    GTT Adam
    Altair Employee
    Answer ✓

    Hi @Carlos Fondevila,

    One way of designing this would be with the help of the Diagram variables:

    In the Diagram window, create the variables for c1, c2, and p. Then they can be used within the constant block and sawtooth block as needed:

    Hope this helps!

    Adam Reid

  • Carlos Fondevila
    Carlos Fondevila Altair Community Member

    Thanks Adam!