-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obtain amount of precipitated salt from evaporation #31
Comments
Ok, I have just seen this former issue #4 (2019) which is similar to mine. |
Hi, Hmm, to be able to do what you want I'll need to make some changes to the VIPHREEQC package to persist EQUILIBRIUM_PHASES and get their relevant attributes. In pseudocode you'll get something like this: salt = pp.add_equlibrium_phase(phases=['Calcite', 'Vivianite'], saturation_index=[0,0], amount=[1,1])
solution.interact(salt)
print(salt.amount)
salt.forget() # cleanup Will that work for you? |
Also, please note that the method you're currently using (desaturate one by one) may not give the same results as simultaneous precipitation. |
Many thanks Abel for your answer. Regarding your second remark, I add the same thought. I have however simulated the evaporation of one liter of seawater with my method, and benchmarked it with experimental data (Shalev et al., 2018). Turns out that the results are very similar. |
Sorry, the |
Hi,
I am simulating the evaporation of a lake (by removing moles of H20) in order to follow the evolution of brine element concentrations and the type of salt precipitated.
lake.desaturate enable me to allow the precipitation of salts under over-saturation sate.
I am however struggling to know how much salt has precipitated after each desaturation state.
As several minerals sharing similar elements can be simultaneously precipitating (e.g. CaSO₄ ; K₂MgCa₂(SO₄)₄•2H₂O and MgSO₄•7 H₂O ), it is very challenging to calculate the amount of precipitated salts from the evolution of the elements content in the brine, (by comparing element contents before and after the desaturation stages).
Is there a way to obtain the output of the moles of precipitated salt after each desaturation stage ?
The text was updated successfully, but these errors were encountered: