I am trying to write a program on Aspen Hysys. Hysys has a script manager to write scripts using Visual Basics for Applications syntax. Having no background in VBA, I'd like some help to:

  1. Import the current value of a controller's output signal (OP).
  2. Compare it with it's previous value (in a dynamic simulation).

Any help would be appreciated!

  • 1
    $\begingroup$ maybe you should ask this in stackoverflow.com $\endgroup$ – Jem Eripol Oct 30 '17 at 0:11
  • $\begingroup$ you should probably look on programming specific sites rather than engineering. stackoverflow is a good place to start, and the documentation for any software packages you are using (Aspen Hysys). $\endgroup$ – L Selter Oct 30 '17 at 16:07
  • 1
    $\begingroup$ Oh alright! Thanks for the advice! I'll check stackoverflow and I'll search for more documentation even though it is sparsely available. -OP $\endgroup$ – Rafi Oct 30 '17 at 20:25
  • $\begingroup$ Seriously to stack overflow? You know HYSYS uses its variables on its own accord right? First you need to identify the name of the variable on HYSYS language, then do the handling and then use script manager to specify the value. It isn't easy but StackOverflow does not know the answer $\endgroup$ – Media Aug 9 '19 at 20:37