Refinery profitability, logistic reliability and safety are ensured by intelligent production planning and scheduling.Increases in oil prices, which means that crudes of poor quality need to be processed, increasing demand for petroleum products, new environmental regulations about clean fuels, and the start of new production technologies that are part of more complicated refining schemes.