Edición No. 20, Issue I, Julio 2023 
 
1. INTRODUCTION 
Renewable energies are all types of energy that can 
be  produced  continuously  and  are  inexhaustible  on  a 
human scale, i.e., they are replenished at a higher rate 
than they are consumed, unlike fossil fuels that exist in a 
limited  quantity  and  are  exhaustible  in  a  determined 
period [1]. The main forms of renewable energies that 
exist are biomass,  wind,  hydro, solar,  geothermal, and 
marine energies, which come directly or indirectly from 
the  sun's  energy,  except  for  marine  and  geothermal 
energies [2]. Nowadays, the use of renewable energies 
haves  been  boosted  to  contribute  to  the  care  and 
preservation  of  the  environment.  The  climate  change 
caused by the expulsion of CO2 into the atmosphere by 
industries, vehicles, burning of fossil fuels, etc., has led 
to the development of technology in different regions of 
the world to obtain energy (electric or thermal). This has 
led to the development of technology in different regions 
of the world to obtain energy (electrical or thermal) from 
renewable sources such as the sun. 
The use of photovoltaic energy has spread in recent 
years to different regions of the planet and Ecuador is no 
exception,  since  it  is  a  country  with  very  varied 
topographic features, great climatic diversity and unique 
conditions  that  give  it  a  high  potential  for  the  use  of 
renewable and clean energy. Off-grid power systems are 
supplied by different renewable energy sources, although 
these sources are often intermittent, their use is taking 
place in both developed and process developing such as 
Ecuador.  This  is  due  to  several  factors,  such  as  the 
downward trend in the cost of photovoltaic systems, as 
well  as  improved  technology  and  falling  prices  of 
electrical storage systems [3]. 
In  this  paper,  to  compensate  for  the  previous 
drawbacks  explained  while  maintaining  a  degree  of 
generality is the development of a simulation case study 
for a photovoltaic generation using the Simulink software 
of  Matlab  to  know  the  behavior  of  electric  power 
generation through photovoltaic energy.  
The  scheme  of  the  off  grid  photovoltaic  systems 
developed in the Simulink environment is composed of 
an array of photovoltaic modules, a charge controller, a 
storage system, and a single-phase inverter. In addition, 
a maximum power point tracking (MPPT) algorithm was 
developed to obtain the maximum power of the array and 
a discrete proportional control for battery charging and 
discharging was incorporated. 
In  addition,  for  the  dimensioning  of  an  off  grid 
photovoltaic system, a tool was designed and developed 
using Excel Macros  and Visual Basic,  to facilitate the 
input  of  parameters  and  obtain  the  results  simply and 
efficiently. 
2. METHODOLOGY 
For  the  development  of  the  project,  electricity 
demand  data  from  three  rural  areas  on  the  coast, 
highlands and  Amazon regions  of Ecuador  were used. 
Based on this data [4], each of the components of the off 
grid  photovoltaic  systems  was  dimensioned.  The 
simulation was carried out based on the electrical power 
demand  and  the  solar  resource  obtained  from  the 
software  of  the  European  Commission  Joint  Research 
Center  called  Photovoltaic  Geographical  Information 
System  (PVGIS),  which  allows  for  obtaining  global 
radiation data. In addition, the dimensioning of the off 
grid  photovoltaic  system  considered  technical  reports 
such as:  “Balance  Energético Nacional 2020” prepared 
by the Instituto de Investigación Geológico y Energético 
(IIGE) trought which it was possible to know how the 
people  of  Ecuador  have  increased  the  use  of  electric 
energy for different household, commercial and industry 
activities  [5],  “Microgeneración”  of  the  Agencia  de 
Regulación y Control de Energía y Recursos Naturales 
no Renovables (ARC) to know the regulation for off grid 
electrical systems [6] and “Atlas solar  del Ecuador” of 
the Corporación para la Investigación Energética (CIE) 
to  study  the  behavior  of  solar  radiation  in  different 
regions of the country [7]. Consequently, a sizing tool 
based  on  Macros  and  Visual  Basic  was  developed 
through  Excel,  which  facilitated  the  input  of  different 
parameters. 
Once  the  results  were  obtained  through  the  sizing 
tool, an algorithm called maximum power point tracking 
(MPPT) was developed to obtain the maximum power of 
the PV array. In addition, a discrete integral proportional 
control was incorporated for the control of the batteries. 
The parameters and algorithms were used to perform 
the  simulation  and  performance  tests  in  the  Simulink 
environment of Matlab to obtain the curves of voltage, 
current and power generated by the photovoltaic systems, 
in addition, it was verified that the generation is capable 
of meet the demand. 
2.1.  System Requirements 
Ecuador is a country that has very varied topographic 
characteristics, so it has a high potential for the use of 
photovoltaic solar energy. According to [8], the average 
global  radiation  values  in  Ecuador  are  homogeneous, 
which  translates  into  a  significant  reduction  in  the 
problem  of  random  variations  of  this  resource.  In 
addition, it provides confidence and profitability for the 
use of photovoltaic technology in the country [9-13].  
The increase in population and the growing demand 
for  electrical  energy  per  inhabitant  [14],  makes  it 
necessary to carry out studies that allow us to know how 
photovoltaic  energy  can  be  used  to  electrify  different 
areas  of  Ecuador,  especially  those  in  which  the 
conventional grid is limited by the difficulties of access 
inherent to nature. For this reason, three rural areas from 
different regions of Ecuador have been chosen for the 
study  of  the  solar  resource:  coast  region  (Pedernales), 
highlands  region  (Ambuquí)  and  amazon  region 
(Cuyabeno).