update_concentrations#

HumidAir.update_concentrations(mode='all')#

Updates all unspecified concentrations from mole fractions and molar density.

Parameters

mode (str) –

mode

meaning

’all’

all concentrations will be updated based on the current mole fractions. (default)

’update’

only concentrations that are missing or filled with nans will be updated.

Notes

This function requires that molar density be defined on the mixture.