Jump to content
Geochemist's Workbench Support Forum

Results command ChemPlugin


elg0086
 Share

Recommended Posts

Hi,

I am attempting to retrieve results in ChemPlugin using the command

my_result = (cp[nx - 1].Report1("concentration elements fluid", "moles"))

Is there a way to point to a specific element (scaler value)  using a variation of this command line?

i.e.     my_result = (cp[nx - 1].Report1("concentration elements fluid Cu", "moles"))

Thanks.

Regards,

Erik

Link to comment
Share on other sites

Guest Melika Sharifi

Hi Erik,

You'll have to type: my_result = (cp[nx - 1].Report("concentration elements fluid Cupper", "moles")).

Bests,

Melika Sharifi

Aqueous Solutions LLC

Link to comment
Share on other sites

Melika,

Looking at the output text now, it makes sense to spell out the element since it is printed as such. Most of the literature provides examples of aqueous solutions (H+, Fe++) and I was just using Cu and Fe as the element name. Thank you for clarifying the syntax.

 

-Erik

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...