Building a time-varying input for the pi controller

reza hakimi_20486
reza hakimi_20486 Altair Community Member
edited August 2023 in Community Q&A

Hello
For the pi controller shown in the figure, I am going to make the following entry so that it has the ability to create code, I did this with c block, but there was a problem in creating the code.
  What solution do you suggest for this problem?

Tagged:

Answers

  • Albert_Dunford
    Albert_Dunford
    Altair Employee
    edited August 2023

    You can use the lookup table, for the time input. If you integrate "1" you will get time in seconds. example attached.

    image