Flow of Energy through the Star and Construction of Stellar Models