COCO Flowsheet UNIT Parameter Selection

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

Moderator: jasper

COCO Flowsheet UNIT Parameter Selection

Postby uwe81543 » 03 December 2012, 18:56

Hi,

a small problem. The selection of parameters from the embeded flowsheet to be exposed to the external enviorement is not peristent.
After saving and reloading (or solving in seperate thread) the selection is gone.

Regards

Uwe
uwe81543
 
Posts: 4
Joined: 04 November 2012, 16:45

Re: COCO Flowsheet UNIT Parameter Selection

Postby jasper » 03 December 2012, 19:28

Thank you for reporting that. The parameters were actually saved. And restored properly. But not added to the parameter collection. Fixed. The fix is available via CUP.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: COCO Flowsheet UNIT Parameter Selection

Postby uwe81543 » 03 December 2012, 20:07

Thank you for the ultrafast bugfix

Regards

Uwe
uwe81543
 
Posts: 4
Joined: 04 November 2012, 16:45

Re: COCO Flowsheet UNIT Parameter Selection

Postby Ronny » 26 October 2013, 03:04

Hello,

I'm having a small issue exposing embeded controler set point parameter.
At the attached example it has been possible to expose most of the embeded parameters to the external environment, except for the controler set ponit.
Either the set point paramenter is gone from the selection after running the simulation, or COFE crashes if one try to edit the COCO flowsheet UNIT just after selecting this parameter to be exposed.

Kind Regards,
Ronny
Attachments
Flowsheet1 teste 1.fsd
COCO Flowsheet UNIT Operation to simulate 2 stage expander with intermediate steam extraction
(43.39 KiB) Downloaded 745 times
Ronny
 
Posts: 6
Joined: 11 July 2013, 01:51
Location: Brasil

Re: COCO Flowsheet UNIT Parameter Selection

Postby jasper » 26 October 2013, 14:24

Thank you for reporting these problems (there were two problems, one leading to the crash you observed and the other leading to parameters being removed upon persistence, and consequently upon running in a background thread). The issues are fixed in COFE 2.6.0.10, available via CUP.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: COCO Flowsheet UNIT Parameter Selection

Postby Ronny » 26 October 2013, 17:19

Hello Jasper!

Thank you very much for the prompt reply!
Working perfectly on version 2.6.0.10!
Ronny
 
Posts: 6
Joined: 11 July 2013, 01:51
Location: Brasil

Re: COCO Flowsheet UNIT Parameter Selection

Postby Ronny » 28 October 2013, 23:54

Hi!

Small issues still on the Flowsheet Unit Operation attached:
a) Embeded controler setpoint, when exposed to external environment, brings the parameter name ("Setpoint") instead of the exported name ("SuperHeat Degree")
b) External Input streams, that have embeded flow constraint, does not have the resulting constrained flow result back propagated to it's external inlet flow (attached example: water stream)

Best Regards,
Ronny
Attachments
Steam Dessuperheater.fsd
Steam dessuperheating block
(92.01 KiB) Downloaded 713 times
Ronny
 
Posts: 6
Joined: 11 July 2013, 01:51
Location: Brasil

Re: COCO Flowsheet UNIT Parameter Selection

Postby jasper » 30 October 2013, 21:53

a) Fixed. Fix is available via CUP.

b) This cannot be fixed in a sense that you can use it. The result would be that the embedded unit operation would set a flow rate on its feed stream, which is not something that CAPE-OPEN allows for. This is why the flow contraint is an internal unit operation and not a CAPE-OPEN unit operation. Of course the fact that it did not complain about this was an oversight. It does now. To obtain the result that you want to obtain you can either control the feed stream at the top level (in the outer flow sheet), or

- add an additional purge stream to the embedded flowsheet
- put a surplus flow on the feed stream of which you are not controlling the flow rate
- put whatever remains (the surplus minus the required flow rate) back on the purge stream
- deal with the purge stream in the outer flowsheet
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: COCO Flowsheet UNIT Parameter Selection

Postby Ronny » 31 October 2013, 00:10

Thank you very much for the support.
Ronny
 
Posts: 6
Joined: 11 July 2013, 01:51
Location: Brasil


Return to COCO (AmsterCHEM)

Who is online

Users browsing this forum: No registered users and 17 guests

cron