An Integrated Model of Oil Production