Methanol_iecr49p6150 Example

Discusses use of COCO, the process simulation and modelling software suite from AmsterCHEM, downloadable from http://www.cocosimulator.org

Moderator: jasper

Post Reply
nrgeng
Posts: 239
Joined: 16 February 2013, 12:45
Location: USA

Methanol_iecr49p6150 Example

Post by nrgeng »

I am working through the five reactor types provided in COUSCOUS. I have had success with the Fixed Conversion Reactor using several parallel reactions. From my reading of the Help system, I think that the Gibbs Minimization Reactor is the next (second) more complex reactor. The Help system under COUSCOUS does not list it. Is this an oversight? Only four reactors are shown in Contents: Reactor. However, it is listed in Contents: Gibbs.

I loaded Methanol_iecr49p6150.fsd to work with its provided reactor. It loads OK, and it solves on my computer in less than six seconds. The simulation uses a Fixed Conversion Reactor with two reactions specified. I switched the reactor to a Gibbs Minimization Reactor keeping the same property pack and reaction pack that accompanied the simulation. I made no Flowsheet Configuration changes. The simulation tried to solve with one reaction specified. The Last Run Report showed that the solution converged.

With this success, I then added the original second reaction. Therein lies the problem. The simulation crashed, dropping out of COFE after displaying an error dialog. The simulation proceed for a short time (5 sec) though before it crashed. Can you help with this problem?

My System Specifications: Intel CPU: 2 GHz, 2 GB RAM; 64-bit Operating System; Windows 7 SP1
Attachments
Methanol Example 13 Apr 03.pdf
Modified Example Using Gibbs Reactor
(109.8 KiB) Downloaded 865 times
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Methanol_iecr49p6150 Example

Post by jasper »

nrgeng wrote:The Help system under COUSCOUS does not list it. Is this an oversight?
Ah - in the index you mean. Yes, oversight. Fixed.
nrgeng wrote:With this success, I then added the original second reaction. Therein lies the problem. The simulation crashed, dropping out of COFE after displaying an error dialog. The simulation proceed for a short time (5 sec) though before it crashed. Can you help with this problem?
Of course. Can you save the fsd file right before the crash and send me via e-mail or attach? And describe the exact steps to make it crash?

Thank you for reporting these issues.
nrgeng
Posts: 239
Joined: 16 February 2013, 12:45
Location: USA

Re: Methanol_iecr49p6150 Example 2

Post by nrgeng »

Please notice the stack of reactors on the right side of the image. Working up from the bottom, calculate each unit in succession: (1) Reactor, (2) GibbsReactor_19 CO2, (3) GibbsReactor_19 CO, and then finally (4) GibbsReactor_19 CO & CO2. The jackpot is Item 4 – crash! The same thing happens if you click the Solve icon (but less dramatic). Thanks for your help.
Attachments
Methanol_iecr49p6150 (gibbs fail).fsd
Flowsheet with Gibbs Exchange
(215.69 KiB) Downloaded 847 times
Methanol Example 13 Apr 10.pdf
Flowsheet Prior to Crash
(132.47 KiB) Downloaded 856 times
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Methanol_iecr49p6150 Example

Post by jasper »

Fixed. Thank you for reporting. Fix is available via CUP.

The problem was a crash in a 3rd party routine for an LU decomposition for a matrix containing a row of zeroes.
rhsrxs
Posts: 26
Joined: 24 October 2012, 21:29

Re: Methanol_iecr49p6150 Example

Post by rhsrxs »

Thanks nrgeng for sharing your learnings. By sharing we all can learn and help improve this software.
Post Reply

Return to “COCO (AmsterCHEM)”