Seol mar théacs é seo: Modeling, control, simulation, and diagnosis of complex industrial and energy systems