Linking GoldSim with the PHREEQC

Comments

4 comments

  • Avatar
    Jason

    Hi Fernanda,

    Thank you for posting in our Community Forum. We are not familiar with the details of PHREEQC but I will ask around to see if any of our users might be able to respond to you with some guidance specific to this program. Have you seen our example model in the library that uses a simplified approach with lookup tables?

    Best of luck,

    Jason

  • Avatar
    Keiran Hines

    Hi Fernanda,

    I am currently working on a very similar project for a university assignment using Python instead of C++ currently its very early days. I am having an issue with the GoldSim external DLL guide whereby when running my custom module I am getting a C runtime error R6034. I was wondering if you were yet to encounter this and if so were you able to fix it?

    Thank-you,

    Keiran. 

  • Avatar
    Jason

    Keiran,

    I noticed that your question was not answered in a long while so I thought I'd mention to you that one of our customers has a lot of experience linking Phreeqc to GoldSim and you can find his contact information here. I hope you can find the help you need.

    -Jason

  • Avatar
    Ryan Roper

    Keiran and Fernanda - Unfortunately, I can't say much about PHREEQC, but on the subject of using Python with GoldSim, take a look at this new model library example we recently posted: GSPy: GoldSim/Python Interface for Scripting Support. We also posted about it on our blog. GSPy provides ready-to-use 32- and 64-bit binaries and supports error messaging from the Python module to GoldSim. Be sure to go through the README to make sure the GSPy environment is set up properly. Then, for details about error relay from Python to GSPy, read through the extensive comments in the GSPyModule Python files (with the three model examples). Also, you can take a look at the GSPy source code (C/C++) which is included with the zip file that you can download from the model library article.

Please sign in to leave a comment.