The methanol-to-olefin process from theoretical perspective