Scale-up Suite Help
Troubleshoot simulation event log messages
Simulator > Troubleshooting simulations > Troubleshoot simulation event log messages
 About Simulator Event Log

This is a floating window which can be shown by pressing the Event Log button  in the View menu of Simulator. Within the Simulator module it is used for providing both solver step information as well as any errors occurring in the program during simulations. It is automatically shown when an error occurs in the program. Error messages should be noted and forwarded to our support team (support@scale-up.com). In most situations errors listed here are fatal and will result in the solver terminating.

                                

 Interpreting Event Log solver messages
       

The following information for a given solver step is reported in the Event Log:

Note: This information is formatted slightly differently when using the LSODA solver, due to the nature of operation of the algorithm.

 

Example event log solver line is given below:

Example 1: A successful step

0.005018% error calculated at time 0.1989 secs, with stepsize 0.07677, by Solution.HCl

0.0008791% error calculated at time 0.2757 secs, with stepsize 0.1152, by Solution.HCl

In this case for the first line the error is 0.005018% which is less than the specified accuracy (the default accuracy was used, 0.001 = 0.1%) so the step was successful, this means that the stepsize will be increased for the next step.  The current simulation time is 0.1989 seconds, the stepsize attempted is 0.07677 seconds and the component HCl in the solution phase has the largest error (i.e. is controlling the stepsize).

As the step was successful, the time is advanced to 0.2757 sec and the stepsize increased to 0.1152 seconds for the next step.

Example 2: An unsuccessful step

56.81% error calculated at time 0.0001 secs, with stepsize 0.00495, by Solution.MeCl

6.012% error calculated at time 0.0001 secs, with stepsize 0.002475, by Solution.H2O

0.5017% error calculated at time 0.0001 secs, with stepsize 0.001238, by Solution.MeCl

0.04424% error calculated at time 0.0001 secs, with stepsize 0.0006506, by Solution.H2O

0.006572% error calculated at time 0.0007506 secs, with stepsize 0.0007179, by Solution.MeCl

In the above example, the error (56.81 %) is larger than the accuracy specified (0.001 or 0.1%).  The stepsize is reduced from 0.0495 secs, but the time is not advanced.  This is repeated until the error drops below the user accuracy of 0.1%.  When this is met, the time is again advanced from 0.0001 secs up to 0.0007506 secs.  Note that both components MeCl and H2O are the critical variables, in this example they are both involved in the same fast reversible reaction. 

 Interpreting Event Log error messages

The following error messages may appear in the Event Log and will cause the Event Log to be shown. Note text between <..> will appear with actual information at run time.

Error Message

Interpretation

Solver: <System Message>

An unknown error has occurred. Restart DynoChem.

A numerical error has been encountered in the Solver: <System Message>

A numerical error has occurred while running a simulation. The error has occurred in the Solver. This error will cause the program to terminate.

A numerical error has been encountered in a <Name of Statement type> Statement - <System Message>

A numerical error has occurred while running a statement. The statement name will be listed. This error will cause the program to terminate. Examine the statement for any potential causes of numerical error, modify if necessary and rerun.

An unknown error has been encountered in a <Name of Statement type> Statement - <System Message>

An unknown error has occurred while running a statement. The statement name will be listed. This error will cause the program to terminate. Examine the statement for any potential causes of error, modify if necessary and rerun.

A problem was encountered during Model initialization...Now exiting: <System Message>

An error has occurred while initializing variables and statements within the model. This error will cause the program to terminate. Examine the statements and variables in Excel for any potential causes of error, modify if necessary and rerun.

The scenario selected could not be assigned to the Model. Exiting: <System Message>

An error was encountered while attempting to assign the Scenario selected to the Model. This error will cause the program to terminate. Examine the scenario for any potential causes of error, modify if necessary and rerun.

An error was encountered while updating the chart: <System Message>

An unknown error was encountered while attempting to update the chart. Rerun the simulation.

A problem was encountered while evaluating the derivatives: <System Message>

A unknown error was encountered while attempting to pass the values of DYDT terms to the solver. Rerun the simulation.

A problem was encountered while evaluating the Model values: <System Message>

An error was encountered while attempting to retrieve the values in the model for the purposes of returning them to the solver. Rerun the simulation.

A numerical error has been encountered during Model Initialization: <System Message>

A numerical error has occurred while initializing variables and statements within the model. This error will cause the program to terminate. Examine the statements and variables in Excel for any potential causes of error, modify if necessary and rerun.

A numerical error was encountered while running the model: <System Message>

A numerical error has occurred during the simulation run. This error will cause the program to terminate. Examine the statements and variables in Excel for any potential causes of error, modify if necessary and rerun.

A problem was encountered while running the model: <System Message>

An unknown error was encountered during the simulation run. This error will cause the program to terminate. Examine the statements and variables in Excel for any potential causes of error, modify if necessary and rerun.

A problem was encountered while creating a scenario sheet item: <System Message>

An unknown error was encountered while creating a scenario sheet item. This error will cause the program to terminate. Examine the statements and variables in Excel for any potential causes of error, modify if necessary and rerun.

Syntax error in "<Calculate Statement Equation>" Calculate Statement: <System Message>

A syntax error has been encountered in the listed calculate statement. This error will cause the program to terminate. Examine the listed statement for any potential causes of error, modify if necessary and rerun.

An error has been encountered in the following Calculate statement: "<Calculate Statement Equation>" with the following message: <Problem description>

A error has been encountered in the listed calculate statement. This error will cause the program to terminate. Examine the listed statement for any potential causes of error, modify if necessary and rerun.

One of the components has a negative MW: <Name of component>

An attempt has been made to assign a negative number to a specie. Examine the listed component and where it is being assigned for any potential causes of error, modify as necessary and rerun.

An attempt has been made to assign a negative value to "<Variable Name>". This variable may not have a negative number assigned to it.

An attempt has been made to assign a negative number to a variable not permitted to have a negative number. Examine the listed variable and any locations where it is being assigned to for any potential causes of error, modify if necessary and rerun.

An attempt has been made to assign a negative value to the Scenario Item "<Scenario Item name>". This Scenario Item may not have a negative number assigned to it.

An attempt has been made to assign a negative number to a scenario item variable not permitted to have a negative number. Examine the listed variable and any locations where it is being assigned to for any potential causes of error, modify if necessary and rerun.

Stepsize too small - (<Stepsize value>) at time <Time in simulation>. Solver exiting.

The stepsize being used by the solver has dropped below the minimum value indicating that there may be a problem with the model. This error will cause the program to terminate.  Please examine the model for any potential sources of error and rerun.

Maximum number of steps exceeded - <Number of steps> steps taken. Solver Exiting

The number of steps taken by the solver has exceeded the maximum value indicating that there may be a problem with the model. This error will cause the program to terminate. Please examine the model for any potential sources of error and rerun.