[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
CAPE-OPEN • View topic - COFE Unit Operation in Aspen HYSYS
Page 1 of 2

COFE Unit Operation in Aspen HYSYS

PostPosted: 11 October 2016, 09:25
by Motad
Hello,
I use COFE flowsheet as a unit operation inside an Aspen HYSYS flowsheet. I see that the stream flow rate from HYSYS is not transferred properly to the COFE unit operation's inlet stream. For example, the flow in HYSYS is "5000 kgmol/h" but in COFE unit operation's inlet stream it is "5 kgmol/h". How can I solve this issue?

Thank you!!

Re: COFE Unit Operation in Aspen HYSYS

PostPosted: 11 October 2016, 10:08
by jasper
Could you perhaps create a log? You can use COULIS (comes with COCO) or COLTT () to capture the communication between COFE and HYSYS and see on which side the unit conversion error is.

Re: COFE Unit Operation in Aspen HYSYS

PostPosted: 12 October 2016, 07:20
by Motad
I created a log (attached) and I am not sure which side causes the problem. The "totalFlow" in HYSYS side is 100 mol/s but it is transferred as 0.1 mol/s in COFE flowsheet.

Re: COFE Unit Operation in Aspen HYSYS

PostPosted: 12 October 2016, 08:42
by jasper
Over the CAPE-OPEN pipe line it is 0.1 mol/s - this looks like a unit conversion error on the HYSYS side. I do not have access to HYSYS myself to verify this. Which version of HYSYS is this?

Re: COFE Unit Operation in Aspen HYSYS

PostPosted: 12 October 2016, 08:45
by jasper
I presume the COFE flowsheet contains more than just the Matlab unit operation that raises the error? If the point of the COFE flowsheet is just to run the Matlab CAPE-OPEN unit operation, this should not be required. You should be able to insert that directly in HYSYS. Of course this will not resolve the unit conversion error.

Re: COFE Unit Operation in Aspen HYSYS

PostPosted: 12 October 2016, 11:52
by Motad
I'm using HYSYS V8.6.
I tried using MATLAB unit operation directly into HYSYS (without using COFE flowsheet), but I faced a problem saying "Failed to get flow from feed 1" although the ports are connected.

Re: COFE Unit Operation in Aspen HYSYS

PostPosted: 12 October 2016, 12:00
by jasper
Can you send me a log on that?

Re: COFE Unit Operation in Aspen HYSYS

PostPosted: 12 October 2016, 13:24
by Motad
A log file on the problem is attached to this comment.

Re: COFE Unit Operation in Aspen HYSYS

PostPosted: 12 October 2016, 13:52
by jasper
I see - it fails to get property "flow". HYSYS should provide that. In the mean time you could adapt your script not to ask for "flow" but to ask for "totalflow" and "fraction", and multiply the two.

Re: COFE Unit Operation in Aspen HYSYS

PostPosted: 12 October 2016, 14:31
by Motad
Good idea!! It solves the problem of using MATLAB unit operation directly in HYSYS, but still the problem with unit conversion remains.