input variables

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

Moderator: jasper

input variables

Postby thubelihle » 26 April 2018, 06:20

Hi. l notice l can't vary number of stages as an independent parameter using the COCO parametric study. Same applies for the heat exchanger outlet temperature can not be specified as an independent variable to vary on the parametric studies. Thanks
thubelihle
 
Posts: 73
Joined: 04 March 2017, 16:27

Re: input variables

Postby jasper » 26 April 2018, 09:11

You can vary many things - but they have to be input parameters. To make the number of stages an input parameter, you have to tell ChemSep to do so.

Untitled.png
Untitled.png (26.19 KiB) Viewed 14193 times
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: input variables

Postby jasper » 26 April 2018, 09:12

The heat exchanger outlet temperature is only an input parameter if the heat exchanger has Type = Temperature
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: input variables

Postby thubelihle » 13 November 2018, 05:48

Hi. l notice l can't vary number of stages as an independent parameter using the COCO parametric study. Same applies for the heat exchanger outlet temperature can not be specified as an independent variable to vary on the parametric studies. thanks. The bottoms flowrate is one of specifications and l exposed it as an input parameter, but does not converge using a controller
thubelihle
 
Posts: 73
Joined: 04 March 2017, 16:27

Re: input variables

Postby thubelihle » 13 November 2018, 06:33

I even try to put a value of 0.6 for bottoms flowrate but l try to solve it automatically changes this value
Attachments
luyben.fsd
(29.74 KiB) Downloaded 606 times
thubelihle
 
Posts: 73
Joined: 04 March 2017, 16:27

Re: input variables

Postby jasper » 13 November 2018, 08:55

The number of stages is an integer parameter - only real valued parameters can be controlled (otherwise the solver would need to solve for an integer value). For a parametric study the same holds at the moment, only real values can be modified.

Not clear on which heat exchanger outlet temperature you mean - can you attach an example?

The problem with the bottoms flowrate is of a complely different nature - something went wrong with the unit of measure. The document contains

<dimension parameter="bottoms flowrate">
<dimension>
<quantity name="Amount">1</quantity>
<quantity name="Time">-1</quantity>
<quantity name="LightIntensity">inf</quantity>
</dimension>
<flags>OnlyMole</flags>
<select dimension="Amount">mol</select>
<select dimension="LightIntensity">cd</select>
<select dimension="Time">s</select>
</dimension>


and subsequently all unit conversions on this value are nonsensical. Unfortunately fixing the issue requires editing the xml, as COFE is rather persistent in remembering unit of measure preferences.

I am attaching the repaired version, but I would like to investigate how this issue came to be - where did you get this column from?

Luyben_edited.fsd
Corrected file
(33.75 KiB) Downloaded 613 times


Thanks.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: input variables

Postby thubelihle » 14 November 2018, 02:23

It’s from Distillation design n control by Luyben 2nd edition example on chapter 3. Thanks
thubelihle
 
Posts: 73
Joined: 04 March 2017, 16:27

Re: input variables

Postby thubelihle » 14 November 2018, 05:41

hi jasper, attached is the distillation column with a controller. it does not converge but looking at the specification, the set point is reached, but still it gives the error message . thank you for your help.
Attachments
luyben.fsd
(30.19 KiB) Downloaded 579 times
thubelihle
 
Posts: 73
Joined: 04 March 2017, 16:27

Re: input variables

Postby jasper » 14 November 2018, 08:53

The same problem is present again - did you use your document or my corrected Luyben_edited as a starting point for this one?
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: input variables

Postby thubelihle » 14 November 2018, 14:49

yes l just did and l am facing the same issue. thank you, see attachment.
Last edited by thubelihle on 15 November 2018, 03:04, edited 1 time in total.
thubelihle
 
Posts: 73
Joined: 04 March 2017, 16:27

Next

Return to COCO (AmsterCHEM)

Who is online

Users browsing this forum: No registered users and 4 guests

cron