Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to access objects in HYSYS #1

Open
hiokdat opened this issue Jan 19, 2019 · 6 comments
Open

How to access objects in HYSYS #1

hiokdat opened this issue Jan 19, 2019 · 6 comments

Comments

@hiokdat
Copy link

hiokdat commented Jan 19, 2019

Dear franktoffel:
I am a graduate student majored in Chemical Engineering from Taiwan. Recently, I am learning how to do access HYSYS by COM using Python codes, and Google leads me to your project here in Github. It's very nice of you to provide such a good example in public platform; thank you very much.
Here is my problem: How can I know the exact name of a variable that I want to access. For example, I want to access the composition value of a certain material stream, how can I know I should use the name "ComponentMolarFractionValue"? Is there any list or resources that users may refer to?
Best regards,
hiokdat

@aliglara
Copy link

Hello

I'm far away to an expert in this area. However, my best approach to deal with Hysys’ object names is using its Aspen simulation Workbook first. You can manage all you need from your simulation case through Excel and catch any pieces of name your need (digging a little into its VBA codes)
Then you can switch to python or Matlab

@Kevin1129
Copy link

Kevin1129 commented Apr 27, 2019 via email

@HamidToliati
Copy link

Hello
First of all, thanks for the useful shared materials.
I wanted to connect HYSYS to SQL to store its dynamic simulation data and also, I want to do this by means of python. Unfortunately, I do not find any documentation on this topic.
Can you please, guide me through this?
Thanks

@aliglara
Copy link

aliglara commented Jun 14, 2021 via email

@HamidToliati
Copy link

Thanks very much for the answer.
I have another question which is how did you decipher different VBA methods and their application. Because when I add the HYSYS library to the VBA window, there is no description for the methods and their subsets. I wanted to know if there is any documentation or a way to access their description
Thanks much

@aliglara
Copy link

aliglara commented Jun 17, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants