Inherit from COUSCOUS models

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

Moderator: jasper

Inherit from COUSCOUS models

Postby HenkF » 05 April 2015, 13:53

Hi Jasper,

I wonder if it is possible to inherit from existing COUSCOUS models. I would like to add a pressure drop routine (using Delphi) to a Heat Exchanger model.
Would that be a feasible route to explore?

A Happy Easter to all of you!

Kind regards,
Henk
HenkF
 
Posts: 87
Joined: 24 February 2013, 14:50
Location: Hengelo,NL

Re: Inherit from COUSCOUS models

Postby jasper » 05 April 2015, 14:11

Best Easter wishes to you.

To do I suppose you would have to create a unit operation, that creates a COUSCOUS unit operation. Then for the port collection, expose all COUSCOUS ports, etc. Then at Validate, validate the COUSCOUS unit and add your own validation. At Calculate, calculate the COUSCOUS Unit and add your own processing.

But why not simply an embedded flowsheet containing a heat exchanger and two custom pressure drop unit operations?
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain


Return to COCO (AmsterCHEM)

Who is online

Users browsing this forum: No registered users and 14 guests