CAPACITY ALLOCATION METHOD BASED ON HISTORICAL DATA DRIVEN