Page 1 of 1
Model advice
Posted: 06 April 2015, 13:25
by HenkF
Hi Jasper,
attached are two model files.
The COFE_BIO flowsheet is converging within 6 cycles (from reset), the COFE_BIO.reaction doesn't initialize well.
Problem seems to be within the Superheater model, a sub-flowsheet containing 3 heat-exhanger models.
The difference between both flowsheets files:
* added the furnace sub-flowsheet (reaction fs),
* changed definitions of a TEA package for the flowsheet and sub-flowsheets (reaction fs)
* removed steam temperature controller
Could you please advice me on how to continue with the reaction flowsheet?
Thanks!
Henk
Re: Model advice
Posted: 07 April 2015, 20:08
by jasper
In unit Super Heaters, edit the material types. For the material type "water", change the property package to "water". I reckon this is your intent, but TEA is selected and it fails the water flash (as the water is super-critical).
I am not sure whether this solves your problem. Let me know of the problems remain. But this was at least the cause for the initial guess failure.
Re: Model advice
Posted: 09 April 2015, 15:08
by HenkF
That simple...
I will try how the convergence is doing. Regarding this: what actually is the influence of the pertubation parameters?
I currently define the mass balance relative tolerance to be 1e-5, and the recycle tolerance at a 1e-6 level.
In your opinion: are these levels set tight enough or maybe too tight?
Maybe for a future release: could it be made possible to copy a Flowsheet Option set to an embedded Flowsheet?
thanks!
kind regards,
Henk
Re: Model advice
Posted: 10 April 2015, 07:12
by jasper
The perturbation should not be too large, as you will linearize too much non-linear behaviour and increase the chance to step over discontinuities in what is being perturbed. On the other hand, they should not be too small, or you will be bothered by finite precision of the function evaluation introducing noice in the Jacobian. Typically you will want it to be a few orders larger than the precision on the function you are evaluating.
So if thermo tolerance is set to 1e-8, unit operations that use thermo could be around 1e-6, and the flowsheet around 1e-5. Of course if you have embedded flowsheets it gets a bit more complex.
Regarding thermo: embedded flowsheets can take thermo from feed or product material objects. This always makes sure consistent thermo is used.