COFE Unit Operation in Aspen HYSYS
Moderator: jasper
COFE Unit Operation in Aspen HYSYS
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!!
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
Could you perhaps create a log? You can use COULIS (comes with COCO) or COLTT (https://colan.repositoryhosting.com/trac/colan_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
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.
- Attachments
-
- HYSYS_COCO.zip
- (24.07 KiB) Downloaded 1363 times
Re: COFE Unit Operation in Aspen HYSYS
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
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
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.
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
Can you send me a log on that?
Re: COFE Unit Operation in Aspen HYSYS
A log file on the problem is attached to this comment.
- Attachments
-
- Log.zip
- (3.96 KiB) Downloaded 1403 times
Re: COFE Unit Operation in Aspen HYSYS
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
Good idea!! It solves the problem of using MATLAB unit operation directly in HYSYS, but still the problem with unit conversion remains.