[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/bbcode.php on line 112: 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 - Usefulness of COCO 3 Error Messages

Usefulness of COCO 3 Error Messages

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

Moderator: jasper

Usefulness of COCO 3 Error Messages

Postby nrgeng » 16 September 2015, 21:01

COCO 3 message contains no useful debugging information
Initial Guess Message (C3).jpg
COCO 3 Error Message
Initial Guess Message (C3).jpg (228.12 KiB) Viewed 21862 times

COCO 2 message contains offending Stream name and Unit which is useful for debugging
Initial Guess Message (C2).jpg
COCO 2 Error Message
Initial Guess Message (C2).jpg (218.13 KiB) Viewed 21862 times

The COCO 3 message seems to be new as it provides less (no) useful debugging information. I assumed that successful code in COCO 2 would just be copied and inserted into COCO 3. Was COCO 3 a complete rewrite?

Could more useful information be added to all of the COCO 3 error messages as required to aid in debugging?
nrgeng
 
Posts: 239
Joined: 16 February 2013, 12:45
Location: USA

Re: Usefulness of COCO 3 Error Messages

Postby jasper » 17 September 2015, 07:04

What COCO 2 lists is the units in the partition, and the cut streams in the partition. You can get these if you put the verbosity level to Debug, or Verbose. Nevertheless, I will add these to the message in the next update.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Usefulness of COCO 3 Error Messages

Postby jasper » 17 September 2015, 08:28

Please update from CUP, and you will find this information added in the message.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Usefulness of COCO 3 Error Messages

Postby jasper » 17 September 2015, 08:33

Note that more useful diagnostics information you will find the log is which unit failed, and why.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Usefulness of COCO 3 Error Messages (2)

Postby nrgeng » 17 September 2015, 12:54

Problem: Difference Between Verbose and Debug Info Levels

Flowsheet Log and Unit Status Log Report show no differences between Verbose and Debug modes that I can see. What is the difference?

How to clear Unit Status Log Report? The report is very long so I cannot tell which part of the report is relevant to the latest solve attempt.
nrgeng
 
Posts: 239
Joined: 16 February 2013, 12:45
Location: USA

Re: Usefulness of COCO 3 Error Messages

Postby jasper » 17 September 2015, 12:59

The debug log contains more information. Typically when things fail, such as perturbations that fail to give an answer.

The unit status log is cleared prior to each run and contains only information from the last run.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Usefulness of COCO 3 Error Messages (3)

Postby nrgeng » 19 September 2015, 12:50

Problem: Difference Between Verbose and Debug Info Levels

While trying to understand and use the Debug Info Level, two files were created to save the Flowsheet Log and the Unit Status Log Report for analysis. A Verbose mode file and a Debug mode file are attached.

There is a difference in the Flowsheet Log between Verbose and Debug modes.

The Unit Status Log Report seems to be the same for either Verbose or Debug modes. Page 19 in both are similar in what is reported. Is that what was intended?

The solver seems to be repeating the same loop over and over again for 20 pages. If the solver encounters an error, why repeat the solve process?

In summary, the only debugging information is contained in the Flowsheet Log with nothing contained in the Unit Status Log Report. Is that correct?

Does some other location contain additional debugging information?
Attachments
Debug Log Files.pdf
Debug Mode
(46.68 KiB) Downloaded 1030 times
Verbose Log Files.pdf
Verbose Mode
(46.26 KiB) Downloaded 1022 times
nrgeng
 
Posts: 239
Joined: 16 February 2013, 12:45
Location: USA

Re: Usefulness of COCO 3 Error Messages

Postby jasper » 20 September 2015, 09:41

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 18 guests