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:

image.png

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

image.png

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:

    image.png

    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:

    image.png

    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:

    image.png

    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:

    image.png

    Hope this helps!

    Adam Reid

  • Carlos Fondevila
    Carlos Fondevila Altair Community Member

    Thanks Adam!

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.