The increase of renewable energy generation to change the productivity of a country and electrify isolated sectors are some of the priorities that several governments have imposed in the medium term. Research centers are looking for new technologies to optimize the use of renewable energies and incorporate them into hybrid generation systems. In the present work, the modeling of a solar thermal energy generation plant is being carried out. The climatic data used belong to two coastal cities and one island of Ecuador. The contribution of this work is to simulate a complete model of SCF and PCS, in which the variables of outlet temperature and oil flow are involved at the same time. Previously investigations use only outlet temperature for evaluating power plants. The model of the solar thermal plant is composed of a field of solar collectors, a storage tank, and an energy conversion system. As a result, we obtain a model of a thermosolar plant that will allow us to make decisions when considering the incorporation of micronetworks in systems isolated from the electrical network. The use of thermosolar technology allows the reduction in the risk of spills by the transport of fossil fuels in ships. The study of the CO2 emission factor in Ecuador from 2011 to 2018 is also carried out.