×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

HYSYS Visual Basic

HYSYS Visual Basic

HYSYS Visual Basic

(OP)
Guys,

maybe deviated from the subject of this forum... but

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

HYSYS support/training?

Best regards

Morten

RE: HYSYS Visual Basic

If all you want to do is communicate between Excel and HYSYS, then go to the Hyprotech website and download the HYSYS browser. It adds several funtions to Excel that allows you to get and set values in a HSYSY case. It also has a form that allows you to choose the objects and properties.

--Mike--

RE: HYSYS Visual Basic

(OP)
I do need to set up some internal macros in HYSYS, which will change the flowrate in accordance with some variable (this var is to be calculated after the execution of a particular stream)

thanks,
Joisy

RE: HYSYS Visual Basic

The documentation of the HYSYS VB is a little awkward and spread out. Your best option (that is how I worked with it) is to look in the HYSYS knowledge base (www.hyprotech.com) which is now copied and expanded to support.aspentech.com, and find some examples on user variables.
There is also a help file (help on extending HYSYS, or xhysys.hlp in the HYSYS directory) that gives some clues.
I have not really worked with it sufficiently to tell you exactly how to solve your problem, but I hope this points you in the right direction.
By the way, as you said, it is not an excel issue, so strictly speaking this thread belongs in the Hyprotech products forum, quod non.

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: HYSYS Visual Basic

Re. what I just said: not easy to find the documentation. You may want to take a look in the Customization Guide, which is part of the normal HYSYS documentation (the PDFs on the CD)

Good luck

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: HYSYS Visual Basic

Or use the Adjust (see Thread798-67310) [duh]

Cheers,
Joerd

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources