HYSYS Visual Basic
HYSYS Visual Basic
(OP)
Guys,
has someone worked with the setting of user variables in HYSYS ? I do not have any info on how to work with HYSYS VB language and its objects. Can you advise me, please, where can I get such info?
thanks,
Joisy
has someone worked with the setting of user variables in HYSYS ? I do not have any info on how to work with HYSYS VB language and its objects. Can you advise me, please, where can I get such info?
thanks,
Joisy





RE: HYSYS Visual Basic
there is help in hysys itself for user variables and how to set them. I just typed the name user variables in hysys help and there is information on it and how to set them. I am using HYSYS 2.4..
Prashant
RE: HYSYS Visual Basic
To set up some internal macros in HYSYS, which will change the flow ratio of the splitter in accordance with some variable (this var is to be calculated after the execution of a particular stream)
thanks,
Joisy
RE: HYSYS Visual Basic
Thank you.
RE: HYSYS Visual Basic
thanks,
Joisy
Hi joisy,
You can use the adjuster inthe hysys to do it. Now i guess that your problem is how to setup the variable which is not directly in the list of hysys variables e.g. ratio of some variables or something like that. For that hysys has got spreadsheets. You can import the varibels of your interest and make another variable from it using usual way of using spreadsheets. You can name this new variable whatever you want and then use it.
In you case, you have to adjust the spli ratio using some stream variable.
If that stream variable is readily available in the list of stream variable then its fine. USe adjust directly.
IF that variable is combination of some variables then use spreadsheet in the HYSYS to make new variable and then adjuster.
Hope this will give some proper direction to you.
Regards
Prashant
RE: HYSYS Visual Basic
Hi joisy,
You can use the adjuster inthe hysys to do it. Now i guess that your problem is how to setup the variable which is not directly in the list of hysys variables e.g. ratio of some variables or something like that. For that hysys has got spreadsheets. You can import the varibels of your interest and make another variable from it using usual way of using spreadsheets. You can name this new variable whatever you want and then use it.
In you case, you have to adjust the spli ratio using some stream variable.
If that stream variable is readily available in the list of stream variable then its fine. USe adjust directly.
IF that variable is combination of some variables then use spreadsheet in the HYSYS to make new variable and then adjuster.
Hope this will give some proper direction to you.
Regards
Prashant