T_FLASH

This function returns the flash point temperature of a chemical in kelvin from tabulated safety data keyed by CAS Registry Number. Flash point is the minimum temperature at which vapors can ignite in air under specified test conditions.

When no method is provided, the wrapped library selects a preferred source automatically. The function returns a scalar float temperature when the value is available.

Excel Usage

=T_FLASH(CASRN, method)
  • CASRN (str, required): Chemical Abstracts Service Registry Number identifier (-).
  • method (str, optional, default: null): Source method name for flash point lookup (-).

Returns (float): Flash point of the chemical, [K].

Example 1: Ethanol flash point

Inputs:

CASRN
64-17-5

Excel formula:

=T_FLASH("64-17-5")

Expected output:

285.15

Example 2: Undecanol flash point using WIKIDATA method

Inputs:

CASRN method
111-69-3 WIKIDATA

Excel formula:

=T_FLASH("111-69-3", "WIKIDATA")

Expected output:

365.928

Example 3: Benzene flash point

Inputs:

CASRN
71-43-2

Excel formula:

=T_FLASH("71-43-2")

Expected output:

262.15

Example 4: Ethanol flash point with null method

Inputs:

CASRN method
64-17-5

Excel formula:

=T_FLASH("64-17-5", )

Expected output:

285.15

Python Code

Show Code
from chemicals.safety import T_flash

def t_flash(CASRN, method=None):
    """
    Handles the retrieval or calculation of a chemical's flash point.

    See: https://chemicals.readthedocs.io/chemicals.safety.html

    This example function is provided as-is without any representation of accuracy.

    Args:
        CASRN (str): Chemical Abstracts Service Registry Number identifier (-).
        method (str, optional): Source method name for flash point lookup (-). Default is None.

    Returns:
        float: Flash point of the chemical, [K].
    """
    try:
        res = T_flash(CASRN, method=method)
        if res is None:
            return "Error: Data not available"
        return float(res)
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

Chemical Abstracts Service Registry Number identifier (-).
Source method name for flash point lookup (-).