PhreeqcUsers Discussion Forum

Please email phreeqcusers at gmail.com with your name and affiliation to request an account.
Welcome Guest
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Conceptual Models »
  • Database selection and modification »
  • database error message:Equation has no equal sign;
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: database error message:Equation has no equal sign;  (Read 11078 times)

chliu8219

  • Contributor
  • Posts: 6
database error message:Equation has no equal sign;
« on: 14/07/25 14:00 »
Hello everyone, I have some problems with the database, through the following error data we can see that gibbsite has an error, but as long as I delete gibbsite, the same error message appears in the phase behind gibbsite. I don't understand the reason, is my database too long?
############    The following is my error message and database file
   Input file: D:\AAAGuoBO\20250402-hengxiang-phreeqc\1.pqi
  Output file: D:\AAAGuoBO\20250402-hengxiang-phreeqc\1.pqo
Database file: D:\AAAGuoBO\phreeqc-database\MOS DATABASE\MOS-nantong.dat

------------------
Reading data base.
------------------

   SOLUTION_MASTER_SPECIES
   SOLUTION_SPECIES
   PHASES
ERROR: Equation has no equal sign.
   Al(OH)3(Gibbsite)
ERROR: Parsing equation.
ERROR: Al(OH)3(Gibbsite)
ERROR: Equation has no equal sign.
   log_k7.74
ERROR: Parsing equation.
ERROR:    log_k   7.74
   PITZER
   END
ERROR: Elements in species have not been tabulated, Na.
ERROR: Reaction for species has not been defined, Na.
ERROR: Calculations terminating due to input errors.


Thank you for your help,

peiyang Guo
Logged

dlparkhurst

  • Global Moderator
  • *****
  • Posts: 4315
Re: database error message:Equation has no equal sign;
« Reply #1 on: 14/07/25 15:39 »
You must have some definitions out of sequence.

I would use another database that works and put the initial definition of the PHASES section of the database that does not work in an input file. Add more phases from the incorrect database until the error occurs. That should isolate the problem, and you can fix it.

It is possible that the problem is in the SOLUTION_SPECIES definitions, in which case, you can use the same process to identify the error.
Logged

chliu8219

  • Contributor
  • Posts: 6
Re: database error message:Equation has no equal sign;
« Reply #2 on: 15/07/25 03:56 »
Thank you for your help
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Conceptual Models »
  • Database selection and modification »
  • database error message:Equation has no equal sign;
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2