phreeqpython icon indicating copy to clipboard operation
phreeqpython copied to clipboard

Activity coefficient?

Open trinberg opened this issue 3 years ago • 4 comments

Hi there! I just wanted to quickly ask: what's the function to pull out the activity of water? Clearly PHREEQC outputs this as you can see in the image below (at least with the PHREEQ database), but I just can't seem to find the right function with the python wrapper.

Thanks so much for your help with this - I am extremely grateful for this package!

phreeq_image

trinberg avatar Dec 08 '22 19:12 trinberg

Sorry for the quick follow up, but would be interested to know how to get the density and volume too!

And is there a way to get the activity coefficient for the particular species? Like hydroxide?

Thank you!

trinberg avatar Dec 08 '22 19:12 trinberg

solution.activity("H+") like this?

uliw avatar Dec 08 '22 21:12 uliw

Ah, yes! thank you! Sorry I missed that

trinberg avatar Dec 08 '22 21:12 trinberg

Hi @trinberg

You can get the mass of a solution using solution.mass, I'll need to add a method to get the volume from a solution as well. With those 2 you can calculate the density yourself.

AbelHeinsbroek avatar Dec 13 '22 12:12 AbelHeinsbroek