Helge Posted January 26 Posted January 26 I am having trouble retrieving the fugacity for CO2(g) with python. I provided the scripts. For this calcuation I used thermo.tdat In the resultsfile 0400.out you read fugacity(CO2(g)) <GWBplugin.c_double_Array_1 object at 0x0000020F80CCAD40> Any hint is appreciated. Best regards, Helge 0400_GWB.out 0400.py 0400.rea
Jia Wang Posted January 26 Posted January 26 Hello Helge, The results command always return an array, even if there is only one value. To retrieve the fugacity value from the array, you can use the index operator ("[0]") like you have for the pH and concentrations. Best, Jia
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now