Skip to content

Hydrogen equal to water ? #58

Description

@GeertD

A minor issue.

When using the sol.total() function to retrieve the amount of hydrogen, one gets that of water:

sol = pp.add_solution({})
sol.species
{'H+': 1.0005246407839195e-07,
 'H2': 7.079457517820301e-26,
 'H2O': 55.50929780738274,
 'O2': 0.0,
 'OH-': 1.0126897880811404e-07}

sol.total('H2')
55509.29		# mmol

which is that 'H2O'.

H2 is the only species found so far that seems to trick the sol.total() function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions