Jump to content
Geochemist's Workbench Support Forum
elg0086

Results command ChemPlugin

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

Share this post


Link to post
Share on other sites

Hi Erik,

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

Bests,

Melika Sharifi

Aqueous Solutions LLC

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×