def get_region_total_dispatch(m, region_id, trade_type):
    """
    Compute total dispatch in a given region rounded to two decimal places
    """

    total = sum(m.V_TRADER_TOTAL_OFFER[i, j].value
                for i, j in m.S_TRADER_OFFERS
                if (j == trade_type) and (m.P_TRADER_REGION[i] == region_id))

    return total