Parametric studies COFE

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

Moderator: jasper

Post Reply
Usseglio
Posts: 34
Joined: 23 November 2012, 14:16

Parametric studies COFE

Post by Usseglio »

Hi Jasper,

May be you already have this in your todo list, but is it feasible to run parametric studies with COFE embedded in the excel ?

Thanks in advance !!

Marcelo
User avatar
jasper
Posts: 1129
Joined: 24 October 2012, 15:33
Location: Spain
Contact:

Re: Parametric studies COFE

Post by jasper »

When running in Excel I do not have the option to present multiple windows. All items that open a new window (calculator, plots, parametric study) are therefore disabled. Without the ability to switch back and forth to the result window, it is not straight forward to represent the results.

You can in principle set stream values and unit operation parameters from VBA and call the Calculate method of the flowsheet, and pull the results out. In other words, it is not so difficult to do the parametric study directly from VBA in Excel.

Setting stream values can be done via the CAPE-OPEN material object interface. Setting unit operation parameters can be done via the CAPE-OPEN unit operation and parameter interfaces. Solving the flowsheet:

http://cocosimulator.org/index_help.php ... cument.htm

Please see the existing VBA code to see how to get to these interfaces.
Usseglio
Posts: 34
Joined: 23 November 2012, 14:16

Re: Parametric studies COFE

Post by Usseglio »

OK, I understand.
Yes, thanks Jasper, that is what I had I mind to implement it.

Kind regards
Post Reply

Return to “COCO (AmsterCHEM)”