Elementary principles of chemical processes