Pātuhitia tēnei: Modeling, analysis, and optimization of process and energy systems