Chemistry · interface
SpeciesDefinition
Explained in Chemistry.
interface SpeciesDefinitionimport type { SpeciesDefinition } from '@driftengine/chemistry';Properties
| Name | Type | Description |
|---|---|---|
idreadonly | string | Unique, and it is what a substance and a reaction name. Phase is part of it: H2O(l). |
formulareadonly | Readonly<Record<string, number>> | Moles of each element per mole of species, keyed by symbol.MoreFractional subscripts are allowed and are not a compromise: an average protein residue is
|
phasereadonly | Phase | |
formationEnthalpyreadonly | number | Standard enthalpy of formation at 298.15 K, J/mol.MoreEvery reaction's |
cpAreadonly | number | Specific heat at 298.15 K, J/(kg·K). |
cpBreadonlyoptional | number | Linear coefficient, J/(kg·K²). Absent means a constant heat capacity. |
pseudoreadonlyoptional | boolean | A lumped repeat unit or an average composition rather than a real molecule. |