A research on the optimization of the reservoir model