Simulating an oil shock with sticky prices