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 Stream Reporter Problem

hysys stream reporter problem

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

#1 haram14397

haram14397

    Brand New Member

  • Members
  • 5 posts

Posted 26 June 2014 - 09:54 AM

I am trying to extract stream information of my simulation using HSR 1.6 and I am using HYSYS 7.3.
Unfortunately, when I clicked the "Update List" button an error message appeared.

" An Error Occured:
An unexpected error occured in procedure: EstablishLink Error Number: 48 Error Description: Error loading DLL."

I've tried using opening the simulation on other computer and extracting it from there it worked perfectly fine.


Anybody has experienced this before?



#2 Bobby Strain

Bobby Strain

    Gold Member

  • Members
  • 3,529 posts

Posted 27 June 2014 - 02:44 PM

Check to see that you have the correct hysys library referenced. Otherwise, check the HYSYS support site.

 

Bobby



#3 haram14397

haram14397

    Brand New Member

  • Members
  • 5 posts

Posted 04 July 2014 - 07:42 AM

thanks for your reply bobby. 

 

I think I'll check with the HYSYS support site. Or for now maybe I'll just extract the stream information from other computer.



#4 Bobby Strain

Bobby Strain

    Gold Member

  • Members
  • 3,529 posts

Posted 04 July 2014 - 09:12 AM

You might try to re-install your HYSYS.

 

Bobby



#5 haram14397

haram14397

    Brand New Member

  • Members
  • 5 posts

Posted 06 July 2014 - 02:26 AM

actually i've tried re-installing both my hysys and office.

doesn't seem to solve the problem. Maybe the problem is with my laptop. 



#6 Bobby Strain

Bobby Strain

    Gold Member

  • Members
  • 3,529 posts

Posted 06 July 2014 - 10:22 AM

Did you go to your references, uncheck the HYSYS library, close the references, open it again, locate the HYSYS library and check it. Sometime this will solve problems. I don't think that your laptop is causing this behavior. Maybe someone watching this thread can help. At least someone using the HYSYS version and HSR 1.6 can share their experience. Did you try Google?

 

Bobby


Edited by Bobby Strain, 06 July 2014 - 02:12 PM.


#7 haram14397

haram14397

    Brand New Member

  • Members
  • 5 posts

Posted 08 July 2014 - 12:06 PM

I've tried your suggestion. Seems to be a dead end as well.. haha...

I've tried googling. Doesn't help much to.

 

I was using HYSYS 8.0 before, maybe the HYSYS stream reporter having some conflict with the type library. I presume.



#8 Bobby Strain

Bobby Strain

    Gold Member

  • Members
  • 3,529 posts

Posted 08 July 2014 - 02:39 PM

It's quite likely that HSR 1.6 is not compatible with the current HYSYS version. So you will need to develop your own solution with VB in Excel. You should be able to reuse HSR code to fetch only the items that you need. You can usually get some help from AspenTech support via email. Or, go back to the HYSYS version that works. You can have multiple versions installed. You just have to be careful about compabatility issues. Maybe the workbook dum will give you what you need. Ilast used HYSYS 2.4, and I know there is lots of Excel tools added to the latest versions.

 

Bobby



#9 haram14397

haram14397

    Brand New Member

  • Members
  • 5 posts

Posted 18 July 2014 - 12:30 PM

Thank you bobby,

 

I'll try to work something out. 

 

Cheers,

Hidayat  :D



#10 adrijamil

adrijamil

    Brand New Member

  • Members
  • 4 posts

Posted 13 March 2015 - 04:43 AM

Hi Hidayat,

 

Did you find a solution? I am getting the same error with my VBA tools connecting to HYSYS. It happens for both HYSYS 8.6 and 7.3 on this machine. On other machines there is no problem. I was thinking of reinstalling HYSYS but you said it did not work. Tech Support not being very helpful either. 

 

Btw, if you might be able to fix your code (if you haven't already) by declaring your HYSYS variables as objects. For example

 

Dim hyApp as HYSYS.Application 'this will not work

Dim hyApp as Object ' this will work.

 

Regards,

 

Adri






Similar Topics