Opened 16 years ago

Closed 16 years ago

#76 closed defect (fixed)

Memory error in sample_column

Reported by: Argimiro Resende Secchi Owned by: Rafael de Pelegrini Soares
Priority: major Milestone:
Component: EMSO Version: 0.9.52
Keywords: Cc:

Description

When running the Column_ctrl FlowSheet?, the simulation stops at time=3600s after restarting due to an event detection. See attached files.

Attachments (2)

sample_column.mso (12.9 KB) - added by Argimiro Resende Secchi 16 years ago.
Column_ctrl.rlt (19.0 KB) - added by Argimiro Resende Secchi 16 years ago.

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by Argimiro Resende Secchi

Attachment: sample_column.mso added

Changed 16 years ago by Argimiro Resende Secchi

Attachment: Column_ctrl.rlt added

comment:1 Changed 16 years ago by Rafael de Pelegrini Soares

Status: newassigned

Running the attached file I've got:

Event detected at time 3600 restarting the system...
NLA solver converged.
Residuals evaluation: 5
Linear system updates: 5
Linear system solutions: 5
Linear system products: 0
Advancing time from 3600 to 3960
error in external method 'FlashPH': Maximum number of iterations 100 reached

Is that the problem?

This appears to be a numeric problem, if I change the reflux specification to:

	col.sptop.Outlet2.F = 75 * 'kmol/h'; # reflux

The simulation finishes without any problem.

comment:2 Changed 16 years ago by Argimiro Resende Secchi

Under win32 I do not get the error message:

error in external method 'FlashPH': Maximum number of iterations 100 reached

but a memory read error message from Windows. The simulation error is clear that is related to a convergence problem, but still there exists another problem with the GUI under win32.

comment:3 Changed 16 years ago by Rafael de Pelegrini Soares

Resolution: fixed
Status: assignedclosed

Problem fixed on development version (0.9.52).

There was a Windows specific bug on error reporting. Now for the attached model you will get the following:

Event detected at time 3600 restarting the system...
NLA solver converged.
Advancing time from 3600 to 3960
error in external method 'FlashPH': Maximum number of iterations 100 reached in PluginMethod(col.pump1.Outlet.P., col.pump1.Outlet.h., col.pump1.Outlet.z.(1), col.pump1.Outlet.z.(2), col.pump1.Outlet.z.(3), col.pump1.Outlet.z.(4), col.pump1.Outlet.z.(5))

Note: See TracTickets for help on using tickets.