def emc_cal(load, discharge):
    """
    Calculate EMC with \sum{l_t}/ \sum{discharge_t}
    load: numpy.ndarry, load time series
    discharge: numpy.ndarry, discharge time series
    """
    return load.sum() / discharge.sum()
    # End emc_cal()