The Midland facility plays a critical function in supplying fuels to global markets . Its substantial capacity enables it to meet demand for gasoline , diesel , and other key hydrocarbon products , directly impacting global energy security . The complex operations at the plant are a reflection to