Models of thermal processes for design optimization of power plants based on renewable energy sources and fuel cells