ecl-logo Documentation

State

State[s]state

represents a state containing species and their concentrations.

Details

  • Use Keys[state] to see the properties that can be dereferenced from a state.
  • Dereference properties using state[property], e.g. state[Magnitudes].
  • Extract species concentrations using state[species]
  • Input
    Output

Examples

Basic Examples  (4)

A state containing species and their concentrations:

A state containing species and their amounts:

Plot the species concentrations:

Extract the conentration of a species:

Additional Examples  (4)

Properties  (4)

See the list of properties that can be dereferenced from a state:

Get a list of the species in the state:

Convert the state to a list of rules of the form species->concentration:

Extract the unit of each species:

Applications  (1)

Pull species from a state: