Modeling and control of modern electrical energy systems. (2022)