Text this: Modeling of thermal power plants in the study of reliability of power supply and energy security