A numerical model for optimizing injection parameters in tight oil reservoirs