RON

This function retrieves a chemical’s research octane number from reference or model datasets keyed by CAS number. If the method is omitted, the underlying library selects an available source automatically and returns the corresponding RON value.

Research octane number is an empirical fuel-quality index for knock resistance under lighter standardized test conditions than motor octane number. Because the wrapper performs a source-backed lookup rather than a first-principles calculation, availability and exact values depend on the selected dataset for the requested compound.

Excel Usage

=RON(CASRN, ron_method)
  • CASRN (str, required): CASRN
  • ron_method (str, optional, default: null): A string for the method name to use.

Returns (float): Research octane number.

Example 1: Ethanol RON

Inputs:

CASRN
64-17-5

Excel formula:

=RON("64-17-5")

Expected output:

108.6

Example 2: Methanol RON

Inputs:

CASRN
67-56-1

Excel formula:

=RON("67-56-1")

Expected output:

108.7

Example 3: Ethanol RON with explicit data source

Inputs:

CASRN ron_method
64-17-5 FLORIAN_LIMING

Excel formula:

=RON("64-17-5", "FLORIAN_LIMING")

Expected output:

108.6

Python Code

Show Code
from chemicals.combustion import RON

def ron(CASRN, ron_method=None):
    """
    This function handles the retrieval of a chemical's research octane number (RON), using CASRN.

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

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

    Args:
        CASRN (str): CASRN
        ron_method (str, optional): A string for the method name to use. Valid options: Florian Liming, Florian Liming ANN, CombustDB, CombustDB Predictions. Default is None.

    Returns:
        float: Research octane number.
    """
    try:
        res = RON(CASRN, method=ron_method)
        if res is None:
            return "Error: Data not available"
        return float(res)
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator

CASRN
A string for the method name to use.