IC error message and COFE crash

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

Moderator: jasper

IC error message and COFE crash

Postby ed@mo-ed.com » 08 February 2014, 05:06

Hi,

on first solve the attached flowsheet gives an error message "failed to solve gibbsreactor1"
the second solve gives another message "dimensionality mismatch" and after OK'ing COFE crashes.

https://drive.google.com/file/d/0ByJod0 ... sp=sharing

the file is > 3 Mb rather large for a simple simulation!

reg. Ed.
ed@mo-ed.com
 
Posts: 15
Joined: 11 November 2012, 06:09

Re: IC error message and COFE crash

Postby jasper » 08 February 2014, 14:42

In the last couple of updates, a lot has changed in the reactors in COUSCOUS. The Gibbs reactor has also been completely revised as far as the solution algorithm goes. You may have noticed with your old solution that the concentration of oxygen and methane were practically zero. So close to zero in fact that within the specified relative tolerance (on the reaction extents) specified for the reactor, it may as well be zero, slightly negative, or a few orders of magnitude higher. In this case the result was slightly negative, and the reactor failed.

I have changed the reactor to detect this solution, to reset the concentrations to just within the feasible region and continue. This does not mean that the concentrations for these compounds are well predicted; the reaction should not be considered in equilibrium in this case, but rather as irreversible (within numeric precision of the unit). The unit will now solve and post an appropriate error message. Thanks for reporting the issue.

The update is available via CUP.

I could not reproduce the dimensionality mismatch; at this point I have to assume that that problem has already been resolved. Let me know if it pops up again please.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: IC error message and COFE crash

Postby jasper » 08 February 2014, 16:57

The file is large due to the log. Solve, clear the log and save again, it will be 154 kB.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain


Return to COCO (AmsterCHEM)

Who is online

Users browsing this forum: No registered users and 5 guests