majordome.radiation#

Application interfaces#

class majordome.radiation.WSGGRadlibBordbar2020#

Weighted sum of gray gases radiation properties model.

Pure Python implementation of Radlib model from Bordbar (2020).

Attributes:
NUM_COEFS = 5

Number of coefficients in polynomials (order + 1).

NUM_GRAYS = 4

Number of gray gases accounted for without clear gas.

T_MIN = 300.0

Minimum temperature accepted by the model [K].

T_MAX = 2400.0

Maximum temperature accepted by the model [K].

T_RED = 1200.0

Temperature used for computing dimensionless temperature [K].

P_TOL = 1.0e-10

Tolerance of carbon dioxide partial pressure [atm].

MR_LIM_CO2 = 0.01

Limit of Mr corresponding to CO2-rich mixtures.

MR_LIM_H2O = 4.0

Limit of Mr corresponding to H2O-rich mixtures.

MR_LIM_INF = 1.0e+08

Maximum allowed value of Mr.

Internals#

class majordome.radiation.AbstractRadiationModel#
static load_raw_data(name: str) Any#

Load raw data for feeding an implementation.

static relax(alpha, a, b)#

Compute a fractional mixture of values.

class majordome.radiation.AbstractWSGG(num_gases)#

Abstract weighted sum of gray gases (WSGG) model.

property absorption_coefs: ndarray#

Component gases absorption coefficients [1/m].

emissivity(pl: float) float#

Compute integral emissivity over optical path.

static eval_emissivity(a: ndarray, k: ndarray, pL: float) float#

Compute integral emissivity over optical path.

property gases_weights: ndarray#

Fractional weight of model component gases [-].