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

Unisim Excel Interface Troubleshooting

unisim hysys excel simulation

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

#1 cole-maclean

cole-maclean

    Brand New Member

  • Members
  • 1 posts

Posted 24 January 2014 - 10:41 PM

Hello all,

 

I am using UniSims "USE-IT" excel interface to update a unisim case with values from Excel. I'm able to do this for most object properties, but some give me errors. Specifically, trying to specify a heat exchangers UA value gives me an input error.

 

Here is the input XML:

<UnisimTag uopCaption="UA" uopUnisimObjectName="E-0301.UA" uopUnisimObjectPath="oUnisimSimCase.flowsheet.Operations.item('E-0301').UA"/>

 

The error is:

Error in unisimIO.Execute_Batch:
Invalid input for oUnisimSimCase.flowsheet.Operations.item('E-0301').UA Error text:uopUnisimEvaluator::SetValue error - description: [object Error] - code: oUnisimCase.flowsheet.Operations.item('E-0301').UA.SetValue(100, "kJ/C-h") code: oUnisimSimCase.flowsheet.Operations.item('E-0301').UA: 2014-01-24 8:48:29 PM
 

 

I know it's a long shot, but I'm completely stuck, any help would be just awesome.

 

Thanks,

-Cole



#2 Bobby Strain

Bobby Strain

    Gold Member

  • Members
  • 3,529 posts

Posted 24 January 2014 - 11:12 PM

I used HYSYS but version 10 years old. Nothing like this easy stuff was available, so I fetched values with vba code. Surely there is a user manual available. AspenTech has good support site with examples. Maybe Honeywell has something similar? I do remember that not all values were exposed in HYSYS, so there was a "backdoor" method. Maybe you are seeing one of these. I know for LNG exchanger I had to fetch UA values backdoor. If this is the case, you will need to resort to the old fashioned, but reliable, OLE with vba. Or, it's just the syntax you have to get right. Good luck.

 

Bobby






Similar Topics