Jump to content



Featured Articles

Check out the latest featured articles.

File Library

Check out the latest downloads available in the File Library.

New Article

Product Viscosity vs. Shear

Featured File

Vertical Tank Selection

New Blog Entry

Low Flow in Pipes- posted in Ankur's blog

Hysys-matlab Communication


This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic
Share this topic:
| More

#1

  • guestGuests
  • 0 posts

Posted 09 April 2008 - 09:55 AM

Dear All,
I want to transfer/receive some type of data from Matlab to HYSYS but I haven’t any information about Matlab-HYSYS communication.
Would you please introduce me an internet reference that explains this subject?
Best wishes,

#2 shirin

shirin

    Brand New Member

  • Members
  • 3 posts

Posted 12 May 2008 - 11:18 PM

QUOTE (Aidenn @ Apr 9 2008, 09:55 AM) <{POST_SNAPBACK}>
Dear All,
I want to transfer/receive some type of data from Matlab to HYSYS but I haven’t any information about Matlab-HYSYS communication.
Would you please introduce me an internet reference that explains this subject?
Best wishes,

Dear friend:
I also have this question!could you get any information about this topic or any sources?
Would you please inform me!
thankx

#3 joerd

joerd

    Gold Member

  • ChE Plus Subscriber
  • 371 posts

Posted 13 May 2008 - 08:17 AM

I am not familiar with Matlab, but if you go to their support website and search for "Automation client" you seem to be getting some useful hints. Otherwise try their forum.

In Visual Basic you would use something like Set hyApp = CreateObject("Hysys.Application") and then you can use the hyApp object to retrieve information, like hyApp.SimulationCase
In Matlab, it looks like the syntax is something like hyApp = actxserver('Hysys.Application');

#4 shirin

shirin

    Brand New Member

  • Members
  • 3 posts

Posted 19 May 2008 - 11:07 PM

QUOTE (shirin @ May 12 2008, 11:18 PM) <{POST_SNAPBACK}>
QUOTE (Aidenn @ Apr 9 2008, 09:55 AM) <{POST_SNAPBACK}>
Dear All,
I want to transfer/receive some type of data from Matlab to HYSYS but I haven’t any information about Matlab-HYSYS communication.
Would you please introduce me an internet reference that explains this subject?
Best wishes,

Dear friend:
I also have this question!could you get any information about this topic or any sources?
Would you please inform me!
thankx

Dear friend:
I have found sth in this area caz I wanted it also!
1)go to that drive you have installed Hysys!
2)there is a folder,in the name of DCS.
3)In that folder there are some examples --->DDE(folder)--->Matlab(folder)
in that folder there is an example that show how Matlab and Hysys link to each other!
By the way there is a word document in DDE folder that describes that exmple step by step!
Remmember:
As I found Hysys can link to Matlab with version 6 or below.
because of that problem,I couldn't be able to run that example until now. unsure.gif
An other thing I have to mention is,the procedure have been discused in that word documment is applicble to any in dynamic mood hysys example.
I try to get more information in this field!




Similar Topics