Flowsheet with Scilab unit operation crashes when opening

Moderator: jasper

Post Reply
Stephan
Posts: 46
Joined: 15 July 2020, 08:16

Flowsheet with Scilab unit operation crashes when opening

Post by Stephan »

I run Cofe and have a small flowsheet that contains a Scilab script unit operation (which is still almost empty).
However, I can not open that flowsheet anymore.
When double clicking the fsd file, a registration dialog pops up.
When I click on proceed without registration COFE crashes rigth away.
25 days of test periods are still left.
What's wrong here?
Attachments
Stoffstrom duplizieren.zip
(787 Bytes) Downloaded 2306 times
Brenner Reformer.fsd
(22.68 KiB) Downloaded 2274 times
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Flowsheet with Scilab unit operation crashes when openin

Post by jasper »

It is a bug in the Scilab unit operation. COFE is (for some reason, not sure why) asking for parameter "outlet temperature", which I imagine at some point existed in your unit but no longer does. The unit crashes on a non-existing parameter. It has nothing to do with license or trial period.

Having fixed that, I am looking at why the scilab unit operation content is actually not there at all. In the log inside the document I read:

error: failed to initialize SciLab Unit Operation: SciLab installation not found. Unable to check HKEY_LOCAL_MACHINE\SOFTWARE\Scilab\LASTINSTALL

so the document was opened on a machine without Scilab installation, and then saved again perhaps? That may have been when the content went lost; should normally not happen though. Judging by other messages in the log, this happened somewhere around 2020-9-18 16:39.

The crash is resolved in Scilab CAPE-OPEN unit operation 2.0.0.15, now available for download.
Stephan
Posts: 46
Joined: 15 July 2020, 08:16

Re: Flowsheet with Scilab unit operation crashes when openin

Post by Stephan »

Thank you.
That registration error was from a previous installation, when I installed Scilab unit operation before Scilab itself.
I fixed that by uninstalling and reinstalling both in the correct order.
The crashes occured afterwards.
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Flowsheet with Scilab unit operation crashes when openin

Post by jasper »

So all works ok now?
Stephan
Posts: 46
Joined: 15 July 2020, 08:16

Re: Flowsheet with Scilab unit operation crashes when openin

Post by Stephan »

Yes, The Scilab crash doesn't occur anymore.
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Flowsheet with Scilab unit operation crashes when openin

Post by jasper »

Glad to hear it.
Post Reply

Return to “Scilab Unit Operation (AmsterCHEM)”