Chemistry · interface
AmbientState
Explained in Chemistry.
interface AmbientStateimport type { AmbientState } from '@driftengine/chemistry';Properties
| Name | Type | Description |
|---|---|---|
temperaturereadonly | number | |
pressurereadonly | number | |
humidityreadonly | number | Relative humidity, 0..1. Added to the dry composition when a cell is filled. |
compositionreadonly | Readonly<Record<string, number>> | Dry mass fractions over gas species, summing to one. |