def dc_thermal(thermal_output: float, thermal_demand: float) -> float:
    """
    Determines the percentage of electrical demand covered.

    :param thermal_output:
        The thermal output of the system, measured in Watts.

    :param thermal_demand:
        The thermal demand of the system, measured in Watts.

    :return:
        The thermal demand covered as a value between 0 (corresponding to 0% demand
        covered) and 1 (corresponding to 100% demand covered).

    """

    return thermal_output / thermal_demand