Before revision:  But, to ensure fulfillment of contracts under these new circumstances, a vast number of possible scenarios, incorporating uncertain supply and demand, has to be simulated ahead of time.
After revision:  But, to ensure fulfillment of contracts under these circumstances, a vast number of possible scenarios, incorporating uncertain supply and demand, has to be simulated ahead of time.