def format_interconnector_loss_coefficients(INTERCONNECTORCONSTRAINT):
    """Re-formats the AEMO MSS table INTERCONNECTORCONSTRAINT to be compatible with the Spot market class.

    Examples
    --------

    >>> INTERCONNECTORCONSTRAINT = pd.DataFrame({
    ... 'INTERCONNECTORID': ['X', 'Y', 'Z'],
    ... 'LOSSCONSTANT': [1.0, 1.1, 1.0],
    ... 'LOSSFLOWCOEFFICIENT': [0.001, 0.003, 0.005],
    ... 'FROMREGIONLOSSSHARE': [0.5, 0.3, 0.7,]})

    >>> interconnector_paramaters = format_interconnector_loss_coefficients(INTERCONNECTORCONSTRAINT)

    >>> print(interconnector_paramaters)
      interconnector  loss_constant  flow_coefficient  from_region_loss_share
    0              X            1.0             0.001                     0.5
    1              Y            1.1             0.003                     0.3
    2              Z            1.0             0.005                     0.7


    Parameters
    ----------
    INTERCONNECTORCONSTRAINT : pd.DataFrame

        ===================  =======================================================================================
        Columns:             Description:
        INTERCONNECTORID     unique identifier of a interconnector (as `str`)
        LOSSCONSTANT         the constant term in the interconnector loss factor equation (as np.float64)
        LOSSFLOWCOEFFICIENT  the coefficient of the interconnector flow variable in the loss factor equation (as np.float64)
        FROMREGIONLOSSSHARE  the proportion of loss attribute to the from region, remainder is attributed to the to region (as np.float64)
        ===================  =======================================================================================

    Returns
    ----------
    interconnector_paramaters : pd.DataFrame

        ======================  ========================================================================================
        Columns:                Description:
        interconnector          unique identifier of a interconnector (as `str`)
        loss_constant           the constant term in the interconnector loss factor equation (as np.float64)
        flow_coefficient        the coefficient of the interconnector flow variable in the loss factor equation (as np.float64)
        from_region_loss_share  the proportion of loss attribute to the from region, remainer are attributed to the to region (as np.float64)
        ======================  ========================================================================================
    """

    interconnector_paramaters = INTERCONNECTORCONSTRAINT.loc[:, ['INTERCONNECTORID', 'LOSSCONSTANT',
                                                                 'LOSSFLOWCOEFFICIENT', 'FROMREGIONLOSSSHARE']]
    interconnector_paramaters.columns = ['interconnector', 'loss_constant', 'flow_coefficient',
                                         'from_region_loss_share']
    return interconnector_paramaters