Solid-only compounds

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

Moderator: jasper

Solid-only compounds

Postby 348682 » 01 June 2016, 12:45

Dear Jasper/all,

I was trying to use a Gibbs reactor. Then when I run the sheet I get the next error:
Unit "GibbsReactor_517": calculate failed for unit GibbsReactor_517: Solution failed: Failed to calculate entropyF, enthalpyF and their derivatives: CalcSinglePhaseProp failed: Solid-only compounds present in mixture.

The stream that goes in the equilibrium reactor include water, CO, CO2 and hydrogen. In my property package there is Sand but it is not present in the stream that goes in the Gibbs Reactor. What could be the reason it still gives me this error, something with my property package maybe?

Thanks!

Kind regards,

Rose
348682
 
Posts: 5
Joined: 28 April 2016, 10:21

Re: Solid-only compounds

Postby jasper » 01 June 2016, 14:00

The Gibbs reactor will attempt to solve for the amount of sand in the mixture if it has not been excluded from the reactive compounds. Is sand configured as reactive, or non-reactive compound?
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Solid-only compounds

Postby 348682 » 02 June 2016, 10:15

In the Gibbs reactor I defined water, hydrogen, CO and CO2 as reactive compounds. So sand is a non-reactive compound.

the reaction that is defined is:
0.5 Carbon dioxide + 0.5 Hydrogen=0.5 Carbon monoxide + 0.5 Water
348682
 
Posts: 5
Joined: 28 April 2016, 10:21

Re: Solid-only compounds

Postby jasper » 02 June 2016, 15:36

Can you send me an fsd that shows this problem?
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Solid-only compounds

Postby jasper » 03 June 2016, 10:13

Thank you. The problem was that the mole fraction derivatives of enthalpyF contained a NaN value for the derivative w.r.t. the solid. A subsequent matrix operation caused the entire composition derivative array to contain NaN values. The problem is repaired, and the fix is available via CUP.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Solid-only compounds

Postby jasper » 04 June 2016, 14:18

This fix had as a side effect to break enthalpy derivatives from the equation of state, causing flash calculations to fail. This is fixed now as well.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Solid-only compounds

Postby 348682 » 16 June 2016, 14:31

Hi Jasper,

Thanks for fixing! This is working now.

When I try to Add Dry pine wood in a Property Package I received an error with
Specification incomplete:
Absolute entropy is not known for compound Dry pine wood; unable to calculate property entropyF.

Can you tell me how I can add Dry Pine Wood in a Property Package?

Thanks
348682
 
Posts: 5
Joined: 28 April 2016, 10:21

Re: Solid-only compounds

Postby jasper » 16 June 2016, 15:24

Send me the file again?
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Re: Solid-only compounds

Postby 348682 » 17 June 2016, 07:06

I can't show you a fsd-file where you can see the problem, because it is happening while making a Property Package. Or do you want me to save a template of the Property Package?
I just made a new Property Package in TEA and added Dry pine wood, when I press the OK-button I received the error.

I attached a picture of the error.
Attachments
adding wood.png
adding wood.png (36.34 KiB) Viewed 27110 times
348682
 
Posts: 5
Joined: 28 April 2016, 10:21

Re: Solid-only compounds

Postby jasper » 17 June 2016, 11:18

I see - please use CUP to obtain a version of TEA that allows for creating the properties EnthalpyF and EntropyF when solid-only compounds are defined.
User avatar
jasper
 
Posts: 1128
Joined: 24 October 2012, 15:33
Location: Spain

Next

Return to COCO (AmsterCHEM)

Who is online

Users browsing this forum: No registered users and 7 guests

cron