Flowsheet with Scilab unit operation crashes when opening

Moderator: jasper

Flowsheet with Scilab unit operation crashes when opening

Postby Stephan » 08 February 2021, 15:43

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 1659 times
Brenner Reformer.fsd
(22.68 KiB) Downloaded 1604 times
Stephan
 
Posts: 46
Joined: 15 July 2020, 08:16

Re: Flowsheet with Scilab unit operation crashes when openin

Postby jasper » 09 February 2021, 09:13

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.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Flowsheet with Scilab unit operation crashes when openin

Postby Stephan » 10 February 2021, 08:53

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.
Stephan
 
Posts: 46
Joined: 15 July 2020, 08:16

Re: Flowsheet with Scilab unit operation crashes when openin

Postby jasper » 10 February 2021, 10:46

So all works ok now?
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Flowsheet with Scilab unit operation crashes when openin

Postby Stephan » 22 February 2021, 09:21

Yes, The Scilab crash doesn't occur anymore.
Stephan
 
Posts: 46
Joined: 15 July 2020, 08:16

Re: Flowsheet with Scilab unit operation crashes when openin

Postby jasper » 22 February 2021, 10:32

Glad to hear it.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain


Return to Scilab Unit Operation (AmsterCHEM)

Who is online

Users browsing this forum: No registered users and 0 guests

cron