Module: SpeciesNode

Represents a species node in a chemical solution, handling the logical representation of a Species including its quantity, state, and behavior within a solution.

Properties:
Name Type Description
archetype Species

Species of which this is a quantity

solvent Solution

Reference to the solution containing this SpeciesNode

moles number

Number of moles of this SpeciesNode

unitActivity boolean

Indicates if this species node is a solid (has unit activity)

infinite boolean

Indicates if there's a functionally infinite quantity available

Source:
Example
const speciesNode = new SpeciesNode(speciesTemplate, 0.5);

Requires

  • module:./SpecieState
  • module:./Species