packageChemistry

Functions to support chemistry

Extends from Modelica.Icons.Package (Icon for standard packages).

Contents

NameDescription
chargeReturn the charge of a species given its chemical formula
countElementsReturn the number of elements in a chemical formula
readElementReturn the symbol, coefficient, and charge of an element in a chemical formula
readSpeciesReturn the symbols and coefficients of the elements in a chemical formula
stoichReturn stoichiometric coefficients of a reaction based on chemical formulas of reacting species