pH values on the gwh excel file

24 views
Skip to first unread message

Oscar Matias Benavente Zolezzi

unread,
Feb 7, 2017, 3:18:22 PM2/7/17
to pitlakq-users
Hi Mike,

After solving the issue with the gwh.py file, I was able to run the pitlakq_tut_gwh project. However, few second later I got the following message:

  File "C:\Anaconda3\envs\pitlakq34\lib\site-packages\pitlakq\numericalmodels\existingmodels\w2\w2_proxy.py",
line 89, in get_shared_data    value = getattr(self.w2_fortran.shared_data, name)
AttributeError: 'fortran' object has no attribute 'phssgw'


Apparently, this error is related with the fact that is not possible to introduce a pH field in your gwh excel file. After taking this field out of the file I was able to run the project without any issue.

I'm not sure why is not possible to introduce a pH values to your gwh.xlsx, when it is possible to do it in the  groundwater_concentration.txt, mytribname_concentrationtxt or precipitation_concentration.txt

Could give some lights, please?

Cheers,
Oscar

Dr. Mike Mueller

unread,
Feb 8, 2017, 2:16:05 AM2/8/17
to pitlak...@googlegroups.com
Hi Oscar,

The pH is not a species that is transported. It is calculated from
the charge balance. So, if you would like to have certain pH, you need
to assemble an appropriate solution. Run PHREEQC and check that the pH
is correct. Typically, you need to adjust one specie such as chloride
or sulfate that you don't care about. In fact that is what PITLAKQ
is doing before the simulation with the initial lake water as well
as in the reprocessing step with the inflows. This explained in more
detail in the documentation [1].

Best,
Mike


[1] http://pitlakq.readthedocs.io/en/latest/tut.html#charge-balancing

Am 07.02.17 um 21:18 schrieb Oscar Matias Benavente Zolezzi:
> Hi Mike,
>
> After solving the issue with the gwh.py file, I was able to run the
> pitlakq_tut_gwh project. However, few second later I got the following message:
>
> / File
> "C:\Anaconda3\envs\pitlakq34\lib\site-packages\pitlakq\numericalmodels\existingmodels\w2\w2_proxy.py",
>
> line 89, in get_shared_data value = getattr(self.w2_fortran.shared_data, name)
> AttributeError: 'fortran' object has no attribute 'phssgw'/
>
> Apparently, this error is related with the fact that is not possible to
> introduce a pH field in your gwh excel file. After taking this field out of the
> file I was able to run the project without any issue.
>
> I'm not sure why is not possible to introduce a pH values to your gwh.xlsx,
> when it is possible to do it in the groundwater_concentration.txt,
> mytribname_concentrationtxt or precipitation_concentration.txt
>
> Could give some lights, please?
>
> Cheers,
> Oscar
>
> --
> You received this message because you are subscribed to the Google Groups
> "pitlakq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to pitlakq-user...@googlegroups.com
> <mailto:pitlakq-user...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Oscar Matias Benavente Zolezzi

unread,
Feb 8, 2017, 7:48:22 AM2/8/17
to pitlakq-users
Hi Mike,

Thank you for responding. I was almost sure about you answer, but my confusion arose from the fact that it is possible to add pH values in the other files.

Cheers,
Oscar

Bird, David

unread,
Feb 8, 2017, 7:52:49 AM2/8/17
to pitlak...@googlegroups.com
Please remove me from this mailing list. Thanks, Dave Bird

Sent from my iPhone
> To unsubscribe from this group and stop receiving emails from it, send an email to pitlakq-user...@googlegroups.com.

Dr. Mike Mueller

unread,
Feb 9, 2017, 12:29:51 PM2/9/17
to pitlak...@googlegroups.com
Am 08.02.17 um 13:52 schrieb Bird, David:
> Please remove me from this mailing list. Thanks, Dave Bird

See footer of each mail:

To unsubscribe from this group and stop receiving emails from it, send
an email to pitlakq-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout

Mike
Reply all
Reply to author
Forward
0 new messages