Está en la página 1de 285

Diseño y evaluación mediante modelamiento de

un sistema solar fotovoltaico comercial

Proyecto de Grado por:


Juan Fernando Dávila Montoya
201630936

Profesor Asesor:
Andrés Leonardo González Mancera, PhD

UNIVERSIDAD DE LOS ANDES


FACULTAD DE INGENIERÍA
DEPARTAMENTO DE INGENIERÍA MECÁNICA
BOGOTÁ DC, COLOMBIA, ENERO DEL 2021

1
TABLA DE CONTENIDO
Listado Figuras.............................................................................................................................. 5
Listado de Tablas .......................................................................................................................... 7
Nomenclatura ................................................................................................................................ 8
Introducción .................................................................................................................................. 9
Objetivos: ..................................................................................................................................... 13
General: .................................................................................................................................... 13
Específicos:............................................................................................................................... 13
Metodología y resultados ............................................................................................................ 14
Parte 1: Desarrollo del MODELO COMPUTACIONAL usando pvlib y su posterior
comprobación .............................................................................................................................. 14
1.1 Creación de modelo, simulando radiación y su posterior comparación con
Meteocontrol ............................................................................................................................ 14
1.1.1 Nubosidad .................................................................................................................... 15
1.1.2 Irradiancia en base a las nubosidades ...................................................................... 16
1.1.3 Posición del Sol............................................................................................................ 19
1.1.4 Irradiancia Efectiva .................................................................................................... 21
1.1.4.1 Radiación extraterrestre ..................................................................................... 21
1.1.4.2 Masa de aire.......................................................................................................... 22
1.1.4.3 Plano de arreglo (POA) ....................................................................................... 24
1.1.4.4 Angulo de incidencia (AOI)................................................................................. 25
1.1.4.5 Fenómenos ópticos ............................................................................................... 26
1.1.4.6 Irradiancia Efectiva sin perdidas ópticas .......................................................... 26
1.1.4.7 Otros factores ambientales .................................................................................. 27
1.1.4.8 Irradiancia efectiva .............................................................................................. 27
1.1.5 Temperatura de Módulo ............................................................................................ 28
1.1.6 Modelamiento sistema solar fotovoltaico ................................................................. 29
1.1.6.1 Información de módulos e inversores ................................................................ 29
1.1.6.2 Definición del sistema solar fotovoltaico ............................................................ 29
1.1.6.3 Curva IV ............................................................................................................... 29
1.1.7 Resultados Comprobación 1 ...................................................................................... 31
1.2 Comprobación de las funciones de Pvlib Usando datos de radiación y temperatura de
módulo de Meteocontrol (1 semana) ..................................................................................... 32
1.2.1Obtención de datos ...................................................................................................... 32

2
1.2.2 Definición del sistema ................................................................................................. 32
1.2.3 Curva I-V y método de ............................................................................................... 32
1.2.4 Perdidas ....................................................................................................................... 33
1.2.5 Resultados comprobación 2 ....................................................................................... 33
1.3 Comprobación de las funciones de Pvlib Usando datos de radiación y temperatura de
módulo de Meteocontrol (1 año) ............................................................................................ 34
1.3.1 Resultados Comprobación 3 ...................................................................................... 34
Parte 2: Aplicación del modelo al lugar escogido. ................................................................... 35
2.1 Áreas Disponibles .............................................................................................................. 35
2.1.1 Bachillerato ................................................................................................................. 36
2.1.2 Primaria ....................................................................................................................... 36
2.2 Análisis de Carga............................................................................................................... 37
2.3 Definición del sistema solar fotovoltaico ......................................................................... 37
2.3.1 Selección de módulos solares y # de paneles para suplir energía ........................... 37
2.3.2 Máximo numero de paneles posibles y diseño de 6 configuraciones diferentes .... 39
2.3.3 Inversores................................................................................................................. 42
2.4 Definición sistema.............................................................................................................. 42
2.5 Simulación .......................................................................................................................... 43
2.6 Análisis Financiero ............................................................................................................ 44
2.6.1 Flujo de Deuda ............................................................................................................ 44
2.6.2 Flujo de Caja ............................................................................................................... 44
2.6.2.1 Inversión o CAPEX.............................................................................................. 44
2.6.2.1 Mantenimiento ..................................................................................................... 45
2.6.2.2 KWh/COP............................................................................................................. 46
2.6.2.3 Premisas ................................................................................................................ 46
2.6.3 Indicadores de Bondad Financiera (IBF) y LCOE.................................................. 47
2.7 Definición de las diferentes configuraciones ............................................................... 48
100% de Área Azimut 180° ............................................................................................. 48
Solo Bachillerato Azimut 180° ........................................................................................ 48
Solo Primaria Azimut 180° ............................................................................................. 49
100% de Área Azimut 205° ............................................................................................. 49
Solo Bachillerato Azimut 205° ........................................................................................ 49
Solo Primaria Azimut 205° ............................................................................................. 50

3
Parte 3: Comparación y Selección de la mejor configuración energética y financieramente
....................................................................................................................................................... 51
3.1 Energía producida ............................................................................................................. 51
3.2 Resultados Financieros ..................................................................................................... 54
Conclusiones. ............................................................................................................................... 56
Referencias................................................................................................................................... 57
ANEXOS ...................................................................................................................................... 60

4
LISTADO FIGURAS

Ilustración 1. Consumo energético 1990-2040 [1]........................................................................................ 9


Ilustración 2. Teoría del pico de Hubbert para la producción de petróleo. [6] ........................................... 10
Ilustración 3. Crecimiento de la energía solar fotovoltaica. [10] ................................................................ 11
Ilustración 4. Disminución de LCOE de energías eólicas y solares [12] .................................................... 12
Ilustración 5. Radiación global horizontal en el territorio colombiano [14] ............................................... 13
Ilustración 6. Pasos de modelo [15] ........................................................................................................... 14
Ilustración 7. Latitud y longitud del edificio Santo Domingo [16] ............................................................. 15
Ilustración 8. Diferentes nubosidades simuladas para Bogotá .................................................................... 16
Ilustración 9. Irradiancias simuladas con el método de Larson para Bogota .............................................. 17
Ilustración 10. Ilustración 9. Irradiancias simuladas con el método de Liu-Jordan para Bogotá ............... 17
Ilustración 11. Comparación de GHI simuladas ......................................................................................... 18
Ilustración 12. irradiancia con método de Larson sin y con interpolación. ................................................ 18
Ilustración 13. Diferentes irradiancias con el método de Larson interpolado ............................................. 18
Ilustración 14. Pasos para el modelamiento correcto de las características del ambiente [15] ................... 19
Ilustración 15. Esfera Celeste [5] ................................................................................................................ 19
Ilustración 16. Definición ángulos para el modelamiento de la posición del sol [15] ................................ 20
Ilustración 17. Cenit simulado para Bogotá en la semana del 20 de agosto 2020 ...................................... 20
Ilustración 18. Altura simulada para Bogotá en la semana del 20 de Agosto 2020 .................................... 20
Ilustración 19. Azimut simulado para Bogotá en la semana del 20 de agosto 2020 ................................... 21
Ilustración 20. Pasos para simular correctamente la irradiancia efectiva [15] ............................................ 21
Ilustración 21. Modelación de radiación extraterrestre con diferentes métodos. Tomado de Nelson Andrés
Salazar [17] ................................................................................................................................................. 22
Ilustración 22. Irradiancia Directa normal extraterrestre simulada para la semana del 20 de agosto del 2020
.................................................................................................................................................................... 22
Ilustración 23. Diferentes métodos para encontrar la masa de aire relativa [15] ........................................ 23
Ilustración 24. Masa de aire relativa simulada para la semana del 20 de agosto del 2020 ......................... 23
Ilustración 25. Masa de aire absoluta simulada para la semana del 20 de agosto del 2020 ........................ 24
Ilustración 26. POA cielo difuso simulado para la semana del 20 de agosto del 2020 ............................... 24
Ilustración 27. POA suelo difuso simulado para la semana del 20 de agosto del 2020 .............................. 25
Ilustración 28. AOI simulado para la semana del 20 de agosto del 2020 ................................................... 25
Ilustración 29. POA total simulada para la semana del 20 de agosto del 2020 .......................................... 26
Ilustración 30. Valores de módulos modificadores de ángulo de incidencia Para el sistema solar fotovoltaico
de la Universidad de los Andes ................................................................................................................... 26
Ilustración 31. Irradiancia total simulada para la semana del 20 de agosto del 2020 ................................. 27
Ilustración 32. Irradiancia efectiva simulada con el modelo 1.................................................................... 27
Ilustración 33. Efecto en la curva IV de la temperatura e irradiancia [5] ................................................... 28
Ilustración 34. Temperatura de módulo simulada con diferentes métodos ................................................. 29
Ilustración 35. Curva I-V con el método de De Soto .................................................................................. 30
Ilustración 36. Curva I-V con el método CEC ............................................................................................ 30
Ilustración 37. Irradiancia efectiva simulada y real para la comprobación 1 .............................................. 31
Ilustración 38. Temperatura de módulo simulada y real para la comprobación 1 ...................................... 31
Ilustración 39. Energía Diaria Sistema A y B simulada y real para la comprobación 1 ............................. 32
Ilustración 39. Curva I-V Modelo 2 ............................................................................................................ 33
Ilustración 40.Energía Diaria Sistema A simulada y real con errores porcentuales diarios para la
comprobación 2........................................................................................................................................... 33

5
Ilustración 41. Energía Diaria Sistema B simulada y real con errores porcentuales diarios para la
comprobación 2........................................................................................................................................... 34
Ilustración 42. Energía mensual sistema A simulado y real con errores porcentuales mensuales para la
comprobación 3........................................................................................................................................... 34
Ilustración 43. Energía mensual sistema A simulado y real con errores porcentuales mensuales para la
comprobación 3........................................................................................................................................... 35
Ilustración 44. Áreas escogidas para realizar el modelo del sistema solar fotovoltaico en el Colegio Hebreo
Union .......................................................................................................................................................... 35
Ilustración 45. Plano Techo bachillerato..................................................................................................... 36
Ilustración 46. Plano techo primaria ........................................................................................................... 36
Ilustración 47. Definición áreas para estudio con azimut 180° ................................................................... 39
Ilustración 48. Parámetros para sistema con azimut de 180° ...................................................................... 40
Ilustración 49. Distancias entre paneles [20] .............................................................................................. 40
Ilustración 50. Distancias entre paneles calculadas con la calculadora de Monsolar [20] .......................... 40
Ilustración 51. Representación visual del sistema solar fotovoltaico con azimut 180° .............................. 41
Ilustración 52. Parámetros para sistema con azimut de 205° ...................................................................... 41
Ilustración 53. Representación visual del sistema solar fotovoltaico con azimut 205° .............................. 42
Ilustración 54. Latitud y longitud del Colegio Hebreo Unión, de Google Maps ........................................ 43
Ilustración 55. Costos totales de un sistema solar fotovoltaico montado en soportes [24] ......................... 44
Ilustración 56. Porcentaje de los costoso de Otros costos de un sistema solar fotovoltaico [24] ............... 45
Ilustración 57. Costos del sistema solar fotovoltaico .................................. ¡Error! Marcador no definido.
Ilustración 58. Otros costos asociados al sistema ....................................... ¡Error! Marcador no definido.
Ilustración 59. Comportamiento del precio del KWh pagado..................................................................... 46
Ilustración 60. Energía generada Diseño 100% Área Azimut 180° ............................................................ 51
Ilustración 61. Energía generada Diseño solo Bachillerato 180° ................................................................ 51
Ilustración 62. Energía generada Diseño solo Primaria 180° ..................................................................... 52
Ilustración 63. Energía generada Diseño 100% de Área Azimut 205......................................................... 52
Ilustración 64. Energía generada Diseño solo Bachillerato Azimut 250° ................................................... 53
Ilustración 65. Energía generada Diseño solo Primaria Azimut 250° ........................................................ 53

6
LISTADO DE TABLAS
Tabla 1. valores de constantes a, b y delta T [18] ....................................................................................... 28
Tabla 2. Carga Diaria y energía consumida mensual.................................................................................. 37
Tabla 3. GHI promedio de Barranquilla [14] .............................................................................................. 38
Tabla 4. # Paneles necesarios para suplir % de la carga diaria2. ................................................................ 39
Tabla 5. Temperatura adicional por montaje [5]......................................................................................... 43
Tabla 6. Premisas utilizadas para el análisis financiero .............................................................................. 47
Tabla 7. Configuración Subsistema A del Diseño 100% de Área Azimut 180. ......................................... 48
Tabla 8. Configuración Subsistema B del Diseño 100% de Área Azimut 180 ........................................... 48
Tabla 9. Configuración del Diseño Solo Bachillerato Azimut 180° ........................................................... 48
Tabla 10. Configuración del Diseño Solo Primaria Azimut 180° ............................................................... 49
Tabla 11. Configuración Subsistema A del sistema completo 205° ........................................................... 49
Tabla 12. Configuración Subsistema B del sistema completo 205° ........................................................... 49
Tabla 13. Configuración del sistema bachillerato 205° .............................................................................. 50
Tabla 14. Configuración Subsistema A del sistema primaria 205° ............................................................ 50
Tabla 15. Configuración Subsistema B del sistema primaria 205° ............................................................. 50
Tabla 16. Índices de bondad financiera para configuraciones con azimut 180° ......................................... 54
Tabla 17. Índices de bondad financiera para configuraciones con azimut 205° ......................................... 55

7
NOMENCLATURA

W Vatio
K Prefijo Kilo (e4)
M Prefijo Mega (e6)
h hora
CO2 Dióxido de carbono
LCOE Costo nivelado de energía
m Metros
cm Centímetros
GHI Irradiancia global horizontal
DNI Irradiancia directa normal
DHI Irradiancia difusa horizontal
𝑨𝑴𝒂 Masa de absoluta
𝑨𝑴𝒓 Masa de aire relativa
P Carga energética
I Corriente
V Voltaje
Imp Corriente en máxima potencia
Vmp Voltaje en máxima potencia
Pmp Potencia máxima del módulo
Voc Voltaje en corto circuito
Isc Corriente en corto circuito
T Temperatura
𝑻𝑺𝑻𝑪 Temperatura de condición estándar 25°C
𝑻𝒌𝒗𝒐𝒄 Coeficiente de temperatura y voltaje máximo del módulo
NOCT Temperatura normal de la celda
AC Corriente alterna
DC Corriente directa
°C Grados centígrados
VPN Valor presente neto
TIR Tasa interna de retorno
PBP Periodo de recuperación
B/C Relación Beneficio Costo
WACC Costo de oportunidad financiamiento propio
PR Performance ratio

8
INTRODUCCIÓN
La vida como la conocemos hoy esta basada en el uso constante de energía eléctrica. Gracias a la
electricidad es que la humanidad ha sido capaz de desarrollar tantos avances en diversos campos,
como la iluminación artificial, las comunicaciones, los satélites, la medicina entre otros. Es por
esta misma razón que la demanda energética ha aumentado en grande escala, en el 2019 según The
World Factbook se consumieron alrededor de 16.830.000.000 MWh, y en los próximos años según
la Administración de Información Energética de Estados Unidos se prevé que el consumo de
energía mundial aumentará en un 50% aproximadamente entre 2018 y 2050. Por esta razón existen
diversas formas para la obtención de energía eléctrica en el mundo.

Ilustración 1. Consumo energético 1990-2040 [1]

Durante los últimos tiempos el método más común para la obtención de energía eléctrica ha sido
por medio de los combustibles fósiles teniendo una participación del 94% en 1960 y en el 2015
una participación de casi el 80% del consumo mundial. [2] Estos combustibles fósiles son el
petróleo y el carbón. En Colombia la principal fuente de generación energética principal es por
medio de estaciones hidroeléctricas, llegando a abarcar casi un 60% del total de la generación del
país. Estos métodos tradicionales traen consigo unos grandes retos y problemas abarcando desde
lo social hasta lo ambiental. Gracias a que estas plantas son grandes su construcción modifica y
afecta el ecosistema, también necesitan estar en lugares apartados lo que causa dificultades para
transportar la energía a toda la población. Otro gran reto es que en Colombia se experimenta una
deficiencia energética, ya que la demanda en algunos casos supera la oferta, gracias a la falta de
plantas generadoras y a los fenómenos naturales anuales como la Niña que afectan las estaciones
eléctricas y el Niño que seca los embalses. Según el banco mundial, en el 2015 el 11% de la
población mundial no cuenta con acceso a electricidad, por lo que se pacto como objetivo de
desarrollo sostenible “Energía asequible y no contaminante” [3]. En Colombia Según el Ministerio
de Minas y Energía 11 municipios colombianos no tienen acceso a 24 horas de luz. Eso equivale
a 1710 poblados. [4]Aparte de los retos sociales, las energías tradicionales generan un gran
impacto ambiental, los combustibles fósiles emanan gases de invernadero, como el dióxido de
carbono CO2 [5], que tienen un sinfín de daños al plantea y a la vida. Según Greenpeace y el
Centro de Investigación en Energía y Aire Limpio, esta combustión causa 4.5 millones de muertes

9
al año. También las grades concentraciones de CO2 destruyen la capa de ozono, promoviendo el
calentamiento global. Por ultimo, los yacimientos de petróleo son cada vez más difíciles de
encontrar, y se necesita más energía para encontrarlos. Esto se puede explicar con la teoría del pico
de Hubbert, la cual explica que después del punto máximo de producción, empezará un periodo de
declive hasta agotarse completamente. Muchos afirman que ya pasamos el pico, mientras otros
dicen que estamos lejos del pico. Nadie sabe con exactitud en que punto de la curva de Hubbert
estamos, por lo que existe un ambiente lleno de incertidumbre.

Ilustración 2. Teoría del pico de Hubbert para la producción de petróleo. [6]

Gracias a todos estos retos y problemas se han venido desarrollando las energías renovables, verdes
o alternativas. Este tipo de generación se caracteriza por utilizar como su nombre lo dice recursos
que pueden ser renovados ilimitadamente, como la luz solar, el agua, la biomasa y el viento. [7]
Dentro de esa categoría está la energía solar fotovoltaica, que aprovecha la luz solar para generar
electricidad. Este tipo de energía fue introducida por primea vez en 1883, por Charles Fritts, [8]
quien creó una celda solar con una eficiencia del 1%. Pero los paneles solares como los conocemos
hoy en día fueron creados en Bell Laboratories en 1954. Donde Daryl M. Chapin, Calvin S. Fuller
y Gerlad L. Person, crearon una celda solar de silicio con un 6% de eficiencia. [5] Luego en 1958
se envió el satélite Vanguard I, siendo el primero en tener una fuente de energía secundaria por
medio de paneles solares. Desde ahí el crecimiento de esta fuente de energía ha sido muy amplio.
[9]

10
Ilustración 3. Crecimiento de la energía solar fotovoltaica. [10]

La producción de energía por medio de la luz solar es posible gracias a el efecto fotovoltaico,
descubierto por Alexadre-Edmond Becquerel, en el cual se crea una diferencia de potencial entre
dos piezas de diferente material en respuesta a la radiación electromagnética. [5]
El proceso de obtención por medio del efecto fotovoltaico empieza cuando un fotón (partícula de
luz) choca con los distintos átomos presentes en la celda solar, lo que causa una energización a los
electrones de estos. [5]En este punto del proceso la energía absorbida por el electrón tiene que ser
mayor a la energía de atracción con su respectivo núcleo. Así el electrón puede liberarse de su
orbita y puede empezar a moverse por el material. Cuando este electrón es liberado, se genera un
vacío o hueco, estos van a ser llenados u ocupados nuevamente por otros electrones que han saltado
de otros átomos. Estos saltos y movimientos de los electrones causan cargas eléctricas. [11] Estas
cargas eléctricas luego son extraídas de las celdas con contactos eléctricos que les permitan hacer
trabajo en un circuito eléctrico externo. Así la energía eléctrica es extraída. Por otra parte, estos
mismos electrones luego de pasar por el circuito son transportados para que se unan con otros
vacíos generados por otros electrones que se desprendieron. [5]
Hoy en día los paneles solares fotovoltaicos se pueden diferenciar por el tipo de celda, están los
cristalinos, monocristalinos, policristalinos y amorfos. Cada uno de estos tipos tienen diferentes
eficiencias, tamaños y costos, por lo que se pueden ajustar para cualquier necesidad comercial o
residencial. Así mismo el costo LCOE ha medida que pasa el tiempo disminuye dramáticamente,
perfilándose como uno de los métodos de generación de energía eléctrica mas económicos.

11
Ilustración 4. Disminución de LCOE de energías eólicas y solares [12]

Normalmente cuando se quiere instalar unos paneles solares fotovoltaicos ya sea para uso
doméstico o para uso comercial es de suma importancia realizar un estudio y modelamiento previo.
Esto con el fin de conocer las condiciones meteorológicas del lugar y como se van a comportar los
módulos solares fotovoltaicos con estas. Con estos estudios es posible determinar que tipos de
paneles, inversores y baterías son más eficientes hablando energética y financieramente. Existen
varios programas gratuitos y pagos de modelamiento energético, y también herramientas en
diferentes sistemas de lenguaje como Python y Matlab. Una de estas es Pvlib.
Pvlib inicialmente fue creado para el lenguaje de Matlab, pero luego se adapto para el lenguaje de
Python. Esta herramienta ofrece varias funciones y clases que permiten simular varios aspectos
importantes dentro del estudio de los sistemas solares fotovoltaicos. Estas funciones y clases están
basadas en método desarrollados por Sandia National Laboratories.
Por último, conocemos que Colombia es uno de los países mas diversos del mundo Siendo
imperativo conservar su flora y fauna, pero a su vez Colombia es uno de los únicos países que
cuentan con dos océanos, una vasta acumulación de recursos hídricos y a su vez un gran potencial
en la explotación de energía eólica y solar. Ya que Colombia esta ubicada cerca de la línea del
ecuador, lugar donde la distancia con el sol es la menor en el planeta tierra. Aparte la radiación
diaria promedio en el país fue de 4.5 KWh/m2 [13] , casi 5 veces superior a la radiación promedio.
A su vez tiene territorios en la costa caribe con una radiación diaria promedio superior a las 6
KWh/m2 como lo son el norte del departamento del Atlántico y en el departamento de la Guajira.

12
Ilustración 5. Radiación global horizontal en el territorio colombiano [14]

OBJETIVOS:
General:
• Diseñar y evaluar técnica y comercialmente, un sistema solar fotovoltaico para una
aplicación comercial.

Específicos:
• Desarrollar y probar un modelo computacional que permita validar y analizar
sistemas solares fotovoltaicos.
• Diseñar y evaluar varias configuraciones de sistemas de generación de energía para
una aplicación comercial mediante simulaciones utilizando el modelo
computacional desarrollado.
• Selección de la mejor configuración y evaluación técnica y comercial.

13
METODOLOGÍA Y RESULTADOS
Este Trabajo se dividió en dos partes, la primera parte correspondió a la creación del modelo,
usando las funciones y carpetas de la Liberia de Pvlib Python y la segunda aplicando este modelo
comercialmente.

PARTE 1: DESARROLLO DEL MODELO COMPUTACIONAL USANDO


PVLIB Y SU POSTERIOR COMPROBACIÓN
Esta parte corresponde a la creación y comprobación del modelo, para esto se hicieron 3 diferentes
comprobaciones, la primera fue modelando la radiación efectiva con datos meteorológicos
semanales, el segundo usando los datos de radiación efectiva de Meteocontrol de la misma semana,
y por último la utilización de los datos de radiación efectiva de un año de Meteocontrol.
Esto se hizo con el fin de poder comparar los datos de producción energética del modelo con datos
de radiación efectiva confiables y simulados con los datos energéticos de Meteocontrol, que
asumiremos como reales. Cabe resaltar que las tres comprobaciones se realizaron en la misma
ubicación.
La construcción del modelo tiene como referencias y guías las siguientes fuentes: Sandia PVPMC,
Sandia Pvlib-Python y “A PVLIB-Python Simulation for Los Andes University Photovoltaic
System” by Nelson Andrés Salazar Peña

1.1 Creación de modelo, simulando radiación y su posterior comparación con Meteocontrol


Como primera instancia se quiso utilizar a fondo la mayoría de las funciones y carpetas de Pvlib,
a su vez los pasos a seguir por propuestos por Sandia National Laboratories.

Ilustración 6. Pasos de modelo [15]

Por ende, la primera sección del código fue el modelamiento de los factores ambientales, para
poder simular la radiación efectiva. Para esto se usaron datos meteorológicos de nubosidad,
posición del sol, masa de aire, plano de arreglo, ángulo de incidencia y modificadores de ángulo
de incidencia con las latitudes y longitudes del Edificio Santo Domingo de la Universidad de los
Andes en la zona de Las Aguas en Bogotá, Colombia. A su vez la fecha fue la semana del 20 al 26
de agosto del 2020, ya que durante esa fecha se empezó la creación del modelo.

14
Ilustración 7. Latitud y longitud del edificio Santo Domingo [16]

Se escogió esta ubicación ya que se tenia acceso a los datos meteorológicos, y de entregas del
sistema solar fotovoltaico de la Universidad de los Andes, por medio de la plataforma
Meteocontrol. Esto con el fin de poder comparar lo entrega energética simulada por el modelo con
los datos de esta plataforma que asumimos que eran los reales u objetivo.
Los Datos meteorológicos fueron obtenidos a través de funciones y clases que permiten sacarlos
de los catálogos de datos de UNIDATA THREDDS. El modelo meteorológico usado fue el
“Global Forecast System” (GFS), ya que este método era el único que nos dejaba usar los datos de
una semana completa en cualquier lugar del mundo. Además, estos datos quedan guardados
durante 1 mes en los servidores de UNIDATTA THREDDS. Adicional a este método existe el
HRRR, RAP, NAM, NDFD.
1.1.1 Nubosidad
Una vez con los datos meteorológicos se prosiguió a modelar la irradiación con base en las
diferentes nubosidades (alta, media, baja y total), esto se realiza porque los datos meteorológicos
obtenidos no son de alta confiabilidad, y muchas veces estos dates carecen de elementos de
medición apropiados.

15
Ilustración 8. Diferentes nubosidades simuladas para Bogotá

1.1.2 Irradiancia en base a las nubosidades


Para poder transformar los datos de nubosidad en radiación, el proceso es usar una función de
Pvlib que relaciona de manera lineal la nubosidad y la transmisibilidad atmosférica y luego usa el
modelo de Liu-Jordan o el modelo de Larson para encontrar las diferentes radiaciones necesarias,
global directa (GHI), normal directa (DNI) y horizontal difusa (DHI).

16
En nuestro caso se simuló la radiación usando tanto el modelo de Liu-Jordan y de larson para su
posterior comparación.

Ilustración 9. Irradiancias simuladas con el método de Larson para Bogota

Ilustración 10. Ilustración 9. Irradiancias simuladas con el método de Liu-Jordan para Bogotá

Se escogió el método de Larson porque al comprar ambos se encontró que este era el mas
conservador. Como se demuestra en la siguiente gráfica de la radiación GHI

17
Ilustración 11. Comparación de GHI simuladas

Cabe resaltar que los datos obtenidos de UNIDATA TREEDS por medio del modelo GFS, vienen
con un intervalo de tiempo de 3 horas, por ende, para aumentar la exactitud y mejorar su
comparación se decidió interpolar estos datos de radiación para que fueran horarios.

Ilustración 12. irradiancia con método de Larson sin y con interpolación.

Ilustración 13. Diferentes irradiancias con el método de Larson interpolado

18
1.1.3 Posición del Sol
Siguiendo con los pasos del correcto modelamiento según Sandia National Lab se continuaron
modelando los aspectos meteorológicos.

Ilustración 14. Pasos para el modelamiento correcto de las características del ambiente [15]

Conocer la posición del sol es de suma importancia para el estudio de la viabilidad de los sistemas
solares. Gracias a que el sol y otros cuerpos celestes se encuentran a grandes distancias de la tierra,
se puede describir su movimiento proyectando este movimiento en una esfera con un radio
arbitratorio y concéntrica a la tierra. Esta esfera recibe el nombre de esfera celeste. [5] Así la
posición de cualquier cuerpo celeste dentro de esta esfera se puede estudiar con los valores de los
ángulos del Cenit, azimut y altura

Ilustración 15. Esfera Celeste [5]

19
Ilustración 16. Definición ángulos para el modelamiento de la posición del sol [15]

Para poder simular los diferentes ángulos necesarios se usaron las funciones de Pvlib que están
basadas en el algoritmo de posición solar publicado por Reda y Andreas de “National Renewable
Energy Laboratory” (NREL) en el 2008. El reporte hecho, muestra que este algoritmo tiene una
incertidumbre de ± 0.0003°. [15]

Ilustración 17. Cenit simulado para Bogotá en la semana del 20 de agosto 2020

Ilustración 18. Altura simulada para Bogotá en la semana del 20 de Agosto 2020

20
Ilustración 19. Azimut simulado para Bogotá en la semana del 20 de agosto 2020

1.1.4 Irradiancia Efectiva


Para conocer la irradiancia efectiva en nuestro arreglo es necesario encontrar los siguientes factores
ambientales

Ilustración 20. Pasos para simular correctamente la irradiancia efectiva [15]

1.1.4.1 Radiación extraterrestre


La Radiación extraterrestre mide la intensidad o potencia del sol en al borde de la atmosfera
terrestre. En la librería de Pvlib existen 4 métodos pare encontrar estos valores, actualmente el
método por defecto es “Spenser” pero según una grafica realizada por Nelson Andrés Salazar para
un periodo de tiempo se evidencia que no es tan diferente de los otros (una variación de
± 2 𝑊/𝑚2 y según su trabajo los métodos PyEphem y NREL son los mas ecxactos.

21
Ilustración 21. Modelación de radiación extraterrestre con diferentes métodos. Tomado de Nelson Andrés Salazar [17]

Por ende, se uso el Método de NREL para encontrar esta radiación, a su vez se tomo como
1367 𝑊/𝑚2 como valor de la constante solar. [5]

Ilustración 22. Irradiancia Directa normal extraterrestre simulada para la semana del 20 de agosto del 2020

1.1.4.2 Masa de aire


La masa de aire nos muestra la longitud óptica de la atmosfera terrestre, es decir la distancia que
tiene que atravesar la radiación en la atmósfera. Para encontrar la masa de aire es necesario primero
encontrar la masa de aire relativa, y luego la absoluta.
La masa de aire relativa no tiene en cuenta la presión atmosférica, es decir se asume que la
ubicación es en el nivel del mar.
Para encontrar este valor se usará él modelo de Kasten-Young 1989, ya que dentro de todos los
modelos es un promedio.

22
Ilustración 23. Diferentes métodos para encontrar la masa de aire relativa [15]

Ilustración 24. Masa de aire relativa simulada para la semana del 20 de agosto del 2020

Para encontrar la masa de aire absoluta se usará la siguiente relación


𝑃
𝐴𝑀𝑎 = 𝐴𝑀𝑟 [18]
101325
Donde 𝐴𝑀𝑟 es la masa de aire relativa y P es la presión, en nuestro caso se usará el valor de
75160 𝑃𝑎, que según el IDEAM es la presión atmosférica en la ciudad de Bogotá.

23
Ilustración 25. Masa de aire absoluta simulada para la semana del 20 de agosto del 2020

1.1.4.3 Plano de arreglo (POA)


Lo que se realiza al calcular el POA es transponer la radiación en la ubicación del arreglo de los
paneles solares. Primero se encontrará el POA en cielo difuso. Para esto se usará el modelo de
Hay-Davies 1980. Adicionalmente para poder encontrar estos valores es necesario especificar el
“Tilt” de los paneles solares en el arreglo, en nuestro caso tomaremos este valor de 10°. También
el valor del azimut es necesario, por ende, usaremos el valor de 180°, Este valor se usa cuando el
arreglo esta por arriba de la línea del Ecuador.

Ilustración 26. POA cielo difuso simulado para la semana del 20 de agosto del 2020

Siguiendo con el proceso del POA se continua a encontrar el POA de suelo difuso. Para esto es
necesario poner un parámetro “albedo”, este parámetro se encuentra con una función que pide
como parámetro el tipo de suelo donde se encuentran los paneles. En nuestro caso al ser un edificio
en una ciudad, usaremos el parámetro “urban”, existen varios parámetros como “Grass”, “Fresh
Grass”, “snow” entre otros.

24
Ilustración 27. POA suelo difuso simulado para la semana del 20 de agosto del 2020

1.1.4.4 Angulo de incidencia (AOI)


El ángulo de incidencia es el ángulo con el que el vector de la radiación solar golpea al arreglo de
paneles solares. Estos valores se calculan con el “Tilt”, azimut del arreglo y con el ángulo cenit de
la posición solar.

Ilustración 28. AOI simulado para la semana del 20 de agosto del 2020

Contando con los valores del POA cielo difuso, POA suelo difuso y AOI, es posible encontrar el
POA total, este valor es la irradiancia que llega al arreglo.

25
Ilustración 29. POA total simulada para la semana del 20 de agosto del 2020

1.1.4.5 Fenómenos ópticos


Cuando el ángulo de incidencia (AOI) es mayor a 0 Existen perdidas gracias a fenómenos ópticos
como de reflexión de los materiales de los módulos, por ende, estas perdidas son importantes
cuantificarlas.
En Pvlib existen varios métodos para cuantificar esta perdida, en nuestro caso usaremos el método
ASHRAE, creado por Souka y Safat en 1966, que a su vez fue adaptado por la “American Society
of Heating, Refrigeration and Air Conditioning). A su vez este método es usado en varios modelos
de modelamiento de sistemas solares fotovoltaicos. También se mostrará el resultado del modelo
Physical I AM, con motivos de comparación.

Ilustración 30. Valores de módulos modificadores de ángulo de incidencia Para el sistema solar fotovoltaico de la Universidad
de los Andes

1.1.4.6 Irradiancia Efectiva sin perdidas ópticas


Anteriormente se calculó la irradiancia que llagaba al arreglo como POA total, sin embargo, estos
valores no tienen en cuenta perdidas por suciedad, ángulo de incidencia, y por discordancia con
los rayos del sol. Para este calculo se tienen en cuenta las irradiancias difusas y reflectadas, así
como factores de posición solar, albedo, superficie y masa de aire relativa.

26
Ilustración 31. Irradiancia total simulada para la semana del 20 de agosto del 2020

1.1.4.7 Otros factores ambientales


1.1.4.7.1.1 Precipitación
Para encontrar la precipitación en cm en es esta ubicación se usará una humedad relativa del 74%,
valor según Weather Atlas para Bogotá en Agosto [19]
1.1.4.7.2 Discordancia con rayos del sol
Gracias a la precipitación, al agua en el ambiente y la masa de aire real los rayos solares pueden
modificar su trayectoria, por eso es necesario modelar este fenómeno para poder cuantificarlo y
sumarlo a las perdidas.
1.1.4.8 Irradiancia efectiva
Como ultimo paso para el modelamiento de los factores ambientales es encontrar la irradiancia
efectiva. Esta es la irradiancia que el módulo solar convertirá en energía, es la irradiancia que
realmente llega al módulo después de todas las perdidas.

Ilustración 32. Irradiancia efectiva simulada con el modelo 1

27
1.1.5 Temperatura de Módulo
También se modelo la temperatura del módulo, esto no esta en los pasos propuestos por Sandia
National Laboratories para los factores climáticos, sin embargo, se consideró que eran importantes
ubicarlos en esta sección.

La temperatura de la celda y del módulo solar va ligada con la potencia producida, a mayor
temperatura meno potencia puede producir un panel solar.

Ilustración 33. Efecto en la curva IV de la temperatura e irradiancia [5]

Para Encontrar los valores de temperatura, es necesario incluir unas contantes, a, b y ∆𝑇[𝐶]. Los
valores de estas constantes dependen del tipo de módulo y de sus soportes, a continuación, los
valores para cada módulo y montaje.

Tabla 1. valores de constantes a, b y delta T [18]

Pvlib tiene 3 modelos para calcular la temperatura de módulo

28
Ilustración 34. Temperatura de módulo simulada con diferentes métodos

1.1.6 Modelamiento sistema solar fotovoltaico


1.1.6.1 Información de módulos e inversores
Una vez con la radiación efectiva se prosiguió entonces a modelar el sistema solar, obteniendo la
información de los inversores de datos de inversores del modelo SAM de NREL. Por su parte los
paneles solares de la universidad, LG400N2WA5, no se encontraron en ninguna base de datos, por
ende, con el datasheet de estos se prosiguió a crearlo directamente.
1.1.6.2 Definición del sistema solar fotovoltaico
Con los módulos e inversores se armaron los arreglos. La Universidad de Los Andes en el Edificio
Santo Domingo, tiene 2 diferentes sistemas, el primero o sistema A esta compuesto por 8 filas con
16 paneles en cada fila. Llegando a tener una capacidad de 51.2 KWp. Por otra parte, el sistema B
tiene 4 filas con 16 paneles en cada fila. Teniendo una capacidad de 28.8 KWp. Como se dijo
anteriormente el “Tilt” de estos sistemas será de 10°.
1.1.6.3 Curva IV
Se uso el método de “Single Diode Method Inicialization” para encontrar esta curva. Para usar este
método es necesario encontrar unos parámetros, por ende, se usaron dos diferentes métodos para
la obtención de estos parámetros. El primer método se uso para poder graficar la curva I-V, y el
segundo método para poder realizar cálculos de entregas del sistema.
1.1.6.3.1 Primer método
Este método consistía en encontrar valores máximos diarios de irradiancia efectiva y temperatura
de módulo, para encontrar valores diarios de Imp, Vmp y Pmp. Estos valores serian 1 por día.
Con estos valores máximos se utilizo el método de De Soto y de CEC para encontrar estos
parámetros. Estos modelos difieren entre si ya que el método de CEC utiliza un factor de
corrección del coeficiente de temperatura para la corriente de corto circuito. Este valor se encuentra
en el datasheet de los módulos.

29
Ilustración 35. Curva I-V con el método de De Soto

Ilustración 36. Curva I-V con el método CEC

1.1.6.3.2 Segundo método


Como se dijo anteriormente una vez con la grafica de la curva I-V, se prosiguió a usar el segundo
método. Este método obtiene valores de Imp, Vmp y Pmp y posteriormente los valores máximos
de irradiancia efectiva y temperatura de módulo. Con este método obtenemos valores continuos
(horarios) de Imp, Vmp y Pmp, esto con el fin de poder realizar cálculos futuros.
Para este método usaremos el método CEC con el fin de encontrar los parámetros para poder usar
el método de “Single Diode Method Inicialization”.
Con esto se termina el modelamiento del sistema solar fotovoltaico de la Universidad de los Andes
para la comprobación 1.

30
1.1.7 Resultados Comprobación 1

Ilustración 37. Irradiancia efectiva simulada y real para la comprobación 1

Ilustración 38. Temperatura de módulo simulada y real para la comprobación 1

31
Ilustración 39. Energía Diaria Sistema A y B simulada y real para la comprobación 1

1.2 Comprobación de las funciones de Pvlib Usando datos de radiación y temperatura de


módulo de Meteocontrol (1 semana)
Para este modelo no se simularon valores de radiación efectiva, se utilizaron los valores de
radiación dados por Meteocontrol para la misma semana que en la comprobación 1.
1.2.1Obtención de datos
Los datos de radiación se obtuvieron de la Plataforma Meteocontrol y se exportaron a Python
mediante un Dataframe.
1.2.2 Definición del sistema
El sistema al ser el mismo que en el modelo 1 siguió los mismos pasos que en ese modelo
1.2.3 Curva I-V y método de
Primeramente, se uso el mismo proceso del método 2 usado en el modelo 1 para la curva I-V, para
obtener una serie de datos horarios.
Luego se uso el método 1de la comprobación 1 para poder graficar la curva I-V

32
Ilustración 40. Curva I-V Modelo 2

1.2.4 Perdidas
Por ultimo se tuvieron en cuenta perdidas por suciedad o polvo, por sombras, discordancia con
rayos solares, cableado, conexiones, “lid”, nameplate_rating y “availability”. Estos valores se
tomaron del modelo de realizado por Nelson Andrés Salazar.
Estos valores fueron aplicados a los resultados obtenidos con el método de “Single Diode Method
Inicialization”.
Con esto se termina la modelación de la segunda comprobación.
1.2.5 Resultados comprobación 2

Ilustración 41.Energía Diaria Sistema A simulada y real con errores porcentuales diarios para la comprobación 2

33
Ilustración 42. Energía Diaria Sistema B simulada y real con errores porcentuales diarios para la comprobación 2

1.3 Comprobación de las funciones de Pvlib Usando datos de radiación y temperatura de


módulo de Meteocontrol (1 año)

La comprobación 3 siguió el mismo procedimiento a la comprobación 2, la diferencia es que se


usaron datos de radiación de Meteocontrol desde octubre del 2019 hasta octubre del 2020.
1.3.1 Resultados Comprobación 3

Ilustración 43. Energía mensual sistema A simulado y real con errores porcentuales mensuales para la comprobación 3

34
Ilustración 44. Energía mensual sistema A simulado y real con errores porcentuales mensuales para la comprobación 3

PARTE 2: APLICACIÓN DEL MODELO AL LUGAR ESCOGIDO.


Una vez con el modelo creado y comprobado su similitud a la realidad, se prosiguió a determinar
las características del modelo solar fotovoltaico del lugar escogido. El lugar fue el Colegio Hebreo
Unión, en Barranquilla, Colombia.
2.1 Áreas Disponibles
Como primer paso, se hablo con el colegio para identificar las áreas disponibles para poder poner
los módulos. Se decidió entonces que las áreas con las que se iban a trabajar era el techo de primaria
y de bachillerato. Que son las áreas circuladas en azul.

Ilustración 45. Áreas escogidas para realizar el modelo del sistema solar fotovoltaico en el Colegio Hebreo Union

35
Una vez identificadas se fue hasta el lugar para medir estas áreas. También ese mismo día se realizo
un análisis de carga en las instalaciones del colegio. Este análisis se hizo identificando los equipos
que usan Energía en el colegio (Aires acondicionados, Bombillos, Computadores y demás equipos)
y sus horas de uso en un día normal.
2.1.1 Bachillerato
Se encontró un techo plano y bastante limpio, con una estructura en forma de U sin ningún uso
que podía ser removida, por otra parte, se encontró un “bloque” donde se encontraban unos tanques
de agua. Adicionalmente unos aires acondicionados que podrían ser puestos en otra ubicación en
ese mismo techo.

Ilustración 46. Plano Techo bachillerato

2.1.2 Primaria
En esta sección se encontró un techo limpio y con otra estructura en U que podría ser removida,
Adicionalmente se encontraron unos aires que puedes ser recolocados para promover el mayor uso
de espacio para los paneles

Ilustración 47. Plano techo primaria

36
Teniendo esto en cuenta El área total disponible es de 317.75𝑚2

2.2 Análisis de Carga


EL colegio cuenta con 43 salones, donde se incluyen las aulas de los estudiantes, oficinas de
profesores, recepción entre otros. Cada salón cuenta con mínimo un aire acondicionado y con sus
respectivos bombillos. En el colegio existen tanto aires centrales como de pared.
Para este análisis se tomaron 8 horas de uso para los aires y las luces dentro de estos salones, ya
que la jornada escolar va de 7:00 am a 3:00pm.

ITEM ENERGIA [KWh/dia] ENERGIA [KWh/mes]


AIRES AC 1125.58 24762.76
BOMBILLOS 62.50 1374.91
OTROS 38.79 853.38
TOTAL 1226.87 26991.05
Tabla 2. Carga Diaria y energía consumida mensual

Para el calculo de los KWh/mes, se tomo un mes de 30 días, y se le restaron los días del fin de
semana (sábado y domingo) ya que en estos días prácticamente el consumo es nulo. Por ende, se
multiplico la carga diaria por 22 días.
2.3 Definición del sistema solar fotovoltaico
2.3.1 Selección de módulos solares y # de paneles para suplir energía
Una vez conociendo la demanda diaria es posible conocer un aproximado de cuantos paneles
solares son necesarios para suplir esta demanda
Como primer paso es necesario convertir toda la energía AC en DC, para esto es viable asumir una
eficiencia del inversor entre 0.95 a 0,8% [5]. Por ende, nosotros usaremos 0,9%
𝐸𝑛𝑒𝑟𝑔𝑖𝑎𝐴𝐶
= 𝐸𝑛𝑒𝑟𝑔𝑖𝑎 𝐷𝐶
0,9
Luego este valor lo dividimos por el valor promedio diario de la radiación total horizontal de
Barranquilla, el cual es 5.5 KWh/día. Esto con el fin de obtener la potencia necesaria para el
sistema.

37
Tabla 3. GHI promedio de Barranquilla [14]

𝐸𝑛𝑒𝑟𝑔𝑖𝑎𝐷𝐶
= 𝑃𝑜𝑡𝑒𝑛𝑐𝑖𝑎 𝑑𝑒𝑙 𝑠𝑖𝑠𝑡𝑒𝑚𝑎
𝐺𝐻𝐼

Conociendo la potencia del sistema esta se divide por el valor de la potencia nominal de los paneles
solares a usar. Los módulos escogidos para realizar el proyecto seran los Trina Solar TSM-
410DE15H(II). Este módulo fue escogidio por las siguientes razones:
• Trina solar es una de las marcas con mayor reconocimeitno ultimamente en el ambito solar
fotovoltaico a nivel mundial, a su vez es uno de los mayores productores en este campo.
• Los módulos solares de Trina tienen alta eficiencia, buenos materiales y son economicos
comparados con las otras marcas.
• El módulo escogido tiene una garantia de 10 años por defecto de fabricas, y de 25 por
degradacion.
• Al ser monocristalino maximiza la generacion, por ende cuando el espacio es un limitante
se usan estos tipos de paneles.
• Es un módulo comercial en colombia, lo cual lo hace mas asequible.

Este módulo tiene una potencia de 410W.


𝑃𝑜𝑡𝑒𝑛𝑐𝑖𝑎 𝑑𝑒𝑙 𝑠𝑖𝑠𝑡𝑒𝑚𝑎
= # 𝑑𝑒 𝑝𝑎𝑛𝑒𝑙𝑒𝑠
𝑝𝑜𝑡𝑒𝑛𝑐𝑖𝑎 𝑛𝑜𝑚𝑖𝑛𝑎𝑙 𝑝𝑎𝑛𝑒𝑙

38
Con base en este proceso se encontró lo siguiente.
# paneles
ITEM
100% 75% 50% 35% 25%
AIRES AC 628 471 314 220 157
BOMBILLOS 35 26 17 12 9
OTROS 22 16 11 8 5
ENERGIA TOTAL 685 513 342 240 171

Tabla 4. # Paneles necesarios para suplir % de la carga diaria2.

2.3.2 Máximo numero de paneles posibles y diseño de 6 configuraciones diferentes


Una vez con el aproximado de paneles se prosiguó a usar una herramienta llamada EasySolar, la
cual nos permite ubicar y conocer el numero de paneles maximos en un area definida. Esta
herramienta tambien realiza un analisis energetico y financiero, sin embargo para nuestro caso solo
usaremos la opcion de numero de paneles. La herramienta se usó para conocer el numero de
paneles con 2 configuraciones diferentes, la primera con un azimut de 180° como lo dice la
litaratura y la segunda teninedo un azimut que fuera paralelo al techo del colegio, esto con el fin
se conocer que resultaba mas eficiente energeticamente y economicamente. A su vez para cada
configuración se tuvieron en cuenta 3 diferentres diseños, el 100% del area disponible, solo
bachillerato o solo primaria.

El primer paso era definir el area

Ilustración 48. Definición áreas para estudio con azimut 180°

El siguiente paso fue especificar las caracteristicas de inclinacion de módulos, azimut, filas en
construccion y distancia entre construcciones.

39
Para el primer modelo se usaron la siguientes caracteristicas. El modelo utilizado en esta
herramienta LG395N2t-A5 NeOn, tiene las mismas dimensiones que el módulo solar escogido
(2m^2), por ende se uso este módulo para saber el numero maximo de paneles que pueden estar
en el area seleccionada.

Ilustración 49. Parámetros para sistema con azimut de 180°

La distancia entre construcciones se encontró usando una calculadora online de distancias entre
paneles, en la pagima de Monsolar

Ilustración 50. Distancias entre paneles [20]

Ilustración 51. Distancias entre paneles calculadas con la calculadora de Monsolar [20]

40
Para la generacion de los paneles tambien se tuvo en cuenta que el techo no podia estar 100%
lleno, ya que es necesraio que exista un acceso peatonal para facilitar la instalación, el
mantenimiento y limpieza de estos módulos, por ende se dejaron unos espacios sin llenar.

Para la configuracion con 180° de azimut encontramos un maximo de 220 paneles

Ilustración 52. Representación visual del sistema solar fotovoltaico con azimut 180°

Para el segundo modelo se usaron las siguientes caracteristicas

Ilustración 53. Parámetros para sistema con azimut de 205°

41
Para esta configuracion se encuntra un maximo de 264 módulos

Ilustración 54. Representación visual del sistema solar fotovoltaico con azimut 205°

2.3.3 Inversores
Una vez con el máximo de módulos posibles, es posible conocer la potencia máxima, esto con el
fin de encontrar un inversor adecuado y por ende poder conocer los paneles en serie y paralelo del
sistema.
Los inversores que se utilizarán para este proyecto serán
• ABB: TRIO 27.6-TL-OUTD-S2X
• Sungrow Power Supply Co - Ltd:SG60KU-M [480V]
• KACO blueplanet 50.0 TL3
Se escogieron estos inversores ya que son comerciales, económicos y son de marcas reconocidas
en inversores solares.
2.4 Definición sistema
Para encontrar los máximos y mínimos de paneles en serie se uso la siguiente formula
Primero se debe tener en cuenta la temperatura en el rendimiento del módulo solar, por ende, es
necesario encontrar el voltaje mínimo esperado en los días mas calurosos y el máximo en los días
mas fríos.
Voltaje máximo de módulo
𝑇𝐾𝑣𝑜𝑐
𝑀𝑜𝑑𝑢𝑙𝑜 𝑉𝑜𝑐𝑚𝑎𝑥 = 𝑉𝑜𝑐 ∗ [1 + (𝑇𝑚𝑖𝑛 − 𝑇𝑆𝑇𝐶 ) ∗ ( )] [21]
100
Voltaje mínimo del módulo
𝑇𝐾𝑣𝑚𝑝
𝑀𝑜𝑑𝑢𝑙𝑜 𝑉𝑚𝑝𝑚𝑖𝑛 = 𝑉𝑚𝑝 ∗ [1 + (𝑇𝑚𝑎𝑥 + 𝑇𝑎𝑑𝑑 − 𝑇𝑆𝑇𝐶 ) ∗ ( )] [21]
100

Los valores para 𝑇𝑎𝑑𝑑 , dependen de la forma de instalación de los paneles

42
Tabla 5. Temperatura adicional por montaje [5]

Para nuestro módulo la temperatura NOCT es de 45°, por ende, el valor de 𝑇𝑎𝑑𝑑 seria de 49°C.
Con los valores máximo y mínimos del voltaje del módulo ahora calcularemos los paneles en serie
máximos y mínimos para un inversor dado.
Máximos Paneles en serie
𝐼𝑛𝑣𝑒𝑟𝑠𝑜𝑟 𝑉𝑚𝑎𝑥
𝑀𝑎𝑥 𝑚𝑜𝑑 𝑒𝑛 𝑠𝑒𝑟𝑖𝑒 = ( ) [21]
𝑀𝑜𝑑𝑢𝑙𝑜 𝑉𝑜𝑐𝑚𝑎𝑥
Mínimos Paneles en serie
𝐼𝑛𝑣𝑒𝑟𝑠𝑜𝑟 𝑉𝑚𝑖𝑛
𝑀𝑖𝑛 𝑚𝑜𝑑 𝑒𝑛 𝑠𝑒𝑟𝑖𝑒 = ( ) [21]
𝑀𝑜𝑑𝑢𝑙𝑜 𝑉𝑚𝑝𝑚𝑖𝑛

2.5 Simulación
El siguiente paso fue la obtención de los datos meteorológicos de esta ciudad. Por ende, se acudió
a Meteoblue (www.meteoblue.com [22]) los cuales amablemente nos dieron la información
meteorológica de Barranquilla de hace 30 años.
Teniendo esos datos se tomaron los últimos 25 años para realizar las simulaciones.
Para las simulaciones del 100% del área disponible, solo bachillerato y solo primaria con azimut
180° y 205°, se utilizaron las funciones del calculo de la irradiancia efectiva y temperatura de
módulo explicadas en la sección “Creación de modelo, simulando radiación y su posterior
comparación con Meteocontrol”. Una vez con este valor de irradiancia efectiva y temperatura de
módulo se prosiguió a simular el sistema diseñado anteriormente para obtener entonces los datos
de Energía AC dentro de los próximos 25 años.

Ilustración 55. Latitud y longitud del Colegio Hebreo Unión, de Google Maps

43
2.6 Análisis Financiero
2.6.1 Flujo de Deuda
Una vez con la energía generada, se procedió a realizar el análisis financiero, haciendo un flujo de
deuda, Flujo de Caja libre y el costo nivelado de energía (LCOE).
Se realizaron 4 flujos de deuda para cada diseño, ya que en cada flujo de deuda se calculaba para
un porcentaje de la inversión total. Para este flujo se usó una tasa de interés del 10.6% EA, y a un
plazo de 10 años. Luego se tuvo en cuenta el ahorro tributario, multiplicando el interés por la tasa
impositiva (33%). Se escogió el tipo de pago con cuota constante.
2.6.2 Flujo de Caja
2.6.2.1 Inversión o CAPEX
Para la inversión inicial es necesario conocer no solo los costos de los paneles e inversores, hay
otros componentes necesarios para que el sistema pueda funcionar.
En internet solo es posible encontrar los precios de los inversores y el módulo, cave resaltar que
las compañías o empresas vendedoras de paneles, dan un descuento al comprar módulos al por
mayor. Por ende, se asumirá un descuento del 10% para cada unidad. Una vez con estos costos, se
encontró el valor total de los soportes o “racks”. Según NREL, el valor total de los soportes no
debe superar el 3% del valor de la inversión total [23]. Por ende, se encontró que el valor del rack
corresponde al 4% del valor total de los módulos e inversores. Una vez con estos valores se siguió
la distribución del precio de la inversión inicial que se muestra a continuación.

Ilustración 56. Costos totales de un sistema solar fotovoltaico montado en soportes [24]

44
Ilustración 57. Porcentaje de los costoso de Otros costos de un sistema solar fotovoltaico [24]

Con esta distribución se busco que la instalación y el cableado fueran alrededor del 5% de la
inversión total cada uno. Así el valor del cableado e instalación fue del 5% y 7% respectivamente
del valor total de los módulos e inversores. Adicionalmente y para completar el 34% de los costos
“BOS” se añadió un costo llamados otros, con un valor al 12% del valor total de los módulos e
inversores
Adicional a la inversión inicial, es necesario cambiar los inversores en el año 10 y 20 del proyecto,
ya que la vida útil promedio de este componente es de 10 años.
2.6.2.1 Mantenimiento
Para garantizar un correcto funcionamiento y prolongar la vida del sistema es necesario realizar
un mantenimiento anual. Se encontró que el costo de mantenimiento esta entre $3USD-$10USD
[25] por módulo, por ende, usaremos un valor de $ 17.500 COP por módulo para el sistema la
configuración de 180° y $ 10.000 para la configuración de 205°. Ya que es mas económico menos
soportes mas largos que mas soportes menos largos [26].
COSTOS DEL SISTEMA
ITEM NOMBRE $
MODULO SOLAR TSM-410DE15H(II) $ 430,000.00

INVERSOR KACO blueplanet 50.0 TL3 $ 20,000,000.00


Sungrow Power Supply Co -
INVERSOR
Ltd:SG60KU-M [480V] $ 28,000,000.00
INVERSOR ABB: TRIO 27.6-TL-OUTD-S2X $ 19,400,000.00
INVERSOR KACO blueplanet 50.0 TL3 $ 20,000,000.00
MONTAJE Soporte/unidad 4%

Tabla 6. Costos del sistema solar fotovoltaico

45
OTROS COSTOS
KWh/COP hoy $ 410.00
Porcentaje instalacion 7%

Precio mantenimiento/unidad $ 17,000.00

Precio cables 5%
OTROS 10%
Tabla 7. Otros costos asociados al sistema

2.6.2.2 KWh/COP
Para conocer el ahorro anual generado por el sistema solar fotovoltaico se necesita conocer el valor
del KWh en Colombia para cada año. Este valor a diferencia de otros no crece con la inflación, ya
que Colombia al ser un país con déficit energético y con los fenómenos naturales anuales de la
Niña y el Niño generan un aumento en el crecimiento de este costo. Por ende, se realizará una
proyección, tomando los valores máximos de los ultimo dos años de la tarifa pagada por el colegio
(valores obtenidos desde el portal de tarifas de VATIA), para obtener un tipo línea de tendencia
que mas se ajuste al comportamiento y por ende una función a usar. Como ultimo paso se calculó
la variación promedio del precio del KWh obtenido, esto con el fin de tener una tasa de cambio
para el cálculo del LCOE.

Ilustración 58. Comportamiento del precio del KWh pagado

2.6.2.3 Premisas
Para poder realizar un buen análisis financiero, es necesario establecer premisas lo mas parecido a
la realidad. Por ende, los valores escogidos son valores promedios o normales.

46
Premisas
IPC 3%
TASA IMPOSITIVA 33%

WACC 8%

INTERES BANCARIO 10.63%


PLAZO DEL CREDITO 10.00
CRECIMIENTO ENERGIA 5%
Tabla 8. Premisas utilizadas para el análisis financiero

Se escogió un WACC del 8% ya que el colegio al no ser una persona natural, y los dueños al tener
la posibilidad de invertir en otros proyectos su costo de oportunidad debe ser un poco mayor que
el de una persona común (3%). Por otra parte, se asumió una tasa de interés del 10.62%, ya que
como se dijo anteriormente el colegio al no ser una persona natural puede aplicar a un crédito con
una menor tasa de interés que el promedio. A su vez Con la ley 1715 del 2014 de la UPME, el
gobierno colombiano contempla unos beneficios tributarios a los que inviertan en energías no
convencionales, en especial las renovables. Estos incentivos son una deducción de hasta el 50%
del valor de la inversión en el impuesto de renta y depreciación acelerada. Adicionalmente existe
la ley CREG 030 2018, la cual regula la venta de excesos de energía generada a la red. Al no tener
conocimientos de los manejos tributarios del Colegio Hebreo Unión se decidió no tener en cuenta
estos incentivos para el análisis financieros.

2.6.3 Indicadores de Bondad Financiera (IBF) y LCOE


Una vez con el Flujo de Caja libre se encontraron los siguiente IBF para cada alternativa

• VPN (valor presente neto, con la función VNA de Excel)


• TIR (Tasa interna de retorno, con la función TIR de Excel)
• B/C (relación beneficio costo, la división entre los ingresos y costos en valor presente neto.)
• PBP, Pay Back Period (Periodo de retorno de inversión, en años)

El LCOE se calculo con la siguiente formula

𝐼𝑡 + 𝑀𝑡 + 𝐹𝑡
∑𝑛𝑡=1
(1 − 𝑟)𝑡
𝐿𝐶𝑂𝐸 = [5]
𝐸𝑡
∑𝑛𝑡=1
(1 − 𝑟)𝑡

47
Donde 𝐼𝑡 significa la inversión en el periodo t, 𝑀𝑡 los costos de mantenimiento en el periodo t, 𝐹𝑡
los costos por combustible, que en el caso de los sistemas solares fotovoltaicos es 0, 𝐸𝑡 es la
energía generada en el periodo t y por último 𝑟, que es la tasa de descuento.
Para tener en cuenta los prestamos y calcular un LCOE mas exacto para cada alternativa, se tomo
como inversión inicial la diferencia entre el préstamo del banco y la inversión total, luego a cada
periodo se le nombre inversión a la cuota del préstamo.
2.7 Definición de las diferentes configuraciones
100% de Área Azimut 180°
El sistema cuenta con 220 módulos solares, dos inversores, uno para el Sistema A y otro para el
Sistema B. La razón de dividir esta configuración en 2 es que los inversores que pueden soportar
la totalidad de la carga son muy pesados, lo cual dificulta su transporte al techo del colegio. Por
último, este sistema cuenta con una potencia de 90KWp. Supliendo un 41% del total de la demanda
diaria. Con un PR promedio el primer año del 86% y en promedio 69%.
ABB: TRIO 27.6-TL-OUTD-S2X
SISTEMA A MPPT 1 MPPT 2
Serie 19 19
Paralelo 2 2
TOTAL 38 38
TOTAL 76
Tabla 9. Configuración Subsistema A del Diseño 100% de Área Azimut 180.

Sungrow Power Supply Co - Ltd:SG60KU-M [480V]


SISTEMA B MPPT 1 MPPT 2
Serie 18 18
Paralelo 4 4
TOTAL 72 72
TOTAL 144
Tabla 10. Configuración Subsistema B del Diseño 100% de Área Azimut 180

Solo Bachillerato Azimut 180°


Este sistema cuenta con 68 módulos solares, un inversor y una potencia de 27.8KWp. Supliendo
el 13% de la demanda diaria. Este sistema tiene un PR en el primer año de 85% y en promedio de
69%
ABB: TRIO 27.6-TL-OUTD-S2X
SISTEMA MPPT 1
Serie 17
Paralelo 4
TOTAL 68
TOTAL 68
Tabla 11. Configuración del Diseño Solo Bachillerato Azimut 180°

48
Solo Primaria Azimut 180°
Este sistema cuenta con 152 paneles solares, un inversor y una potencia de 62.3 KWp. Supliendo
un total del 28% de la demanda energética diaria del colegio. El sistema en el primer año tiene un
PR 64% y en promedio de 56%
Sungrow Power Supply Co - Ltd:SG60KU-M [480V]
SISTEMA MPPT 1 MPPT 2
Serie 19 19
Paralelo 4 4
TOTAL 76 76
TOTAL 152
Tabla 12. Configuración del Diseño Solo Primaria Azimut 180°

100% de Área Azimut 205°


El sistema completo 205° cuenta con 264 módulos solares, dos inversores (misma razón que en la
configuración de 180°) y una potencia de 105 KWp. Se divide en 2 subsistemas, el A y el B. Este
diseño suple el 49% de la demanda total. Tiene un PR en el primer año de 23% y en promedio del
38%.
KACO blueplanet 50.0 TL3
SISTEMA A MPPT 1
Serie 15
Paralelo 8
TOTAL 120
TOTAL 120
Tabla 13. Configuración Subsistema A del sistema completo 205°

Sungrow Power Supply Co - Ltd:SG60KU-M [480V]


SISTEMA B MPPT 1 MPPT 2
Serie 18 18
Paralelo 4 4
TOTAL 72 72
TOTAL 144
Tabla 14. Configuración Subsistema B del sistema completo 205°

Solo Bachillerato Azimut 205°


Este sistema cuenta con 72 paneles, un inversor y 28KWp de potencia. Supliendo un 13% de la
demanda energética diaria. Tiene un PR en el primer año de 56% y en promedio del 49%.

49
ABB: TRIO 27.6-TL-OUTD-S2X
SISTEMA MPPT 1
Serie 18
Paralelo 4
TOTAL 72
TOTAL 72
Tabla 15. Configuración del sistema bachillerato 205°

Solo Primaria Azimut 205°


El sistema de solo primaria Cuenta con 188 módulos solares, 2 subsistemas (A y B), cada uno con
un diferente inversor y una potencia de 75.2 KWp. Tiene la capacidad de suplir el 35% de la
demanda energética diaria y tiene un PR en el primer año del 48% y en promedio del 42%.
ABB: TRIO 27.6-TL-OUTD-S2X
SISTEMA A MPPT 1
Serie 17
Paralelo 4
TOTAL 68
Tabla 16. Configuración Subsistema A del sistema primaria 205°

KACO blueplanet 50.0 TL3


SISTEMA B MPTT 1
Serie 15
Paralelo 8
TOTAL 120
Tabla 17. Configuración Subsistema B del sistema primaria 205°

50
PARTE 3: COMPARACIÓN Y SELECCIÓN DE LA MEJOR
CONFIGURACIÓN ENERGÉTICA Y FINANCIERAMENTE
3.1 Energía producida

Ilustración 59. Energía generada Diseño 100% Área Azimut 180°

Ilustración 60. Energía generada Diseño solo Bachillerato 180°

51
Ilustración 61. Energía generada Diseño solo Primaria 180°

Ilustración 62. Energía generada Diseño 100% de Área Azimut 205

52
Ilustración 63. Energía generada Diseño solo Bachillerato Azimut 250°

Ilustración 64. Energía generada Diseño solo Primaria Azimut 250°

53
3.2 Resultados Financieros

Nombre Diseño Azimut 180° 100%


% Deduda 100% 75% 50% 30%
VPN $ 574,186,384.72 $ 622,478,654.30 $ 670,770,923.87 $ 709,404,739.54
TIR 27% 30% 33% 35%
B/C 3.83 4.09 4.33 3.83
PBP (años) 6.86 5.88 4.95 4.86
LCOE $ 242.48 $ 230.52 $ 225.33 $ 215.76
Inversion Propia $ - $ 50,338,250.00 $ 100,676,500.00 $ 140,947,100.00

Nombre Diseño Azimut 180° solo Bachillerato


% Deduda 100% 75% 50% 30%
VPN $ 156,856,183.43 $ 173,326,252.22 $ 189,796,321.01 $ 202,972,376.04
TIR 23% 26% 29% 31%
B/C 3.15 3.42 3.70 3.15
PBP (años) 7.90 6.89 5.90 4.99
LCOE $ 276.66 $ 272.38 $ 259.06 $ 248.40
Inversion Propia $ 17,167,850.00 $ 34,335,700.00 $ 48,069,980.00

Nombre Diseño Azimut 180° solo Primaria


% Deduda 100% 75% 50% 30%
VPN $ 297,162,401.73 $ 313,888,490.62 $ 345,710,691.41 $ 371,168,452.04
TIR 23.7% 25.1% 28.0% 30.3%
B/C 3.19 3.36 3.61 3.19
PBP (años) 6.96 6.91 5.93 5.82
LCOE $ 277.33 $ 270.50 $ 256.66 $ 245.58
Inversion Propia $ - $ 33,170,400.00 $ 66,340,800.00 $ 92,877,120.00
Tabla 18. Índices de bondad financiera para configuraciones con azimut 180°

54
Nombre Diseño Azimut 205° 100%
% Deduda 100% 75% 50% 30%
VPN $ 172,113,448.33 $ 223,886,849.80 $ 275,660,251.27 $ 317,078,972.44
TIR $ 0.13 $ 0.15 $ 0.17 $ 0.19
B/C $ 1.71 $ 1.96 $ 2.20 $ 1.71
PBP (años) $ 15.95 $ 13.91 $ 9.96 $ 8.92
LCOE $ 487.11 $ 463.87 $ 453.68 $ 435.09
Inversion Propia $ - $ 54,714,900.00 $ 109,429,800.00 $ 153,201,720.00

Nombre Diseño Azimut 205° solo Bachillerato


% Deduda 100% 75% 50% 30%
VPN $ 82,499,240.64 $ 98,641,566.65 $ 127,697,753.48 $ 127,697,753.48
TIR 16% 19% 24% 24%
B/C 2.08 2.31 2.08 2.08
PBP (años) 12.95 8.99 6.94 6.94
LCOE $ 436.28 $ 416.18 $ 410.69 $ 394.61
Inversion Propia $ - $ 17,059,450.00 $ 34,118,900.00 $ 47,766,460.00

Nombre Diseño Azimut 205° solo Primaria


% Deduda 100% 75% 50% 30%
VPN $ 26,739,601.38 $ 78,513,002.85 $ 130,286,404.32 $ 171,705,125.49
TIR 9% 11% 13% 15%
B/C 1.11 1.32 1.54 1.11
PBP (años) 23.98 18.98 15.93 12.97
LCOE $ 607.37 $ 578.40 $ 565.69 $ 542.51
Inversion Propia $ - $ 54,714,900.00 $ 109,429,800.00 $ 153,201,720.00
Tabla 19. Índices de bondad financiera para configuraciones con azimut 205°

Comparando Las ilustraciones de producción energética anual en la vida del proyecto y los
indicadores de bondad financiera para cada configuración, es posible determinar que la mejor
energética y financieramente es Azimut 180° 100%, ya que presenta los mayores valores en
términos de producción de energía anual y durante los 25 años, siendo la opción con mayor
porcentaje de cobertura. A su vez cuenta con los mejores indicies de bondad financiera, siendo
estos un periodo de retorno de inversión corto, una inversión propia muy accesible y unas cuotas
mensuales muy razonables.

55
CONCLUSIONES.

Se puede evidenciar en las comparaciones 1, 2 y 3 que el modelo desarrollado utilizando las


funciones y métodos de Pvlib-Python se acerca bastante a la energía generada y radiación medida
por el sistema de Meteocontrol. Por ende, es posible concluir que el modelo tiene un buen
desempeño tanto en situaciones con o sin datos de radiación confiables, obviamente entre mejor
los datos de radiación, mejor será el desempeño de este. Con esto se puede decir que la herramienta
Pvlib-Python es excelente para primeros estudios de viabilidad o generación energética en
proyectos de sistemas solares fotovoltaicos, ya sean residenciales, comerciales o de utility. Sin
embargo, es importante que se conozcan datos como el diseño del sistema, los características del
módulo e inversor y condiciones meteorológicas del lugar para garantizar una buena simulación.
Como trabajos posteriores se puede utilizar esta herramienta para proponer mejoras en el sistema
solar fotovoltaico de la Universidad de los Andes, así como identificar posibles nuevas ubicaciones
para módulos solares dentro de la Universidad, como en los techos del edificio Mario Laserna
entre otros.
Para la segunda parte se pudo evidenciar que la mejor configuración energética y financieramente
es la de 180°, o con los módulos orientados directamente al sur. Esto ya que a pesar de que la
configuración de 205° tenía mas módulos solares y costos de montaje reducidos, la generación de
energía era inferior a la de 180°, haciendo que el aumento de la inversión inicial por los módulos
solares adicionales se pagase en un tiempo mucho mayor, lo que a su vez redujo los indicadores
financieros. Por otra parte, se pudo concluir que el mejor diseño es el 100% ya que, a pesar de su
mayor inversión inicial, es la alternativa que mas genera energía y estos sobrecostos son
rápidamente pagados. Lo opuesto a los otros dos diseños, que tienen menos inversión, pero por su
menor generación energética se demoran mas y sus indicadores financieros bajan. Adicionalmente
es común hoy en día que bancos ofrezcan créditos especializados en este tipo de proyectos,
pagando ellos el 75% y la institución el 25% de la inversión total inicial. Lo cual hace que este
diseño tenga una inversión propia y cuotas anuales muy accesibles. Por último, gracias a la ley
1715 del 2014 de la UPME la cual genera unos beneficios tributarios a las entidades que inviertan
en proyectos de generación no convencionales de energía el proyecto es aun mejor financieramente
que lo planteado en este estudio, ya que se puede realizar un descuento en el impuesto de renta de
hasta un 50% del total de la inversión. Complementaria a esta ley existe la Ley CREG 030 del
2018, la cual regula la venta de excesos de energía a la red, siendo un negocio muy viable ya que
el colegio consume poca energía los fines de semana, los meses de vacaciones y su carga diaria
disminuye drásticamente después de las 3 de la tarde, cuando las clases terminan.
Este análisis financiero puede ser útil como complemento de la herramienta Pvlib-Python, o como
modelo para estudios de proyectos solares fotovoltaicos en la universidad u otras entidades o
ubicaciones. Sin embargo, se pueden adicionar la información de los beneficios tributarios dados
por la ley 1715 del 2014 de l a UPME, así como las ventas de los excesos usando la ley CREG
030 del 2018 para tener un mejor análisis.
Por último, fue posible utilizar el modelo realizado comercialmente al demostrar que un sistema
solar fotovoltaico en el Colegio Hebreo Unión es viable energética y financieramente.

56
REFERENCIAS

[1] N. Schonnichen, «Statista,» 2 Septeimbre 2020. [En línea]. Available:


https://www.statista.com/statistics/222066/projected-global-energy-consumption-by-source/.
[Último acceso: 20 Octubre 2020].

[2] W. D. Bank, «Consumo de energía procedente de combustibles fósiles,» 2015.

[3] P. d. l. N. U. p. e. Desarrollo, «Objetivos de desarrollo sostenible,» 2015. [En línea]. Available:


https://www.undp.org/content/undp/es/home/sustainable-development-goals/goal-7-affordable-
and-clean-energy.html. [Último acceso: 11 mayo 2020].

[4] J. VIVAS, «El mapa de 1.710 poblados que aún se alumbran con velas en Colombia,» EL Tiempo, [En
línea]. Available: https://www.eltiempo.com/colombia/otras-ciudades/los-lugares-que-aun-viven-
sin-energia-electrica-en-colombia-325892. [Último acceso: 12 mayo 2020].

[5] A. S. &. K. J. &. O. I. &. R. V. S. &. M. Zeman, Solar Energy: The physics and engineering of photovoltaic
conversion technologies ans systems, Eindhoven University of Technology, 2015.

[6] M. K. Hubbert, 1956.

[7] Factorenergia, «Energías renovables: características, tipos,» 30 agosto 2018. [En línea]. Available:
https://www.factorenergia.com/es/blog/noticias/energias-renovables-caracteristicas-tipos-
nuevos-retos/. [Último acceso: 11 mayo 2020].

[8] Energiza, «Historia de la energia solar fotovoltaica.,» [En línea]. Available:


https://www.energiza.org/index.php?option=com_content&view=article&id=624&catid=22&Itemi
d=111. [Último acceso: 11 mayo 2020].

[9] Habitec, «Una Breve historia de los paneles solares,» [En línea]. Available:
https://blog.habitec.mx/una-breve-historia-de-los-paneles-solares. [Último acceso: 11 mayo 2020].

[10 EPIA, «Global Market for Photovoltaics,» 2018.


]

[11 O. Planas, «Efecto Fotovoltaico,» Energia solar, 13 mayo 2015. [En línea]. Available: https://solar-
] energia.net/energia-solar-fotovoltaica/efecto-fotovoltaico. [Último acceso: 11 mayo 2020].

[12 World Energy Trade , «La energía solar y eólica logran igualar sus precios en China, California y gran
] parte de Europa,» 2019.

[13 ESMAP, «Review of Policy Framework for Increased Reliance in Renewable Energy in Colombia,»
] 2007.

[14 Solargis, «Solar resource maps of Colombia,» 2019. [En línea]. Available: https://solargis.com/maps-
] and-gis-data/download/colombia. [Último acceso: 22 Octubre 2020].

57
[15 Sandia National Laboratories, [En línea]. Available: https://pvpmc.sandia.gov/.
]

[16 Google Maps, «Edificio Santo Domingo Universidad de los Andes,» [En línea]. Available:
] https://www.google.com/maps/@4.6046218,-74.0657342,18z. [Último acceso: 22 Octubre 2020].

[17 N. A. Salazar, Comunicación Personal, 2020.


]

[18 Pvlib Python, «pvlib.atmosphere.get_absolute_airmass,» [En línea]. Available: https://pvlib-


] python.readthedocs.io/en/stable/generated/pvlib.atmosphere.get_absolute_airmass.html.
[Último acceso: 23 Octubre 2020].

[19 Weather Atlas, «Previsión meteorológica y clima mensual Bogotá, Colombia,» [En línea]. Available:
] https://www.weather-col.com/es/colombia/bogota-clima#humidity_relative. [Último acceso: 23
octubre 2020].

[20 Monsolar, «Monsolar,» [En línea]. Available: https://www.monsolar.com/separacion-paneles-


] solares. [Último acceso: 28 Octubre 2020].

[21 J. Alfsen, «Mayfield Renewables,» 10 Octubre 2018. [En línea]. Available:


] https://www.mayfield.energy/blog/pv-string-
size#:~:text=In%20order%20to%20calculate%20the,the%20minimum%20number%20of%20modul
es. [Último acceso: 28 Octubre 2020].

[22 Meteoblue, «Datos meteorologicos historicos Barranquilla,» 2 septiembre 2020. [En línea].
] Available: www.meteoblue.com. [Último acceso: 2 septiembre 2020].

[23 R. Fu, D. Feldman y R. Margolis, «U.S. Solar Photovoltaic System Cost Benchmark,» NREL , 2018.
]

[24 F.-I. f. S. E. S. (ISE), «Current and Future cost of Photovoltaics,» Agora energiewende, p. 40, 2015.
]

[25 Home Advisor, «How Much Does It Cost To Clean And Maintain Solar Panels?,» [En línea]. Available:
] https://www.homeadvisor.com/cost/cleaning-services/solar-panel-
maintenance/#:~:text=Solar%20Panel%20Cleaning%20Cost,range%20of%20%24150%20to%20%24
350.. [Último acceso: 8 noviembre 2020].

[26 D. A. Gomez, Darwin Energia, 2020.


]

[27 NREL, «System Advisor Model (SAM),» 2018. [En línea]. Available: https://sam.nrel.gov/. [Último
] acceso: 11 mayo 2020].

[28 B. Ventageneradores, «Ventageneradores,» 3 marzo 2016. [En línea]. Available:


] https://www.ventageneradores.net/blog/la-evolucion-la-energia-lo-largo-la-historia/. [Último
acceso: 8 mayo 2020].

58
[29 Pvlib Python, «pvlib.pvsystem.sapm_celltemp,» [En línea]. Available: https://wholmgren-pvlib-
] python-new.readthedocs.io/en/doc-
reorg2/generated/pvsystem/pvlib.pvsystem.sapm_celltemp.html. [Último acceso: 23 Octubre
2020].

[30 Fixr, 26 Agosto 2020. [En línea]. Available: https://www.fixr.com/costs/solar-panel-


] maintenance#:~:text=The%20average%20cost%20to%20clean,pay%20between%20%24150%2D%
24330.. [Último acceso: 6 Noviembre 2020].

[31 B. Casey, «Solaris,» 28 Julio 2019. [En línea]. Available: https://www.solaris-shop.com/blog/how-


] much-does-the-average-diy-solar-power-system-cost/?gclid=Cj0KCQiAhZT9BRDmARIsAN2E-
J3tZnRDOEG12UNcslL8SC4ERh9SsiSkoC8JG5tg8q103oehF4hkU38aAjqdEALw_wcB. [Último acceso:
6 Noviembre 2020].

[32 B. O'Neil, «Canstar Blue,» 12 Abril 2019. [En línea]. Available:


] https://www.canstarblue.com.au/solar-power/solar-installation-cost/. [Último acceso: 24
noviembre 2020].

59
ANEXOS

60
Aires Bombillos Otros
Salon # Potencia/unidad [W] Horas de uso Energia [Wh/dia] # Potencia/unidad [W] Horas de uso Energia [Wh/dia] Nombre # Potencia/unidad [W] Horas de uso Energia [Wh/dia]
Kinder A 1 4600 8 36800 12 32 8 3072 - - - - -
Kinder B 1 1500 8 12000 12 32 8 3072 - - - - -
pre kinder B 2 3300 8 52800 4 32 8 1024 - - - - -

61
pre kinder A 1 3300 8 26400 8 32 8 2048 - - - - -
Parvulario 2 1 5200 8 41600 10 32 8 2560 - - - - -
Parvulario 1 1 1500 8 12000 8 32 8 2048 - - - - -
Prescolar
Gimnasio 1 2500 5 12500 8 32 8 2048 - - - - -
Cambiadores 1 4800 5 24000 6 8 8 384 - - - - -
Shalom 1 5200 8 41600 6 8 8 384 - - - - -
Salon Juegos 2 2800 7 39200 14 32 7 3136 - - - - -
Coordinadora 1 1800 8 14400 2 8 8 128 - - - - -
Psicologa 1 1800 8 14400 2 8 8 128 - - - - -
1A - - - - 10 32 8 2560 - - - - -
1B 1 3000 8 24000 8 32 8 2048 - - - - -
2A 1 2800 8 22400 6 32 8 1536 - - - - -
2B 1 4600 8 36800 6 32 8 1536 - - - - -
3A 1 4600 8 36800 6 32 8 1536 - - - - -
3B 1 5200 8 41600 6 32 8 1536 - - - - -
Primaria 4A 1 2800 8 22400 6 8 8 384 - - - - -
4B 1 3360 8 26880 6 8 8 384 - - - - -
Oficina 1 1800 8 14400 2 8 8 128 - - - - -
5A 1 1500 8 12000 8 32 8 2048 - - - - -
5B 1 5200 8 41600 6 32 8 1536 MAC 1 230 5 1150
6A 1 5200 8 41600 4 32 8 1024 - - - - -
6B 1 4600 8 36800 8 32 8 2048 - - - - -
7 1 3300 8 26400 8 32 8 2048 - - - - -
8 1 4600 8 36800 8 32 8 2048 - - - - -
9 1 3300 8 26400 8 32 8 2048 - - - - -
10 1 4600 8 36800 8 32 8 2048 - - - - -
Bachillerato
11 1 5200 8 41600 4 32 8 1024 - - - - -
Matematicas 1 2500 6 15000 8 32 6 1536 - - - - -
Fisica 1 2500 6 15000 4 32 6 768 - - - - -
ANALISIS DE CARGA

Quimica 1 3300 6 19800 8 32 6 1536 - - - - -


Bilbioteca 1 6000 8 48000 18 6 8 864 MAC 10 250 2 5000
Informatica - - - - 8 6 8 384 Computadores 14 300 6 25200
Pofesores 1 7000 8 56000 8 32 8 2048 Nevera 1 110 24 2640
Danza 0 0 0 0 6 32 4 768 - - - - -
Musica 1 6000 8 48000 8 32 4 1024 - - - - -
Otros Arte - - - - 4 32 4 512 - - - - -
Kiosko - - - - 6 32 2 384 - - - - -
Enfermeria - - - - 4 32 8 1024 - - - - -
Hebreo 1 5200 4 20800 8 32 4 1024 - - - - -
C. Judia 1 2500 4 10000 8 32 4 1024 - - - - -
Recepcion 1 5000 8 40000 8 32 8 2048 Computadores 2 300 8 4800
FOTOS DEL TECHO
Techo de Bachillerato

Techo Primaria

62
Valores Mensuales del KWh pagados por el colegio encontrados en la pagina de tarifas de VATIA
para Barranquilla, clientes de Nivel 2 de tensión.

2018 2019 2020


$ 347.00 $ 371.00 $ 370.91
$ 378.46 $ 371.20 $ 381.90
$ 385.60 $ 406.73
$ 375.20 $ 390.97
$ 369.41 $ 393.87
$ 371.44 $ 379.52
$ 372.40 $ 375.34
$ 375.60 $ 388.86
$ 379.10 $ 388.47
$ 384.84 $ 399.86
$ 386.35 $ 402.31
$ 366.16 $ 408.40
FCD, FCL y cálculo LCOE
Azimut 180°
Diseño 100%
FCD

63
FCD prestamo del 100%
Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 201,353,000.00 $ 201,353,000.00 $ 201,353,000.00
1 ($33,618,618.44) ($12,275,200.44) $ 21,343,418.00 $ 189,077,799.56 ($33,618,618.44) $ 7,043,327.94 $ (26,575,290.50)
2 ($33,618,618.44) ($13,576,371.69) $ 20,042,246.75 $ 175,501,427.87 ($33,618,618.44) $ 6,613,941.43 $ (27,004,677.01)
3 ($33,618,618.44) ($15,015,467.09) $ 18,603,151.35 $ 160,485,960.78 ($33,618,618.44) $ 6,139,039.95 $ (27,479,578.49)
4 ($33,618,618.44) ($16,607,106.60) $ 17,011,511.84 $ 143,878,854.19 ($33,618,618.44) $ 5,613,798.91 $ (28,004,819.53)
5 ($33,618,618.44) ($18,367,459.90) $ 15,251,158.54 $ 125,511,394.29 ($33,618,618.44) $ 5,032,882.32 $ (28,585,736.12)
6 ($33,618,618.44) ($20,314,410.65) $ 13,304,207.79 $ 105,196,983.64 ($33,618,618.44) $ 4,390,388.57 $ (29,228,229.87)
7 ($33,618,618.44) ($22,467,738.18) $ 11,150,880.27 $ 82,729,245.47 ($33,618,618.44) $ 3,679,790.49 $ (29,938,827.95)
8 ($33,618,618.44) ($24,849,318.42) $ 8,769,300.02 $ 57,879,927.04 ($33,618,618.44) $ 2,893,869.01 $ (30,724,749.43)
9 ($33,618,618.44) ($27,483,346.17) $ 6,135,272.27 $ 30,396,580.87 ($33,618,618.44) $ 2,024,639.85 $ (31,593,978.59)
10 ($33,618,618.44) ($30,396,580.87) $ 3,222,037.57 $ - ($33,618,618.44) $ 1,063,272.40 $ (32,555,346.04)

FCD prestamo del 75%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 151,014,750.00 $ 151,014,750.00 $ 151,014,750.00
1 ($25,213,963.83) ($9,206,400.33) $ 16,007,563.50 $ 141,808,349.67 ($25,213,963.83) $ 5,282,495.96 $ (19,931,467.88)
2 ($25,213,963.83) ($10,182,278.77) $ 15,031,685.06 $ 131,626,070.90 ($25,213,963.83) $ 4,960,456.07 $ (20,253,507.76)
3 ($25,213,963.83) ($11,261,600.32) $ 13,952,363.52 $ 120,364,470.59 ($25,213,963.83) $ 4,604,279.96 $ (20,609,683.87)
4 ($25,213,963.83) ($12,455,329.95) $ 12,758,633.88 $ 107,909,140.64 ($25,213,963.83) $ 4,210,349.18 $ (21,003,614.65)
5 ($25,213,963.83) ($13,775,594.92) $ 11,438,368.91 $ 94,133,545.72 ($25,213,963.83) $ 3,774,661.74 $ (21,439,302.09)
6 ($25,213,963.83) ($15,235,807.99) $ 9,978,155.85 $ 78,897,737.73 ($25,213,963.83) $ 3,292,791.43 $ (21,921,172.40)
7 ($25,213,963.83) ($16,850,803.63) $ 8,363,160.20 $ 62,046,934.10 ($25,213,963.83) $ 2,759,842.87 $ (22,454,120.97)
8 ($25,213,963.83) ($18,636,988.82) $ 6,576,975.01 $ 43,409,945.28 ($25,213,963.83) $ 2,170,401.75 $ (23,043,562.08)
9 ($25,213,963.83) ($20,612,509.63) $ 4,601,454.20 $ 22,797,435.65 ($25,213,963.83) $ 1,518,479.89 $ (23,695,483.94)
10 ($25,213,963.83) ($22,797,435.65) $ 2,416,528.18 $ 0.00 ($25,213,963.83) $ 797,454.30 $ (24,416,509.53)

FCD prestamo del 50%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 100,676,500.00 $ 100,676,500.00 $ 100,676,500.00
1 ($16,809,309.22) ($6,137,600.22) $ 10,671,709.00 $ 94,538,899.78 ($16,809,309.22) $ 3,521,663.97 $ (13,287,645.25)
2 ($16,809,309.22) ($6,788,185.84) $ 10,021,123.38 $ 87,750,713.94 ($16,809,309.22) $ 3,306,970.71 $ (13,502,338.51)
3 ($16,809,309.22) ($7,507,733.54) $ 9,301,575.68 $ 80,242,980.39 ($16,809,309.22) $ 3,069,519.97 $ (13,739,789.25)
4 ($16,809,309.22) ($8,303,553.30) $ 8,505,755.92 $ 71,939,427.09 ($16,809,309.22) $ 2,806,899.45 $ (14,002,409.77)
5 ($16,809,309.22) ($9,183,729.95) $ 7,625,579.27 $ 62,755,697.14 ($16,809,309.22) $ 2,516,441.16 $ (14,292,868.06)
6 ($16,809,309.22) ($10,157,205.32) $ 6,652,103.90 $ 52,598,491.82 ($16,809,309.22) $ 2,195,194.29 $ (14,614,114.93)
7 ($16,809,309.22) ($11,233,869.09) $ 5,575,440.13 $ 41,364,622.73 ($16,809,309.22) $ 1,839,895.24 $ (14,969,413.98)
8 ($16,809,309.22) ($12,424,659.21) $ 4,384,650.01 $ 28,939,963.52 ($16,809,309.22) $ 1,446,934.50 $ (15,362,374.72)
9 ($16,809,309.22) ($13,741,673.09) $ 3,067,636.13 $ 15,198,290.43 ($16,809,309.22) $ 1,012,319.92 $ (15,796,989.30)
10 ($16,809,309.22) ($15,198,290.43) $ 1,611,018.79 $ - ($16,809,309.22) $ 531,636.20 $ (16,277,673.02)

FCD prestamo del 30%


Periodo Cuota Abono Interes Saldo FCD antes impuestosAhorro Tributario FCD desp. Impuestos
0 0 0 0 $ 60,405,900.00 $ 60,405,900.00 $ 60,405,900.00
1 ($10,085,585.53) ($3,682,560.13) $ 6,403,025.40 $ 56,723,339.87 ($10,085,585.53) $ 2,112,998.38 $ (7,972,587.15)
2 ($10,085,585.53) ($4,072,911.51) $ 6,012,674.03 $ 52,650,428.36 ($10,085,585.53) $ 1,984,182.43 $ (8,101,403.10)
3 ($10,085,585.53) ($4,504,640.13) $ 5,580,945.41 $ 48,145,788.24 ($10,085,585.53) $ 1,841,711.98 $ (8,243,873.55)
4 ($10,085,585.53) ($4,982,131.98) $ 5,103,453.55 $ 43,163,656.26 ($10,085,585.53) $ 1,684,139.67 $ (8,401,445.86)
5 ($10,085,585.53) ($5,510,237.97) $ 4,575,347.56 $ 37,653,418.29 ($10,085,585.53) $ 1,509,864.70 $ (8,575,720.84)
6 ($10,085,585.53) ($6,094,323.19) $ 3,991,262.34 $ 31,559,095.09 ($10,085,585.53) $ 1,317,116.57 $ (8,768,468.96)
7 ($10,085,585.53) ($6,740,321.45) $ 3,345,264.08 $ 24,818,773.64 ($10,085,585.53) $ 1,103,937.15 $ (8,981,648.39)
8 ($10,085,585.53) ($7,454,795.53) $ 2,630,790.01 $ 17,363,978.11 ($10,085,585.53) $ 868,160.70 $ (9,217,424.83)
9 ($10,085,585.53) ($8,245,003.85) $ 1,840,581.68 $ 9,118,974.26 ($10,085,585.53) $ 607,391.95 $ (9,478,193.58)
10 ($10,085,585.53) ($9,118,974.26) $ 966,611.27 $ - ($10,085,585.53) $ 318,981.72 $ (9,766,603.81)

64
FCL
100% AZIMUT 180° DEUDA DEL 100%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 201,353,000.00 $ - $ - $ 201,353,000.00 $ (201,353,000.00) $ (201,353,000.00) $ (201,353,000.00) 1.00
1 $ - $ 87,445,902.68 $ 3,740,000.00 $ (26,575,290.50) $ 57,130,612.17 $ 52,898,714.98 $ (148,454,285.02) 1.00
2 $ - $ 72,809,499.81 $ 3,852,200.00 $ (27,004,677.01) $ 41,952,622.80 $ 35,967,612.14 $ (112,486,672.89) 1.00
3 $ - $ 72,546,616.24 $ 3,967,766.00 $ (27,479,578.49) $ 41,099,271.74 $ 32,625,926.99 $ (79,860,745.89) 1.00
4 $ - $ 92,358,624.38 $ 4,086,798.98 $ (28,004,819.53) $ 60,267,005.87 $ 44,298,048.45 $ (35,562,697.44) 1.00
5 $ - $ 80,242,366.25 $ 4,209,402.95 $ (28,585,736.12) $ 47,447,227.18 $ 32,291,785.56 $ (3,270,911.88) 1.00
6 $ - $ 82,179,812.44 $ 4,335,685.04 $ (29,228,229.87) $ 48,615,897.53 $ 30,636,262.01 $ 27,365,350.13 0.86
7 $ - $ 94,091,465.01 $ 4,465,755.59 $ (29,938,827.95) $ 59,686,881.47 $ 34,826,722.06 $ 62,192,072.19 0.00
8 $ - $ 93,624,356.86 $ 4,599,728.26 $ (30,724,749.43) $ 58,299,879.17 $ 31,497,610.69 $ 93,689,682.88 0.00
9 $ - $ 104,827,202.05 $ 4,737,720.10 $ (31,593,978.59) $ 68,495,503.35 $ 34,264,804.80 $ 127,954,487.68 0.00
10 $ 63,701,636.38 $ 97,357,584.34 $ 4,879,851.71 $ (32,555,346.04) $ (3,779,249.79) $ (1,750,523.89) $ 126,203,963.79 0.00
11 $ - $ 90,724,741.11 $ 5,026,247.26 $ 85,698,493.85 $ 36,754,615.08 $ 162,958,578.87 0.00
12 $ - $ 92,898,527.31 $ 5,177,034.68 $ 87,721,492.64 $ 34,835,411.65 $ 197,793,990.53 0.00
13 $ - $ 105,432,184.81 $ 5,332,345.72 $ 100,099,839.09 $ 36,806,503.09 $ 234,600,493.62 0.00
14 $ - $ 103,413,741.41 $ 5,492,316.09 $ 97,921,425.32 $ 33,338,430.44 $ 267,938,924.06 0.00
15 $ - $ 109,340,097.29 $ 5,657,085.57 $ 103,683,011.71 $ 32,685,209.39 $ 300,624,133.45 0.00
16 $ - $ 117,010,769.01 $ 5,826,798.14 $ 111,183,970.87 $ 32,453,541.24 $ 333,077,674.69 0.00
17 $ - $ 108,628,865.85 $ 6,001,602.08 $ 102,627,263.77 $ 27,736,962.97 $ 360,814,637.66 0.00
18 $ - $ 123,934,670.65 $ 6,181,650.14 $ 117,753,020.50 $ 29,467,579.06 $ 390,282,216.71 0.00
19 $ - $ 140,384,687.98 $ 6,367,099.65 $ 134,017,588.33 $ 31,053,492.00 $ 421,335,708.72 0.00
20 $ 85,609,672.52 $ 138,295,783.97 $ 6,558,112.64 $ 46,127,998.81 $ 9,896,679.46 $ 431,232,388.17 0.00
21 $ - $ 151,174,297.62 $ 6,754,856.02 $ 144,419,441.61 $ 28,689,752.14 $ 459,922,140.31 0.00
22 $ - $ 188,504,782.26 $ 6,957,501.70 $ 181,547,280.57 $ 33,393,898.84 $ 493,316,039.15 0.00
23 $ - $ 177,075,803.77 $ 7,166,226.75 $ 169,909,577.02 $ 28,938,197.91 $ 522,254,237.07 0.00
24 $ - $ 171,790,276.90 $ 7,381,213.55 $ 164,409,063.35 $ 25,927,200.34 $ 548,181,437.40 0.00
25 $ - $ 186,963,701.52 $ 7,602,649.96 $ 179,361,051.57 $ 26,189,924.97 $ 574,371,362.38 0.00

100% AZIMUT 180° DEUDA DEL 75%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 201,353,000.00 $ - $ - $ 201,353,000.00 $ (201,353,000.00) $ (201,353,000.00) $ (201,353,000.00) 1.00
1 $ - $ 87,445,902.68 $ 3,740,000.00 $ (19,931,467.88) $ 63,774,434.80 $ 59,050,402.59 $ (142,302,597.41) 1.00
2 $ - $ 72,809,499.81 $ 3,852,200.00 $ (20,253,507.76) $ 48,703,792.05 $ 41,755,651.62 $ (100,546,945.79) 1.00
3 $ - $ 72,546,616.24 $ 3,967,766.00 $ (20,609,683.87) $ 47,969,166.37 $ 38,079,470.84 $ (62,467,474.95) 1.00
4 $ - $ 92,358,624.38 $ 4,086,798.98 $ (21,003,614.65) $ 67,268,210.75 $ 49,444,143.05 $ (13,023,331.90) 1.00
5 $ - $ 80,242,366.25 $ 4,209,402.95 $ (21,439,302.09) $ 54,593,661.21 $ 37,155,528.48 $ 24,132,196.58 0.88
6 $ - $ 82,179,812.44 $ 4,335,685.04 $ (21,921,172.40) $ 55,922,955.00 $ 35,240,947.68 $ 59,373,144.27 0.00
7 $ - $ 94,091,465.01 $ 4,465,755.59 $ (22,454,120.97) $ 67,171,588.46 $ 39,193,976.70 $ 98,567,120.97 0.00
8 $ - $ 93,624,356.86 $ 4,599,728.26 $ (23,043,562.08) $ 65,981,066.53 $ 35,647,517.21 $ 134,214,638.18 0.00
9 $ - $ 104,827,202.05 $ 4,737,720.10 $ (23,695,483.94) $ 76,393,998.00 $ 38,216,018.59 $ 172,430,656.77 0.00
10 $ 63,701,636.38 $ 97,357,584.34 $ 4,879,851.71 $ (24,416,509.53) $ 4,359,586.72 $ 2,019,332.18 $ 174,449,988.95 0.00
11 $ - $ 90,724,741.11 $ 5,026,247.26 $ 85,698,493.85 $ 36,754,615.08 $ 211,204,604.04 0.00
12 $ - $ 92,898,527.31 $ 5,177,034.68 $ 87,721,492.64 $ 34,835,411.65 $ 246,040,015.69 0.00
13 $ - $ 105,432,184.81 $ 5,332,345.72 $ 100,099,839.09 $ 36,806,503.09 $ 282,846,518.78 0.00
14 $ - $ 103,413,741.41 $ 5,492,316.09 $ 97,921,425.32 $ 33,338,430.44 $ 316,184,949.22 0.00
15 $ - $ 109,340,097.29 $ 5,657,085.57 $ 103,683,011.71 $ 32,685,209.39 $ 348,870,158.61 0.00
16 $ - $ 117,010,769.01 $ 5,826,798.14 $ 111,183,970.87 $ 32,453,541.24 $ 381,323,699.85 0.00
17 $ - $ 108,628,865.85 $ 6,001,602.08 $ 102,627,263.77 $ 27,736,962.97 $ 409,060,662.82 0.00
18 $ - $ 123,934,670.65 $ 6,181,650.14 $ 117,753,020.50 $ 29,467,579.06 $ 438,528,241.88 0.00
19 $ - $ 140,384,687.98 $ 6,367,099.65 $ 134,017,588.33 $ 31,053,492.00 $ 469,581,733.88 0.00
20 $ 85,609,672.52 $ 138,295,783.97 $ 6,558,112.64 $ 46,127,998.81 $ 9,896,679.46 $ 479,478,413.34 0.00
21 $ - $ 151,174,297.62 $ 6,754,856.02 $ 144,419,441.61 $ 28,689,752.14 $ 508,168,165.48 0.00
22 $ - $ 188,504,782.26 $ 6,957,501.70 $ 181,547,280.57 $ 33,393,898.84 $ 541,562,064.32 0.00
23 $ - $ 177,075,803.77 $ 7,166,226.75 $ 169,909,577.02 $ 28,938,197.91 $ 570,500,262.23 0.00
24 $ - $ 171,790,276.90 $ 7,381,213.55 $ 164,409,063.35 $ 25,927,200.34 $ 596,427,462.57 0.00
25 $ - $ 186,963,701.52 $ 7,602,649.96 $ 179,361,051.57 $ 26,189,924.97 $ 622,617,387.54 0.00

100% AZIMUT 180° DEUDA DEL 50%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 201,353,000.00 $ - $ - $ 100,676,500.00 $ (201,353,000.00) $ (201,353,000.00) $ (201,353,000.00) 1.00
1 $ - $ 87,445,902.68 $ 3,740,000.00 $ (13,287,645.25) $ 70,418,257.43 $ 65,202,090.21 $ (136,150,909.79) 1.00
2 $ - $ 72,809,499.81 $ 3,852,200.00 $ (13,502,338.51) $ 55,454,961.30 $ 47,543,691.10 $ (88,607,218.69) 1.00
3 $ - $ 72,546,616.24 $ 3,967,766.00 $ (13,739,789.25) $ 54,839,060.99 $ 43,533,014.68 $ (45,074,204.01) 1.00
4 $ - $ 92,358,624.38 $ 4,086,798.98 $ (14,002,409.77) $ 74,269,415.64 $ 54,590,237.64 $ 9,516,033.64 0.95
5 $ - $ 80,242,366.25 $ 4,209,402.95 $ (14,292,868.06) $ 61,740,095.24 $ 42,019,271.40 $ 51,535,305.04 0.00
6 $ - $ 82,179,812.44 $ 4,335,685.04 $ (14,614,114.93) $ 63,230,012.46 $ 39,845,633.36 $ 91,380,938.40 0.00
7 $ - $ 94,091,465.01 $ 4,465,755.59 $ (14,969,413.98) $ 74,656,295.45 $ 43,561,231.34 $ 134,942,169.74 0.00
8 $ - $ 93,624,356.86 $ 4,599,728.26 $ (15,362,374.72) $ 73,662,253.89 $ 39,797,423.74 $ 174,739,593.48 0.00
9 $ - $ 104,827,202.05 $ 4,737,720.10 $ (15,796,989.30) $ 84,292,492.65 $ 42,167,232.38 $ 216,906,825.86 0.00
10 $ 63,701,636.38 $ 97,357,584.34 $ 4,879,851.71 $ (16,277,673.02) $ 12,498,423.23 $ 5,789,188.25 $ 222,696,014.12 0.00
11 $ - $ 90,724,741.11 $ 5,026,247.26 $ 85,698,493.85 $ 36,754,615.08 $ 259,450,629.20 0.00
12 $ - $ 92,898,527.31 $ 5,177,034.68 $ 87,721,492.64 $ 34,835,411.65 $ 294,286,040.85 0.00
13 $ - $ 105,432,184.81 $ 5,332,345.72 $ 100,099,839.09 $ 36,806,503.09 $ 331,092,543.95 0.00
14 $ - $ 103,413,741.41 $ 5,492,316.09 $ 97,921,425.32 $ 33,338,430.44 $ 364,430,974.38 0.00
15 $ - $ 109,340,097.29 $ 5,657,085.57 $ 103,683,011.71 $ 32,685,209.39 $ 397,116,183.77 0.00
16 $ - $ 117,010,769.01 $ 5,826,798.14 $ 111,183,970.87 $ 32,453,541.24 $ 429,569,725.02 0.00
17 $ - $ 108,628,865.85 $ 6,001,602.08 $ 102,627,263.77 $ 27,736,962.97 $ 457,306,687.98 0.00
18 $ - $ 123,934,670.65 $ 6,181,650.14 $ 117,753,020.50 $ 29,467,579.06 $ 486,774,267.04 0.00
19 $ - $ 140,384,687.98 $ 6,367,099.65 $ 134,017,588.33 $ 31,053,492.00 $ 517,827,759.05 0.00
20 $ 85,609,672.52 $ 138,295,783.97 $ 6,558,112.64 $ 46,127,998.81 $ 9,896,679.46 $ 527,724,438.50 0.00
21 $ - $ 151,174,297.62 $ 6,754,856.02 $ 144,419,441.61 $ 28,689,752.14 $ 556,414,190.64 0.00
22 $ - $ 188,504,782.26 $ 6,957,501.70 $ 181,547,280.57 $ 33,393,898.84 $ 589,808,089.48 0.00
23 $ - $ 177,075,803.77 $ 7,166,226.75 $ 169,909,577.02 $ 28,938,197.91 $ 618,746,287.39 0.00
24 $ - $ 171,790,276.90 $ 7,381,213.55 $ 164,409,063.35 $ 25,927,200.34 $ 644,673,487.73 0.00
25 $ - $ 186,963,701.52 $ 7,602,649.96 $ 179,361,051.57 $ 26,189,924.97 $ 670,863,412.70 0.00

65
100% AZIMUT 180° DEUDA DEL 30%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 201,353,000.00 $ - $ - $ 60,405,900.00 $ (201,353,000.00) $ (201,353,000.00) $ (201,353,000.00) 1.00
1 $ - $ 87,445,902.68 $ 3,740,000.00 $ (7,972,587.15) $ 75,733,315.53 $ 70,123,440.30 $ (131,229,559.70) 1.00
2 $ - $ 72,809,499.81 $ 3,852,200.00 $ (8,101,403.10) $ 60,855,896.71 $ 52,174,122.69 $ (79,055,437.01) 1.00
3 $ - $ 72,546,616.24 $ 3,967,766.00 $ (8,243,873.55) $ 60,334,976.69 $ 47,895,849.76 $ (31,159,587.25) 1.00
4 $ - $ 92,358,624.38 $ 4,086,798.98 $ (8,401,445.86) $ 79,870,379.54 $ 58,707,113.32 $ 27,547,526.07 0.86
5 $ - $ 80,242,366.25 $ 4,209,402.95 $ (8,575,720.84) $ 67,457,242.47 $ 45,910,265.74 $ 73,457,791.81 0.00
6 $ - $ 82,179,812.44 $ 4,335,685.04 $ (8,768,468.96) $ 69,075,658.44 $ 43,529,381.90 $ 116,987,173.71 0.00
7 $ - $ 94,091,465.01 $ 4,465,755.59 $ (8,981,648.39) $ 80,644,061.04 $ 47,055,035.05 $ 164,042,208.76 0.00
8 $ - $ 93,624,356.86 $ 4,599,728.26 $ (9,217,424.83) $ 79,807,203.78 $ 43,117,348.96 $ 207,159,557.72 0.00
9 $ - $ 104,827,202.05 $ 4,737,720.10 $ (9,478,193.58) $ 90,611,288.37 $ 45,328,203.42 $ 252,487,761.14 0.00
10 $ 63,701,636.38 $ 97,357,584.34 $ 4,879,851.71 $ (9,766,603.81) $ 19,009,492.44 $ 8,805,073.11 $ 261,292,834.25 0.00
11 $ - $ 90,724,741.11 $ 5,026,247.26 $ 85,698,493.85 $ 36,754,615.08 $ 298,047,449.33 0.00
12 $ - $ 92,898,527.31 $ 5,177,034.68 $ 87,721,492.64 $ 34,835,411.65 $ 332,882,860.98 0.00
13 $ - $ 105,432,184.81 $ 5,332,345.72 $ 100,099,839.09 $ 36,806,503.09 $ 369,689,364.08 0.00
14 $ - $ 103,413,741.41 $ 5,492,316.09 $ 97,921,425.32 $ 33,338,430.44 $ 403,027,794.52 0.00
15 $ - $ 109,340,097.29 $ 5,657,085.57 $ 103,683,011.71 $ 32,685,209.39 $ 435,713,003.90 0.00
16 $ - $ 117,010,769.01 $ 5,826,798.14 $ 111,183,970.87 $ 32,453,541.24 $ 468,166,545.15 0.00
17 $ - $ 108,628,865.85 $ 6,001,602.08 $ 102,627,263.77 $ 27,736,962.97 $ 495,903,508.12 0.00
18 $ - $ 123,934,670.65 $ 6,181,650.14 $ 117,753,020.50 $ 29,467,579.06 $ 525,371,087.17 0.00
19 $ - $ 140,384,687.98 $ 6,367,099.65 $ 134,017,588.33 $ 31,053,492.00 $ 556,424,579.18 0.00
20 $ 85,609,672.52 $ 138,295,783.97 $ 6,558,112.64 $ 46,127,998.81 $ 9,896,679.46 $ 566,321,258.63 0.00
21 $ - $ 151,174,297.62 $ 6,754,856.02 $ 144,419,441.61 $ 28,689,752.14 $ 595,011,010.77 0.00
22 $ - $ 188,504,782.26 $ 6,957,501.70 $ 181,547,280.57 $ 33,393,898.84 $ 628,404,909.61 0.00
23 $ - $ 177,075,803.77 $ 7,166,226.75 $ 169,909,577.02 $ 28,938,197.91 $ 657,343,107.52 0.00
24 $ - $ 171,790,276.90 $ 7,381,213.55 $ 164,409,063.35 $ 25,927,200.34 $ 683,270,307.86 0.00
25 $ - $ 186,963,701.52 $ 7,602,649.96 $ 179,361,051.57 $ 26,189,924.97 $ 709,460,232.83 0.00

LCOE
100% AZIMUT 180° DEUDA DEL 100%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 0 0 0 0 0 0 $ 242.28
1 33618618.44 3740000 37358618.44 36270503.34 158486.0106 150795.443
2 33618618.44 3740000 37358618.44 35214080.91 127026.08 114997.2524
3 33618618.44 3740000 37358618.44 34188428.07 121835.9319 104946.3265
4 33618618.44 3740000 37358618.44 33192648.61 149310.0582 122370.9131
5 33618618.44 3740000 37358618.44 32225872.44 124873.0491 97376.71873
6 33618618.44 3740000 37358618.44 31287254.8 123107.2175 91341.30647
7 33618618.44 3740000 37358618.44 30375975.53 135681.9199 95786.20524
8 33618618.44 3740000 37358618.44 29491238.38 129961.2792 87295.57887
9 33618618.44 3740000 37358618.44 28632270.27 140072.3789 89521.64628
10 81018618.44 3740000 84758618.44 63068372.22 125228.0679 76150.80869
11 0 3740000 3740000 2701855.574 112333.9443 64995.17718
12 0 3740000 3740000 2623160.752 110725.4567 60955.7793
13 0 3740000 3740000 2546758.012 120966.5341 63362.15347
14 0 3740000 3740000 2472580.594 114215.1363 56922.71916
15 0 3740000 3740000 2400563.683 116246.0615 55123.5917
16 0 3740000 3740000 2330644.353 119750.6848 54029.94794
17 0 3740000 3740000 2262761.507 107016.5134 45941.44225
18 0 3740000 3740000 2196855.832 117530.8155 48006.81136
19 0 3740000 3740000 2132869.74 128153.9668 49805.86065
20 85609672.52 3740000 89349672.52 49470747.32 121527.5195 44938.68014
21 0 3740000 3740000 2010434.292 127878.3525 44992.4866
22 0 3740000 3740000 1951877.953 153495.2095 51384.84765
23 0 3740000 3740000 1895027.139 138798.5903 44210.21091
24 0 3740000 3740000 1839832.174 129621.7241 39283.72018
25 0 3740000 3740000 1786244.829 135796.9112 39158.13426

66
100% AZIMUT 180° DEUDA DEL 75%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 50338250 0 100676500 50338250 0 0 $ 230.37
1 25213963.83 3740000 20549309.22 28110644.5 158486.0106 150795.443
2 25213963.83 3740000 20549309.22 27291887.86 127026.08 114997.2524
3 25213963.83 3740000 20549309.22 26496978.51 121835.9319 104946.3265
4 25213963.83 3740000 20549309.22 25725221.85 149310.0582 122370.9131
5 25213963.83 3740000 20549309.22 24975943.54 124873.0491 97376.71873
6 25213963.83 3740000 20549309.22 24248488.88 123107.2175 91341.30647
7 25213963.83 3740000 20549309.22 23542222.21 135681.9199 95786.20524
8 25213963.83 3740000 20549309.22 22856526.42 129961.2792 87295.57887
9 25213963.83 3740000 20549309.22 22190802.35 140072.3789 89521.64628
10 72613963.83 3740000 84250945.6 56814519.86 125228.0679 76150.80869
11 0 3740000 3740000 2701855.574 112333.9443 64995.17718
12 0 3740000 3740000 2623160.752 110725.4567 60955.7793
13 0 3740000 3740000 2546758.012 120966.5341 63362.15347
14 0 3740000 3740000 2472580.594 114215.1363 56922.71916
15 0 3740000 3740000 2400563.683 116246.0615 55123.5917
16 0 3740000 3740000 2330644.353 119750.6848 54029.94794
17 0 3740000 3740000 2262761.507 107016.5134 45941.44225
18 0 3740000 3740000 2196855.832 117530.8155 48006.81136
19 0 3740000 3740000 2132869.74 128153.9668 49805.86065
20 85609672.52 3740000 89349672.52 49470747.32 121527.5195 44938.68014
21 0 3740000 3740000 2010434.292 127878.3525 44992.4866
22 0 3740000 3740000 1951877.953 153495.2095 51384.84765
23 0 3740000 3740000 1895027.139 138798.5903 44210.21091
24 0 3740000 3740000 1839832.174 129621.7241 39283.72018
25 0 3740000 3740000 1786244.829 135796.9112 39158.13426

100% AZIMUT 180° DEUDA DEL 30%


Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 140947100 0 140947100 140947100 0 0 $ 215.70


1 10085585.53 3740000 13825585.53 13422898.58 158486.0106 150795.443
2 10085585.53 3740000 13825585.53 13031940.36 127026.08 114997.2524
3 10085585.53 3740000 13825585.53 12652369.29 121835.9319 104946.3265
4 10085585.53 3740000 13825585.53 12283853.68 149310.0582 122370.9131
5 10085585.53 3740000 13825585.53 11926071.53 124873.0491 97376.71873
6 10085585.53 3740000 13825585.53 11578710.22 123107.2175 91341.30647
7 10085585.53 3740000 13825585.53 11241466.24 135681.9199 95786.20524
8 10085585.53 3740000 13825585.53 10914044.89 129961.2792 87295.57887
9 10085585.53 3740000 13825585.53 10596160.09 140072.3789 89521.64628
10 73787221.91 3740000 77527221.91 57687534.06 125228.0679 76150.80869
11 0 3740000 3740000 2701855.574 112333.9443 64995.17718
12 0 3740000 3740000 2623160.752 110725.4567 60955.7793
13 0 3740000 3740000 2546758.012 120966.5341 63362.15347
14 0 3740000 3740000 2472580.594 114215.1363 56922.71916
15 0 3740000 3740000 2400563.683 116246.0615 55123.5917
16 0 3740000 3740000 2330644.353 119750.6848 54029.94794
17 0 3740000 3740000 2262761.507 107016.5134 45941.44225
18 0 3740000 3740000 2196855.832 117530.8155 48006.81136
19 0 3740000 3740000 2132869.74 128153.9668 49805.86065
20 85609672.52 3740000 89349672.52 49470747.32 121527.5195 44938.68014
21 0 3740000 3740000 2010434.292 127878.3525 44992.4866
22 0 3740000 3740000 1951877.953 153495.2095 51384.84765
23 0 3740000 3740000 1895027.139 138798.5903 44210.21091
24 0 3740000 3740000 1839832.174 129621.7241 39283.72018
25 0 3740000 3740000 1786244.829 135796.9112 39158.13426

67
100% AZIMUT 180° DEUDA DEL 50%
Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 100676500 0 100676500 100676500 0 0 $ 225.23


1 16809309.22 3740000 20549309.22 19950785.65 158486.0106 150795.443
2 16809309.22 3740000 20549309.22 19369694.81 127026.08 114997.2524
3 16809309.22 3740000 20549309.22 18805528.94 121835.9319 104946.3265
4 16809309.22 3740000 20549309.22 18257795.09 149310.0582 122370.9131
5 16809309.22 3740000 20549309.22 17726014.65 124873.0491 97376.71873
6 16809309.22 3740000 20549309.22 17209722.96 123107.2175 91341.30647
7 16809309.22 3740000 20549309.22 16708468.89 135681.9199 95786.20524
8 16809309.22 3740000 20549309.22 16221814.46 129961.2792 87295.57887
9 16809309.22 3740000 20549309.22 15749334.42 140072.3789 89521.64628
10 80510945.6 3740000 84250945.6 62690615.95 125228.0679 76150.80869
11 0 3740000 3740000 2701855.574 112333.9443 64995.17718
12 0 3740000 3740000 2623160.752 110725.4567 60955.7793
13 0 3740000 3740000 2546758.012 120966.5341 63362.15347
14 0 3740000 3740000 2472580.594 114215.1363 56922.71916
15 0 3740000 3740000 2400563.683 116246.0615 55123.5917
16 0 3740000 3740000 2330644.353 119750.6848 54029.94794
17 0 3740000 3740000 2262761.507 107016.5134 45941.44225
18 0 3740000 3740000 2196855.832 117530.8155 48006.81136
19 0 3740000 3740000 2132869.74 128153.9668 49805.86065
20 85609672.52 3740000 89349672.52 49470747.32 121527.5195 44938.68014
21 0 3740000 3740000 2010434.292 127878.3525 44992.4866
22 0 3740000 3740000 1951877.953 153495.2095 51384.84765
23 0 3740000 3740000 1895027.139 138798.5903 44210.21091
24 0 3740000 3740000 1839832.174 129621.7241 39283.72018
25 0 3740000 3740000 1786244.829 135796.9112 39158.13426

Diseño solo Bachillerato


FCD
FCD prestamo del 100%
Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 68,671,400.00 $ 68,671,400.00 $ 68,671,400.00
1 ($11,465,623.03) ($4,186,454.63) $ 7,279,168.40 $ 64,484,945.37 ($11,465,623.03) $ 2,402,125.57 $ (9,063,497.46)
2 ($11,465,623.03) ($4,630,218.82) $ 6,835,404.21 $ 59,854,726.54 ($11,465,623.03) $ 2,255,683.39 $ (9,209,939.64)
3 ($11,465,623.03) ($5,121,022.02) $ 6,344,601.01 $ 54,733,704.53 ($11,465,623.03) $ 2,093,718.33 $ (9,371,904.70)
4 ($11,465,623.03) ($5,663,850.35) $ 5,801,772.68 $ 49,069,854.17 ($11,465,623.03) $ 1,914,584.98 $ (9,551,038.05)
5 ($11,465,623.03) ($6,264,218.49) $ 5,201,404.54 $ 42,805,635.68 ($11,465,623.03) $ 1,716,463.50 $ (9,749,159.53)
6 ($11,465,623.03) ($6,928,225.65) $ 4,537,397.38 $ 35,877,410.03 ($11,465,623.03) $ 1,497,341.14 $ (9,968,281.90)
7 ($11,465,623.03) ($7,662,617.57) $ 3,803,005.46 $ 28,214,792.46 ($11,465,623.03) $ 1,254,991.80 $ (10,210,631.23)
8 ($11,465,623.03) ($8,474,855.03) $ 2,990,768.00 $ 19,739,937.43 ($11,465,623.03) $ 986,953.44 $ (10,478,669.59)
9 ($11,465,623.03) ($9,373,189.66) $ 2,092,433.37 $ 10,366,747.77 ($11,465,623.03) $ 690,503.01 $ (10,775,120.02)
10 ($11,465,623.03) ($10,366,747.77) $ 1,098,875.26 $ (0.00) ($11,465,623.03) $ 362,628.84 $ (11,102,994.20)

FCD prestamo del 75%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 51,503,550.00 $ 51,503,550.00 $ 51,503,550.00
1 ($8,599,217.27) ($3,139,840.97) $ 5,459,376.30 $ 48,363,709.03 ($8,599,217.27) $ 1,801,594.18 $ (6,797,623.10)
2 ($8,599,217.27) ($3,472,664.12) $ 5,126,553.16 $ 44,891,044.91 ($8,599,217.27) $ 1,691,762.54 $ (6,907,454.73)
3 ($8,599,217.27) ($3,840,766.51) $ 4,758,450.76 $ 41,050,278.39 ($8,599,217.27) $ 1,570,288.75 $ (7,028,928.52)
4 ($8,599,217.27) ($4,247,887.76) $ 4,351,329.51 $ 36,802,390.63 ($8,599,217.27) $ 1,435,938.74 $ (7,163,278.54)
5 ($8,599,217.27) ($4,698,163.87) $ 3,901,053.41 $ 32,104,226.76 ($8,599,217.27) $ 1,287,347.62 $ (7,311,869.65)
6 ($8,599,217.27) ($5,196,169.24) $ 3,403,048.04 $ 26,908,057.52 ($8,599,217.27) $ 1,123,005.85 $ (7,476,211.42)
7 ($8,599,217.27) ($5,746,963.18) $ 2,852,254.10 $ 21,161,094.35 ($8,599,217.27) $ 941,243.85 $ (7,657,973.42)
8 ($8,599,217.27) ($6,356,141.27) $ 2,243,076.00 $ 14,804,953.07 ($8,599,217.27) $ 740,215.08 $ (7,859,002.19)
9 ($8,599,217.27) ($7,029,892.25) $ 1,569,325.03 $ 7,775,060.83 ($8,599,217.27) $ 517,877.26 $ (8,081,340.02)
10 ($8,599,217.27) ($7,775,060.83) $ 824,156.45 $ (0.00) ($8,599,217.27) $ 271,971.63 $ (8,327,245.65)

68
FCD prestamo del 50%
Periodo Cuota Abono Interes Saldo FCD antes impuestosAhorro Tributario FCD desp. Impuestos
0 0 0 0 $ 34,335,700.00 $ 34,335,700.00 $ 34,335,700.00
1 ($5,732,811.52) ($2,093,227.32) $ 3,639,584.20 $ 32,242,472.68 ($5,732,811.52) $ 1,201,062.79 $ (4,531,748.73)
2 ($5,732,811.52) ($2,315,109.41) $ 3,417,702.10 $ 29,927,363.27 ($5,732,811.52) $ 1,127,841.69 $ (4,604,969.82)
3 ($5,732,811.52) ($2,560,511.01) $ 3,172,300.51 $ 27,366,852.26 ($5,732,811.52) $ 1,046,859.17 $ (4,685,952.35)
4 ($5,732,811.52) ($2,831,925.18) $ 2,900,886.34 $ 24,534,927.09 ($5,732,811.52) $ 957,292.49 $ (4,775,519.02)
5 ($5,732,811.52) ($3,132,109.24) $ 2,600,702.27 $ 21,402,817.84 ($5,732,811.52) $ 858,231.75 $ (4,874,579.77)
6 ($5,732,811.52) ($3,464,112.82) $ 2,268,698.69 $ 17,938,705.02 ($5,732,811.52) $ 748,670.57 $ (4,984,140.95)
7 ($5,732,811.52) ($3,831,308.78) $ 1,901,502.73 $ 14,107,396.23 ($5,732,811.52) $ 627,495.90 $ (5,105,315.61)
8 ($5,732,811.52) ($4,237,427.52) $ 1,495,384.00 $ 9,869,968.72 ($5,732,811.52) $ 493,476.72 $ (5,239,334.80)
9 ($5,732,811.52) ($4,686,594.83) $ 1,046,216.68 $ 5,183,373.88 ($5,732,811.52) $ 345,251.51 $ (5,387,560.01)
10 ($5,732,811.52) ($5,183,373.88) $ 549,437.63 $ (0.00) ($5,732,811.52) $ 181,314.42 $ (5,551,497.10)

FCD prestamo del 30%


Periodo Cuota Abono Interes Saldo FCD antes impuestosAhorro Tributario FCD desp. Impuestos
0 0 0 0 $ 20,601,420.00 $ 20,601,420.00 $ 20,601,420.00
1 ($3,439,686.91) ($1,255,936.39) $ 2,183,750.52 $ 19,345,483.61 ($3,439,686.91) $ 720,637.67 $ (2,719,049.24)
2 ($3,439,686.91) ($1,389,065.65) $ 2,050,621.26 $ 17,956,417.96 ($3,439,686.91) $ 676,705.02 $ (2,762,981.89)
3 ($3,439,686.91) ($1,536,306.61) $ 1,903,380.30 $ 16,420,111.36 ($3,439,686.91) $ 628,115.50 $ (2,811,571.41)
4 ($3,439,686.91) ($1,699,155.11) $ 1,740,531.80 $ 14,720,956.25 ($3,439,686.91) $ 574,375.50 $ (2,865,311.41)
5 ($3,439,686.91) ($1,879,265.55) $ 1,560,421.36 $ 12,841,690.70 ($3,439,686.91) $ 514,939.05 $ (2,924,747.86)
6 ($3,439,686.91) ($2,078,467.69) $ 1,361,219.21 $ 10,763,223.01 ($3,439,686.91) $ 449,202.34 $ (2,990,484.57)
7 ($3,439,686.91) ($2,298,785.27) $ 1,140,901.64 $ 8,464,437.74 ($3,439,686.91) $ 376,497.54 $ (3,063,189.37)
8 ($3,439,686.91) ($2,542,456.51) $ 897,230.40 $ 5,921,981.23 ($3,439,686.91) $ 296,086.03 $ (3,143,600.88)
9 ($3,439,686.91) ($2,811,956.90) $ 627,730.01 $ 3,110,024.33 ($3,439,686.91) $ 207,150.90 $ (3,232,536.01)
10 ($3,439,686.91) ($3,110,024.33) $ 329,662.58 $ (0.00) ($3,439,686.91) $ 108,788.65 $ (3,330,898.26)

FCL
BACHILLERATO AZIMUT 180° DEUDA DEL 100%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 68,671,400.00 $ - $ - $ 68,671,400.00 $ (68,671,400.00) $ (68,671,400.00) $ (68,671,400.00) 1.00
1 $ - $ 26,769,457.21 $ 1,156,000.00 $ (9,063,497.46) $ 16,549,959.75 $ 15,324,036.80 $ (53,347,363.20) 1.00
2 $ - $ 22,293,210.59 $ 1,190,680.00 $ (9,209,939.64) $ 11,892,590.95 $ 10,195,979.89 $ (43,151,383.30) 1.00
3 $ - $ 22,208,050.43 $ 1,226,400.40 $ (9,371,904.70) $ 11,609,745.33 $ 9,216,190.15 $ (33,935,193.15) 1.00
4 $ - $ 28,297,866.23 $ 1,263,192.41 $ (9,551,038.05) $ 17,483,635.77 $ 12,850,994.23 $ (21,084,198.92) 1.00
5 $ - $ 24,563,860.26 $ 1,301,088.18 $ (9,749,159.53) $ 13,513,612.54 $ 9,197,137.63 $ (11,887,061.30) 1.00
6 $ - $ 25,156,150.85 $ 1,340,120.83 $ (9,968,281.90) $ 13,847,748.12 $ 8,726,430.27 $ (3,160,631.03) 1.00
7 $ - $ 28,813,659.23 $ 1,380,324.45 $ (10,210,631.23) $ 17,222,703.55 $ 10,049,282.10 $ 6,888,651.07 0.90
8 $ - $ 28,664,542.25 $ 1,421,734.19 $ (10,478,669.59) $ 16,764,138.47 $ 9,057,142.39 $ 15,945,793.46 0.00
9 $ - $ 32,102,982.00 $ 1,464,386.21 $ (10,775,120.02) $ 19,863,475.77 $ 9,936,683.24 $ 25,882,476.70 0.00
10 $ 26,071,977.76 $ 29,799,004.80 $ 1,508,317.80 $ (11,102,994.20) $ (8,884,284.96) $ (4,115,142.94) $ 21,767,333.76 0.00
11 $ - $ 27,752,810.00 $ 1,553,567.33 $ 26,199,242.66 $ 11,236,406.11 $ 33,003,739.86 0.00
12 $ - $ 28,412,368.37 $ 1,600,174.35 $ 26,812,194.01 $ 10,647,491.14 $ 43,651,231.01 0.00
13 $ - $ 32,260,946.03 $ 1,648,179.59 $ 30,612,766.44 $ 11,256,250.69 $ 54,907,481.70 0.00
14 $ - $ 31,632,710.57 $ 1,697,624.97 $ 29,935,085.60 $ 10,191,730.42 $ 65,099,212.11 0.00
15 $ - $ 33,447,374.16 $ 1,748,553.72 $ 31,698,820.44 $ 9,992,790.20 $ 75,092,002.31 0.00
16 $ - $ 35,797,498.57 $ 1,801,010.33 $ 33,996,488.23 $ 9,923,250.85 $ 85,015,253.16 0.00
17 $ - $ 33,210,212.52 $ 1,855,040.64 $ 31,355,171.88 $ 8,474,329.43 $ 93,489,582.58 0.00
18 $ - $ 37,910,576.32 $ 1,910,691.86 $ 35,999,884.46 $ 9,008,936.13 $ 102,498,518.72 0.00
19 $ - $ 42,958,322.93 $ 1,968,012.62 $ 40,990,310.31 $ 9,497,949.41 $ 111,996,468.12 0.00
20 $ 35,038,557.95 $ 42,305,912.32 $ 2,027,053.00 $ 5,240,301.37 $ 1,124,297.27 $ 113,120,765.39 0.00
21 $ - $ 46,258,781.27 $ 2,087,864.59 $ 44,170,916.68 $ 8,774,806.47 $ 121,895,571.86 0.00
22 $ - $ 57,735,924.57 $ 2,150,500.52 $ 55,585,424.04 $ 10,224,411.08 $ 132,119,982.94 0.00
23 $ - $ 54,211,647.68 $ 2,215,015.54 $ 51,996,632.14 $ 8,855,821.18 $ 140,975,804.13 0.00
24 $ - $ 52,570,592.46 $ 2,281,466.01 $ 50,289,126.45 $ 7,930,561.92 $ 148,906,366.04 0.00
25 $ - $ 57,226,084.14 $ 2,349,909.99 $ 54,876,174.15 $ 8,012,903.98 $ 156,919,270.02 0.00

69
BACHILLERATO AZIMUT 180° DEUDA DEL 75%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 68,671,400.00 $ - $ - $ 68,671,400.00 $ (68,671,400.00) $ (68,671,400.00) $ (68,671,400.00) 1.00
1 $ - $ 26,769,457.21 $ 1,156,000.00 $ (6,797,623.10) $ 18,815,834.11 $ 17,422,068.62 $ (51,249,331.38) 1.00
2 $ - $ 22,293,210.59 $ 1,190,680.00 $ (6,907,454.73) $ 14,195,075.86 $ 12,169,989.59 $ (39,079,341.79) 1.00
3 $ - $ 22,208,050.43 $ 1,226,400.40 $ (7,028,928.52) $ 13,952,721.50 $ 11,076,120.18 $ (28,003,221.61) 1.00
4 $ - $ 28,297,866.23 $ 1,263,192.41 $ (7,163,278.54) $ 19,871,395.28 $ 14,606,068.75 $ (13,397,152.86) 1.00
5 $ - $ 24,563,860.26 $ 1,301,088.18 $ (7,311,869.65) $ 15,950,902.43 $ 10,855,916.17 $ (2,541,236.69) 1.00
6 $ - $ 25,156,150.85 $ 1,340,120.83 $ (7,476,211.42) $ 16,339,818.60 $ 10,296,857.39 $ 7,755,620.70 0.89
7 $ - $ 28,813,659.23 $ 1,380,324.45 $ (7,657,973.42) $ 19,775,361.35 $ 11,538,733.41 $ 19,294,354.11 0.00
8 $ - $ 28,664,542.25 $ 1,421,734.19 $ (7,859,002.19) $ 19,383,805.87 $ 10,472,467.17 $ 29,766,821.29 0.00
9 $ - $ 32,102,982.00 $ 1,464,386.21 $ (8,081,340.02) $ 22,557,255.77 $ 11,284,243.90 $ 41,051,065.19 0.00
10 $ 26,071,977.76 $ 29,799,004.80 $ 1,508,317.80 $ (8,327,245.65) $ (6,108,536.41) $ (2,829,434.29) $ 38,221,630.90 0.00
11 $ - $ 27,752,810.00 $ 1,553,567.33 $ 26,199,242.66 $ 11,236,406.11 $ 49,458,037.01 0.00
12 $ - $ 28,412,368.37 $ 1,600,174.35 $ 26,812,194.01 $ 10,647,491.14 $ 60,105,528.15 0.00
13 $ - $ 32,260,946.03 $ 1,648,179.59 $ 30,612,766.44 $ 11,256,250.69 $ 71,361,778.84 0.00
14 $ - $ 31,632,710.57 $ 1,697,624.97 $ 29,935,085.60 $ 10,191,730.42 $ 81,553,509.25 0.00
15 $ - $ 33,447,374.16 $ 1,748,553.72 $ 31,698,820.44 $ 9,992,790.20 $ 91,546,299.45 0.00
16 $ - $ 35,797,498.57 $ 1,801,010.33 $ 33,996,488.23 $ 9,923,250.85 $ 101,469,550.30 0.00
17 $ - $ 33,210,212.52 $ 1,855,040.64 $ 31,355,171.88 $ 8,474,329.43 $ 109,943,879.72 0.00
18 $ - $ 37,910,576.32 $ 1,910,691.86 $ 35,999,884.46 $ 9,008,936.13 $ 118,952,815.86 0.00
19 $ - $ 42,958,322.93 $ 1,968,012.62 $ 40,990,310.31 $ 9,497,949.41 $ 128,450,765.26 0.00
20 $ 35,038,557.95 $ 42,305,912.32 $ 2,027,053.00 $ 5,240,301.37 $ 1,124,297.27 $ 129,575,062.53 0.00
21 $ - $ 46,258,781.27 $ 2,087,864.59 $ 44,170,916.68 $ 8,774,806.47 $ 138,349,869.00 0.00
22 $ - $ 57,735,924.57 $ 2,150,500.52 $ 55,585,424.04 $ 10,224,411.08 $ 148,574,280.09 0.00
23 $ - $ 54,211,647.68 $ 2,215,015.54 $ 51,996,632.14 $ 8,855,821.18 $ 157,430,101.27 0.00
24 $ - $ 52,570,592.46 $ 2,281,466.01 $ 50,289,126.45 $ 7,930,561.92 $ 165,360,663.19 0.00
25 $ - $ 57,226,084.14 $ 2,349,909.99 $ 54,876,174.15 $ 8,012,903.98 $ 173,373,567.16 0.00

BACHILLERATO AZIMUT 180° DEUDA DEL 50%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 68,671,400.00 $ - $ - $ 34,335,700.00 $ (68,671,400.00) $ (68,671,400.00) $ (68,671,400.00) 1.00
1 $ - $ 26,769,457.21 $ 1,156,000.00 $ (4,531,748.73) $ 21,081,708.48 $ 19,520,100.44 $ (49,151,299.56) 1.00
2 $ - $ 22,293,210.59 $ 1,190,680.00 $ (4,604,969.82) $ 16,497,560.77 $ 14,143,999.29 $ (35,007,300.27) 1.00
3 $ - $ 22,208,050.43 $ 1,226,400.40 $ (4,685,952.35) $ 16,295,697.68 $ 12,936,050.21 $ (22,071,250.06) 1.00
4 $ - $ 28,297,866.23 $ 1,263,192.41 $ (4,775,519.02) $ 22,259,154.79 $ 16,361,143.27 $ (5,710,106.79) 1.00
5 $ - $ 24,563,860.26 $ 1,301,088.18 $ (4,874,579.77) $ 18,388,192.31 $ 12,514,694.71 $ 6,804,587.92 0.90
6 $ - $ 25,156,150.85 $ 1,340,120.83 $ (4,984,140.95) $ 18,831,889.07 $ 11,867,284.51 $ 18,671,872.43 0.00
7 $ - $ 28,813,659.23 $ 1,380,324.45 $ (5,105,315.61) $ 22,328,019.16 $ 13,028,184.73 $ 31,700,057.15 0.00
8 $ - $ 28,664,542.25 $ 1,421,734.19 $ (5,239,334.80) $ 22,003,473.27 $ 11,887,791.96 $ 43,587,849.11 0.00
9 $ - $ 32,102,982.00 $ 1,464,386.21 $ (5,387,560.01) $ 25,251,035.78 $ 12,631,804.57 $ 56,219,653.68 0.00
10 $ 26,071,977.76 $ 29,799,004.80 $ 1,508,317.80 $ (5,551,497.10) $ (3,332,787.86) $ (1,543,725.64) $ 54,675,928.04 0.00
11 $ - $ 27,752,810.00 $ 1,553,567.33 $ 26,199,242.66 $ 11,236,406.11 $ 65,912,334.15 0.00
12 $ - $ 28,412,368.37 $ 1,600,174.35 $ 26,812,194.01 $ 10,647,491.14 $ 76,559,825.29 0.00
13 $ - $ 32,260,946.03 $ 1,648,179.59 $ 30,612,766.44 $ 11,256,250.69 $ 87,816,075.98 0.00
14 $ - $ 31,632,710.57 $ 1,697,624.97 $ 29,935,085.60 $ 10,191,730.42 $ 98,007,806.39 0.00
15 $ - $ 33,447,374.16 $ 1,748,553.72 $ 31,698,820.44 $ 9,992,790.20 $ 108,000,596.59 0.00
16 $ - $ 35,797,498.57 $ 1,801,010.33 $ 33,996,488.23 $ 9,923,250.85 $ 117,923,847.44 0.00
17 $ - $ 33,210,212.52 $ 1,855,040.64 $ 31,355,171.88 $ 8,474,329.43 $ 126,398,176.87 0.00
18 $ - $ 37,910,576.32 $ 1,910,691.86 $ 35,999,884.46 $ 9,008,936.13 $ 135,407,113.00 0.00
19 $ - $ 42,958,322.93 $ 1,968,012.62 $ 40,990,310.31 $ 9,497,949.41 $ 144,905,062.41 0.00
20 $ 35,038,557.95 $ 42,305,912.32 $ 2,027,053.00 $ 5,240,301.37 $ 1,124,297.27 $ 146,029,359.67 0.00
21 $ - $ 46,258,781.27 $ 2,087,864.59 $ 44,170,916.68 $ 8,774,806.47 $ 154,804,166.15 0.00
22 $ - $ 57,735,924.57 $ 2,150,500.52 $ 55,585,424.04 $ 10,224,411.08 $ 165,028,577.23 0.00
23 $ - $ 54,211,647.68 $ 2,215,015.54 $ 51,996,632.14 $ 8,855,821.18 $ 173,884,398.41 0.00
24 $ - $ 52,570,592.46 $ 2,281,466.01 $ 50,289,126.45 $ 7,930,561.92 $ 181,814,960.33 0.00
25 $ - $ 57,226,084.14 $ 2,349,909.99 $ 54,876,174.15 $ 8,012,903.98 $ 189,827,864.31 0.00

70
BACHILLERATO AZIMUT 180° DEUDA DEL 30%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 68,671,400.00 $ - $ - $ 20,601,420.00 $ (68,671,400.00) $ (68,671,400.00) $ (68,671,400.00) 1.00
1 $ - $ 26,769,457.21 $ 1,156,000.00 $ (2,719,049.24) $ 22,894,407.97 $ 21,198,525.90 $ (47,472,874.10) 1.00
2 $ - $ 22,293,210.59 $ 1,190,680.00 $ (2,762,981.89) $ 18,339,548.70 $ 15,723,207.05 $ (31,749,667.05) 1.00
3 $ - $ 22,208,050.43 $ 1,226,400.40 $ (2,811,571.41) $ 18,170,078.62 $ 14,423,994.23 $ (17,325,672.83) 1.00
4 $ - $ 28,297,866.23 $ 1,263,192.41 $ (2,865,311.41) $ 24,169,362.40 $ 17,765,202.89 $ 439,530.06 0.99
5 $ - $ 24,563,860.26 $ 1,301,088.18 $ (2,924,747.86) $ 20,338,024.22 $ 13,841,717.54 $ 14,281,247.60 0.00
6 $ - $ 25,156,150.85 $ 1,340,120.83 $ (2,990,484.57) $ 20,825,545.45 $ 13,123,626.21 $ 27,404,873.81 0.00
7 $ - $ 28,813,659.23 $ 1,380,324.45 $ (3,063,189.37) $ 24,370,145.41 $ 14,219,745.78 $ 41,624,619.59 0.00
8 $ - $ 28,664,542.25 $ 1,421,734.19 $ (3,143,600.88) $ 24,099,207.19 $ 13,020,051.78 $ 54,644,671.37 0.00
9 $ - $ 32,102,982.00 $ 1,464,386.21 $ (3,232,536.01) $ 27,406,059.78 $ 13,709,853.10 $ 68,354,524.47 0.00
10 $ 26,071,977.76 $ 29,799,004.80 $ 1,508,317.80 $ (3,330,898.26) $ (1,112,189.02) $ (515,158.71) $ 67,839,365.75 0.00
11 $ - $ 27,752,810.00 $ 1,553,567.33 $ 26,199,242.66 $ 11,236,406.11 $ 79,075,771.86 0.00
12 $ - $ 28,412,368.37 $ 1,600,174.35 $ 26,812,194.01 $ 10,647,491.14 $ 89,723,263.00 0.00
13 $ - $ 32,260,946.03 $ 1,648,179.59 $ 30,612,766.44 $ 11,256,250.69 $ 100,979,513.69 0.00
14 $ - $ 31,632,710.57 $ 1,697,624.97 $ 29,935,085.60 $ 10,191,730.42 $ 111,171,244.11 0.00
15 $ - $ 33,447,374.16 $ 1,748,553.72 $ 31,698,820.44 $ 9,992,790.20 $ 121,164,034.31 0.00
16 $ - $ 35,797,498.57 $ 1,801,010.33 $ 33,996,488.23 $ 9,923,250.85 $ 131,087,285.15 0.00
17 $ - $ 33,210,212.52 $ 1,855,040.64 $ 31,355,171.88 $ 8,474,329.43 $ 139,561,614.58 0.00
18 $ - $ 37,910,576.32 $ 1,910,691.86 $ 35,999,884.46 $ 9,008,936.13 $ 148,570,550.71 0.00
19 $ - $ 42,958,322.93 $ 1,968,012.62 $ 40,990,310.31 $ 9,497,949.41 $ 158,068,500.12 0.00
20 $ 35,038,557.95 $ 42,305,912.32 $ 2,027,053.00 $ 5,240,301.37 $ 1,124,297.27 $ 159,192,797.38 0.00
21 $ - $ 46,258,781.27 $ 2,087,864.59 $ 44,170,916.68 $ 8,774,806.47 $ 167,967,603.86 0.00
22 $ - $ 57,735,924.57 $ 2,150,500.52 $ 55,585,424.04 $ 10,224,411.08 $ 178,192,014.94 0.00
23 $ - $ 54,211,647.68 $ 2,215,015.54 $ 51,996,632.14 $ 8,855,821.18 $ 187,047,836.13 0.00
24 $ - $ 52,570,592.46 $ 2,281,466.01 $ 50,289,126.45 $ 7,930,561.92 $ 194,978,398.04 0.00
25 $ - $ 57,226,084.14 $ 2,349,909.99 $ 54,876,174.15 $ 8,012,903.98 $ 202,991,302.02 0.00
23 $ - $ 54,211,647.68 $ 2,215,015.54 $ 51,996,632.14 $ 8,855,821.18 $ 187,047,836.13 0.00
24 $ - $ 52,570,592.46 $ 2,281,466.01 $ 50,289,126.45 $ 7,930,561.92 $ 194,978,398.04 0.00
25 $ - $ 57,226,084.14 $ 2,349,909.99 $ 54,876,174.15 $ 8,012,903.98 $ 202,991,302.02 0.00

LCOE
BACHILLERATO AZIMUT 180° DEUDA DEL 100%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 0 0 0 0 0 0 $ 276.43
1 11465623.03 1156000 12621623.03 12254002.94 48516.67545 46162.39338
2 11465623.03 1156000 12621623.03 11897090.24 38893.53944 35210.48726
3 11465623.03 1156000 12621623.03 11550573.05 37296.55027 32126.28558
4 11465623.03 1156000 12621623.03 11214148.59 45747.28221 37493.36624
5 11465623.03 1156000 12621623.03 10887522.9 38226.24222 29809.04257
6 11465623.03 1156000 12621623.03 10570410.58 37684.48286 27960.58565
7 11465623.03 1156000 12621623.03 10262534.55 41549.91746 29332.64007
8 11465623.03 1156000 12621623.03 9963625.774 39789.652 26726.88916
9 11465623.03 1156000 12621623.03 9673423.081 42896.70019 27415.70645
10 30865623.03 1156000 32021623.03 23827094.84 38329.54382 23308.07948
11 0 1156000 1156000 835118.9957 34363.09186 19882.10472
12 0 1156000 1156000 810795.1415 33864.61072 18642.90109
13 0 1156000 1156000 787179.749 37014.26499 19388.03618
14 0 1156000 1156000 764252.1835 34936.69505 17411.805
15 0 1156000 1156000 741992.4112 35559.92368 16862.42689
16 0 1156000 1156000 720380.9817 36635.73022 16529.5639
17 0 1156000 1156000 699399.0114 32717.28122 14045.30047
18 0 1156000 1156000 679028.1664 35951.69073 14684.88097
19 0 1156000 1156000 659250.647 39215.66925 15240.80921
20 35038557.95 1156000 36194557.95 20040049.17 37176.35083 13747.14259
21 0 1156000 1156000 621406.963 39130.30741 13767.53608
22 0 1156000 1156000 603307.731 47013.06635 15738.33646
23 0 1156000 1156000 585735.6612 42493.10249 13534.92869
24 0 1156000 1156000 568675.3992 39666.33591 12021.45128
25 0 1156000 1156000 552112.0381 41564.88882 11985.57082

71
BACHILLERATO AZIMUT 180° DEUDA DEL 75%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 17167850 0 34335700 17167850 0 0 $ 272.21
1 8599217.274 1156000 6888811.516 9471084.732 48516.67545 46162.39338
2 8599217.274 1156000 6888811.516 9195227.895 38893.53944 35210.48726
3 8599217.274 1156000 6888811.516 8927405.724 37296.55027 32126.28558
4 8599217.274 1156000 6888811.516 8667384.198 45747.28221 37493.36624
5 8599217.274 1156000 6888811.516 8414936.114 38226.24222 29809.04257
6 8599217.274 1156000 6888811.516 8169840.888 37684.48286 27960.58565
7 8599217.274 1156000 6888811.516 7931884.357 41549.91746 29332.64007
8 8599217.274 1156000 6888811.516 7700858.599 39789.652 26726.88916
9 8599217.274 1156000 6888811.516 7476561.747 42896.70019 27415.70645
10 34671195.03 1156000 32960789.28 26658797.81 38329.54382 23308.07948
11 0 1156000 1156000 835118.9957 34363.09186 19882.10472
12 0 1156000 1156000 810795.1415 33864.61072 18642.90109
13 0 1156000 1156000 787179.749 37014.26499 19388.03618
14 0 1156000 1156000 764252.1835 34936.69505 17411.805
15 0 1156000 1156000 741992.4112 35559.92368 16862.42689
16 0 1156000 1156000 720380.9817 36635.73022 16529.5639
17 0 1156000 1156000 699399.0114 32717.28122 14045.30047
18 0 1156000 1156000 679028.1664 35951.69073 14684.88097
19 0 1156000 1156000 659250.647 39215.66925 15240.80921
20 35038557.95 1156000 36194557.95 20040049.17 37176.35083 13747.14259
21 0 1156000 1156000 621406.963 39130.30741 13767.53608
22 0 1156000 1156000 603307.731 47013.06635 15738.33646
23 0 1156000 1156000 585735.6612 42493.10249 13534.92869
24 0 1156000 1156000 568675.3992 39666.33591 12021.45128
25 0 1156000 1156000 552112.0381 41564.88882 11985.57082

BACHILLERATO AZIMUT 180° DEUDA DEL 50%


Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 34335700 0 34335700 34335700 0 0 $ 258.94


1 5732811.516 1156000 6888811.516 6688166.521 48516.67545 46162.39338
2 5732811.516 1156000 6888811.516 6493365.554 38893.53944 35210.48726
3 5732811.516 1156000 6888811.516 6304238.402 37296.55027 32126.28558
4 5732811.516 1156000 6888811.516 6120619.808 45747.28221 37493.36624
5 5732811.516 1156000 6888811.516 5942349.328 38226.24222 29809.04257
6 5732811.516 1156000 6888811.516 5769271.192 37684.48286 27960.58565
7 5732811.516 1156000 6888811.516 5601234.167 41549.91746 29332.64007
8 5732811.516 1156000 6888811.516 5438091.424 39789.652 26726.88916
9 5732811.516 1156000 6888811.516 5279700.412 42896.70019 27415.70645
10 31804789.28 1156000 32960789.28 24525922.73 38329.54382 23308.07948
11 0 1156000 1156000 835118.9957 34363.09186 19882.10472
12 0 1156000 1156000 810795.1415 33864.61072 18642.90109
13 0 1156000 1156000 787179.749 37014.26499 19388.03618
14 0 1156000 1156000 764252.1835 34936.69505 17411.805
15 0 1156000 1156000 741992.4112 35559.92368 16862.42689
16 0 1156000 1156000 720380.9817 36635.73022 16529.5639
17 0 1156000 1156000 699399.0114 32717.28122 14045.30047
18 0 1156000 1156000 679028.1664 35951.69073 14684.88097
19 0 1156000 1156000 659250.647 39215.66925 15240.80921
20 35038557.95 1156000 36194557.95 20040049.17 37176.35083 13747.14259
21 0 1156000 1156000 621406.963 39130.30741 13767.53608
22 0 1156000 1156000 603307.731 47013.06635 15738.33646
23 0 1156000 1156000 585735.6612 42493.10249 13534.92869
24 0 1156000 1156000 568675.3992 39666.33591 12021.45128
25 0 1156000 1156000 552112.0381 41564.88882 11985.57082

72
BACHILLERATO AZIMUT 180° DEUDA DEL 30%
Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 48069980 0 48069980 48069980 0 0 $ 248.33


1 3439686.91 1156000 4595686.91 4461831.951 48516.67545 46162.39338
2 3439686.91 1156000 4595686.91 4331875.681 38893.53944 35210.48726
3 3439686.91 1156000 4595686.91 4205704.544 37296.55027 32126.28558
4 3439686.91 1156000 4595686.91 4083208.296 45747.28221 37493.36624
5 3439686.91 1156000 4595686.91 3964279.899 38226.24222 29809.04257
6 3439686.91 1156000 4595686.91 3848815.436 37684.48286 27960.58565
7 3439686.91 1156000 4595686.91 3736714.015 41549.91746 29332.64007
8 3439686.91 1156000 4595686.91 3627877.685 39789.652 26726.88916
9 3439686.91 1156000 4595686.91 3522211.344 42896.70019 27415.70645
10 29511664.67 1156000 30667664.67 22819622.66 38329.54382 23308.07948
11 0 1156000 1156000 835118.9957 34363.09186 19882.10472
12 0 1156000 1156000 810795.1415 33864.61072 18642.90109
13 0 1156000 1156000 787179.749 37014.26499 19388.03618
14 0 1156000 1156000 764252.1835 34936.69505 17411.805
15 0 1156000 1156000 741992.4112 35559.92368 16862.42689
16 0 1156000 1156000 720380.9817 36635.73022 16529.5639
17 0 1156000 1156000 699399.0114 32717.28122 14045.30047
18 0 1156000 1156000 679028.1664 35951.69073 14684.88097
19 0 1156000 1156000 659250.647 39215.66925 15240.80921
20 35038557.95 1156000 36194557.95 20040049.17 37176.35083 13747.14259
21 0 1156000 1156000 621406.963 39130.30741 13767.53608
22 0 1156000 1156000 603307.731 47013.06635 15738.33646
23 0 1156000 1156000 585735.6612 42493.10249 13534.92869
24 0 1156000 1156000 568675.3992 39666.33591 12021.45128
25 0 1156000 1156000 552112.0381 41564.88882 11985.57082

Diseño solo Primaria


FCD
FCD prestamo del 100%
Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 132,681,600.00 $ 132,681,600.00 $ 132,681,600.00
1 ($22,152,995.41) ($8,088,745.81) $ 14,064,249.60 $ 124,592,854.19 ($22,152,995.41) $ 4,641,202.37 $ (17,511,793.04)
2 ($22,152,995.41) ($8,946,152.86) $ 13,206,842.54 $ 115,646,701.33 ($22,152,995.41) $ 4,358,258.04 $ (17,794,737.37)
3 ($22,152,995.41) ($9,894,445.07) $ 12,258,550.34 $ 105,752,256.26 ($22,152,995.41) $ 4,045,321.61 $ (18,107,673.80)
4 ($22,152,995.41) ($10,943,256.25) $ 11,209,739.16 $ 94,809,000.01 ($22,152,995.41) $ 3,699,213.92 $ (18,453,781.49)
5 ($22,152,995.41) ($12,103,241.41) $ 10,049,754.00 $ 82,705,758.60 $ - $ 3,316,418.82 $ 3,316,418.82
6 ($22,152,995.41) ($13,386,185.00) $ 8,766,810.41 $ 69,319,573.61 ($22,152,995.41) $ 2,893,047.44 $ (19,259,947.97)
7 ($22,152,995.41) ($14,805,120.61) $ 7,347,874.80 $ 54,514,453.00 ($22,152,995.41) $ 2,424,798.68 $ (19,728,196.72)
8 ($22,152,995.41) ($16,374,463.39) $ 5,778,532.02 $ 38,139,989.61 ($22,152,995.41) $ 1,906,915.57 $ (20,246,079.84)
9 ($22,152,995.41) ($18,110,156.51) $ 4,042,838.90 $ 20,029,833.10 ($22,152,995.41) $ 1,334,136.84 $ (20,818,858.57)
10 ($22,152,995.41) ($20,029,833.10) $ 2,123,162.31 $ - ($22,152,995.41) $ 700,643.56 $ (21,452,351.85)

FCD prestamo del 75%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 99,511,200.00 $ 99,511,200.00 $ 99,511,200.00
1 ($16,614,746.56) ($6,066,559.36) $ 10,548,187.20 $ 93,444,640.64 ($16,614,746.56) $ 3,480,901.78 $ (13,133,844.78)
2 ($16,614,746.56) ($6,709,614.65) $ 9,905,131.91 $ 86,735,025.99 ($16,614,746.56) $ 3,268,693.53 $ (13,346,053.03)
3 ($16,614,746.56) ($7,420,833.80) $ 9,193,912.76 $ 79,314,192.19 ($16,614,746.56) $ 3,033,991.21 $ (13,580,755.35)
4 ($16,614,746.56) ($8,207,442.18) $ 8,407,304.37 $ 71,106,750.01 ($16,614,746.56) $ 2,774,410.44 $ (13,840,336.11)
5 ($16,614,746.56) ($9,077,431.06) $ 7,537,315.50 $ 62,029,318.95 ($16,614,746.56) $ 2,487,314.12 $ (14,127,432.44)
6 ($16,614,746.56) ($10,039,638.75) $ 6,575,107.81 $ 51,989,680.21 ($16,614,746.56) $ 2,169,785.58 $ (14,444,960.98)
7 ($16,614,746.56) ($11,103,840.45) $ 5,510,906.10 $ 40,885,839.75 ($16,614,746.56) $ 1,818,599.01 $ (14,796,147.54)
8 ($16,614,746.56) ($12,280,847.54) $ 4,333,899.01 $ 28,604,992.21 ($16,614,746.56) $ 1,430,186.67 $ (15,184,559.88)
9 ($16,614,746.56) ($13,582,617.38) $ 3,032,129.17 $ 15,022,374.83 ($16,614,746.56) $ 1,000,602.63 $ (15,614,143.93)
10 ($16,614,746.56) ($15,022,374.83) $ 1,592,371.73 $ 0.00 ($16,614,746.56) $ 525,482.67 $ (16,089,263.89)

73
FCD prestamo del 50%
Periodo Cuota Abono Interes Saldo FCD antes impuestosAhorro Tributario FCD desp. Impuestos
0 0 0 0 $ 66,340,800.00 $ 66,340,800.00 $ 66,340,800.00
1 ($11,076,497.70) ($4,044,372.90) $ 7,032,124.80 $ 62,296,427.10 ($11,076,497.70) $ 2,320,601.18 $ (8,755,896.52)
2 ($11,076,497.70) ($4,473,076.43) $ 6,603,421.27 $ 57,823,350.66 ($11,076,497.70) $ 2,179,129.02 $ (8,897,368.68)
3 ($11,076,497.70) ($4,947,222.53) $ 6,129,275.17 $ 52,876,128.13 ($11,076,497.70) $ 2,022,660.81 $ (9,053,836.90)
4 ($11,076,497.70) ($5,471,628.12) $ 5,604,869.58 $ 47,404,500.01 ($11,076,497.70) $ 1,849,606.96 $ (9,226,890.74)
5 ($11,076,497.70) ($6,051,620.70) $ 5,024,877.00 $ 41,352,879.30 ($11,076,497.70) $ 1,658,209.41 $ (9,418,288.29)
6 ($11,076,497.70) ($6,693,092.50) $ 4,383,405.21 $ 34,659,786.80 ($11,076,497.70) $ 1,446,523.72 $ (9,629,973.99)
7 ($11,076,497.70) ($7,402,560.30) $ 3,673,937.40 $ 27,257,226.50 ($11,076,497.70) $ 1,212,399.34 $ (9,864,098.36)
8 ($11,076,497.70) ($8,187,231.70) $ 2,889,266.01 $ 19,069,994.81 ($11,076,497.70) $ 953,457.78 $ (10,123,039.92)
9 ($11,076,497.70) ($9,055,078.26) $ 2,021,419.45 $ 10,014,916.55 ($11,076,497.70) $ 667,068.42 $ (10,409,429.29)
10 ($11,076,497.70) ($10,014,916.55) $ 1,061,581.15 $ - ($11,076,497.70) $ 350,321.78 $ (10,726,175.92)

FCD prestamo del 30%


Periodo Cuota Abono Interes Saldo FCD antes impuestosAhorro Tributario FCD desp. Impuestos
0 0 0 0 $ 39,804,480.00 $ 39,804,480.00 $ 39,804,480.00
1 ($6,645,898.62) ($2,426,623.74) $ 4,219,274.88 $ 37,377,856.26 ($6,645,898.62) $ 1,392,360.71 $ (5,253,537.91)
2 ($6,645,898.62) ($2,683,845.86) $ 3,962,052.76 $ 34,694,010.40 ($6,645,898.62) $ 1,307,477.41 $ (5,338,421.21)
3 ($6,645,898.62) ($2,968,333.52) $ 3,677,565.10 $ 31,725,676.88 ($6,645,898.62) $ 1,213,596.48 $ (5,432,302.14)
4 ($6,645,898.62) ($3,282,976.87) $ 3,362,921.75 $ 28,442,700.00 ($6,645,898.62) $ 1,109,764.18 $ (5,536,134.45)
5 ($6,645,898.62) ($3,630,972.42) $ 3,014,926.20 $ 24,811,727.58 ($6,645,898.62) $ 994,925.65 $ (5,650,972.98)
6 ($6,645,898.62) ($4,015,855.50) $ 2,630,043.12 $ 20,795,872.08 ($6,645,898.62) $ 867,914.23 $ (5,777,984.39)
7 ($6,645,898.62) ($4,441,536.18) $ 2,204,362.44 $ 16,354,335.90 ($6,645,898.62) $ 727,439.61 $ (5,918,459.02)
8 ($6,645,898.62) ($4,912,339.02) $ 1,733,559.61 $ 11,441,996.88 ($6,645,898.62) $ 572,074.67 $ (6,073,823.95)
9 ($6,645,898.62) ($5,433,046.95) $ 1,212,851.67 $ 6,008,949.93 ($6,645,898.62) $ 400,241.05 $ (6,245,657.57)
10 ($6,645,898.62) ($6,008,949.93) $ 636,948.69 $ - ($6,645,898.62) $ 210,193.07 $ (6,435,705.55)

FCL

PRIMARIA AZIMUT 180° DEUDA DEL 100%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 132,681,600.00 $ - $ - $ 132,681,600.00 $ (132,681,600.00) $ (132,681,600.00) $ (132,681,600.00) 1.00
1 $ - $ 45,245,422.43 $ 2,584,000.00 $ (17,511,793.04) $ 25,149,629.39 $ 23,286,693.88 $ (109,394,906.12) 1.00
2 $ - $ 44,771,071.26 $ 2,661,520.00 $ (17,794,737.37) $ 24,314,813.89 $ 20,846,033.86 $ (88,548,872.26) 1.00
3 $ - $ 44,283,827.76 $ 2,741,365.60 $ (18,107,673.80) $ 23,434,788.36 $ 18,603,290.56 $ (69,945,581.70) 1.00
4 $ - $ 55,960,231.18 $ 2,823,606.57 $ (18,453,781.49) $ 34,682,843.12 $ 25,492,925.08 $ (44,452,656.63) 1.00
5 $ - $ 48,257,005.77 $ 2,908,314.77 $ 3,316,418.82 $ 48,665,109.82 $ 33,120,656.03 $ (11,332,000.60) 1.00
6 $ - $ 49,050,506.13 $ 2,995,564.21 $ (19,259,947.97) $ 26,794,993.95 $ 16,885,391.34 $ 5,553,390.74 0.96
7 $ - $ 55,735,097.85 $ 3,085,431.13 $ (19,728,196.72) $ 32,921,469.99 $ 19,209,361.54 $ 24,762,752.28 0.00
8 $ - $ 55,036,934.30 $ 3,177,994.07 $ (20,246,079.84) $ 31,612,860.39 $ 17,079,444.82 $ 41,842,197.10 0.00
9 $ - $ 61,147,411.28 $ 3,273,333.89 $ (20,818,858.57) $ 37,055,218.82 $ 18,536,834.94 $ 60,379,032.04 0.00
10 $ 37,629,658.62 $ 56,347,460.46 $ 3,371,533.91 $ (21,452,351.85) $ (6,106,083.91) $ (2,828,298.31) $ 57,550,733.73 0.00
11 $ - $ 52,099,809.76 $ 3,472,679.92 $ 48,627,129.84 $ 20,855,342.49 $ 78,406,076.22 0.00
12 $ - $ 52,922,763.61 $ 3,576,860.32 $ 49,345,903.29 $ 19,595,937.13 $ 98,002,013.35 0.00
13 $ - $ 59,586,763.20 $ 3,684,166.13 $ 55,902,597.07 $ 20,555,268.93 $ 118,557,282.27 0.00
14 $ - $ 57,975,563.26 $ 3,794,691.12 $ 54,180,872.15 $ 18,446,476.15 $ 137,003,758.43 0.00
15 $ - $ 60,812,224.04 $ 3,908,531.85 $ 56,903,692.19 $ 17,938,416.94 $ 154,942,175.37 0.00
16 $ - $ 64,544,535.01 $ 4,025,787.80 $ 60,518,747.21 $ 17,664,845.42 $ 172,607,020.79 0.00
17 $ - $ 59,423,547.44 $ 4,146,561.44 $ 55,276,986.00 $ 14,939,653.05 $ 187,546,673.84 0.00
18 $ - $ 67,242,207.53 $ 4,270,958.28 $ 62,971,249.24 $ 15,758,493.99 $ 203,305,167.82 0.00
19 $ - $ 75,541,574.46 $ 4,399,087.03 $ 71,142,487.43 $ 16,484,572.60 $ 219,789,740.42 0.00
20 $ 50,571,114.57 $ 73,786,841.73 $ 4,531,059.64 $ 18,684,667.51 $ 4,008,761.92 $ 223,798,502.34 0.00
21 $ - $ 79,985,213.31 $ 4,666,991.43 $ 75,318,221.87 $ 14,962,397.67 $ 238,760,900.02 0.00
22 $ - $ 98,914,637.87 $ 4,807,001.17 $ 94,107,636.70 $ 17,310,206.41 $ 256,071,106.43 0.00
23 $ - $ 92,105,751.51 $ 4,951,211.21 $ 87,154,540.30 $ 14,843,750.31 $ 270,914,856.74 0.00
24 $ - $ 88,583,583.26 $ 5,099,747.54 $ 83,483,835.72 $ 13,165,345.57 $ 284,080,202.30 0.00
25 $ - $ 95,549,440.53 $ 5,252,739.97 $ 90,296,700.56 $ 13,184,935.04 $ 297,265,137.34 0.00

74
PRIMARIA AZIMUT 180° DEUDA DEL 75%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 132,681,600.00 $ - $ - $ 132,681,600.00 $ (132,681,600.00) $ (132,681,600.00) $ (132,681,600.00) 1.00
1 $ - $ 45,245,422.43 $ 2,584,000.00 $ (13,133,844.78) $ 29,527,577.65 $ 27,340,349.68 $ (105,341,250.32) 1.00
2 $ - $ 44,771,071.26 $ 2,661,520.00 $ (13,346,053.03) $ 28,763,498.23 $ 24,660,063.64 $ (80,681,186.68) 1.00
3 $ - $ 44,283,827.76 $ 2,741,365.60 $ (13,580,755.35) $ 27,961,706.81 $ 22,196,904.38 $ (58,484,282.30) 1.00
4 $ - $ 55,960,231.18 $ 2,823,606.57 $ (13,840,336.11) $ 39,296,288.49 $ 28,883,945.15 $ (29,600,337.15) 1.00
5 $ - $ 48,257,005.77 $ 2,908,314.77 $ (14,127,432.44) $ 31,221,258.56 $ 21,248,663.97 $ (8,351,673.19) 1.00
6 $ - $ 49,050,506.13 $ 2,995,564.21 $ (14,444,960.98) $ 31,609,980.94 $ 19,919,649.90 $ 11,567,976.71 0.91
7 $ - $ 55,735,097.85 $ 3,085,431.13 $ (14,796,147.54) $ 37,853,519.17 $ 22,087,164.86 $ 33,655,141.57 0.00
8 $ - $ 55,036,934.30 $ 3,177,994.07 $ (15,184,559.88) $ 36,674,380.35 $ 19,814,026.56 $ 53,469,168.14 0.00
9 $ - $ 61,147,411.28 $ 3,273,333.89 $ (15,614,143.93) $ 42,259,933.46 $ 21,140,488.06 $ 74,609,656.20 0.00
10 $ 37,629,658.62 $ 56,347,460.46 $ 3,371,533.91 $ (16,089,263.89) $ (742,995.95) $ (344,150.89) $ 74,265,505.32 0.00
11 $ - $ 52,099,809.76 $ 3,472,679.92 $ 48,627,129.84 $ 20,855,342.49 $ 95,120,847.80 0.00
12 $ - $ 52,922,763.61 $ 3,576,860.32 $ 49,345,903.29 $ 19,595,937.13 $ 114,716,784.93 0.00
13 $ - $ 59,586,763.20 $ 3,684,166.13 $ 55,902,597.07 $ 20,555,268.93 $ 135,272,053.86 0.00
14 $ - $ 57,975,563.26 $ 3,794,691.12 $ 54,180,872.15 $ 18,446,476.15 $ 153,718,530.01 0.00
15 $ - $ 60,812,224.04 $ 3,908,531.85 $ 56,903,692.19 $ 17,938,416.94 $ 171,656,946.95 0.00
16 $ - $ 64,544,535.01 $ 4,025,787.80 $ 60,518,747.21 $ 17,664,845.42 $ 189,321,792.37 0.00
17 $ - $ 59,423,547.44 $ 4,146,561.44 $ 55,276,986.00 $ 14,939,653.05 $ 204,261,445.42 0.00
18 $ - $ 67,242,207.53 $ 4,270,958.28 $ 62,971,249.24 $ 15,758,493.99 $ 220,019,939.40 0.00
19 $ - $ 75,541,574.46 $ 4,399,087.03 $ 71,142,487.43 $ 16,484,572.60 $ 236,504,512.00 0.00
20 $ 50,571,114.57 $ 73,786,841.73 $ 4,531,059.64 $ 18,684,667.51 $ 4,008,761.92 $ 240,513,273.93 0.00
21 $ - $ 79,985,213.31 $ 4,666,991.43 $ 75,318,221.87 $ 14,962,397.67 $ 255,475,671.60 0.00
22 $ - $ 98,914,637.87 $ 4,807,001.17 $ 94,107,636.70 $ 17,310,206.41 $ 272,785,878.01 0.00
23 $ - $ 92,105,751.51 $ 4,951,211.21 $ 87,154,540.30 $ 14,843,750.31 $ 287,629,628.32 0.00
24 $ - $ 88,583,583.26 $ 5,099,747.54 $ 83,483,835.72 $ 13,165,345.57 $ 300,794,973.89 0.00
25 $ - $ 95,549,440.53 $ 5,252,739.97 $ 90,296,700.56 $ 13,184,935.04 $ 313,979,908.92 0.00

PRIMARIA AZIMUT 180° DEUDA DEL 50%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 132,681,600.00 $ - $ - $ 66,340,800.00 $ (132,681,600.00) $ (132,681,600.00) $ (132,681,600.00) 1.00
1 $ - $ 45,245,422.43 $ 2,584,000.00 $ (8,755,896.52) $ 33,905,525.91 $ 31,394,005.47 $ (101,287,594.53) 1.00
2 $ - $ 44,771,071.26 $ 2,661,520.00 $ (8,897,368.68) $ 33,212,182.57 $ 28,474,093.43 $ (72,813,501.10) 1.00
3 $ - $ 44,283,827.76 $ 2,741,365.60 $ (9,053,836.90) $ 32,488,625.26 $ 25,790,518.20 $ (47,022,982.90) 1.00
4 $ - $ 55,960,231.18 $ 2,823,606.57 $ (9,226,890.74) $ 43,909,733.87 $ 32,274,965.22 $ (14,748,017.68) 1.00
5 $ - $ 48,257,005.77 $ 2,908,314.77 $ (9,418,288.29) $ 35,930,402.71 $ 24,453,628.35 $ 9,705,610.66 0.93
6 $ - $ 49,050,506.13 $ 2,995,564.21 $ (9,629,973.99) $ 36,424,967.94 $ 22,953,908.45 $ 32,659,519.12 0.00
7 $ - $ 55,735,097.85 $ 3,085,431.13 $ (9,864,098.36) $ 42,785,568.35 $ 24,964,968.19 $ 57,624,487.31 0.00
8 $ - $ 55,036,934.30 $ 3,177,994.07 $ (10,123,039.92) $ 41,735,900.31 $ 22,548,608.30 $ 80,173,095.61 0.00
9 $ - $ 61,147,411.28 $ 3,273,333.89 $ (10,409,429.29) $ 47,464,648.10 $ 23,744,141.19 $ 103,917,236.80 0.00
10 $ 37,629,658.62 $ 56,347,460.46 $ 3,371,533.91 $ (10,726,175.92) $ 4,620,092.01 $ 2,139,996.53 $ 106,057,233.34 0.00
11 $ - $ 52,099,809.76 $ 3,472,679.92 $ 48,627,129.84 $ 20,855,342.49 $ 126,912,575.82 0.00
12 $ - $ 52,922,763.61 $ 3,576,860.32 $ 49,345,903.29 $ 19,595,937.13 $ 146,508,512.95 0.00
13 $ - $ 59,586,763.20 $ 3,684,166.13 $ 55,902,597.07 $ 20,555,268.93 $ 167,063,781.88 0.00
14 $ - $ 57,975,563.26 $ 3,794,691.12 $ 54,180,872.15 $ 18,446,476.15 $ 185,510,258.03 0.00
15 $ - $ 60,812,224.04 $ 3,908,531.85 $ 56,903,692.19 $ 17,938,416.94 $ 203,448,674.98 0.00
16 $ - $ 64,544,535.01 $ 4,025,787.80 $ 60,518,747.21 $ 17,664,845.42 $ 221,113,520.39 0.00
17 $ - $ 59,423,547.44 $ 4,146,561.44 $ 55,276,986.00 $ 14,939,653.05 $ 236,053,173.44 0.00
18 $ - $ 67,242,207.53 $ 4,270,958.28 $ 62,971,249.24 $ 15,758,493.99 $ 251,811,667.43 0.00
19 $ - $ 75,541,574.46 $ 4,399,087.03 $ 71,142,487.43 $ 16,484,572.60 $ 268,296,240.03 0.00
20 $ 50,571,114.57 $ 73,786,841.73 $ 4,531,059.64 $ 18,684,667.51 $ 4,008,761.92 $ 272,305,001.95 0.00
21 $ - $ 79,985,213.31 $ 4,666,991.43 $ 75,318,221.87 $ 14,962,397.67 $ 287,267,399.62 0.00
22 $ - $ 98,914,637.87 $ 4,807,001.17 $ 94,107,636.70 $ 17,310,206.41 $ 304,577,606.03 0.00
23 $ - $ 92,105,751.51 $ 4,951,211.21 $ 87,154,540.30 $ 14,843,750.31 $ 319,421,356.34 0.00
24 $ - $ 88,583,583.26 $ 5,099,747.54 $ 83,483,835.72 $ 13,165,345.57 $ 332,586,701.91 0.00
25 $ - $ 95,549,440.53 $ 5,252,739.97 $ 90,296,700.56 $ 13,184,935.04 $ 345,771,636.94 0.00

PRIMARIA AZIMUT 180° DEUDA DEL 30%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 132,681,600.00 $ - $ - $ 39,804,480.00 $ (132,681,600.00) $ (132,681,600.00) $ (132,681,600.00) 1.00
1 $ - $ 45,245,422.43 $ 2,584,000.00 $ (5,253,537.91) $ 37,407,884.52 $ 34,636,930.11 $ (98,044,669.89) 1.00
2 $ - $ 44,771,071.26 $ 2,661,520.00 $ (5,338,421.21) $ 36,771,130.05 $ 31,525,317.26 $ (66,519,352.63) 1.00
3 $ - $ 44,283,827.76 $ 2,741,365.60 $ (5,432,302.14) $ 36,110,160.02 $ 28,665,409.25 $ (37,853,943.38) 1.00
4 $ - $ 55,960,231.18 $ 2,823,606.57 $ (5,536,134.45) $ 47,600,490.16 $ 34,987,781.28 $ (2,866,162.10) 1.00
5 $ - $ 48,257,005.77 $ 2,908,314.77 $ (5,650,972.98) $ 39,697,718.03 $ 27,017,599.85 $ 24,151,437.75 0.82
6 $ - $ 49,050,506.13 $ 2,995,564.21 $ (5,777,984.39) $ 40,276,957.53 $ 25,381,315.30 $ 49,532,753.04 0.00
7 $ - $ 55,735,097.85 $ 3,085,431.13 $ (5,918,459.02) $ 46,731,207.70 $ 27,267,210.85 $ 76,799,963.90 0.00
8 $ - $ 55,036,934.30 $ 3,177,994.07 $ (6,073,823.95) $ 45,785,116.28 $ 24,736,273.70 $ 101,536,237.59 0.00
9 $ - $ 61,147,411.28 $ 3,273,333.89 $ (6,245,657.57) $ 51,628,419.82 $ 25,827,063.69 $ 127,363,301.28 0.00
10 $ 37,629,658.62 $ 56,347,460.46 $ 3,371,533.91 $ (6,435,705.55) $ 8,910,562.38 $ 4,127,314.47 $ 131,490,615.75 0.00
11 $ - $ 52,099,809.76 $ 3,472,679.92 $ 48,627,129.84 $ 20,855,342.49 $ 152,345,958.24 0.00
12 $ - $ 52,922,763.61 $ 3,576,860.32 $ 49,345,903.29 $ 19,595,937.13 $ 171,941,895.37 0.00
13 $ - $ 59,586,763.20 $ 3,684,166.13 $ 55,902,597.07 $ 20,555,268.93 $ 192,497,164.29 0.00
14 $ - $ 57,975,563.26 $ 3,794,691.12 $ 54,180,872.15 $ 18,446,476.15 $ 210,943,640.45 0.00
15 $ - $ 60,812,224.04 $ 3,908,531.85 $ 56,903,692.19 $ 17,938,416.94 $ 228,882,057.39 0.00
16 $ - $ 64,544,535.01 $ 4,025,787.80 $ 60,518,747.21 $ 17,664,845.42 $ 246,546,902.81 0.00
17 $ - $ 59,423,547.44 $ 4,146,561.44 $ 55,276,986.00 $ 14,939,653.05 $ 261,486,555.86 0.00
18 $ - $ 67,242,207.53 $ 4,270,958.28 $ 62,971,249.24 $ 15,758,493.99 $ 277,245,049.84 0.00
19 $ - $ 75,541,574.46 $ 4,399,087.03 $ 71,142,487.43 $ 16,484,572.60 $ 293,729,622.44 0.00
20 $ 50,571,114.57 $ 73,786,841.73 $ 4,531,059.64 $ 18,684,667.51 $ 4,008,761.92 $ 297,738,384.36 0.00
21 $ - $ 79,985,213.31 $ 4,666,991.43 $ 75,318,221.87 $ 14,962,397.67 $ 312,700,782.04 0.00
22 $ - $ 98,914,637.87 $ 4,807,001.17 $ 94,107,636.70 $ 17,310,206.41 $ 330,010,988.45 0.00
23 $ - $ 92,105,751.51 $ 4,951,211.21 $ 87,154,540.30 $ 14,843,750.31 $ 344,854,738.76 0.00
24 $ - $ 88,583,583.26 $ 5,099,747.54 $ 83,483,835.72 $ 13,165,345.57 $ 358,020,084.32 0.00
25 $ - $ 95,549,440.53 $ 5,252,739.97 $ 90,296,700.56 $ 13,184,935.04 $ 371,205,019.36 0.00

75
LCOE
PRIMARIA AZIMUT 180° DEUDA DEL 100%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 0 0 0 0 0 0 $ 277.09
1 22152995.41 2584000 24736995.41 24016500.4 82002.31549 78023.13557
2 22152995.41 2584000 24736995.41 23316990.68 78109.22606 70712.61574
3 22152995.41 2584000 24736995.41 22637855.03 74370.95901 64061.22419
4 22152995.41 2584000 24736995.41 21978500.03 90467.19168 74144.72263
5 22152995.41 2584000 24736995.41 21338349.54 75097.47946 58561.4445
6 22152995.41 2584000 24736995.41 20716844.21 73478.76742 54518.7094
7 22152995.41 2584000 24736995.41 20113440.98 80371.21203 56738.97756
8 22152995.41 2584000 24736995.41 19527612.61 76397.53825 51316.57188
9 22152995.41 2584000 24736995.41 18958847.19 81706.49595 52219.43176
10 50152995.41 2584000 52736995.41 39241277.37 72478.00623 44073.65601
11 0 2584000 2584000 1866736.579 64509.16318 37324.28801
12 0 2584000 2584000 1812365.61 63078.47219 34725.50526
13 0 2584000 2584000 1759578.263 68366.26059 35810.18113
14 0 2584000 2584000 1708328.41 64031.0153 31911.87806
15 0 2584000 2584000 1658571.272 64653.14841 30658.36131
16 0 2584000 2584000 1610263.371 66055.90521 29803.56335
17 0 2584000 2584000 1563362.496 58541.53783 25131.47359
18 0 2584000 2584000 1517827.666 63767.72087 26046.65793
19 0 2584000 2584000 1473619.093 68960.17341 26800.73721
20 50571114.57 2584000 53155114.57 29430698.15 64840.24015 23976.74885
21 0 2584000 2584000 1389027.329 67659.49944 23805.19503
22 0 2584000 2584000 1348570.222 80543.96752 26963.3138
23 0 2584000 2584000 1309291.478 72195.90819 22995.88432
24 0 2584000 2584000 1271156.775 66839.38691 20256.63361
25 0 2584000 2584000 1234132.791 69400.20328 20012.10818

PRIMARIA AZIMUT 180° DEUDA DEL 75%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 33170400 0 66340800 33170400 0 0 $ 270.33
1 16614746.56 2584000 13660497.7 18639559.76 82002.31549 78023.13557
2 16614746.56 2584000 13660497.7 18096659.96 78109.22606 70712.61574
3 16614746.56 2584000 13660497.7 17569572.78 74370.95901 64061.22419
4 16614746.56 2584000 13660497.7 17057837.65 90467.19168 74144.72263
5 16614746.56 2584000 13660497.7 16561007.43 75097.47946 58561.4445
6 16614746.56 2584000 13660497.7 16078647.99 73478.76742 54518.7094
7 16614746.56 2584000 13660497.7 15610337.85 80371.21203 56738.97756
8 16614746.56 2584000 13660497.7 15155667.82 76397.53825 51316.57188
9 16614746.56 2584000 13660497.7 14714240.6 81706.49595 52219.43176
10 54244405.18 2584000 51290156.33 42285670.49 72478.00623 44073.65601
11 0 2584000 2584000 1866736.579 64509.16318 37324.28801
12 0 2584000 2584000 1812365.61 63078.47219 34725.50526
13 0 2584000 2584000 1759578.263 68366.26059 35810.18113
14 0 2584000 2584000 1708328.41 64031.0153 31911.87806
15 0 2584000 2584000 1658571.272 64653.14841 30658.36131
16 0 2584000 2584000 1610263.371 66055.90521 29803.56335
17 0 2584000 2584000 1563362.496 58541.53783 25131.47359
18 0 2584000 2584000 1517827.666 63767.72087 26046.65793
19 0 2584000 2584000 1473619.093 68960.17341 26800.73721
20 50571114.57 2584000 53155114.57 29430698.15 64840.24015 23976.74885
21 0 2584000 2584000 1389027.329 67659.49944 23805.19503
22 0 2584000 2584000 1348570.222 80543.96752 26963.3138
23 0 2584000 2584000 1309291.478 72195.90819 22995.88432
24 0 2584000 2584000 1271156.775 66839.38691 20256.63361
25 0 2584000 2584000 1234132.791 69400.20328 20012.10818

76
PRIMARIA AZIMUT 180° DEUDA DEL 50%
Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 66340800 0 66340800 66340800 0 0 $ 256.54


1 11076497.7 2584000 13660497.7 13262619.13 82002.31549 78023.13557
2 11076497.7 2584000 13660497.7 12876329.25 78109.22606 70712.61574
3 11076497.7 2584000 13660497.7 12501290.54 74370.95901 64061.22419
4 11076497.7 2584000 13660497.7 12137175.28 90467.19168 74144.72263
5 11076497.7 2584000 13660497.7 11783665.32 75097.47946 58561.4445
6 11076497.7 2584000 13660497.7 11440451.77 73478.76742 54518.7094
7 11076497.7 2584000 13660497.7 11107234.72 80371.21203 56738.97756
8 11076497.7 2584000 13660497.7 10783723.03 76397.53825 51316.57188
9 11076497.7 2584000 13660497.7 10469634.01 81706.49595 52219.43176
10 48706156.33 2584000 51290156.33 38164693.22 72478.00623 44073.65601
11 0 2584000 2584000 1866736.579 64509.16318 37324.28801
12 0 2584000 2584000 1812365.61 63078.47219 34725.50526
13 0 2584000 2584000 1759578.263 68366.26059 35810.18113
14 0 2584000 2584000 1708328.41 64031.0153 31911.87806
15 0 2584000 2584000 1658571.272 64653.14841 30658.36131
16 0 2584000 2584000 1610263.371 66055.90521 29803.56335
17 0 2584000 2584000 1563362.496 58541.53783 25131.47359
18 0 2584000 2584000 1517827.666 63767.72087 26046.65793
19 0 2584000 2584000 1473619.093 68960.17341 26800.73721
20 50571114.57 2584000 53155114.57 29430698.15 64840.24015 23976.74885
21 0 2584000 2584000 1389027.329 67659.49944 23805.19503
22 0 2584000 2584000 1348570.222 80543.96752 26963.3138
23 0 2584000 2584000 1309291.478 72195.90819 22995.88432
24 0 2584000 2584000 1271156.775 66839.38691 20256.63361
25 0 2584000 2584000 1234132.791 69400.20328 20012.10818

PRIMARIA AZIMUT 180° DEUDA DEL 30%


Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 92877120 0 92877120 92877120 0 0 $ 245.51


1 6645898.623 2584000 9229898.623 8961066.624 82002.31549 78023.13557
2 6645898.623 2584000 9229898.623 8700064.683 78109.22606 70712.61574
3 6645898.623 2584000 9229898.623 8446664.741 74370.95901 64061.22419
4 6645898.623 2584000 9229898.623 8200645.38 90467.19168 74144.72263
5 6645898.623 2584000 9229898.623 7961791.631 75097.47946 58561.4445
6 6645898.623 2584000 9229898.623 7729894.787 73478.76742 54518.7094
7 6645898.623 2584000 9229898.623 7504752.221 80371.21203 56738.97756
8 6645898.623 2584000 9229898.623 7286167.205 76397.53825 51316.57188
9 6645898.623 2584000 9229898.623 7073948.742 81706.49595 52219.43176
10 44275557.24 2584000 46859557.24 34867911.4 72478.00623 44073.65601
11 0 2584000 2584000 1866736.579 64509.16318 37324.28801
12 0 2584000 2584000 1812365.61 63078.47219 34725.50526
13 0 2584000 2584000 1759578.263 68366.26059 35810.18113
14 0 2584000 2584000 1708328.41 64031.0153 31911.87806
15 0 2584000 2584000 1658571.272 64653.14841 30658.36131
16 0 2584000 2584000 1610263.371 66055.90521 29803.56335
17 0 2584000 2584000 1563362.496 58541.53783 25131.47359
18 0 2584000 2584000 1517827.666 63767.72087 26046.65793
19 0 2584000 2584000 1473619.093 68960.17341 26800.73721
20 50571114.57 2584000 53155114.57 29430698.15 64840.24015 23976.74885
21 0 2584000 2584000 1389027.329 67659.49944 23805.19503
22 0 2584000 2584000 1348570.222 80543.96752 26963.3138
23 0 2584000 2584000 1309291.478 72195.90819 22995.88432
24 0 2584000 2584000 1271156.775 66839.38691 20256.63361
25 0 2584000 2584000 1234132.791 69400.20328 20012.10818

Azimut 205°
Diseño 100%
FCD

77
FCD prestamo del 100%
Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 218,859,600.00 $ 218,859,600.00 $ 218,859,600.00
1 ($35,924,987.28) ($13,601,308.08) $ 22,323,679.20 $ 205,258,291.92 ($35,924,987.28) $ 7,366,814.14 $ (28,558,173.15)
2 ($35,924,987.28) ($14,988,641.51) $ 20,936,345.78 $ 190,269,650.41 ($35,924,987.28) $ 6,908,994.11 $ (29,015,993.18)
3 ($35,924,987.28) ($16,517,482.94) $ 19,407,504.34 $ 173,752,167.47 ($35,924,987.28) $ 6,404,476.43 $ (29,520,510.85)
4 ($35,924,987.28) ($18,202,266.20) $ 17,722,721.08 $ 155,549,901.27 ($35,924,987.28) $ 5,848,497.96 $ (30,076,489.33)
5 ($35,924,987.28) ($20,058,897.35) $ 15,866,089.93 $ 135,491,003.92 ($35,924,987.28) $ 5,235,809.68 $ (30,689,177.61)
6 ($35,924,987.28) ($22,104,904.88) $ 13,820,082.40 $ 113,386,099.03 ($35,924,987.28) $ 4,560,627.19 $ (31,364,360.09)
7 ($35,924,987.28) ($24,359,605.18) $ 11,565,382.10 $ 89,026,493.85 ($35,924,987.28) $ 3,816,576.09 $ (32,108,411.19)
8 ($35,924,987.28) ($26,844,284.91) $ 9,080,702.37 $ 62,182,208.94 ($35,924,987.28) $ 2,996,631.78 $ (32,928,355.50)
9 ($35,924,987.28) ($29,582,401.97) $ 6,342,585.31 $ 32,599,806.97 ($35,924,987.28) $ 2,093,053.15 $ (33,831,934.13)
10 ($35,924,987.28) ($32,599,806.97) $ 3,325,180.31 $ - ($35,924,987.28) $ 1,097,309.50 $ (34,827,677.78)

FCD prestamo del 75%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 164,144,700.00 $ 164,144,700.00 $ 164,144,700.00
1 ($26,943,740.46) ($10,200,981.06) $ 16,742,759.40 $ 153,943,718.94 ($26,943,740.46) $ 5,525,110.60 $ (21,418,629.86)
2 ($26,943,740.46) ($11,241,481.13) $ 15,702,259.33 $ 142,702,237.81 ($26,943,740.46) $ 5,181,745.58 $ (21,761,994.88)
3 ($26,943,740.46) ($12,388,112.21) $ 14,555,628.26 $ 130,314,125.60 ($26,943,740.46) $ 4,803,357.32 $ (22,140,383.14)
4 ($26,943,740.46) ($13,651,699.65) $ 13,292,040.81 $ 116,662,425.95 ($26,943,740.46) $ 4,386,373.47 $ (22,557,366.99)
5 ($26,943,740.46) ($15,044,173.01) $ 11,899,567.45 $ 101,618,252.94 ($26,943,740.46) $ 3,926,857.26 $ (23,016,883.20)
6 ($26,943,740.46) ($16,578,678.66) $ 10,365,061.80 $ 85,039,574.27 ($26,943,740.46) $ 3,420,470.39 $ (23,523,270.07)
7 ($26,943,740.46) ($18,269,703.89) $ 8,674,036.58 $ 66,769,870.39 ($26,943,740.46) $ 2,862,432.07 $ (24,081,308.39)
8 ($26,943,740.46) ($20,133,213.68) $ 6,810,526.78 $ 46,636,656.71 ($26,943,740.46) $ 2,247,473.84 $ (24,696,266.62)
9 ($26,943,740.46) ($22,186,801.48) $ 4,756,938.98 $ 24,449,855.23 ($26,943,740.46) $ 1,569,789.86 $ (25,373,950.60)
10 ($26,943,740.46) ($24,449,855.23) $ 2,493,885.23 $ (0.00) ($26,943,740.46) $ 822,982.13 $ (26,120,758.33)

FCD prestamo del 50%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 109,429,800.00 $ 109,429,800.00 $ 109,429,800.00
1 ($17,962,493.64) ($6,800,654.04) $ 11,161,839.60 $ 102,629,145.96 ($17,962,493.64) $ 3,683,407.07 $ (14,279,086.57)
2 ($17,962,493.64) ($7,494,320.75) $ 10,468,172.89 $ 95,134,825.21 ($17,962,493.64) $ 3,454,497.05 $ (14,507,996.59)
3 ($17,962,493.64) ($8,258,741.47) $ 9,703,752.17 $ 86,876,083.73 ($17,962,493.64) $ 3,202,238.22 $ (14,760,255.42)
4 ($17,962,493.64) ($9,101,133.10) $ 8,861,360.54 $ 77,774,950.63 ($17,962,493.64) $ 2,924,248.98 $ (15,038,244.66)
5 ($17,962,493.64) ($10,029,448.68) $ 7,933,044.96 $ 67,745,501.96 ($17,962,493.64) $ 2,617,904.84 $ (15,344,588.80)
6 ($17,962,493.64) ($11,052,452.44) $ 6,910,041.20 $ 56,693,049.52 ($17,962,493.64) $ 2,280,313.60 $ (15,682,180.05)
7 ($17,962,493.64) ($12,179,802.59) $ 5,782,691.05 $ 44,513,246.93 ($17,962,493.64) $ 1,908,288.05 $ (16,054,205.59)
8 ($17,962,493.64) ($13,422,142.45) $ 4,540,351.19 $ 31,091,104.47 ($17,962,493.64) $ 1,498,315.89 $ (16,464,177.75)
9 ($17,962,493.64) ($14,791,200.99) $ 3,171,292.66 $ 16,299,903.49 ($17,962,493.64) $ 1,046,526.58 $ (16,915,967.06)
10 ($17,962,493.64) ($16,299,903.49) $ 1,662,590.16 $ - ($17,962,493.64) $ 548,654.75 $ (17,413,838.89)

FCD prestamo del 30%


Periodo Cuota Abono Interes Saldo FCD antes impuestosAhorro Tributario FCD desp. Impuestos
0 0 0 0 $ 65,657,880.00 $ 65,657,880.00 $ 65,657,880.00
1 ($10,777,496.18) ($4,080,392.42) $ 6,697,103.76 $ 61,577,487.58 ($10,777,496.18) $ 2,210,044.24 $ (8,567,451.94)
2 ($10,777,496.18) ($4,496,592.45) $ 6,280,903.73 $ 57,080,895.12 ($10,777,496.18) $ 2,072,698.23 $ (8,704,797.95)
3 ($10,777,496.18) ($4,955,244.88) $ 5,822,251.30 $ 52,125,650.24 ($10,777,496.18) $ 1,921,342.93 $ (8,856,153.25)
4 ($10,777,496.18) ($5,460,679.86) $ 5,316,816.32 $ 46,664,970.38 ($10,777,496.18) $ 1,754,549.39 $ (9,022,946.80)
5 ($10,777,496.18) ($6,017,669.21) $ 4,759,826.98 $ 40,647,301.17 ($10,777,496.18) $ 1,570,742.90 $ (9,206,753.28)
6 ($10,777,496.18) ($6,631,471.46) $ 4,146,024.72 $ 34,015,829.71 ($10,777,496.18) $ 1,368,188.16 $ (9,409,308.03)
7 ($10,777,496.18) ($7,307,881.55) $ 3,469,614.63 $ 26,707,948.16 ($10,777,496.18) $ 1,144,972.83 $ (9,632,523.36)
8 ($10,777,496.18) ($8,053,285.47) $ 2,724,210.71 $ 18,654,662.68 ($10,777,496.18) $ 898,989.53 $ (9,878,506.65)
9 ($10,777,496.18) ($8,874,720.59) $ 1,902,775.59 $ 9,779,942.09 ($10,777,496.18) $ 627,915.95 $ (10,149,580.24)
10 ($10,777,496.18) ($9,779,942.09) $ 997,554.09 $ (0.00) ($10,777,496.18) $ 329,192.85 $ (10,448,303.33)

78
FCL
100% AZIMUT 205° DEUDA DEL 100%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 218,859,600.00 $ - $ - $ 218,859,600.00 $ (218,859,600.00) $ (218,859,600.00) $ (218,859,600.00) 1.00
1 $ - $ 28,669,061.49 $ 3,960,000.00 $ (28,558,173.15) $ (3,849,111.66) $ (3,563,992.28) $ (222,423,592.28) 1.00

2 $ - $ 53,517,060.75 $ 4,078,800.00 $ (29,015,993.18) $ 20,422,267.57 $ 17,508,802.79 $ (204,914,789.49) 1.00


3 $ - $ 52,969,333.01 $ 4,201,164.00 $ (29,520,510.85) $ 19,247,658.16 $ 15,279,411.62 $ (189,635,377.87) 1.00
4 $ - $ 66,862,305.56 $ 4,327,198.92 $ (30,076,489.33) $ 32,458,617.31 $ 23,858,052.70 $ (165,777,325.17) 1.00
5 $ - $ 57,725,355.64 $ 4,457,014.89 $ (30,689,177.61) $ 22,579,163.15 $ 15,366,999.04 $ (150,410,326.13) 1.00
6 $ - $ 58,682,270.45 $ 4,590,725.33 $ (31,364,360.09) $ 22,727,185.03 $ 14,321,981.71 $ (136,088,344.42) 1.00
7 $ - $ 66,674,604.32 $ 4,728,447.09 $ (32,108,411.19) $ 29,837,746.04 $ 17,410,038.23 $ (118,678,306.19) 1.00
8 $ - $ 65,837,006.23 $ 4,870,300.51 $ (32,928,355.50) $ 28,038,350.22 $ 15,148,248.20 $ (103,530,057.99) 1.00
9 $ - $ 73,138,086.18 $ 5,016,409.52 $ (33,831,934.13) $ 34,289,742.53 $ 17,153,408.28 $ (86,376,649.71) 1.00
10 $ 64,507,986.21 $ 67,406,846.68 $ 5,166,901.81 $ (34,827,677.78) $ (37,095,719.12) $ (17,182,495.53) $ (103,559,145.24) 1.00
11 $ - $ 62,314,430.57 $ 5,321,908.86 $ 56,992,521.71 $ 24,443,115.67 $ (79,116,029.57) 1.00
12 $ - $ 63,326,639.40 $ 5,481,566.13 $ 57,845,073.28 $ 22,971,074.47 $ (56,144,955.10) 1.00
13 $ - $ 71,285,447.49 $ 5,646,013.11 $ 65,639,434.38 $ 24,135,483.80 $ (32,009,471.30) 1.00
14 $ - $ 69,364,835.93 $ 5,815,393.51 $ 63,549,442.43 $ 21,636,109.35 $ (10,373,361.96) 1.00
15 $ - $ 72,761,977.17 $ 5,989,855.31 $ 66,772,121.86 $ 21,049,357.54 $ 10,675,995.58 0.95
16 $ - $ 77,219,027.86 $ 6,169,550.97 $ 71,049,476.89 $ 20,738,665.03 $ 31,414,660.61 0.00
17 $ - $ 71,102,763.50 $ 6,354,637.50 $ 64,748,126.01 $ 17,499,408.12 $ 48,914,068.74 0.00
18 $ - $ 80,456,094.79 $ 6,545,276.62 $ 73,910,818.16 $ 18,496,110.49 $ 67,410,179.22 0.00
19 $ - $ 90,388,511.98 $ 6,741,634.92 $ 83,646,877.06 $ 19,381,990.53 $ 86,792,169.75 0.00
20 $ 86,693,339.26 $ 88,294,926.83 $ 6,943,883.97 $ (5,342,296.40) $ (1,146,180.12) $ 85,645,989.63 0.00
21 $ - $ 95,699,715.68 $ 7,152,200.49 $ 88,547,515.19 $ 17,590,472.83 $ 103,236,462.46 0.00
22 $ - $ 118,326,848.36 $ 7,366,766.50 $ 110,960,081.86 $ 20,410,053.72 $ 123,646,516.18 0.00
23 $ - $ 110,184,073.07 $ 7,587,769.50 $ 102,596,303.57 $ 17,473,718.61 $ 141,120,234.79 0.00
24 $ - $ 105,966,742.89 $ 7,815,402.58 $ 98,151,340.31 $ 15,478,401.32 $ 156,598,636.11 0.00
25 $ - $ 114,302,671.31 $ 8,049,864.66 $ 106,252,806.65 $ 15,514,812.22 $ 172,113,448.33 0.00

100% AZIMUT 205° DEUDA DEL 75%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 218,859,600.00 $ - $ - $ 218,859,600.00 $ (218,859,600.00) $ (218,859,600.00) $ (218,859,600.00) 1.00
1 $ - $ 28,669,061.49 $ 3,960,000.00 $ (21,418,629.86) $ 3,290,431.63 $ 3,046,695.95 $ (215,812,904.05) 1.00
2 $ - $ 53,517,060.75 $ 4,078,800.00 $ (21,761,994.88) $ 27,676,265.87 $ 23,727,937.13 $ (192,084,966.92) 1.00
3 $ - $ 52,969,333.01 $ 4,201,164.00 $ (22,140,383.14) $ 26,627,785.88 $ 21,137,994.94 $ (170,946,971.99) 1.00
4 $ - $ 66,862,305.56 $ 4,327,198.92 $ (22,557,366.99) $ 39,977,739.64 $ 29,384,832.09 $ (141,562,139.90) 1.00
5 $ - $ 57,725,355.64 $ 4,457,014.89 $ (23,016,883.20) $ 30,251,457.55 $ 20,588,633.70 $ (120,973,506.20) 1.00
6 $ - $ 58,682,270.45 $ 4,590,725.33 $ (23,523,270.07) $ 30,568,275.05 $ 19,263,198.48 $ (101,710,307.72) 1.00
7 $ - $ 66,674,604.32 $ 4,728,447.09 $ (24,081,308.39) $ 37,864,848.83 $ 22,093,775.61 $ (79,616,532.11) 1.00
8 $ - $ 65,837,006.23 $ 4,870,300.51 $ (24,696,266.62) $ 36,270,439.10 $ 19,595,789.67 $ (60,020,742.44) 1.00
9 $ - $ 73,138,086.18 $ 5,016,409.52 $ (25,373,950.60) $ 42,747,726.06 $ 21,384,505.81 $ (38,636,236.63) 1.00
10 $ 64,507,986.21 $ 67,406,846.68 $ 5,166,901.81 $ (26,120,758.33) $ (28,388,799.67) $ (13,149,507.14) $ (51,785,743.77) 1.00
11 $ - $ 62,314,430.57 $ 5,321,908.86 $ 56,992,521.71 $ 24,443,115.67 $ (27,342,628.10) 1.00
12 $ - $ 63,326,639.40 $ 5,481,566.13 $ 57,845,073.28 $ 22,971,074.47 $ (4,371,553.64) 1.00
13 $ - $ 71,285,447.49 $ 5,646,013.11 $ 65,639,434.38 $ 24,135,483.80 $ 19,763,930.16 0.91
14 $ - $ 69,364,835.93 $ 5,815,393.51 $ 63,549,442.43 $ 21,636,109.35 $ 41,400,039.51 0.00
15 $ - $ 72,761,977.17 $ 5,989,855.31 $ 66,772,121.86 $ 21,049,357.54 $ 62,449,397.05 0.00
16 $ - $ 77,219,027.86 $ 6,169,550.97 $ 71,049,476.89 $ 20,738,665.03 $ 83,188,062.08 0.00
17 $ - $ 71,102,763.50 $ 6,354,637.50 $ 64,748,126.01 $ 17,499,408.12 $ 100,687,470.20 0.00
18 $ - $ 80,456,094.79 $ 6,545,276.62 $ 73,910,818.16 $ 18,496,110.49 $ 119,183,580.69 0.00
19 $ - $ 90,388,511.98 $ 6,741,634.92 $ 83,646,877.06 $ 19,381,990.53 $ 138,565,571.22 0.00
20 $ 86,693,339.26 $ 88,294,926.83 $ 6,943,883.97 $ (5,342,296.40) $ (1,146,180.12) $ 137,419,391.10 0.00
21 $ - $ 95,699,715.68 $ 7,152,200.49 $ 88,547,515.19 $ 17,590,472.83 $ 155,009,863.93 0.00
22 $ - $ 118,326,848.36 $ 7,366,766.50 $ 110,960,081.86 $ 20,410,053.72 $ 175,419,917.65 0.00
23 $ - $ 110,184,073.07 $ 7,587,769.50 $ 102,596,303.57 $ 17,473,718.61 $ 192,893,636.26 0.00
24 $ - $ 105,966,742.89 $ 7,815,402.58 $ 98,151,340.31 $ 15,478,401.32 $ 208,372,037.58 0.00
25 $ - $ 114,302,671.31 $ 8,049,864.66 $ 106,252,806.65 $ 15,514,812.22 $ 223,886,849.80 0.00

79
100% AZIMUT 205° DEUDA DEL 50%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 218,859,600.00 $ - $ - $ 109,429,800.00 $ (218,859,600.00) $ (218,859,600.00) $ (218,859,600.00) 1.00
1 $ - $ 28,669,061.49 $ 3,960,000.00 $ (14,279,086.57) $ 10,429,974.91 $ 9,657,384.18 $ (209,202,215.82) 1.00
2 $ - $ 53,517,060.75 $ 4,078,800.00 $ (14,507,996.59) $ 34,930,264.16 $ 29,947,071.47 $ (179,255,144.35) 1.00
3 $ - $ 52,969,333.01 $ 4,201,164.00 $ (14,760,255.42) $ 34,007,913.59 $ 26,996,578.26 $ (152,258,566.10) 1.00
4 $ - $ 66,862,305.56 $ 4,327,198.92 $ (15,038,244.66) $ 47,496,861.97 $ 34,911,611.47 $ (117,346,954.63) 1.00
5 $ - $ 57,725,355.64 $ 4,457,014.89 $ (15,344,588.80) $ 37,923,751.95 $ 25,810,268.35 $ (91,536,686.28) 1.00
6 $ - $ 58,682,270.45 $ 4,590,725.33 $ (15,682,180.05) $ 38,409,365.07 $ 24,204,415.26 $ (67,332,271.03) 1.00
7 $ - $ 66,674,604.32 $ 4,728,447.09 $ (16,054,205.59) $ 45,891,951.63 $ 26,777,513.00 $ (40,554,758.03) 1.00
8 $ - $ 65,837,006.23 $ 4,870,300.51 $ (16,464,177.75) $ 44,502,527.97 $ 24,043,331.15 $ (16,511,426.88) 1.00
9 $ - $ 73,138,086.18 $ 5,016,409.52 $ (16,915,967.06) $ 51,205,709.59 $ 25,615,603.33 $ 9,104,176.45 0.96
10 $ 64,507,986.21 $ 67,406,846.68 $ 5,166,901.81 $ (17,413,838.89) $ (19,681,880.23) $ (9,116,518.76) $ (12,342.31) 0.00
11 $ - $ 62,314,430.57 $ 5,321,908.86 $ 56,992,521.71 $ 24,443,115.67 $ 24,430,773.36 0.00
12 $ - $ 63,326,639.40 $ 5,481,566.13 $ 57,845,073.28 $ 22,971,074.47 $ 47,401,847.83 0.00
13 $ - $ 71,285,447.49 $ 5,646,013.11 $ 65,639,434.38 $ 24,135,483.80 $ 71,537,331.63 0.00
14 $ - $ 69,364,835.93 $ 5,815,393.51 $ 63,549,442.43 $ 21,636,109.35 $ 93,173,440.98 0.00
15 $ - $ 72,761,977.17 $ 5,989,855.31 $ 66,772,121.86 $ 21,049,357.54 $ 114,222,798.52 0.00
16 $ - $ 77,219,027.86 $ 6,169,550.97 $ 71,049,476.89 $ 20,738,665.03 $ 134,961,463.55 0.00
17 $ - $ 71,102,763.50 $ 6,354,637.50 $ 64,748,126.01 $ 17,499,408.12 $ 152,460,871.67 0.00
18 $ - $ 80,456,094.79 $ 6,545,276.62 $ 73,910,818.16 $ 18,496,110.49 $ 170,956,982.16 0.00
19 $ - $ 90,388,511.98 $ 6,741,634.92 $ 83,646,877.06 $ 19,381,990.53 $ 190,338,972.69 0.00
20 $ 86,693,339.26 $ 88,294,926.83 $ 6,943,883.97 $ (5,342,296.40) $ (1,146,180.12) $ 189,192,792.57 0.00
21 $ - $ 95,699,715.68 $ 7,152,200.49 $ 88,547,515.19 $ 17,590,472.83 $ 206,783,265.40 0.00
22 $ - $ 118,326,848.36 $ 7,366,766.50 $ 110,960,081.86 $ 20,410,053.72 $ 227,193,319.12 0.00
23 $ - $ 110,184,073.07 $ 7,587,769.50 $ 102,596,303.57 $ 17,473,718.61 $ 244,667,037.73 0.00
24 $ - $ 105,966,742.89 $ 7,815,402.58 $ 98,151,340.31 $ 15,478,401.32 $ 260,145,439.05 0.00
25 $ - $ 114,302,671.31 $ 8,049,864.66 $ 106,252,806.65 $ 15,514,812.22 $ 275,660,251.27 0.00

100% AZIMUT 205° DEUDA DEL 30%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 218,859,600.00 $ - $ - $ 65,657,880.00 $ (218,859,600.00) $ (218,859,600.00) $ (218,859,600.00) 1.00
1 $ - $ 28,669,061.49 $ 3,960,000.00 $ (8,567,451.94) $ 16,141,609.54 $ 14,945,934.76 $ (203,913,665.24) 1.00
2 $ - $ 53,517,060.75 $ 4,078,800.00 $ (8,704,797.95) $ 40,733,462.80 $ 34,922,378.94 $ (168,991,286.30) 1.00
3 $ - $ 52,969,333.01 $ 4,201,164.00 $ (8,856,153.25) $ 39,912,015.76 $ 31,683,444.91 $ (137,307,841.38) 1.00
4 $ - $ 66,862,305.56 $ 4,327,198.92 $ (9,022,946.80) $ 53,512,159.84 $ 39,333,034.97 $ (97,974,806.41) 1.00
5 $ - $ 57,725,355.64 $ 4,457,014.89 $ (9,206,753.28) $ 44,061,587.47 $ 29,987,576.07 $ (67,987,230.34) 1.00
6 $ - $ 58,682,270.45 $ 4,590,725.33 $ (9,409,308.03) $ 44,682,237.09 $ 28,157,388.68 $ (39,829,841.67) 1.00
7 $ - $ 66,674,604.32 $ 4,728,447.09 $ (9,632,523.36) $ 52,313,633.87 $ 30,524,502.90 $ (9,305,338.77) 1.00
8 $ - $ 65,837,006.23 $ 4,870,300.51 $ (9,878,506.65) $ 51,088,199.07 $ 27,601,364.32 $ 18,296,025.56 0.92
9 $ - $ 73,138,086.18 $ 5,016,409.52 $ (10,149,580.24) $ 57,972,096.42 $ 29,000,481.35 $ 47,296,506.91 0.00
10 $ 64,507,986.21 $ 67,406,846.68 $ 5,166,901.81 $ (10,448,303.33) $ (12,716,344.67) $ (5,890,128.04) $ 41,406,378.87 0.00
11 $ - $ 62,314,430.57 $ 5,321,908.86 $ 56,992,521.71 $ 24,443,115.67 $ 65,849,494.54 0.00
12 $ - $ 63,326,639.40 $ 5,481,566.13 $ 57,845,073.28 $ 22,971,074.47 $ 88,820,569.01 0.00
13 $ - $ 71,285,447.49 $ 5,646,013.11 $ 65,639,434.38 $ 24,135,483.80 $ 112,956,052.81 0.00
14 $ - $ 69,364,835.93 $ 5,815,393.51 $ 63,549,442.43 $ 21,636,109.35 $ 134,592,162.15 0.00
15 $ - $ 72,761,977.17 $ 5,989,855.31 $ 66,772,121.86 $ 21,049,357.54 $ 155,641,519.69 0.00
16 $ - $ 77,219,027.86 $ 6,169,550.97 $ 71,049,476.89 $ 20,738,665.03 $ 176,380,184.72 0.00
17 $ - $ 71,102,763.50 $ 6,354,637.50 $ 64,748,126.01 $ 17,499,408.12 $ 193,879,592.85 0.00
18 $ - $ 80,456,094.79 $ 6,545,276.62 $ 73,910,818.16 $ 18,496,110.49 $ 212,375,703.33 0.00
19 $ - $ 90,388,511.98 $ 6,741,634.92 $ 83,646,877.06 $ 19,381,990.53 $ 231,757,693.86 0.00
20 $ 86,693,339.26 $ 88,294,926.83 $ 6,943,883.97 $ (5,342,296.40) $ (1,146,180.12) $ 230,611,513.74 0.00
21 $ - $ 95,699,715.68 $ 7,152,200.49 $ 88,547,515.19 $ 17,590,472.83 $ 248,201,986.57 0.00
22 $ - $ 118,326,848.36 $ 7,366,766.50 $ 110,960,081.86 $ 20,410,053.72 $ 268,612,040.29 0.00
23 $ - $ 110,184,073.07 $ 7,587,769.50 $ 102,596,303.57 $ 17,473,718.61 $ 286,085,758.90 0.00
24 $ - $ 105,966,742.89 $ 7,815,402.58 $ 98,151,340.31 $ 15,478,401.32 $ 301,564,160.22 0.00
25 $ - $ 114,302,671.31 $ 8,049,864.66 $ 106,252,806.65 $ 15,514,812.22 $ 317,078,972.44 0.00

80
LCOE

100% AZIMUT 205° DEUDA DEL 100%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 $ - $ - $ - $ - 0 0 $ 487.11
1 $ 35,924,987.28 $ 3,960,000.00 $ 39,884,987.28 $ 38,723,288.62 51959.49774 48334.41651

2 $ 35,924,987.28 $ 3,960,000.00 $ 39,884,987.28 $ 37,595,425.85 93367.79484 80794.19781


3 $ 35,924,987.28 $ 3,960,000.00 $ 39,884,987.28 $ 36,500,413.45 88957.53357 71607.30688
4 $ 35,924,987.28 $ 3,960,000.00 $ 39,884,987.28 $ 35,437,294.61 108091.8518 80939.23587
5 $ 35,924,987.28 $ 3,960,000.00 $ 39,884,987.28 $ 34,405,140.39 89832.11123 62573.33254
6 $ 35,924,987.28 $ 3,960,000.00 $ 39,884,987.28 $ 33,403,048.93 87907.36819 56960.59178
7 $ 35,924,987.28 $ 3,960,000.00 $ 39,884,987.28 $ 32,430,144.59 96146.21607 57952.60294
8 $ 35,924,987.28 $ 3,960,000.00 $ 39,884,987.28 $ 31,485,577.27 91389.26915 51242.16732
9 $ 35,924,987.28 $ 3,960,000.00 $ 39,884,987.28 $ 30,568,521.62 97728.69558 50973.67244
10 $ 83,924,987.28 $ 3,960,000.00 $ 87,884,987.28 $ 65,394,684.25 86703.35475 42067.94129
11 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,860,788.26 77156.74565 34824.17164
12 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,777,464.33 75478.81837 31690.09358
13 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,696,567.31 81788.62582 31943.52771
14 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,618,026.51 76609.87872 27833.40092
15 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,541,773.31 77357.65272 26144.25794
16 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,467,741.08 79027.18307 24845.11857
17 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,395,865.13 70047.40206 20485.57415
18 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,326,082.65 76298.8305 20757.04489
19 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,258,332.67 82513.60268 20881.64599
20 $ 86,693,339.26 $ 3,960,000.00 $ 90,653,339.26 $ 50,192,555.99 77589.23035 18265.52497
21 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,128,695.13 80952.39847 17727.68276
22 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,066,694.30 96350.89443 19627.70568
23 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,006,499.32 86366.36794 16366.28005
24 $ - $ 3,960,000.00 $ 3,960,000.00 $ 1,948,057.60 79955.58395 14094.36965
25 $ - $ 3,960,000.00 $ 3,960,000.00 $ 1,891,318.05 83021.19385 13613.73737

100% AZIMUT 205° DEUDA DEL 75%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 $ 54,714,900.00 $ - $ 109,429,800.00 $ 54,714,900.00 0 0 $ 463.87
1 $ 26,943,740.46 $ 3,960,000.00 $ 21,922,493.64 $ 30,003,631.52 51959.49774 48334.41651
2 $ 26,943,740.46 $ 3,960,000.00 $ 21,922,493.64 $ 29,129,739.34 93367.79484 80794.19781
3 $ 26,943,740.46 $ 3,960,000.00 $ 21,922,493.64 $ 28,281,300.33 88957.53357 71607.30688
4 $ 26,943,740.46 $ 3,960,000.00 $ 21,922,493.64 $ 27,457,573.13 108091.8518 80939.23587
5 $ 26,943,740.46 $ 3,960,000.00 $ 21,922,493.64 $ 26,657,837.99 89832.11123 62573.33254
6 $ 26,943,740.46 $ 3,960,000.00 $ 21,922,493.64 $ 25,881,396.11 87907.36819 56960.59178
7 $ 26,943,740.46 $ 3,960,000.00 $ 21,922,493.64 $ 25,127,569.04 96146.21607 57952.60294
8 $ 26,943,740.46 $ 3,960,000.00 $ 21,922,493.64 $ 24,395,698.10 91389.26915 51242.16732
9 $ 26,943,740.46 $ 3,960,000.00 $ 21,922,493.64 $ 23,685,143.78 97728.69558 50973.67244
10 $ 74,943,740.46 $ 3,960,000.00 $ 86,430,479.85 $ 58,711,793.14 86703.35475 42067.94129
11 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,860,788.26 77156.74565 34824.17164
12 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,777,464.33 75478.81837 31690.09358
13 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,696,567.31 81788.62582 31943.52771
14 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,618,026.51 76609.87872 27833.40092
15 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,541,773.31 77357.65272 26144.25794
16 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,467,741.08 79027.18307 24845.11857
17 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,395,865.13 70047.40206 20485.57415
18 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,326,082.65 76298.8305 20757.04489
19 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,258,332.67 82513.60268 20881.64599
20 $ 86,693,339.26 $ 3,960,000.00 $ 90,653,339.26 $ 50,192,555.99 77589.23035 18265.52497
21 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,128,695.13 80952.39847 17727.68276
22 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,066,694.30 96350.89443 19627.70568
23 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,006,499.32 86366.36794 16366.28005
24 $ - $ 3,960,000.00 $ 3,960,000.00 $ 1,948,057.60 79955.58395 14094.36965
25 $ - $ 3,960,000.00 $ 3,960,000.00 $ 1,891,318.05 83021.19385 13613.73737

81
100% AZIMUT 205° DEUDA DEL 50%
Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 $ 109,429,800.00 $ - $ 109,429,800.00 $ 109,429,800.00 0 0 $ 453.68


1 $ 17,962,493.64 $ 3,960,000.00 $ 21,922,493.64 $ 21,283,974.41 51959.49774 48334.41651
2 $ 17,962,493.64 $ 3,960,000.00 $ 21,922,493.64 $ 20,664,052.82 93367.79484 80794.19781
3 $ 17,962,493.64 $ 3,960,000.00 $ 21,922,493.64 $ 20,062,187.21 88957.53357 71607.30688
4 $ 17,962,493.64 $ 3,960,000.00 $ 21,922,493.64 $ 19,477,851.66 108091.8518 80939.23587
5 $ 17,962,493.64 $ 3,960,000.00 $ 21,922,493.64 $ 18,910,535.59 89832.11123 62573.33254
6 $ 17,962,493.64 $ 3,960,000.00 $ 21,922,493.64 $ 18,359,743.29 87907.36819 56960.59178
7 $ 17,962,493.64 $ 3,960,000.00 $ 21,922,493.64 $ 17,824,993.49 96146.21607 57952.60294
8 $ 17,962,493.64 $ 3,960,000.00 $ 21,922,493.64 $ 17,305,818.92 91389.26915 51242.16732
9 $ 17,962,493.64 $ 3,960,000.00 $ 21,922,493.64 $ 16,801,765.94 97728.69558 50973.67244
10 $ 82,470,479.85 $ 3,960,000.00 $ 86,430,479.85 $ 64,312,394.12 86703.35475 42067.94129
11 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,860,788.26 77156.74565 34824.17164
12 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,777,464.33 75478.81837 31690.09358
13 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,696,567.31 81788.62582 31943.52771
14 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,618,026.51 76609.87872 27833.40092
15 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,541,773.31 77357.65272 26144.25794
16 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,467,741.08 79027.18307 24845.11857
17 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,395,865.13 70047.40206 20485.57415
18 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,326,082.65 76298.8305 20757.04489
19 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,258,332.67 82513.60268 20881.64599
20 $ 86,693,339.26 $ 3,960,000.00 $ 90,653,339.26 $ 50,192,555.99 77589.23035 18265.52497
21 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,128,695.13 80952.39847 17727.68276
22 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,066,694.30 96350.89443 19627.70568
23 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,006,499.32 86366.36794 16366.28005
24 $ - $ 3,960,000.00 $ 3,960,000.00 $ 1,948,057.60 79955.58395 14094.36965
25 $ - $ 3,960,000.00 $ 3,960,000.00 $ 1,891,318.05 83021.19385 13613.73737

100% AZIMUT 205° DEUDA DEL 30%


Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 $ 153,201,720.00 $ - $ 153,201,720.00 $ 153,201,720.00 0 0 $ 435.09


1 $ 10,777,496.18 $ 3,960,000.00 $ 14,737,496.18 $ 14,308,248.72 51959.49774 48334.41651
2 $ 10,777,496.18 $ 3,960,000.00 $ 14,737,496.18 $ 13,891,503.61 93367.79484 80794.19781
3 $ 10,777,496.18 $ 3,960,000.00 $ 14,737,496.18 $ 13,486,896.71 88957.53357 71607.30688
4 $ 10,777,496.18 $ 3,960,000.00 $ 14,737,496.18 $ 13,094,074.48 108091.8518 80939.23587
5 $ 10,777,496.18 $ 3,960,000.00 $ 14,737,496.18 $ 12,712,693.67 89832.11123 62573.33254
6 $ 10,777,496.18 $ 3,960,000.00 $ 14,737,496.18 $ 12,342,421.04 87907.36819 56960.59178
7 $ 10,777,496.18 $ 3,960,000.00 $ 14,737,496.18 $ 11,982,933.05 96146.21607 57952.60294
8 $ 10,777,496.18 $ 3,960,000.00 $ 14,737,496.18 $ 11,633,915.58 91389.26915 51242.16732
9 $ 10,777,496.18 $ 3,960,000.00 $ 14,737,496.18 $ 11,295,063.67 97728.69558 50973.67244
10 $ 75,285,482.39 $ 3,960,000.00 $ 79,245,482.39 $ 58,966,081.23 86703.35475 42067.94129
11 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,860,788.26 77156.74565 34824.17164
12 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,777,464.33 75478.81837 31690.09358
13 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,696,567.31 81788.62582 31943.52771
14 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,618,026.51 76609.87872 27833.40092
15 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,541,773.31 77357.65272 26144.25794
16 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,467,741.08 79027.18307 24845.11857
17 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,395,865.13 70047.40206 20485.57415
18 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,326,082.65 76298.8305 20757.04489
19 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,258,332.67 82513.60268 20881.64599
20 $ 86,693,339.26 $ 3,960,000.00 $ 90,653,339.26 $ 50,192,555.99 77589.23035 18265.52497
21 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,128,695.13 80952.39847 17727.68276
22 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,066,694.30 96350.89443 19627.70568
23 $ - $ 3,960,000.00 $ 3,960,000.00 $ 2,006,499.32 86366.36794 16366.28005
24 $ - $ 3,960,000.00 $ 3,960,000.00 $ 1,948,057.60 79955.58395 14094.36965
25 $ - $ 3,960,000.00 $ 3,960,000.00 $ 1,891,318.05 83021.19385 13613.73737

82
Diseño solo Bachillerato
FCD
FCD prestamo del 100%
Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 68,237,800.00 $ 68,237,800.00 $ 68,237,800.00
1 ($11,200,980.43) ($4,240,724.83) $ 6,960,255.60 $ 63,997,075.17 ($11,200,980.43) $ 2,296,884.35 $ (8,904,096.09)
2 ($11,200,980.43) ($4,673,278.77) $ 6,527,701.67 $ 59,323,796.40 ($11,200,980.43) $ 2,154,141.55 $ (9,046,838.88)
3 ($11,200,980.43) ($5,149,953.20) $ 6,051,027.23 $ 54,173,843.20 ($11,200,980.43) $ 1,996,838.99 $ (9,204,141.45)
4 ($11,200,980.43) ($5,675,248.43) $ 5,525,732.01 $ 48,498,594.77 ($11,200,980.43) $ 1,823,491.56 $ (9,377,488.87)
5 ($11,200,980.43) ($6,254,123.77) $ 4,946,856.67 $ 42,244,471.01 ($11,200,980.43) $ 1,632,462.70 $ (9,568,517.73)
6 ($11,200,980.43) ($6,892,044.39) $ 4,308,936.04 $ 35,352,426.62 ($11,200,980.43) $ 1,421,948.89 $ (9,779,031.54)
7 ($11,200,980.43) ($7,595,032.92) $ 3,605,947.52 $ 27,757,393.70 ($11,200,980.43) $ 1,189,962.68 $ (10,011,017.75)
8 ($11,200,980.43) ($8,369,726.28) $ 2,831,254.16 $ 19,387,667.42 ($11,200,980.43) $ 934,313.87 $ (10,266,666.56)
9 ($11,200,980.43) ($9,223,438.36) $ 1,977,542.08 $ 10,164,229.07 ($11,200,980.43) $ 652,588.89 $ (10,548,391.55)
10 ($11,200,980.43) ($10,164,229.07) $ 1,036,751.36 $ - ($11,200,980.43) $ 342,127.95 $ (10,858,852.48)

FCD prestamo del 75%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 51,178,350.00 $ 51,178,350.00 $ 51,178,350.00
1 ($8,400,735.32) ($3,180,543.62) $ 5,220,191.70 $ 47,997,806.38 ($8,400,735.32) $ 1,722,663.26 $ (6,678,072.06)
2 ($8,400,735.32) ($3,504,959.07) $ 4,895,776.25 $ 44,492,847.30 ($8,400,735.32) $ 1,615,606.16 $ (6,785,129.16)
3 ($8,400,735.32) ($3,862,464.90) $ 4,538,270.42 $ 40,630,382.40 ($8,400,735.32) $ 1,497,629.24 $ (6,903,106.08)
4 ($8,400,735.32) ($4,256,436.32) $ 4,144,299.00 $ 36,373,946.08 ($8,400,735.32) $ 1,367,618.67 $ (7,033,116.65)
5 ($8,400,735.32) ($4,690,592.82) $ 3,710,142.50 $ 31,683,353.26 ($8,400,735.32) $ 1,224,347.03 $ (7,176,388.30)
6 ($8,400,735.32) ($5,169,033.29) $ 3,231,702.03 $ 26,514,319.96 ($8,400,735.32) $ 1,066,461.67 $ (7,334,273.65)
7 ($8,400,735.32) ($5,696,274.69) $ 2,704,460.64 $ 20,818,045.27 ($8,400,735.32) $ 892,472.01 $ (7,508,263.31)
8 ($8,400,735.32) ($6,277,294.71) $ 2,123,440.62 $ 14,540,750.57 ($8,400,735.32) $ 700,735.40 $ (7,699,999.92)
9 ($8,400,735.32) ($6,917,578.77) $ 1,483,156.56 $ 7,623,171.80 ($8,400,735.32) $ 489,441.66 $ (7,911,293.66)
10 ($8,400,735.32) ($7,623,171.80) $ 777,563.52 $ - ($8,400,735.32) $ 256,595.96 $ (8,144,139.36)

FCD prestamo del 50%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 34,118,900.00 $ 34,118,900.00 $ 34,118,900.00
1 ($5,600,490.22) ($2,120,362.42) $ 3,480,127.80 $ 31,998,537.58 ($5,600,490.22) $ 1,148,442.17 $ (4,452,048.04)
2 ($5,600,490.22) ($2,336,639.38) $ 3,263,850.83 $ 29,661,898.20 ($5,600,490.22) $ 1,077,070.78 $ (4,523,419.44)
3 ($5,600,490.22) ($2,574,976.60) $ 3,025,513.62 $ 27,086,921.60 ($5,600,490.22) $ 998,419.49 $ (4,602,070.72)
4 ($5,600,490.22) ($2,837,624.21) $ 2,762,866.00 $ 24,249,297.39 ($5,600,490.22) $ 911,745.78 $ (4,688,744.44)
5 ($5,600,490.22) ($3,127,061.88) $ 2,473,428.33 $ 21,122,235.50 ($5,600,490.22) $ 816,231.35 $ (4,784,258.87)
6 ($5,600,490.22) ($3,446,022.20) $ 2,154,468.02 $ 17,676,213.31 ($5,600,490.22) $ 710,974.45 $ (4,889,515.77)
7 ($5,600,490.22) ($3,797,516.46) $ 1,802,973.76 $ 13,878,696.85 ($5,600,490.22) $ 594,981.34 $ (5,005,508.88)
8 ($5,600,490.22) ($4,184,863.14) $ 1,415,627.08 $ 9,693,833.71 ($5,600,490.22) $ 467,156.94 $ (5,133,333.28)
9 ($5,600,490.22) ($4,611,719.18) $ 988,771.04 $ 5,082,114.53 ($5,600,490.22) $ 326,294.44 $ (5,274,195.77)
10 ($5,600,490.22) ($5,082,114.53) $ 518,375.68 $ - ($5,600,490.22) $ 171,063.98 $ (5,429,426.24)

FCD prestamo del 30%


Periodo Cuota Abono Interes Saldo FCD antes impuestosAhorro Tributario FCD desp. Impuestos
0 0 0 0 $ 20,471,340.00 $ 20,471,340.00 $ 20,471,340.00
1 ($3,360,294.13) ($1,272,217.45) $ 2,088,076.68 $ 19,199,122.55 ($3,360,294.13) $ 689,065.30 $ (2,671,228.83)
2 ($3,360,294.13) ($1,401,983.63) $ 1,958,310.50 $ 17,797,138.92 ($3,360,294.13) $ 646,242.47 $ (2,714,051.66)
3 ($3,360,294.13) ($1,544,985.96) $ 1,815,308.17 $ 16,252,152.96 ($3,360,294.13) $ 599,051.70 $ (2,761,242.43)
4 ($3,360,294.13) ($1,702,574.53) $ 1,657,719.60 $ 14,549,578.43 ($3,360,294.13) $ 547,047.47 $ (2,813,246.66)
5 ($3,360,294.13) ($1,876,237.13) $ 1,484,057.00 $ 12,673,341.30 ($3,360,294.13) $ 489,738.81 $ (2,870,555.32)
6 ($3,360,294.13) ($2,067,613.32) $ 1,292,680.81 $ 10,605,727.99 ($3,360,294.13) $ 426,584.67 $ (2,933,709.46)
7 ($3,360,294.13) ($2,278,509.88) $ 1,081,784.25 $ 8,327,218.11 ($3,360,294.13) $ 356,988.80 $ (3,003,305.33)
8 ($3,360,294.13) ($2,510,917.88) $ 849,376.25 $ 5,816,300.23 ($3,360,294.13) $ 280,294.16 $ (3,079,999.97)
9 ($3,360,294.13) ($2,767,031.51) $ 593,262.62 $ 3,049,268.72 ($3,360,294.13) $ 195,776.67 $ (3,164,517.46)
10 ($3,360,294.13) ($3,049,268.72) $ 311,025.41 $ - ($3,360,294.13) $ 102,638.39 $ (3,257,655.74)

83
FCL
BACHILLERATO AZIMUT 205° DEUDA DEL 100%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 68,237,800.00 $ - $ - $ 68,237,800.00 $ (68,237,800.00) $ (68,237,800.00) $ (68,237,800.00) 1.00
1 $ - $ 18,663,427.17 $ 1,080,000.00 $ (8,904,096.09) $ 8,679,331.08 $ 8,036,417.67 $ (60,201,382.33) 1.00

2 $ - $ 18,460,498.83 $ 1,112,400.00 $ (9,046,838.88) $ 8,301,259.94 $ 7,116,992.41 $ (53,084,389.92) 1.00


3 $ - $ 18,251,441.60 $ 1,145,772.00 $ (9,204,141.45) $ 7,901,528.15 $ 6,272,487.80 $ (46,811,902.12) 1.00
4 $ - $ 23,108,835.19 $ 1,180,145.16 $ (9,377,488.87) $ 12,551,201.16 $ 9,225,507.54 $ (37,586,394.59) 1.00
5 $ - $ 19,893,253.43 $ 1,215,549.51 $ (9,568,517.73) $ 9,109,186.19 $ 6,199,559.06 $ (31,386,835.53) 1.00
6 $ - $ 20,213,578.44 $ 1,252,016.00 $ (9,779,031.54) $ 9,182,530.90 $ 5,786,552.07 $ (25,600,283.46) 1.00
7 $ - $ 22,993,056.36 $ 1,289,576.48 $ (10,011,017.75) $ 11,692,462.13 $ 6,822,439.35 $ (18,777,844.11) 1.00
8 $ - $ 22,696,081.93 $ 1,328,263.77 $ (10,266,666.56) $ 11,101,151.60 $ 5,997,606.79 $ (12,780,237.32) 1.00
9 $ - $ 25,230,842.95 $ 1,368,111.69 $ (10,548,391.55) $ 13,314,339.72 $ 6,660,484.69 $ (6,119,752.63) 1.00
10 $ 26,071,977.76 $ 23,228,448.72 $ 1,409,155.04 $ (10,858,852.48) $ (15,111,536.56) $ (6,999,565.33) $ (13,119,317.96) 1.00
11 $ - $ 21,452,176.33 $ 1,451,429.69 $ 20,000,746.64 $ 8,577,977.41 $ (4,541,340.55) 1.00
12 $ - $ 21,785,245.04 $ 1,494,972.58 $ 20,290,272.46 $ 8,057,546.36 $ 3,516,205.81 0.95
13 $ - $ 24,549,560.09 $ 1,539,821.76 $ 23,009,738.33 $ 8,460,633.03 $ 11,976,838.84 0.00
14 $ - $ 23,874,518.32 $ 1,586,016.41 $ 22,288,501.91 $ 7,588,366.57 $ 19,565,205.41 0.00
15 $ - $ 25,043,089.98 $ 1,633,596.90 $ 23,409,493.08 $ 7,379,648.51 $ 26,944,853.92 0.00
16 $ - $ 26,589,613.06 $ 1,682,604.81 $ 24,907,008.25 $ 7,270,118.28 $ 34,214,972.21 0.00
17 $ - $ 24,449,631.10 $ 1,733,082.95 $ 22,716,548.15 $ 6,139,577.65 $ 40,354,549.85 0.00
18 $ - $ 27,693,698.60 $ 1,785,075.44 $ 25,908,623.16 $ 6,483,607.79 $ 46,838,157.65 0.00
19 $ - $ 31,135,116.51 $ 1,838,627.71 $ 29,296,488.80 $ 6,788,349.89 $ 53,626,507.53 0.00
20 $ 35,038,557.95 $ 30,397,531.97 $ 1,893,786.54 $ (6,534,812.52) $ (1,402,032.31) $ 52,224,475.22 0.00
21 $ - $ 32,965,579.65 $ 1,950,600.13 $ 31,014,979.52 $ 6,161,303.94 $ 58,385,779.17 0.00
22 $ - $ 40,833,300.22 $ 2,009,118.14 $ 38,824,182.09 $ 7,141,339.74 $ 65,527,118.91 0.00
23 $ - $ 37,992,153.82 $ 2,069,391.68 $ 35,922,762.14 $ 6,118,195.45 $ 71,645,314.35 0.00
24 $ - $ 36,511,312.16 $ 2,131,473.43 $ 34,379,838.72 $ 5,421,677.78 $ 77,066,992.13 0.00
25 $ - $ 39,398,036.75 $ 2,195,417.63 $ 37,202,619.12 $ 5,432,248.50 $ 82,499,240.64 0.00

BACHILLERATO AZIMUT 205° DEUDA DEL 75%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 68,237,800.00 $ - $ - $ 68,237,800.00 $ (68,237,800.00) $ (68,237,800.00) $ (68,237,800.00) 1.00
1 $ - $ 18,663,427.17 $ 1,080,000.00 $ (6,678,072.06) $ 10,905,355.10 $ 10,097,551.02 $ (58,140,248.98) 1.00
2 $ - $ 18,460,498.83 $ 1,112,400.00 $ (6,785,129.16) $ 10,562,969.67 $ 9,056,043.95 $ (49,084,205.03) 1.00
3 $ - $ 18,251,441.60 $ 1,145,772.00 $ (6,903,106.08) $ 10,202,563.51 $ 8,099,123.86 $ (40,985,081.17) 1.00
4 $ - $ 23,108,835.19 $ 1,180,145.16 $ (7,033,116.65) $ 14,895,573.37 $ 10,948,691.10 $ (30,036,390.07) 1.00
5 $ - $ 19,893,253.43 $ 1,215,549.51 $ (7,176,388.30) $ 11,501,315.62 $ 7,827,602.15 $ (22,208,787.91) 1.00
6 $ - $ 20,213,578.44 $ 1,252,016.00 $ (7,334,273.65) $ 11,627,288.78 $ 7,327,164.24 $ (14,881,623.68) 1.00
7 $ - $ 22,993,056.36 $ 1,289,576.48 $ (7,508,263.31) $ 14,195,216.57 $ 8,282,772.53 $ (6,598,851.15) 1.00
8 $ - $ 22,696,081.93 $ 1,328,263.77 $ (7,699,999.92) $ 13,667,818.24 $ 7,384,296.91 $ 785,445.76 0.99
9 $ - $ 25,230,842.95 $ 1,368,111.69 $ (7,911,293.66) $ 15,951,437.60 $ 7,979,690.18 $ 8,765,135.95 0.00
10 $ 26,071,977.76 $ 23,228,448.72 $ 1,409,155.04 $ (8,144,139.36) $ (12,396,823.44) $ (5,742,127.89) $ 3,023,008.06 0.00
11 $ - $ 21,452,176.33 $ 1,451,429.69 $ 20,000,746.64 $ 8,577,977.41 $ 11,600,985.46 0.00
12 $ - $ 21,785,245.04 $ 1,494,972.58 $ 20,290,272.46 $ 8,057,546.36 $ 19,658,531.83 0.00
13 $ - $ 24,549,560.09 $ 1,539,821.76 $ 23,009,738.33 $ 8,460,633.03 $ 28,119,164.86 0.00
14 $ - $ 23,874,518.32 $ 1,586,016.41 $ 22,288,501.91 $ 7,588,366.57 $ 35,707,531.43 0.00
15 $ - $ 25,043,089.98 $ 1,633,596.90 $ 23,409,493.08 $ 7,379,648.51 $ 43,087,179.94 0.00
16 $ - $ 26,589,613.06 $ 1,682,604.81 $ 24,907,008.25 $ 7,270,118.28 $ 50,357,298.22 0.00
17 $ - $ 24,449,631.10 $ 1,733,082.95 $ 22,716,548.15 $ 6,139,577.65 $ 56,496,875.87 0.00
18 $ - $ 27,693,698.60 $ 1,785,075.44 $ 25,908,623.16 $ 6,483,607.79 $ 62,980,483.66 0.00
19 $ - $ 31,135,116.51 $ 1,838,627.71 $ 29,296,488.80 $ 6,788,349.89 $ 69,768,833.55 0.00
20 $ 35,038,557.95 $ 30,397,531.97 $ 1,893,786.54 $ (6,534,812.52) $ (1,402,032.31) $ 68,366,801.24 0.00
21 $ - $ 32,965,579.65 $ 1,950,600.13 $ 31,014,979.52 $ 6,161,303.94 $ 74,528,105.18 0.00
22 $ - $ 40,833,300.22 $ 2,009,118.14 $ 38,824,182.09 $ 7,141,339.74 $ 81,669,444.92 0.00
23 $ - $ 37,992,153.82 $ 2,069,391.68 $ 35,922,762.14 $ 6,118,195.45 $ 87,787,640.37 0.00
24 $ - $ 36,511,312.16 $ 2,131,473.43 $ 34,379,838.72 $ 5,421,677.78 $ 93,209,318.15 0.00
25 $ - $ 39,398,036.75 $ 2,195,417.63 $ 37,202,619.12 $ 5,432,248.50 $ 98,641,566.65 0.00

84
BACHILLERATO AZIMUT 205° DEUDA DEL 50%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 68,237,800.00 $ - $ - $ 34,118,900.00 $ (68,237,800.00) $ (68,237,800.00) $ (68,237,800.00) 1.00
1 $ - $ 18,663,427.17 $ 1,080,000.00 $ (4,452,048.04) $ 13,131,379.12 $ 12,158,684.37 $ (56,079,115.63) 1.00
2 $ - $ 18,460,498.83 $ 1,112,400.00 $ (4,523,419.44) $ 12,824,679.39 $ 10,995,095.50 $ (45,084,020.13) 1.00
3 $ - $ 18,251,441.60 $ 1,145,772.00 $ (4,602,070.72) $ 12,503,598.87 $ 9,925,759.92 $ (35,158,260.22) 1.00
4 $ - $ 23,108,835.19 $ 1,180,145.16 $ (4,688,744.44) $ 17,239,945.59 $ 12,671,874.67 $ (22,486,385.54) 1.00
5 $ - $ 19,893,253.43 $ 1,215,549.51 $ (4,784,258.87) $ 13,893,445.05 $ 9,455,645.25 $ (13,030,740.29) 1.00
6 $ - $ 20,213,578.44 $ 1,252,016.00 $ (4,889,515.77) $ 14,072,046.67 $ 8,867,776.40 $ (4,162,963.89) 1.00
7 $ - $ 22,993,056.36 $ 1,289,576.48 $ (5,005,508.88) $ 16,697,971.01 $ 9,743,105.70 $ 5,580,141.81 0.92
8 $ - $ 22,696,081.93 $ 1,328,263.77 $ (5,133,333.28) $ 16,234,484.88 $ 8,770,987.04 $ 14,351,128.84 0.00
9 $ - $ 25,230,842.95 $ 1,368,111.69 $ (5,274,195.77) $ 18,588,535.49 $ 9,298,895.68 $ 23,650,024.52 0.00
10 $ 26,071,977.76 $ 23,228,448.72 $ 1,409,155.04 $ (5,429,426.24) $ (9,682,110.32) $ (4,484,690.45) $ 19,165,334.07 0.00
11 $ - $ 21,452,176.33 $ 1,451,429.69 $ 20,000,746.64 $ 8,577,977.41 $ 27,743,311.48 0.00
12 $ - $ 21,785,245.04 $ 1,494,972.58 $ 20,290,272.46 $ 8,057,546.36 $ 35,800,857.84 0.00
13 $ - $ 24,549,560.09 $ 1,539,821.76 $ 23,009,738.33 $ 8,460,633.03 $ 44,261,490.87 0.00
14 $ - $ 23,874,518.32 $ 1,586,016.41 $ 22,288,501.91 $ 7,588,366.57 $ 51,849,857.44 0.00
15 $ - $ 25,043,089.98 $ 1,633,596.90 $ 23,409,493.08 $ 7,379,648.51 $ 59,229,505.95 0.00
16 $ - $ 26,589,613.06 $ 1,682,604.81 $ 24,907,008.25 $ 7,270,118.28 $ 66,499,624.24 0.00
17 $ - $ 24,449,631.10 $ 1,733,082.95 $ 22,716,548.15 $ 6,139,577.65 $ 72,639,201.88 0.00
18 $ - $ 27,693,698.60 $ 1,785,075.44 $ 25,908,623.16 $ 6,483,607.79 $ 79,122,809.68 0.00
19 $ - $ 31,135,116.51 $ 1,838,627.71 $ 29,296,488.80 $ 6,788,349.89 $ 85,911,159.56 0.00
20 $ 35,038,557.95 $ 30,397,531.97 $ 1,893,786.54 $ (6,534,812.52) $ (1,402,032.31) $ 84,509,127.25 0.00
21 $ - $ 32,965,579.65 $ 1,950,600.13 $ 31,014,979.52 $ 6,161,303.94 $ 90,670,431.20 0.00
22 $ - $ 40,833,300.22 $ 2,009,118.14 $ 38,824,182.09 $ 7,141,339.74 $ 97,811,770.93 0.00
23 $ - $ 37,992,153.82 $ 2,069,391.68 $ 35,922,762.14 $ 6,118,195.45 $ 103,929,966.38 0.00
24 $ - $ 36,511,312.16 $ 2,131,473.43 $ 34,379,838.72 $ 5,421,677.78 $ 109,351,644.16 0.00
25 $ - $ 39,398,036.75 $ 2,195,417.63 $ 37,202,619.12 $ 5,432,248.50 $ 114,783,892.67 0.00

BACHILLERATO AZIMUT 205° DEUDA DEL 30%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 68,237,800.00 $ - $ - $ 20,471,340.00 $ (68,237,800.00) $ (68,237,800.00) $ (68,237,800.00) 1.00
1 $ - $ 18,663,427.17 $ 1,080,000.00 $ (2,671,228.83) $ 14,912,198.34 $ 13,807,591.06 $ (54,430,208.94) 1.00
2 $ - $ 18,460,498.83 $ 1,112,400.00 $ (2,714,051.66) $ 14,634,047.16 $ 12,546,336.73 $ (41,883,872.21) 1.00
3 $ - $ 18,251,441.60 $ 1,145,772.00 $ (2,761,242.43) $ 14,344,427.16 $ 11,387,068.76 $ (30,496,803.45) 1.00
4 $ - $ 23,108,835.19 $ 1,180,145.16 $ (2,813,246.66) $ 19,115,443.37 $ 14,050,421.52 $ (16,446,381.93) 1.00
5 $ - $ 19,893,253.43 $ 1,215,549.51 $ (2,870,555.32) $ 15,807,148.60 $ 10,758,079.73 $ (5,688,302.20) 1.00
6 $ - $ 20,213,578.44 $ 1,252,016.00 $ (2,933,709.46) $ 16,027,852.98 $ 10,100,266.13 $ 4,411,963.93 0.94
7 $ - $ 22,993,056.36 $ 1,289,576.48 $ (3,003,305.33) $ 18,700,174.56 $ 10,911,372.24 $ 15,323,336.18 0.00
8 $ - $ 22,696,081.93 $ 1,328,263.77 $ (3,079,999.97) $ 18,287,818.19 $ 9,880,339.13 $ 25,203,675.31 0.00
9 $ - $ 25,230,842.95 $ 1,368,111.69 $ (3,164,517.46) $ 20,698,213.80 $ 10,354,260.07 $ 35,557,935.38 0.00
10 $ 26,071,977.76 $ 23,228,448.72 $ 1,409,155.04 $ (3,257,655.74) $ (7,510,339.83) $ (3,478,740.50) $ 32,079,194.88 0.00
11 $ - $ 21,452,176.33 $ 1,451,429.69 $ 20,000,746.64 $ 8,577,977.41 $ 40,657,172.29 0.00
12 $ - $ 21,785,245.04 $ 1,494,972.58 $ 20,290,272.46 $ 8,057,546.36 $ 48,714,718.65 0.00
13 $ - $ 24,549,560.09 $ 1,539,821.76 $ 23,009,738.33 $ 8,460,633.03 $ 57,175,351.69 0.00
14 $ - $ 23,874,518.32 $ 1,586,016.41 $ 22,288,501.91 $ 7,588,366.57 $ 64,763,718.26 0.00
15 $ - $ 25,043,089.98 $ 1,633,596.90 $ 23,409,493.08 $ 7,379,648.51 $ 72,143,366.77 0.00
16 $ - $ 26,589,613.06 $ 1,682,604.81 $ 24,907,008.25 $ 7,270,118.28 $ 79,413,485.05 0.00
17 $ - $ 24,449,631.10 $ 1,733,082.95 $ 22,716,548.15 $ 6,139,577.65 $ 85,553,062.70 0.00
18 $ - $ 27,693,698.60 $ 1,785,075.44 $ 25,908,623.16 $ 6,483,607.79 $ 92,036,670.49 0.00
19 $ - $ 31,135,116.51 $ 1,838,627.71 $ 29,296,488.80 $ 6,788,349.89 $ 98,825,020.38 0.00
20 $ 35,038,557.95 $ 30,397,531.97 $ 1,893,786.54 $ (6,534,812.52) $ (1,402,032.31) $ 97,422,988.07 0.00
21 $ - $ 32,965,579.65 $ 1,950,600.13 $ 31,014,979.52 $ 6,161,303.94 $ 103,584,292.01 0.00
22 $ - $ 40,833,300.22 $ 2,009,118.14 $ 38,824,182.09 $ 7,141,339.74 $ 110,725,631.75 0.00
23 $ - $ 37,992,153.82 $ 2,069,391.68 $ 35,922,762.14 $ 6,118,195.45 $ 116,843,827.19 0.00
24 $ - $ 36,511,312.16 $ 2,131,473.43 $ 34,379,838.72 $ 5,421,677.78 $ 122,265,504.98 0.00
25 $ - $ 39,398,036.75 $ 2,195,417.63 $ 37,202,619.12 $ 5,432,248.50 $ 127,697,753.48 0.00
23 $ - $ 37,992,153.82 $ 2,069,391.68 $ 35,922,762.14 $ 6,118,195.45 $ 116,843,827.19 0.00
24 $ - $ 36,511,312.16 $ 2,131,473.43 $ 34,379,838.72 $ 5,421,677.78 $ 122,265,504.98 0.00
25 $ - $ 39,398,036.75 $ 2,195,417.63 $ 37,202,619.12 $ 5,432,248.50 $ 127,697,753.48 0.00

85
LCOE
BACHILLERATO AZIMUT 205° DEUDA DEL 100%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 0 0 0 0 0 0 $ 436.28
1 11200980.43 1080000 12280980.43 11923281.97 33825.39405 31465.48283

2 11200980.43 1080000 12280980.43 11576001.92 32206.85223 27869.63957


3 11200980.43 1080000 12280980.43 11238836.81 30651.75897 24673.45736
4 11200980.43 1080000 12280980.43 10911492.05 37358.52012 27974.07966
5 11200980.43 1080000 12280980.43 10593681.6 30957.85094 21563.95831
6 11200980.43 1080000 12280980.43 10285127.77 30280.39762 19620.53242
7 11200980.43 1080000 12280980.43 9985560.941 33156.48271 19985.23245
8 11200980.43 1080000 12280980.43 9694719.36 31504.74876 17664.78299
9 11200980.43 1080000 12280980.43 9412348.893 33713.99908 17584.66472
10 30600980.43 1080000 31680980.43 23573624.76 29878.03953 14496.64337
11 0 1080000 1080000 780214.9787 26561.74658 11988.46341
12 0 1080000 1080000 757490.2706 25965.76369 10901.83311
13 0 1080000 1080000 735427.4472 28166.68556 11000.8365
14 0 1080000 1080000 714007.2303 26368.17241 9579.91223
15 0 1080000 1080000 693210.9032 26624.82155 8998.284949
16 0 1080000 1080000 673020.2944 27212.23353 8555.172313
17 0 1080000 1080000 653417.7615 24086.73103 7044.237187
18 0 1080000 1080000 634386.1762 26262.73151 7144.758227
19 0 1080000 1080000 615908.909 28422.53486 7192.866289
20 35038557.95 1080000 36118557.95 19997969.81 26711.85305 6288.321417
21 0 1080000 1080000 580553.218 27885.58692 6106.636095
22 0 1080000 1080000 563643.901 33249.63906 6773.306395
23 0 1080000 1080000 547227.0883 29779.66092 5643.195171
24 0 1080000 1080000 531288.4352 27549.05175 4856.277695
25 0 1080000 1080000 515814.0148 28615.88456 4692.405864

BACHILLERATO AZIMUT 205° DEUDA DEL 75%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 17059450 0 34118900 17059450 0 0 $ 416.18
1 8400735.325 1080000 6680490.217 9204597.403 33825.39405 31465.48283
2 8400735.325 1080000 6680490.217 8936502.333 32206.85223 27869.63957
3 8400735.325 1080000 6680490.217 8676215.857 30651.75897 24673.45736
4 8400735.325 1080000 6680490.217 8423510.541 37358.52012 27974.07966
5 8400735.325 1080000 6680490.217 8178165.574 30957.85094 21563.95831
6 8400735.325 1080000 6680490.217 7939966.576 30280.39762 19620.53242
7 8400735.325 1080000 6680490.217 7708705.414 33156.48271 19985.23245
8 8400735.325 1080000 6680490.217 7484180.013 31504.74876 17664.78299
9 8400735.325 1080000 6680490.217 7266194.188 33713.99908 17584.66472
10 27800735.32 1080000 32752467.98 21489979.41 29878.03953 14496.64337
11 0 1080000 1080000 780214.9787 26561.74658 11988.46341
12 0 1080000 1080000 757490.2706 25965.76369 10901.83311
13 0 1080000 1080000 735427.4472 28166.68556 11000.8365
14 0 1080000 1080000 714007.2303 26368.17241 9579.91223
15 0 1080000 1080000 693210.9032 26624.82155 8998.284949
16 0 1080000 1080000 673020.2944 27212.23353 8555.172313
17 0 1080000 1080000 653417.7615 24086.73103 7044.237187
18 0 1080000 1080000 634386.1762 26262.73151 7144.758227
19 0 1080000 1080000 615908.909 28422.53486 7192.866289
20 35038557.95 1080000 36118557.95 19997969.81 26711.85305 6288.321417
21 0 1080000 1080000 580553.218 27885.58692 6106.636095
22 0 1080000 1080000 563643.901 33249.63906 6773.306395
23 0 1080000 1080000 547227.0883 29779.66092 5643.195171
24 0 1080000 1080000 531288.4352 27549.05175 4856.277695
25 0 1080000 1080000 515814.0148 28615.88456 4692.405864

86
BACHILLERATO AZIMUT 205° DEUDA DEL 50%
Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 34118900 0 34118900 34118900 0 0 $ 410.69


1 5600490.217 1080000 6680490.217 6485912.832 33825.39405 31465.48283
2 5600490.217 1080000 6680490.217 6297002.749 32206.85223 27869.63957
3 5600490.217 1080000 6680490.217 6113594.902 30651.75897 24673.45736
4 5600490.217 1080000 6680490.217 5935529.031 37358.52012 27974.07966
5 5600490.217 1080000 6680490.217 5762649.545 30957.85094 21563.95831
6 5600490.217 1080000 6680490.217 5594805.383 30280.39762 19620.53242
7 5600490.217 1080000 6680490.217 5431849.887 33156.48271 19985.23245
8 5600490.217 1080000 6680490.217 5273640.667 31504.74876 17664.78299
9 5600490.217 1080000 6680490.217 5120039.482 33713.99908 17584.66472
10 31672467.98 1080000 32752467.98 24370912.12 29878.03953 14496.64337
11 0 1080000 1080000 780214.9787 26561.74658 11988.46341
12 0 1080000 1080000 757490.2706 25965.76369 10901.83311
13 0 1080000 1080000 735427.4472 28166.68556 11000.8365
14 0 1080000 1080000 714007.2303 26368.17241 9579.91223
15 0 1080000 1080000 693210.9032 26624.82155 8998.284949
16 0 1080000 1080000 673020.2944 27212.23353 8555.172313
17 0 1080000 1080000 653417.7615 24086.73103 7044.237187
18 0 1080000 1080000 634386.1762 26262.73151 7144.758227
19 0 1080000 1080000 615908.909 28422.53486 7192.866289
20 35038557.95 1080000 36118557.95 19997969.81 26711.85305 6288.321417
21 0 1080000 1080000 580553.218 27885.58692 6106.636095
22 0 1080000 1080000 563643.901 33249.63906 6773.306395
23 0 1080000 1080000 547227.0883 29779.66092 5643.195171
24 0 1080000 1080000 531288.4352 27549.05175 4856.277695
25 0 1080000 1080000 515814.0148 28615.88456 4692.405864

BACHILLERATO AZIMUT 205° DEUDA DEL 30%


Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 47766460 0 47766460 47766460 0 0 $ 394.61


1 3360294.13 1080000 4440294.13 4310965.175 33825.39405 31465.48283
2 3360294.13 1080000 4440294.13 4185403.082 32206.85223 27869.63957
3 3360294.13 1080000 4440294.13 4063498.138 30651.75897 24673.45736
4 3360294.13 1080000 4440294.13 3945143.823 37358.52012 27974.07966
5 3360294.13 1080000 4440294.13 3830236.722 30957.85094 21563.95831
6 3360294.13 1080000 4440294.13 3718676.429 30280.39762 19620.53242
7 3360294.13 1080000 4440294.13 3610365.465 33156.48271 19985.23245
8 3360294.13 1080000 4440294.13 3505209.189 31504.74876 17664.78299
9 3360294.13 1080000 4440294.13 3403115.718 33713.99908 17584.66472
10 29432271.89 1080000 30512271.89 22703995.84 29878.03953 14496.64337
11 0 1080000 1080000 780214.9787 26561.74658 11988.46341
12 0 1080000 1080000 757490.2706 25965.76369 10901.83311
13 0 1080000 1080000 735427.4472 28166.68556 11000.8365
14 0 1080000 1080000 714007.2303 26368.17241 9579.91223
15 0 1080000 1080000 693210.9032 26624.82155 8998.284949
16 0 1080000 1080000 673020.2944 27212.23353 8555.172313
17 0 1080000 1080000 653417.7615 24086.73103 7044.237187
18 0 1080000 1080000 634386.1762 26262.73151 7144.758227
19 0 1080000 1080000 615908.909 28422.53486 7192.866289
20 35038557.95 1080000 36118557.95 19997969.81 26711.85305 6288.321417
21 0 1080000 1080000 580553.218 27885.58692 6106.636095
22 0 1080000 1080000 563643.901 33249.63906 6773.306395
23 0 1080000 1080000 547227.0883 29779.66092 5643.195171
24 0 1080000 1080000 531288.4352 27549.05175 4856.277695
25 0 1080000 1080000 515814.0148 28615.88456 4692.405864

Diseño solo Primaria

87
FCD
FCD prestamo del 100%
Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 218,859,600.00 $ 218,859,600.00 $ 218,859,600.00
1 ($35,924,987.28) ($13,601,308.08) $ 22,323,679.20 $ 205,258,291.92 ($35,924,987.28) $ 7,366,814.14 $ (28,558,173.15)
2 ($35,924,987.28) ($14,988,641.51) $ 20,936,345.78 $ 190,269,650.41 ($35,924,987.28) $ 6,908,994.11 $ (29,015,993.18)
3 ($35,924,987.28) ($16,517,482.94) $ 19,407,504.34 $ 173,752,167.47 ($35,924,987.28) $ 6,404,476.43 $ (29,520,510.85)
4 ($35,924,987.28) ($18,202,266.20) $ 17,722,721.08 $ 155,549,901.27 ($35,924,987.28) $ 5,848,497.96 $ (30,076,489.33)
5 ($35,924,987.28) ($20,058,897.35) $ 15,866,089.93 $ 135,491,003.92 ($35,924,987.28) $ 5,235,809.68 $ (30,689,177.61)
6 ($35,924,987.28) ($22,104,904.88) $ 13,820,082.40 $ 113,386,099.03 ($35,924,987.28) $ 4,560,627.19 $ (31,364,360.09)
7 ($35,924,987.28) ($24,359,605.18) $ 11,565,382.10 $ 89,026,493.85 ($35,924,987.28) $ 3,816,576.09 $ (32,108,411.19)
8 ($35,924,987.28) ($26,844,284.91) $ 9,080,702.37 $ 62,182,208.94 ($35,924,987.28) $ 2,996,631.78 $ (32,928,355.50)
9 ($35,924,987.28) ($29,582,401.97) $ 6,342,585.31 $ 32,599,806.97 ($35,924,987.28) $ 2,093,053.15 $ (33,831,934.13)
10 ($35,924,987.28) ($32,599,806.97) $ 3,325,180.31 $ - ($35,924,987.28) $ 1,097,309.50 $ (34,827,677.78)

FCD prestamo del 75%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 164,144,700.00 $ 164,144,700.00 $ 164,144,700.00
1 ($26,943,740.46) ($10,200,981.06) $ 16,742,759.40 $ 153,943,718.94 ($26,943,740.46) $ 5,525,110.60 $ (21,418,629.86)
2 ($26,943,740.46) ($11,241,481.13) $ 15,702,259.33 $ 142,702,237.81 ($26,943,740.46) $ 5,181,745.58 $ (21,761,994.88)
3 ($26,943,740.46) ($12,388,112.21) $ 14,555,628.26 $ 130,314,125.60 ($26,943,740.46) $ 4,803,357.32 $ (22,140,383.14)
4 ($26,943,740.46) ($13,651,699.65) $ 13,292,040.81 $ 116,662,425.95 ($26,943,740.46) $ 4,386,373.47 $ (22,557,366.99)
5 ($26,943,740.46) ($15,044,173.01) $ 11,899,567.45 $ 101,618,252.94 ($26,943,740.46) $ 3,926,857.26 $ (23,016,883.20)
6 ($26,943,740.46) ($16,578,678.66) $ 10,365,061.80 $ 85,039,574.27 ($26,943,740.46) $ 3,420,470.39 $ (23,523,270.07)
7 ($26,943,740.46) ($18,269,703.89) $ 8,674,036.58 $ 66,769,870.39 ($26,943,740.46) $ 2,862,432.07 $ (24,081,308.39)
8 ($26,943,740.46) ($20,133,213.68) $ 6,810,526.78 $ 46,636,656.71 ($26,943,740.46) $ 2,247,473.84 $ (24,696,266.62)
9 ($26,943,740.46) ($22,186,801.48) $ 4,756,938.98 $ 24,449,855.23 ($26,943,740.46) $ 1,569,789.86 $ (25,373,950.60)
10 ($26,943,740.46) ($24,449,855.23) $ 2,493,885.23 $ (0.00) ($26,943,740.46) $ 822,982.13 $ (26,120,758.33)

FCD prestamo del 50%


Periodo Cuota Abono Interes Saldo FCD antes impuestos Ahorro Tributario FCD desp. Impuestos
0 0 0 0 $ 109,429,800.00 $ 109,429,800.00 $ 109,429,800.00
1 ($17,962,493.64) ($6,800,654.04) $ 11,161,839.60 $ 102,629,145.96 ($17,962,493.64) $ 3,683,407.07 $ (14,279,086.57)
2 ($17,962,493.64) ($7,494,320.75) $ 10,468,172.89 $ 95,134,825.21 ($17,962,493.64) $ 3,454,497.05 $ (14,507,996.59)
3 ($17,962,493.64) ($8,258,741.47) $ 9,703,752.17 $ 86,876,083.73 ($17,962,493.64) $ 3,202,238.22 $ (14,760,255.42)
4 ($17,962,493.64) ($9,101,133.10) $ 8,861,360.54 $ 77,774,950.63 ($17,962,493.64) $ 2,924,248.98 $ (15,038,244.66)
5 ($17,962,493.64) ($10,029,448.68) $ 7,933,044.96 $ 67,745,501.96 ($17,962,493.64) $ 2,617,904.84 $ (15,344,588.80)
6 ($17,962,493.64) ($11,052,452.44) $ 6,910,041.20 $ 56,693,049.52 ($17,962,493.64) $ 2,280,313.60 $ (15,682,180.05)
7 ($17,962,493.64) ($12,179,802.59) $ 5,782,691.05 $ 44,513,246.93 ($17,962,493.64) $ 1,908,288.05 $ (16,054,205.59)
8 ($17,962,493.64) ($13,422,142.45) $ 4,540,351.19 $ 31,091,104.47 ($17,962,493.64) $ 1,498,315.89 $ (16,464,177.75)
9 ($17,962,493.64) ($14,791,200.99) $ 3,171,292.66 $ 16,299,903.49 ($17,962,493.64) $ 1,046,526.58 $ (16,915,967.06)
10 ($17,962,493.64) ($16,299,903.49) $ 1,662,590.16 $ - ($17,962,493.64) $ 548,654.75 $ (17,413,838.89)

FCD prestamo del 30%


Periodo Cuota Abono Interes Saldo FCD antes impuestosAhorro Tributario FCD desp. Impuestos
0 0 0 0 $ 65,657,880.00 $ 65,657,880.00 $ 65,657,880.00
1 ($10,777,496.18) ($4,080,392.42) $ 6,697,103.76 $ 61,577,487.58 ($10,777,496.18) $ 2,210,044.24 $ (8,567,451.94)
2 ($10,777,496.18) ($4,496,592.45) $ 6,280,903.73 $ 57,080,895.12 ($10,777,496.18) $ 2,072,698.23 $ (8,704,797.95)
3 ($10,777,496.18) ($4,955,244.88) $ 5,822,251.30 $ 52,125,650.24 ($10,777,496.18) $ 1,921,342.93 $ (8,856,153.25)
4 ($10,777,496.18) ($5,460,679.86) $ 5,316,816.32 $ 46,664,970.38 ($10,777,496.18) $ 1,754,549.39 $ (9,022,946.80)
5 ($10,777,496.18) ($6,017,669.21) $ 4,759,826.98 $ 40,647,301.17 ($10,777,496.18) $ 1,570,742.90 $ (9,206,753.28)
6 ($10,777,496.18) ($6,631,471.46) $ 4,146,024.72 $ 34,015,829.71 ($10,777,496.18) $ 1,368,188.16 $ (9,409,308.03)
7 ($10,777,496.18) ($7,307,881.55) $ 3,469,614.63 $ 26,707,948.16 ($10,777,496.18) $ 1,144,972.83 $ (9,632,523.36)
8 ($10,777,496.18) ($8,053,285.47) $ 2,724,210.71 $ 18,654,662.68 ($10,777,496.18) $ 898,989.53 $ (9,878,506.65)
9 ($10,777,496.18) ($8,874,720.59) $ 1,902,775.59 $ 9,779,942.09 ($10,777,496.18) $ 627,915.95 $ (10,149,580.24)
10 ($10,777,496.18) ($9,779,942.09) $ 997,554.09 $ (0.00) ($10,777,496.18) $ 329,192.85 $ (10,448,303.33)

88
FCL
PRIMARIA AZIMUT 205° DEUDA DEL 100%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 218,859,600.00 $ - $ - $ 218,859,600.00 $ (218,859,600.00) $ (218,859,600.00) $ (218,859,600.00) 1.00
1 $ - $ 41,535,598.73 $ 3,960,000.00 $ (28,558,173.15) $ 9,017,425.58 $ 8,349,468.13 $ (210,510,131.87) 1.00

2 $ - $ 41,075,425.37 $ 4,078,800.00 $ (29,015,993.18) $ 7,980,632.20 $ 6,842,105.79 $ (203,668,026.08) 1.00


3 $ - $ 40,619,905.70 $ 4,201,164.00 $ (29,520,510.85) $ 6,898,230.85 $ 5,476,038.05 $ (198,191,988.02) 1.00
4 $ - $ 51,390,276.88 $ 4,327,198.92 $ (30,076,489.33) $ 16,986,588.64 $ 12,485,649.74 $ (185,706,338.28) 1.00
5 $ - $ 44,273,213.19 $ 4,457,014.89 $ (30,689,177.61) $ 9,127,020.70 $ 6,211,696.93 $ (179,494,641.35) 1.00
6 $ - $ 44,990,322.95 $ 4,590,725.33 $ (31,364,360.09) $ 9,035,237.53 $ 5,693,732.26 $ (173,800,909.09) 1.00
7 $ - $ 51,156,037.32 $ 4,728,447.09 $ (32,108,411.19) $ 14,319,179.03 $ 8,355,103.43 $ (165,445,805.66) 1.00
8 $ - $ 50,502,076.36 $ 4,870,300.51 $ (32,928,355.50) $ 12,703,420.36 $ 6,863,262.74 $ (158,582,542.91) 1.00
9 $ - $ 56,131,654.47 $ 5,016,409.52 $ (33,831,934.13) $ 17,283,310.81 $ 8,645,958.38 $ (149,936,584.53) 1.00
10 $ 64,507,986.21 $ 51,693,492.66 $ 5,166,901.81 $ (34,827,677.78) $ (52,809,073.14) $ (24,460,818.79) $ (174,397,403.32) 1.00
11 $ - $ 47,753,563.42 $ 5,321,908.86 $ 42,431,654.55 $ 18,198,209.33 $ (156,199,193.99) 1.00
12 $ - $ 48,506,262.40 $ 5,481,566.13 $ 43,024,696.27 $ 17,085,698.85 $ (139,113,495.14) 1.00
13 $ - $ 54,642,400.31 $ 5,646,013.11 $ 48,996,387.19 $ 18,015,869.89 $ (121,097,625.25) 1.00
14 $ - $ 53,149,762.13 $ 5,815,393.51 $ 47,334,368.63 $ 16,115,508.44 $ (104,982,116.81) 1.00
15 $ - $ 55,756,394.29 $ 5,989,855.31 $ 49,766,538.98 $ 15,688,488.60 $ (89,293,628.21) 1.00
16 $ - $ 59,189,631.34 $ 6,169,550.97 $ 53,020,080.37 $ 15,476,056.05 $ (73,817,572.17) 1.00
17 $ - $ 54,450,145.76 $ 6,354,637.50 $ 48,095,508.26 $ 12,998,722.59 $ (60,818,849.58) 1.00
18 $ - $ 61,658,788.13 $ 6,545,276.62 $ 55,113,511.50 $ 13,792,102.75 $ (47,026,746.83) 1.00
19 $ - $ 69,312,153.82 $ 6,741,634.92 $ 62,570,518.90 $ 14,498,344.08 $ (32,528,402.75) 1.00
20 $ 86,693,339.26 $ 67,682,116.56 $ 6,943,883.97 $ (25,955,106.67) $ (5,568,621.61) $ (38,097,024.36) 1.00
21 $ - $ 73,387,517.24 $ 7,152,200.49 $ 66,235,316.75 $ 13,158,026.37 $ (24,938,998.00) 1.00
22 $ - $ 90,852,115.59 $ 7,366,766.50 $ 83,485,349.09 $ 15,356,337.44 $ (9,582,660.55) 1.00
23 $ - $ 84,551,311.36 $ 7,587,769.50 $ 76,963,541.86 $ 13,108,067.51 $ 3,525,406.96 0.98
24 $ - $ 81,275,692.53 $ 7,815,402.58 $ 73,460,289.95 $ 11,584,639.04 $ 15,110,046.00 0.00
25 $ - $ 87,694,586.24 $ 8,049,864.66 $ 79,644,721.58 $ 11,629,555.38 $ 26,739,601.38 0.00

PRIMARIA AZIMUT 205° DEUDA DEL 75%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 218,859,600.00 $ - $ - $ 218,859,600.00 $ (218,859,600.00) $ (218,859,600.00) $ (218,859,600.00) 1.00
1 $ - $ 41,535,598.73 $ 3,960,000.00 $ (21,418,629.86) $ 16,156,968.87 $ 14,960,156.36 $ (203,899,443.64) 1.00
2 $ - $ 41,075,425.37 $ 4,078,800.00 $ (21,761,994.88) $ 15,234,630.49 $ 13,061,240.13 $ (190,838,203.51) 1.00
3 $ - $ 40,619,905.70 $ 4,201,164.00 $ (22,140,383.14) $ 14,278,358.56 $ 11,334,621.37 $ (179,503,582.14) 1.00
4 $ - $ 51,390,276.88 $ 4,327,198.92 $ (22,557,366.99) $ 24,505,710.97 $ 18,012,429.12 $ (161,491,153.01) 1.00
5 $ - $ 44,273,213.19 $ 4,457,014.89 $ (23,016,883.20) $ 16,799,315.10 $ 11,433,331.58 $ (150,057,821.43) 1.00
6 $ - $ 44,990,322.95 $ 4,590,725.33 $ (23,523,270.07) $ 16,876,327.55 $ 10,634,949.03 $ (139,422,872.40) 1.00
7 $ - $ 51,156,037.32 $ 4,728,447.09 $ (24,081,308.39) $ 22,346,281.83 $ 13,038,840.82 $ (126,384,031.58) 1.00
8 $ - $ 50,502,076.36 $ 4,870,300.51 $ (24,696,266.62) $ 20,935,509.23 $ 11,310,804.22 $ (115,073,227.36) 1.00
9 $ - $ 56,131,654.47 $ 5,016,409.52 $ (25,373,950.60) $ 25,741,294.35 $ 12,877,055.91 $ (102,196,171.45) 1.00
10 $ 64,507,986.21 $ 51,693,492.66 $ 5,166,901.81 $ (26,120,758.33) $ (44,102,153.69) $ (20,427,830.40) $ (122,624,001.85) 1.00
11 $ - $ 47,753,563.42 $ 5,321,908.86 $ 42,431,654.55 $ 18,198,209.33 $ (104,425,792.52) 1.00
12 $ - $ 48,506,262.40 $ 5,481,566.13 $ 43,024,696.27 $ 17,085,698.85 $ (87,340,093.67) 1.00
13 $ - $ 54,642,400.31 $ 5,646,013.11 $ 48,996,387.19 $ 18,015,869.89 $ (69,324,223.78) 1.00
14 $ - $ 53,149,762.13 $ 5,815,393.51 $ 47,334,368.63 $ 16,115,508.44 $ (53,208,715.35) 1.00
15 $ - $ 55,756,394.29 $ 5,989,855.31 $ 49,766,538.98 $ 15,688,488.60 $ (37,520,226.75) 1.00
16 $ - $ 59,189,631.34 $ 6,169,550.97 $ 53,020,080.37 $ 15,476,056.05 $ (22,044,170.70) 1.00
17 $ - $ 54,450,145.76 $ 6,354,637.50 $ 48,095,508.26 $ 12,998,722.59 $ (9,045,448.11) 1.00
18 $ - $ 61,658,788.13 $ 6,545,276.62 $ 55,113,511.50 $ 13,792,102.75 $ 4,746,654.64 0.98
19 $ - $ 69,312,153.82 $ 6,741,634.92 $ 62,570,518.90 $ 14,498,344.08 $ 19,244,998.72 0.00
20 $ 86,693,339.26 $ 67,682,116.56 $ 6,943,883.97 $ (25,955,106.67) $ (5,568,621.61) $ 13,676,377.11 0.00
21 $ - $ 73,387,517.24 $ 7,152,200.49 $ 66,235,316.75 $ 13,158,026.37 $ 26,834,403.47 0.00
22 $ - $ 90,852,115.59 $ 7,366,766.50 $ 83,485,349.09 $ 15,356,337.44 $ 42,190,740.91 0.00
23 $ - $ 84,551,311.36 $ 7,587,769.50 $ 76,963,541.86 $ 13,108,067.51 $ 55,298,808.43 0.00
24 $ - $ 81,275,692.53 $ 7,815,402.58 $ 73,460,289.95 $ 11,584,639.04 $ 66,883,447.47 0.00
25 $ - $ 87,694,586.24 $ 8,049,864.66 $ 79,644,721.58 $ 11,629,555.38 $ 78,513,002.85 0.00

89
PRIMARIA AZIMUT 205° DEUDA DEL 50%
COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 218,859,600.00 $ - $ - $ 109,429,800.00 $ (218,859,600.00) $ (218,859,600.00) $ (218,859,600.00) 1.00
1 $ - $ 41,535,598.73 $ 3,960,000.00 $ (14,279,086.57) $ 23,296,512.16 $ 21,570,844.59 $ (197,288,755.41) 1.00
2 $ - $ 41,075,425.37 $ 4,078,800.00 $ (14,507,996.59) $ 22,488,628.78 $ 19,280,374.47 $ (178,008,380.94) 1.00
3 $ - $ 40,619,905.70 $ 4,201,164.00 $ (14,760,255.42) $ 21,658,486.27 $ 17,193,204.69 $ (160,815,176.25) 1.00
4 $ - $ 51,390,276.88 $ 4,327,198.92 $ (15,038,244.66) $ 32,024,833.30 $ 23,539,208.50 $ (137,275,967.74) 1.00
5 $ - $ 44,273,213.19 $ 4,457,014.89 $ (15,344,588.80) $ 24,471,609.50 $ 16,654,966.23 $ (120,621,001.51) 1.00
6 $ - $ 44,990,322.95 $ 4,590,725.33 $ (15,682,180.05) $ 24,717,417.57 $ 15,576,165.81 $ (105,044,835.70) 1.00
7 $ - $ 51,156,037.32 $ 4,728,447.09 $ (16,054,205.59) $ 30,373,384.63 $ 17,722,578.20 $ (87,322,257.50) 1.00
8 $ - $ 50,502,076.36 $ 4,870,300.51 $ (16,464,177.75) $ 29,167,598.11 $ 15,758,345.69 $ (71,563,911.81) 1.00
9 $ - $ 56,131,654.47 $ 5,016,409.52 $ (16,915,967.06) $ 34,199,277.88 $ 17,108,153.44 $ (54,455,758.37) 1.00
10 $ 64,507,986.21 $ 51,693,492.66 $ 5,166,901.81 $ (17,413,838.89) $ (35,395,234.25) $ (16,394,842.01) $ (70,850,600.38) 1.00
11 $ - $ 47,753,563.42 $ 5,321,908.86 $ 42,431,654.55 $ 18,198,209.33 $ (52,652,391.05) 1.00
12 $ - $ 48,506,262.40 $ 5,481,566.13 $ 43,024,696.27 $ 17,085,698.85 $ (35,566,692.20) 1.00
13 $ - $ 54,642,400.31 $ 5,646,013.11 $ 48,996,387.19 $ 18,015,869.89 $ (17,550,822.31) 1.00
14 $ - $ 53,149,762.13 $ 5,815,393.51 $ 47,334,368.63 $ 16,115,508.44 $ (1,435,313.88) 1.00
15 $ - $ 55,756,394.29 $ 5,989,855.31 $ 49,766,538.98 $ 15,688,488.60 $ 14,253,174.72 0.93
16 $ - $ 59,189,631.34 $ 6,169,550.97 $ 53,020,080.37 $ 15,476,056.05 $ 29,729,230.77 0.00
17 $ - $ 54,450,145.76 $ 6,354,637.50 $ 48,095,508.26 $ 12,998,722.59 $ 42,727,953.36 0.00
18 $ - $ 61,658,788.13 $ 6,545,276.62 $ 55,113,511.50 $ 13,792,102.75 $ 56,520,056.10 0.00
19 $ - $ 69,312,153.82 $ 6,741,634.92 $ 62,570,518.90 $ 14,498,344.08 $ 71,018,400.18 0.00
20 $ 86,693,339.26 $ 67,682,116.56 $ 6,943,883.97 $ (25,955,106.67) $ (5,568,621.61) $ 65,449,778.57 0.00
21 $ - $ 73,387,517.24 $ 7,152,200.49 $ 66,235,316.75 $ 13,158,026.37 $ 78,607,804.94 0.00
22 $ - $ 90,852,115.59 $ 7,366,766.50 $ 83,485,349.09 $ 15,356,337.44 $ 93,964,142.38 0.00
23 $ - $ 84,551,311.36 $ 7,587,769.50 $ 76,963,541.86 $ 13,108,067.51 $ 107,072,209.89 0.00
24 $ - $ 81,275,692.53 $ 7,815,402.58 $ 73,460,289.95 $ 11,584,639.04 $ 118,656,848.94 0.00
25 $ - $ 87,694,586.24 $ 8,049,864.66 $ 79,644,721.58 $ 11,629,555.38 $ 130,286,404.32 0.00

PRIMARIA AZIMUT 205° DEUDA DEL 30%


COSTO FLUJO DE CAJA DE
AÑO CAPEX AHORRO DE ENERGIA MANTENIMIENTO DEUDA FLUJO DE CAJA LIBRE VPN FCL VPN ACUM PBP
0 $ 218,859,600.00 $ - $ - $ 65,657,880.00 $ (218,859,600.00) $ (218,859,600.00) $ (218,859,600.00) 1.00
1 $ - $ 41,535,598.73 $ 3,960,000.00 $ (8,567,451.94) $ 29,008,146.78 $ 26,859,395.17 $ (192,000,204.83) 1.00
2 $ - $ 41,075,425.37 $ 4,078,800.00 $ (8,704,797.95) $ 28,291,827.42 $ 24,255,681.94 $ (167,744,522.89) 1.00
3 $ - $ 40,619,905.70 $ 4,201,164.00 $ (8,856,153.25) $ 27,562,588.44 $ 21,880,071.35 $ (145,864,451.53) 1.00
4 $ - $ 51,390,276.88 $ 4,327,198.92 $ (9,022,946.80) $ 38,040,131.16 $ 27,960,632.01 $ (117,903,819.53) 1.00
5 $ - $ 44,273,213.19 $ 4,457,014.89 $ (9,206,753.28) $ 30,609,445.02 $ 20,832,273.95 $ (97,071,545.57) 1.00
6 $ - $ 44,990,322.95 $ 4,590,725.33 $ (9,409,308.03) $ 30,990,289.59 $ 19,529,139.23 $ (77,542,406.34) 1.00
7 $ - $ 51,156,037.32 $ 4,728,447.09 $ (9,632,523.36) $ 36,795,066.87 $ 21,469,568.11 $ (56,072,838.23) 1.00
8 $ - $ 50,502,076.36 $ 4,870,300.51 $ (9,878,506.65) $ 35,753,269.21 $ 19,316,378.87 $ (36,756,459.36) 1.00
9 $ - $ 56,131,654.47 $ 5,016,409.52 $ (10,149,580.24) $ 40,965,664.71 $ 20,493,031.46 $ (16,263,427.91) 1.00
10 $ 64,507,986.21 $ 51,693,492.66 $ 5,166,901.81 $ (10,448,303.33) $ (28,429,698.69) $ (13,168,451.30) $ (29,431,879.21) 1.00
11 $ - $ 47,753,563.42 $ 5,321,908.86 $ 42,431,654.55 $ 18,198,209.33 $ (11,233,669.88) 1.00
12 $ - $ 48,506,262.40 $ 5,481,566.13 $ 43,024,696.27 $ 17,085,698.85 $ 5,852,028.97 0.97
13 $ - $ 54,642,400.31 $ 5,646,013.11 $ 48,996,387.19 $ 18,015,869.89 $ 23,867,898.86 0.00
14 $ - $ 53,149,762.13 $ 5,815,393.51 $ 47,334,368.63 $ 16,115,508.44 $ 39,983,407.30 0.00
15 $ - $ 55,756,394.29 $ 5,989,855.31 $ 49,766,538.98 $ 15,688,488.60 $ 55,671,895.90 0.00
16 $ - $ 59,189,631.34 $ 6,169,550.97 $ 53,020,080.37 $ 15,476,056.05 $ 71,147,951.94 0.00
17 $ - $ 54,450,145.76 $ 6,354,637.50 $ 48,095,508.26 $ 12,998,722.59 $ 84,146,674.53 0.00
18 $ - $ 61,658,788.13 $ 6,545,276.62 $ 55,113,511.50 $ 13,792,102.75 $ 97,938,777.28 0.00
19 $ - $ 69,312,153.82 $ 6,741,634.92 $ 62,570,518.90 $ 14,498,344.08 $ 112,437,121.36 0.00
20 $ 86,693,339.26 $ 67,682,116.56 $ 6,943,883.97 $ (25,955,106.67) $ (5,568,621.61) $ 106,868,499.75 0.00
21 $ - $ 73,387,517.24 $ 7,152,200.49 $ 66,235,316.75 $ 13,158,026.37 $ 120,026,526.11 0.00
22 $ - $ 90,852,115.59 $ 7,366,766.50 $ 83,485,349.09 $ 15,356,337.44 $ 135,382,863.56 0.00
23 $ - $ 84,551,311.36 $ 7,587,769.50 $ 76,963,541.86 $ 13,108,067.51 $ 148,490,931.07 0.00
24 $ - $ 81,275,692.53 $ 7,815,402.58 $ 73,460,289.95 $ 11,584,639.04 $ 160,075,570.11 0.00
25 $ - $ 87,694,586.24 $ 8,049,864.66 $ 79,644,721.58 $ 11,629,555.38 $ 171,705,125.49 0.00

90
LCOE
PRIMARIA AZIMUT 205° DEUDA DEL 100%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 0 0 0 0 0 0 $ 607.37
1 35924987.28 3960000 39884987.28 38723288.62 75278.67103 70026.67073

2 35924987.28 3960000 39884987.28 37595425.85 71661.66892 62011.17917


3 35924987.28 3960000 39884987.28 36500413.45 68217.71049 54912.56709
4 35924987.28 3960000 39884987.28 35437294.61 83079.24988 62209.78632
5 35924987.28 3960000 39884987.28 34405140.39 68897.90748 47991.4322
6 35924987.28 3960000 39884987.28 33403048.93 67396.5212 43670.35222
7 35924987.28 3960000 39884987.28 32430144.59 73768.10807 44464.08867
8 35924987.28 3960000 39884987.28 31485577.27 70102.63852 39306.70599
9 35924987.28 3960000 39884987.28 30568521.62 75004.33301 39121.0205
10 83924987.28 3960000 87884987.28 65394684.25 66491.75051 32261.39363
11 0 3960000 3960000 2860788.255 59127.70947 26686.88896
12 0 3960000 3960000 2777464.326 57814.45856 24273.63917
13 0 3960000 3960000 2696567.306 62693.39662 24485.65717
14 0 3960000 3960000 2618026.511 58701.16719 21326.92478
15 0 3960000 3960000 2541773.312 59277.99043 20033.94645
16 0 3960000 3960000 2467741.079 60575.6115 19044.18444
17 0 3960000 3960000 2395865.126 53641.95517 15687.75169
18 0 3960000 3960000 2326082.646 58472.80354 15907.4864
19 0 3960000 3960000 2258332.666 63273.47797 16012.56429
20 86693339.26 3960000 90653339.26 50192555.99 59475.70853 14001.36378
21 0 3960000 3960000 2128695.133 62078.50772 13594.50877
22 0 3960000 3960000 2066694.303 73978.83675 15070.27872
23 0 3960000 3960000 2006499.324 66274.45749 12558.89714
24 0 3960000 3960000 1948057.596 61325.32981 10810.27521
25 0 3960000 3960000 1891318.054 63695.0052 10444.64711

PRIMARIA AZIMUT 205° DEUDA DEL 75%

Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE
0 54714900 0 109429800 54714900 0 0 $ 578.40
1 26943740.46 3960000 21922493.64 30003631.52 75278.67103 70026.67073
2 26943740.46 3960000 21922493.64 29129739.34 71661.66892 62011.17917
3 26943740.46 3960000 21922493.64 28281300.33 68217.71049 54912.56709
4 26943740.46 3960000 21922493.64 27457573.13 83079.24988 62209.78632
5 26943740.46 3960000 21922493.64 26657837.99 68897.90748 47991.4322
6 26943740.46 3960000 21922493.64 25881396.11 67396.5212 43670.35222
7 26943740.46 3960000 21922493.64 25127569.04 73768.10807 44464.08867
8 26943740.46 3960000 21922493.64 24395698.1 70102.63852 39306.70599
9 26943740.46 3960000 21922493.64 23685143.78 75004.33301 39121.0205
10 74943740.46 3960000 86430479.85 58711793.14 66491.75051 32261.39363
11 0 3960000 3960000 2860788.255 59127.70947 26686.88896
12 0 3960000 3960000 2777464.326 57814.45856 24273.63917
13 0 3960000 3960000 2696567.306 62693.39662 24485.65717
14 0 3960000 3960000 2618026.511 58701.16719 21326.92478
15 0 3960000 3960000 2541773.312 59277.99043 20033.94645
16 0 3960000 3960000 2467741.079 60575.6115 19044.18444
17 0 3960000 3960000 2395865.126 53641.95517 15687.75169
18 0 3960000 3960000 2326082.646 58472.80354 15907.4864
19 0 3960000 3960000 2258332.666 63273.47797 16012.56429
20 86693339.26 3960000 90653339.26 50192555.99 59475.70853 14001.36378
21 0 3960000 3960000 2128695.133 62078.50772 13594.50877
22 0 3960000 3960000 2066694.303 73978.83675 15070.27872
23 0 3960000 3960000 2006499.324 66274.45749 12558.89714
24 0 3960000 3960000 1948057.596 61325.32981 10810.27521
25 0 3960000 3960000 1891318.054 63695.0052 10444.64711

91
PRIMARIA AZIMUT 205° DEUDA DEL 50%
Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 109429800 0 109429800 109429800 0 0 $ 565.69


1 17962493.64 3960000 21922493.64 21283974.41 75278.67103 70026.67073
2 17962493.64 3960000 21922493.64 20664052.82 71661.66892 62011.17917
3 17962493.64 3960000 21922493.64 20062187.21 68217.71049 54912.56709
4 17962493.64 3960000 21922493.64 19477851.66 83079.24988 62209.78632
5 17962493.64 3960000 21922493.64 18910535.59 68897.90748 47991.4322
6 17962493.64 3960000 21922493.64 18359743.29 67396.5212 43670.35222
7 17962493.64 3960000 21922493.64 17824993.49 73768.10807 44464.08867
8 17962493.64 3960000 21922493.64 17305818.92 70102.63852 39306.70599
9 17962493.64 3960000 21922493.64 16801765.94 75004.33301 39121.0205
10 82470479.85 3960000 86430479.85 64312394.12 66491.75051 32261.39363
11 0 3960000 3960000 2860788.255 59127.70947 26686.88896
12 0 3960000 3960000 2777464.326 57814.45856 24273.63917
13 0 3960000 3960000 2696567.306 62693.39662 24485.65717
14 0 3960000 3960000 2618026.511 58701.16719 21326.92478
15 0 3960000 3960000 2541773.312 59277.99043 20033.94645
16 0 3960000 3960000 2467741.079 60575.6115 19044.18444
17 0 3960000 3960000 2395865.126 53641.95517 15687.75169
18 0 3960000 3960000 2326082.646 58472.80354 15907.4864
19 0 3960000 3960000 2258332.666 63273.47797 16012.56429
20 86693339.26 3960000 90653339.26 50192555.99 59475.70853 14001.36378
21 0 3960000 3960000 2128695.133 62078.50772 13594.50877
22 0 3960000 3960000 2066694.303 73978.83675 15070.27872
23 0 3960000 3960000 2006499.324 66274.45749 12558.89714
24 0 3960000 3960000 1948057.596 61325.32981 10810.27521
25 0 3960000 3960000 1891318.054 63695.0052 10444.64711

PRIMARIA AZIMUT 205° DEUDA DEL 30%


Año INVERSION MANTENIMIENTO GASTOS SUM GASTOS ENERGIA GEN SUMATORIA LCOE

0 153201720 0 153201720 153201720 0 0 $ 542.51


1 10777496.18 3960000 14737496.18 14308248.72 75278.67103 70026.67073
2 10777496.18 3960000 14737496.18 13891503.61 71661.66892 62011.17917
3 10777496.18 3960000 14737496.18 13486896.71 68217.71049 54912.56709
4 10777496.18 3960000 14737496.18 13094074.48 83079.24988 62209.78632
5 10777496.18 3960000 14737496.18 12712693.67 68897.90748 47991.4322
6 10777496.18 3960000 14737496.18 12342421.04 67396.5212 43670.35222
7 10777496.18 3960000 14737496.18 11982933.05 73768.10807 44464.08867
8 10777496.18 3960000 14737496.18 11633915.58 70102.63852 39306.70599
9 10777496.18 3960000 14737496.18 11295063.67 75004.33301 39121.0205
10 75285482.39 3960000 79245482.39 58966081.23 66491.75051 32261.39363
11 0 3960000 3960000 2860788.255 59127.70947 26686.88896
12 0 3960000 3960000 2777464.326 57814.45856 24273.63917
13 0 3960000 3960000 2696567.306 62693.39662 24485.65717
14 0 3960000 3960000 2618026.511 58701.16719 21326.92478
15 0 3960000 3960000 2541773.312 59277.99043 20033.94645
16 0 3960000 3960000 2467741.079 60575.6115 19044.18444
17 0 3960000 3960000 2395865.126 53641.95517 15687.75169
18 0 3960000 3960000 2326082.646 58472.80354 15907.4864
19 0 3960000 3960000 2258332.666 63273.47797 16012.56429
20 86693339.26 3960000 90653339.26 50192555.99 59475.70853 14001.36378
21 0 3960000 3960000 2128695.133 62078.50772 13594.50877
22 0 3960000 3960000 2066694.303 73978.83675 15070.27872
23 0 3960000 3960000 2006499.324 66274.45749 12558.89714
24 0 3960000 3960000 1948057.596 61325.32981 10810.27521
25 0 3960000 3960000 1891318.054 63695.0052 10444.64711

Adicionalmente se presentan los documentos del informe del estudio dado al Colegio Hebreo Unión
y el documento con el código realizado para las simulaciones del sistema solar fotovoltaico de la
Universidad de los Andes y para el sistema del Colegio Hebreo Unión

92
93
PROPUESTA DE PROYECTO ENERGÉTICO
COLEGIO HEBREO UNIÓN 2020

Imagen tomada de Dinero.com

Juan Fernando Dávila


Andrés Leonardo Gonzáles Mancera, PhD

PROPUESTA DE PROYECTO ENERGETICO COLEGIO HEBREO UNION


Ventajas de un Sistema Solar Fotovoltaico

¿Cómo Funciona un Sistema Solar Fotovoltaico


Conectado a la Red?

PROPUESTA DE PROYECTO ENERGETICO COLEGIO HEBREO UNION


Resumen Propuesta
RESUMEN

Nombre Diseño 100% Primaria Bachillerato


Potencia [KWp] 90.2 62.3 27.9

Porcentaje de Sustitución 41% 28% 13%

Producción 1er año 158.5 82 48.5


[MWh]
Costo KWh (COP)* $ 230.5 $ 270.5 $ 272.4

*Tomando la opción de endeudamiento del 75%

ESPECIFICACIONES TÉCNICAS
ITEM 100% Primaria Bachillerato
INVERSOR #1 ABB TRIO: 27.6-TL-OUTD- SUNGROW POWER ABB TRIO: 27.6-TL-OU
S2X SUPLY CO-LtdSG60KU- TD-S2X
M[480V]
INVERSOR #2 SUNGROW POWER SUPLY N/A N/A
CO-LtdSG60KU-M[480V]
MÓDULO SOLAR TRINA SOLAR TRINA SOLAR TRINA SOLAR
TRM-410DE15H(II) TRM-410DE15H(II) TRM-410DE15H(II)

NOMBRE SISTEMA A SISTEMA B SISTEMA SISTEMA


SISTEMA
# MÓDULOS 19 18 19 17
SERIE
# MÓDULOS 4 8 8 4
PARALELO
TOTAL MÓDULOS 220 152 68

VOLTAJE MAX 1847 931 848


[V]
CORRIENTE MAX 126 84 42
[A]

PROPUESTA DE PROYECTO ENERGETICO COLEGIO HEBREO UNION


Visualización de Diseño 100%

PROPUESTA DE PROYECTO ENERGETICO COLEGIO HEBREO UNION


Propuesta
Con la ley 1715 del 2014 de la UPME, el gobierno colombiano contempla algunos beneficios
tributarios a entidades que inviertan en energías no convencionales, en especial las
renovables. Estos incentivos comprenden una deducción en impuesto de renta de hasta el
50% del valor de la inversión. Adicionalmente existe la posibilidad de venta de exceso de
energía a la red, acorde a la ley CREG 030 2018.
Al no tener conocimientos de la planeación tributaria del Colegio Hebreo Unión se decidió no
tener en cuenta estos incentivos, lo cual hace que el proyecto sea aun mejor que lo mostrado
a continuación.

PREMISAS
Nombre 100%
IPC 3%
WACC 8%
INTERES BANCARIO 10.63%
PLAZO DEL CREDITO 10 AÑOS
DEGRADACIÓN MÓDULO (Anual) 0.5%
PRECIO KWh (COP) $ 408.4

Nombre 100% Primaria Bachillerato


INVERSIÓN INICIAL $ 201.353.000 $ 182.880.000 $ 66.671.400

COSTO MANTENIMIENTO $ 3.740.000 $ 2.584.000 $ 1.156.000


ANUAL
AHORRO AÑO 1 $ 87.445.902 $ 45.245.422 $ 26.769.457

PROPUESTA DE PROYECTO ENERGETICO COLEGIO HEBREO UNION


FCL Diseño 100%, Préstamo a 10 Años
DISEÑO 100% DEUDA DEL 75% (MILLONES DE COP)

AÑO CAPEX AHORRO DE ENERGIA COSTO MANTENIMIENTO


FLUJO DE CAJA DE DEUDA FLUJO DE CAJA LIBRE FCL ACUMULADO
0 $ 201.35 $ - $ - $ 201.35 $ (201.35) $ (201.35)
1 $ - $ 87.45 $ 3.74 $ (19.93) $ 63.77 $ (137.58)
2 $ - $ 72.81 $ 3.85 $ (20.25) $ 48.70 $ (88.87)
3 $ - $ 72.55 $ 3.97 $ (20.61) $ 47.97 $ (40.91)
4 $ - $ 92.36 $ 4.09 $ (21.00) $ 67.27 $ 26.36
5 $ - $ 80.24 $ 4.21 $ (21.44) $ 54.59 $ 80.96
6 $ - $ 82.18 $ 4.34 $ (21.92) $ 55.92 $ 136.88
7 $ - $ 94.09 $ 4.47 $ (22.45) $ 67.17 $ 204.05
8 $ - $ 93.62 $ 4.60 $ (23.04) $ 65.98 $ 270.03
9 $ - $ 104.83 $ 4.74 $ (23.70) $ 76.39 $ 346.43
10 $ 63.70 $ 97.36 $ 4.88 $ (24.42) $ 4.36 $ 350.79
11 $ - $ 90.72 $ 5.03 $ - $ 85.70 $ 436.48
12 $ - $ 92.90 $ 5.18 $ - $ 87.72 $ 524.21
13 $ - $ 105.43 $ 5.33 $ - $ 100.10 $ 624.31
14 $ - $ 103.41 $ 5.49 $ - $ 97.92 $ 722.23
15 $ - $ 109.34 $ 5.66 $ - $ 103.68 $ 825.91
16 $ - $ 117.01 $ 5.83 $ - $ 111.18 $ 937.09
17 $ - $ 108.63 $ 6.00 $ - $ 102.63 $ 1,039.72
18 $ - $ 123.93 $ 6.18 $ - $ 117.75 $ 1,157.47
19 $ - $ 140.38 $ 6.37 $ - $ 134.02 $ 1,291.49
20 $ 85.61 $ 138.30 $ 6.56 $ - $ 46.13 $ 1,337.62
21 $ - $ 151.17 $ 6.75 $ - $ 144.42 $ 1,482.04
22 $ - $ 188.50 $ 6.96 $ - $ 181.55 $ 1,663.59
23 $ - $ 177.08 $ 7.17 $ - $ 169.91 $ 1,833.50
24 $ - $ 171.79 $ 7.38 $ - $ 164.41 $ 1,997.90
25 $ - $ 186.96 $ 7.60 $ - $ 179.36 $ 2,177.27

PROPUESTA DE PROYECTO ENERGETICO COLEGIO HEBREO UNION


Resultados (COP)
100%
DEUDA
ITEM 100% 75% 50% 30%

VPN $ 547,186,384 $ 622,478,654 $ 670,770,923 $ 709,404,739


TIR 26.9% 29.7% 32.7% 35.2%
B/C 3.8 4.1 4.3 3.8
PBP (AÑOS) 6.8 5.8 4.9 4.8
INVERSIÓN $0 $ 50,338,250 $ 100,676,500 $ 140,947,100
PROPIA
COSTO KWh $ 242.5 $ 230.5 $ 225.3 $215.7

PRIMARIA
DEUDA
ITEM 100% 75% 50% 30%

VPN $ 297,162,401 $ 313,888,490 $ 345,710,691 $ 371,168,452


TIR 23.7% 25.1% 28.0% 30.3%
B/C 3.2 3.4 3.6 3.2
PBP 6.9 6.9 5.9 5.8
INVERSIÓN $0 $ 33,170,400 $ 66,340,800 $ 92,877,120
PROPIA
COSTO KWh $277.3 $ 270.5 $ 256.7 245.6

BACHILLERATO
DEUDA
ITEM 100% 75% 50% 30%

VPN $ 156,856,183 $ 173,326,252 $ 189,796,321 $ 202,972,376


TIR 23.2% 25.9% 28.7% 31.2%
B/C 3.2 4.4 3.7 3.2
PBP 7.9 6.8 5.9 4.9
INVERSIÓN $0 $ 17,167,850 $ 34,355,700 $ 48,069,980
PROPIA
COSTO KWh $ 276.7 $ 272.5 $ 259.1 $ 248.4

PROPUESTA DE PROYECTO ENERGETICO COLEGIO HEBREO UNION


Contribuciones al Planeta Diseño 100%

eacnur.org guiaong.com

Mitigar 1,279 Toneladas de CO2 Equivalentes a Sembrar 5,116 Árboles


en 25 Años
0.401 kg/CO2 por KWh (res 843 del 2016, UPME) 1 árbol = 10kg CO2 año

Conclusiones y Recomendaciones del Estudio


Conclusiones
El estudio demostró que el diseño “100%” es la opción más apropiada, debido al mayor ahorro
energético y los beneficios financieros. Se sugiere financiar el proyecto al 75%, siendo esta la
costumbre en financiación de CAPEX con leasing, aprovechando las tasas especiales de la banca
para los proyectos de sostenibilidad. En estos momentos la legislación tributaria en el país
contempla importantes beneficios y tasas de financiación especiales para este tipo de soluciones.

Recomendaciones
➢ Como primer paso, es indispensable reducir la carga energética del colegio. Esto se puede
llevar a cabo optimizando la potencia con respecto a las áreas a refrigerar, en el recorrido
se pudo evidenciar exceso de potencia en espacio en espacios pequeños.

➢ Se recomienda cambiar la iluminación a tecnología LED. Los cuales consumen


aproximadamente un 70% menos que los tradicionales.

➢ Se sugiere adecuar las instalación de modo que se disminuya la transferencia de calor del
sol a los salones, usando estrategias como el oscurecimiento de las ventas, colocación de
cortinas y mejor asilamiento del techo.

PROPUESTA DE PROYECTO ENERGETICO COLEGIO HEBREO UNION


Proyecto de Grado 2020-2: Diseño y
evaluación mediante modelamiento de un
sistema solar fotovoltaico comercial
Profesor Asesor: Andrés Leonardo Gonzales Mancera, PhD

Juan Fernando Dávila Montoya

Tabla de Contenidos

Parte 1: Diseño y comprobación de modelo


-sección 1.1: Acceso a data de Unidata Thredds

-1.1.1 Iniciación python

-1.1.1 Ubicación y tiempo

-1.1.1 Obtener Datos

-1.1.1 Procesar Data

-sección 1.2: Irradiancia usando la Nubosidad

-1.2.1 Tratamiento Datos de nubosidad

-1.2.2 Obtención de irradiancia

-1.2.2.1 Obtención de datos de irradiancia con modelo de Larson

-1.2.2.2 Obtención de datos de irradiancia con modelo Liu Jordan

-1.2.2.3 Comparaciones entre los métodos

-1.2.2.4 Interpolación de datos de irradiancia del método Larson

-1.2.2.5 Comparaciones entre los métodos de Larson

-Sección 1.3: Modelamiento factores ambientales


-1.3.1 Posición del sol

-1.3.1.1 Turbiedad

-1.3.1 Posición del sol

-1.3.2 Irradiancia directa normal extraterrestre

-1.3.3 Masa de aire

-1.3.1.1 Masa de aire relativa

-1.3.1.1 Masa de aire absoluta

-1.3.4 Plano de arreglo (POA)

-1.3.4.1 POA cielo difuso

-1.3.4.2 POA suelo difuso

-1.3.5 Ángulo de incidencia (AOI)

-1.3.6 POA total

-1.3.7 Temperatura de celda y modulo

-1.3.8 Modificadores de ángulo de incidencia

-1.3.9 Irradiancia efectiva

-1.3.9.1 Irradiancia total del plano

-1.3.9.2 Precipitación

-1.3.9.3 Factor de corrección de discordancia de los rayos del sol

-1.3.9.4 Irradiancia efectiva

-Sección 1.4: Modelamiento de sistema SFV

1.4.1 Información de los inversores

1.4.2 Información de los módulos


1.4.3 Definición de sistema fotovoltaico de Universidad de Los Andes

1.4.4 Obtención de la curva de I-V con del método de un diodo

1.4.4.1 Método 1

1.4.4.1.1 Obtención parámetros con modelo de De Soto

1.4.4.1.2 Obtención parámetros con modelo de CEC

1.4.4.1.3 Resultados con modelo de De Soto

1.4.4.1.4 Resultados con modelo de CEC

1.4.4.2 Método 2

-Sección 1.5: Entregas del sistema SFV

1.5.1 Voltaje DC

1.5.2 Corriente DC

1.5.3 Potencia DC

1.5.4 Potencia AC

1.5.5 Comparación entre Potencia AC y DC

1.5.6 Temperatura del modulo

1.5.7 Energía

-Sección 1.6: Comparación con Meteocontrol 1 semana

1.6.1 Obtención datos Meteocontrol

1.6.2 Radiación Efectiva

1.6.3 Voltaje DC

1.6.2 Corriente DC

1.6.2 Potencia DC
1.6.2 Potencia AC

1.6.2 Temperatura del modulo

1.6.2 Energía Diaria

-Sección 1.7: Comparación 2 (1 semana)

1.8.1 Iniciación modelo

1.8.2 Curva I-V

1.8.3 Perdidas

1.8.4 Voltaje DC

1.8.5 Corriente DC

1.8.6 Potencia DC

1.8.7 Potencia AC

1.8.8 Energía Diaria

1.8.9 Error Energía

Sección 1.8: Comparación 3 ( 1 año)

1.9.1 Inicialización modelo

1.9.2 Perdidas

1.9.3 Potencia AC

1.9.4 Energía Mensual

1.9.5 Error de Energía

Parte 2: Aplicación del modelo comercialmente


Modelo a 25 años azimut 180°
Modelo a 25 años azimut 180° (Bachillerato)

Modelo a 25 años azimut 180° (Primaria)

Modelo a 25 años azimut 250°

Modelo a 25 años azimut 250° (Bachillerato)


Parte 1
Sección 1.1: Acceso data Unidata Threeds

1.1.1 : Iniciación Python

# como primer paso es importante configurar pyton


%matplotlib inline
import matplotlib.pyplot as plt

## se llaman los modulos de python


import datetime
import os
import inspect
import csv
## se llaman las libretas externas
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
from matplotlib import dates as mpl_dates

## para poder accedar a Unidata THREDDS


from siphon.catalog import TDSCatalog
from siphon.ncss import NCSS

## modulos de pvlib-Sandia

import pvlib
from pvlib import solarposition, irradiance, atmosphere, pvsystem

# se importan los diferentes metodos de obtencion de datos metereologicos, GF


S, HRRR_ESRL, NAM, NDFD, HRRR, RAP
import pvlib
from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP

# Metodos de ubicacion PVLIB


from pvlib.location import Location

# Metodos de potencia Sandia-Pvlib


from pvlib.pvsystem import PVSystem, retrieve_sam
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain

1.1.2 : Ubicación y Tiempo


import pytz
country= "CO"
## se buscan las zonas horarias disponibles para Colombia
print(pytz.country_timezones(country))
['America/Bogota']
latitude = 4.6042## Latitud de la ubicacion (Edificio Sando Domingo Universida
d de los Andes)
longitude = -74.0660 ## Longitud de la ubicacion (Edificio Sando Domingo Unive
rsidad de los Andes)

tz='America/Bogota' ## Zona Horaria Bogota DC


## se configura el tiempo de inicio (start) y el tiempo final (end) de los dat
os meteorologicos
# Para este caso solo se simulara la semena del 20 al 26 sw agosto del 2020

start = pd.Timestamp('2020-08-20', tz=tz) ## inicio, 20 de agosto del 2020


end = pd.Timestamp('2020-08-26', tz=tz) ## final 26 de agosto del 2020
print (start,end)

1.1.3: Obtención de Datos

## existen los metodos de forecast GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP;
##sin embargo el que nos permite descsargar mas datos (7dias) es el GFS, apart
e
##tiene datos de todo el mundo.
##se tienen 2 resoluciones 0.5 y 0.25, pero la estandar es de 0.5 por ende se
usará esa,
fm=GFS()

##Se obtiene la Data de la ubicacion con la latitud, longitud, tiempo de inici


o y final.
data = fm.get_data(latitude, longitude, start, end)
data.head();

1.1.4 Procesamiento de data


##como se puede observar la data esta desordenada y con unidades diferentes a
lad del Sistema internacional
##PVLIB tiene una funcion que organiza todo
data_GFSPvlib=fm.process_data(data)
## como el GFS solo mantiene los datos por un mes, los guardaremos en una CVS
data_GFSPvlib.to_csv('GFSBOGOTASemana.csv')

##ahora trabajaremos con el CVS


data_GFSPvlib=pd.read_csv('GFSBOGOTA1Semana1.csv')
data_GFSPvlib=pd.DataFrame(data_GFSPvlib)
data_GFSPvlib=data_GFSPvlib.set_index(pd.to_datetime(data_GFSPvlib['Fecha']))

Sección 1.2: Irradiancia usando la Nubosidad

1.2.1 tratamiento Datos de nubosidad


# Del modelo GFS se obtiene los valores para las diversas nubosidades, Alta, M
edia, Baja y Total

# Estos daton seran graficados


cloud_vars = ['Nubosidad total', 'Nubosidad baja','Nubosidad media', 'Nubosida
d alta']

plt.style.use('fast')

# Figura 1 Nubosidad Total


fig1, ax1 = plt.subplots();
ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

data_GFSPvlib['total_clouds'].plot(label='Nubosidad Total', color='#1580E4');


plt.rc('font', family='Helvetica')

plt.title('Nubosidad total con Pvlib-GFS (0.5º) para {}'.format(tz), fontname=


"Helvetica", fontsize=15);
plt.ylabel('% Nubosidad', fontname="Helvetica", fontsize=12);
plt.xlabel(' {}-{}'.format(start.strftime("%b"), start.year), fontname="Helvet
ica", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);
plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
#plt.legent(loc="upper left", bbox_to_anchor=(1,1), fontsize=9) #Legend outsid
e the box
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('NubosidadTotalPvlib_GFS.eps', bbox_inches='tight')

# Figura 2 Nubosidad baja


fig2, ax2 = plt.subplots();
ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

data_GFSPvlib['low_clouds'].plot(label='Nubosidad baja',color='red');

plt.rc('font', family='Helvetica')

plt.title('Nubosidad baja con Pvlib-GFS (0.5º) para {}'.format(tz), fontname=


"Helvetica", fontsize=15);
plt.ylabel('% Nubosidad', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('NubosidadbajaPvlib_GFS.eps', bbox_inches='tight')

# Figura 3 Nubosidad media


fig3, ax3 = plt.subplots();
ax3.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

data_GFSPvlib['mid_clouds'].plot(label='Nubosidad media',color='green');

plt.rc('font', family='Helvetica')

plt.title('Nubosidad media con Pvlib-GFS (0.5º) para {}'.format(tz), fontname=


"Helvetica", fontsize=15);
plt.ylabel('% Nubosidad', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('NubosidadmediaPvlib_GFS.eps', bbox_inches='tight')

# Figura 4 Nubosidad Alta


fig4, ax4 = plt.subplots();
ax4.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

data_GFSPvlib['high_clouds'].plot(label='Nubosidad alta',color='#F28A1C');

plt.rc('font', family='Helvetica')

plt.title('Nubosidad alta con Pvlib-GFS (0.5º) para {}'.format(tz), fontname=


"Helvetica", fontsize=15);
plt.ylabel('% Nubosidad', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('NubosidadaltaPvlib_GFS.eps', bbox_inches='tight')
p
1.2.2: Obtención de la irradiancia

## irradiancia ghi, dni y dhi obtenidas de GFS


fig, ax =plt.subplots()
data_GFSPvlib['ghi'].plot(ax=ax, label='ghi')
data_GFSPvlib['dni'].plot(ax=ax, label='dni')
data_GFSPvlib['dhi'].plot(ax=ax, label='dhi')
plt.title('Irradiancia con modelo Pvlib-GFS (0.5º) para {}'.format(tz), fontna
me="Helvetica", fontsize=15);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);
plt.ylabel('Irradiance, $W/m^2$', fontname="Helvetica", fontsize=12);
plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('IrradianciaPvlibpura.eps', bbox_inches='tight')
ax.legend();
1.2.2.1 : Obtención de datos de irradiancia con modelo de Larson

## transformacion de datos de nubosidad a radiacion con medtodo de Larson

#Ubicacion
alturaPiso=2.5
alturaUbicacion=2630
num_pisos=10
altitud=(alturaPiso*num_pisos)+alturaUbicacion
location = Location(latitude,longitude,tz,altitude=altitud)
pressure = pvlib.atmosphere.alt2pres(altitude=altitud)

# Datos de nubosidad para encontrar la radiacion.


irradPvlib_larson = fm.cloud_cover_to_irradiance(data_GFSPvlib['total_clouds'
], how='clearsky_scaling');
data_GFSPvlib.to_csv('irradPvlib_larson.csv')
irradPvlib_larson.head();
diff = irradPvlib_larson - data_GFSPvlib[['ghi', 'dni', 'dhi']];

## Grafica irradiancia con metodo larson


plt.style.use('fast')

irradPvlib_larson.plot();

plt.rc('font', family='Helvetica')

plt.title('Irradiancia Pvlib-GFS (0.5º) modificada con metodo de Larson para


{}'.format(tz), fontname="Helvetica", fontsize=15);
plt.ylabel('Irradiancia, $W/m^2$', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('IrradianciaPvlibLarson.eps', bbox_inches='tight')
1.2.2.2 Obtención de datos de irradiancia con método de Liu Jordan

## transformacion de datos de nubosidad a irradiancia usando el metodo de liu


jordan

irradPvlib_liujordan = fm.cloud_cover_to_irradiance(data_GFSPvlib['total_cloud
s'], how='liujordan');
data_GFSPvlib.to_csv('irradPvlib_liujordan.csv');

## garfica Irradiancia metodo Liu Jordan


plt.style.use('fast')

irradPvlib_liujordan.plot();

plt.rc('font', family='Helvetica')

plt.title('Irradiancia Pvlib-GFS (0.5º) modificada con metodo de Liu Jordan pa


ra {}'.format(tz), fontname="Helvetica", fontsize=15);
plt.ylabel('Irradiancia, $W/m^2$', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('IrradianciaPvlibLiujordan.eps', bbox_inches='tight')
1.2.2.3 Comparaciones entre los métodos

##GHI
plt.style.use('fast')

irradPvlib_larson['ghi'].plot(label='Larson et. al.');


irradPvlib_liujordan['ghi'].plot(label='Liu-Jordan');
data_GFSPvlib['ghi'].plot(label='Unidata THREDDS')

plt.rc('font', family='Helvetica')

plt.title('Comparacion de los tres metodos de irradiancia para {}'.format(tz),


fontname="Helvetica", fontsize=15);
plt.ylabel('Irradiancia (GHI), $W/m^2$', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('ComparacionGHIBOGGHI.eps', bbox_inches='tight')
## comparacion DNI
plt.style.use('fast')

irradPvlib_larson['dni'].plot(label='Larson et. al.');


irradPvlib_liujordan['dni'].plot(label='Liu-Jordan');
data_GFSPvlib['dni'].plot(label='Unidata THREDDS')

plt.rc('font', family='Helvetica')

plt.title('Comparacion de los tres metodos de irradiancia para {}'.format(tz),


fontname="Helvetica", fontsize=15);
plt.ylabel('Irradiancia (DNI), $W/m^2$', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('ComparacionGHIBOGDNI.eps', bbox_inches='tight')
## comparacion DHI

plt.style.use('fast')

irradPvlib_larson['dhi'].plot(label='Larson et. al.');


irradPvlib_liujordan['dhi'].plot(label='Liu-Jordan');
data_GFSPvlib['dhi'].plot(label='Unidata THREDDS')

plt.rc('font', family='Helvetica')

plt.title('Comparacion de los tres metodos de irradiancia para {}'.format(tz),


fontname="Helvetica", fontsize=15);
plt.ylabel('Irradiancia (DhI), $W/m^2$', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('ComparacionGHIBOGDHI.eps', bbox_inches='tight')
1.2.2.4 Interpolación de datos del modelo Larson

data_interpolada=data_GFSPvlib.resample('5min').interpolate()
irrad_PvlibinterLarson=fm.cloud_cover_to_irradiance(data_interpolada['total_cl
ouds'], how='clearsky_scaling')

## Grafica irradiancia interpolada


plt.style.use('fast')

irrad_PvlibinterLarson.plot();

plt.rc('font', family='Helvetica')

plt.title('Irradiancia interpolada de Pvlib-GFS (0.5º) para {}'.format(tz), fo


ntname="Helvetica", fontsize=15);
plt.ylabel('Irradiancia, [$W/m^2$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('irradiacionLarsonInterpoladaPvlib.eps', bbox_inches='tight')
1.2.2.5 Comparación métodos de Larson

##comparacion con Larson interpolado y sin interpolar

plt.style.use('fast')

irradPvlib_larson['ghi'].plot(label='Metodo de Larson');
irrad_PvlibinterLarson['ghi'].plot(label='Metodo de larson interpolado');

plt.rc('font', family='Helvetica')

plt.title('Comparasion entre metodos de Larson para {}'.format(tz), fontname=


"Helvetica", fontsize=15);
plt.ylabel('Irradiancia, [$W/m^2$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('ComparacionMetodosLArsonPvlib.eps', bbox_inches='tight')
-Sección 1.3: Modelamiento factores ambientales

1.3.1. Posición del sol

1.3.1.1 Obtención de la turbiedad

import calendar
import tables

pvlib_path = os.path.dirname(os.path.abspath(pvlib.clearsky. file ));

filepath = os.path.join(pvlib_path, 'data', 'LinkeTurbidities.h5');

def plot_turbidity_map(month, vmin=1, vmax=100):


plt.figure();
with tables.open_file(filepath) as lt_h5_file:
ltdata = lt_h5_file.root.LinkeTurbidity[:, :, month-1]
plt.imshow(ltdata, vmin=vmin, vmax=vmax);
# Data is in units of 20 x turbidity
plt.title('Linke Turbidity x 20, ' + calendar.month_name[month]);
plt.colorbar(shrink=0.5);
plt.tight_layout();

plot_turbidity_map(8)
1.3.1.2 Posición del sol

# Se obtienen los datos de zenit, azimut y altura, reales y relativos, para la


ubicacion y tiempo

time=data_GFSPvlib.index;
ubicacion=fm.location

PosSol=ubicacion.get_solarposition(time)
## Graficas posiciones del sol

PosSol_vars = ['apparent_zenith', 'zenith','apparent_elevation', 'elevation',


'azimuth', 'equation_of_time']

plt.style.use('fast')

# Figure 1 Cenit aparente


fig1, ax1 = plt.subplots();

PosSol['apparent_zenith'].plot(label='Cenit aparente', color='#1580E4');


PosSol['zenith'].plot(label='Cenit', color='orange');

plt.rc('font', family='Helvetica')

plt.title('Cenit para {}'.format(tz), fontname="Helvetica", fontsize=15);


plt.ylabel('Angulo con el Sol,[º]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti ca",
fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('ZenitBogPvlib.eps', bbox_inches='tight')

# Figure 2 Altitud aparente


fig2, ax2 = plt.subplots();

PosSol['apparent_elevation'].plot(label='Altitud aparente', color='red');


PosSol['elevation'].plot(label='Altitud', color='#1580E4');

plt.rc('font', family='Helvetica')

plt.title(' Altitud del sol para {}'.format(tz), fontname="Helvetica", fontsiz


e=15);
plt.ylabel('Altitud del sol,[º]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti ca",
fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('AltitudBOGPVLIB.eps', bbox_inches='tight')

# Figure 3 Azimuth
fig3, ax3 = plt.subplots();

PosSol['azimuth'].plot(label='Azimuth', color='green');

plt.rc('font', family='Helvetica')

plt.title('Azimuth para {}'.format(tz), fontname="Helvetica", fontsize=15);


plt.ylabel('Angulo con el sol, º', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax3.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('AzimuthBOGPVLIB.eps', bbox_inches='tight')
1.3.2 Irradiancia Directa Normal Extraterrestre

Esta es la irradiancia que recibe una superficie normal a los rayos del sol. Por medio de PVlib se
encontrarán estos valores con el método de NREL. El valor de la constante será de 1361 W/m^2
# Irradiancia directa normal extra-terrestre
Pvlibdni_extra = irradiance.get_extra_radiation(data_GFSPvlib.index, method='N
REL');

# Grafica
plt.style.use('fast')

fig1, ax1 = plt.subplots();


ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

Pvlibdni_extra.plot(label='Metodo NREL', color='#1580E4');

plt.rc('font', family='Helvetica')

plt.title('Irradiancia Directa normal extraterrestre para {}'.format(tz), font


name="Helvetica", fontsize=15);
plt.ylabel('Irradiancia, [$W/m^2$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.xticks(rotation=0)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('PVLIB_DNI_BOG.eps', bbox_inches='tight')

1.3.3 Masa de aire (Airmass)

1.3.3.1 masa de aire relativa

Se usará el método de Kastem-Young 1989 con el ángulo cenit aparente, ya que entre todos los
modelos se podría decir que es el promedio. esta masa de aire relativa no tiene en cuenta la presión,
asume que es al nivel del mar
# Los diferentes metodos y sus valores
#Kasten-Young 1989 con angulo cenit
airmass_zenith_kastenyoung = atmosphere.get_relative_airmass(PosSol['zenith'])

#Kasten-Young 1989 con angulo cenit aparente


airmass_apparentzenith_kastenyoung = atmosphere.get_relative_airmass(PosSol['a
pparent_zenith'])

#Young 1994 con cenit


airmass_zenith_young = atmosphere.get_relative_airmass(PosSol['zenith'], model
='young1994')

#Simple con Cenit


airmass_zenith_simple = atmosphere.get_relative_airmass(PosSol['zenith'], mode
l='simple')

plt.style.use('fast')

# Figure 1
fig1, ax1 = plt.subplots();

airmass_zenith_kastenyoung.plot(label='Kasten-Young 1989, cenit', color='#1580


E4');
airmass_apparentzenith_kastenyoung.plot(label='Kasten-Young 1989, cenit aparen
te', color='red');
airmass_zenith_young.plot(label='Young 1994, cenit', color='green');
airmass_zenith_simple.plot(label='Simple, cenit', color= 'orange')
plt.rc('font', family='Helvetica')

plt.rc('font', family='Helvetica')

plt.title('Modelos de masa de aire {}'.format(tz), fontname="Helvetica", fonts


ize=15);
plt.ylabel('Masa de aire', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Airmass_Models.eps', bbox_inches='tight')
## masa de aire relativa

relative_airmass = atmosphere.get_relative_airmass(PosSol['apparent_zenith'],
model='kastenyoung1989');
plt.style.use('fast')

# Figure 1
fig1, ax1 = plt.subplots();

relative_airmass.plot(label='masa de aire relativa', color='#1580E4');

plt.rc('font', family='Helvetica')

plt.title('masa de aire relativa para {}'.format(tz), fontname="Helvetica", fo


ntsize=15);
plt.ylabel('masa de aire', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('AirMass_BOG_PVLIb.eps', bbox_inches='tight')
1.3.3.2 Masa de aire absoluta

este método corrige y tiene en cuenta la presión

pressure = 75160 #Presion en Pascales de Bogota

absolute_airmass = atmosphere.get_absolute_airmass(relative_airmass,pressure);

plt.style.use('fast')

# Figura 1 Masa de aire absoluta


fig1, ax1 = plt.subplots();

absolute_airmass.plot(label='Masa de aire absoluta', color='red');

plt.rc('font', family='Helvetica')

plt.title('Masa de aire absoluta para {}'.format(tz), fontname="Helvetica", fo


ntsize=15);
plt.ylabel('Masa de aire', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Absolute_Airmass_BOG_PVLIB.eps', bbox_inches='tight')
1.3.4 Plano del arreglo (POA)

Al igual que en la masa de aire PVlib contiene los mismos métodos para encontrar el POA, por ende
usaremos igualmente el Kasten Young 1989

1.3.4.1 POA cielo difuso

surface_tilt = 10; ## tilt de los paneles


surface_azimuth = 180; #debajo del ecuador(180), arriba (0)

poa_sky_diffuse = irradiance.haydavies(surface_tilt, surface_azimuth,


data_GFSPvlib['dhi'], data_GFSPvlib['dn
i'], Pvlibdni_extra,
PosSol['apparent_zenith'], PosSol['azim
uth']);

# Grafica POA cielo difuso

plt.style.use('fast')

fig1, ax1 = plt.subplots();

poa_sky_diffuse.plot(label='POA cielo difuso', color='#1580E4');

plt.rc('font', family='Helvetica')

plt.title('POA cielo difuso para {}'.format(tz), fontname="Helvetica", fontsiz


e=15);
plt.ylabel('Irradiancia, [$W/m^2$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('POASIELODIFUSO_BOGPVLIB.eps', bbox_inches='tight')
1.3.4.2 POA suelo difuso

#El albedo depende en que tipo de superficie se colocoaran los paneles, en nue
stro caso será urban. En Pvlib encunetran mas albedos

surface_albedo = irradiance.SURFACE_ALBEDOS['urban'];

poa_ground_diffuse = irradiance.get_ground_diffuse(surface_tilt, irradPvlib_la


rson['ghi'], albedo=surface_albedo);

# Grafica POA Suelo difuso

plt.style.use('fast')

fig1, ax1 = plt.subplots();

poa_ground_diffuse.plot(label='POA suelo difuso', color='red');

plt.rc('font', family='Helvetica')

plt.title('POA suelo difuso para {}'.format(tz), fontname="Helvetica", fontsiz


e=15);
plt.ylabel('Irradiancia, [$W/m^2$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('POA_PISOdifuso_BOG_PVLIBa.eps', bbox_inches='tight')
1.3.5 Angulo de incidencia (AOI)

# AOI
aoi = irradiance.aoi(surface_tilt, surface_azimuth, PosSol['apparent_zenith'],
PosSol['azimuth']);

# gtafica AOI

plt.style.use('fast')

fig1, ax1 = plt.subplots();

aoi.plot(label='Angulo de incidencia ', color='#1580E4');

plt.rc('font', family='Helvetica')

plt.title('Angulo de incidencia para {}'.format(tz), fontname="Helvetica", fon


tsize=15);
plt.ylabel(' [º]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('AOI.eps', bbox_inches='tight')
1.3.6 POA Total

# POA total
poa_irrad=pvlib.irradiance.poa_components(aoi,data_GFSPvlib['dni'], poa_sky_di
ffuse, poa_ground_diffuse)
plt.style.use('fast')
# Grafica POA TOTAL
poa_irrad.plot(label='poa irradiancia');

plt.rc('font', family='Helvetica')

plt.title('POA total para {}'.format(tz), fontname="Helvetica", fontsize=15);


plt.ylabel('Irradiancia, [$W/m^{2}$]', fontname="Helvetica", fontsize=12);
plt.xlabel('Forecast Time for {}-{}'.format(start.strftime("%b"), start.year),
fontname="Helvetica", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('POA_Total.eps', bbox_inches='tight')
1.3.7 Temperatura de celda y modulo

conocer la temperatura de la celda y del modulo es importante, ya que la temperatura afecta el


rendimiento de los paneles, entre mayor sea la temperatura de estos menor será su
rendimiento

En la librería de PVlib se encuentran dos métodos para encontrar estas temperaturas, el modelo
de temperatura de SANDIA y el de Faiman
# Temperatura de celda
temperature = data_GFSPvlib['temp_air'];
wind_speed = data_GFSPvlib['wind_speed'];
pvtemps = pvlib.temperature.sapm_cell(poa_irrad['poa_global'], temperature, wi
nd_speed, a=-2.98, b=-0.0471, deltaT=1, irrad_ref=1000)

# Metodo Sandia LAB


pvtempsSandia = pvlib.temperature.sapm_cell(poa_irrad['poa_global'], temperatu
re, wind_speed, a=-2.98, b=-0.0471, deltaT=1, irrad_ref=1000);
# Metodo Faiman
pvtempFaiman= pvlib.temperature.faiman(poa_irrad['poa_global'], temperature, w
ind_speed,u0=25.0, u1=6.84)
# Metodo empirico
pvtempEmpirical=pvlib.temperature.pvsyst_cell(poa_irrad['poa_global'],temperat
ure, wind_speed, u_c=29.0, u_v=0.0, eta_m=0.1, alpha_absorption=0.9 )
LosAndesSys = 'Los Andes 80 kWp System';

# Grafica de temperatura de celda y modulo

plt.style.use('fast')

fig1, ax1=plt.subplots();

pvtempsSandia.plot(label='Modelo Sandia', color='#1580E4');


pvtempFaiman.plot(label= 'Modelo Faiman', color='red')
pvtempEmpirical.plot(label='Modelo empirico', color='green')
plt.rc('font', family='Helvetica')

plt.title('Temperatura de modulo y celda para {}'.format(LosAndesSys), fontnam


e="Helvetica", fontsize=15);
plt.ylabel('Temperatura, [ºC]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Cell_Module_Temperature.eps', bbox_inches='tight')
1.3.8 Modificador de ángulo de incidencia

Pvlib tiene varios métodos para encontrar estos valores, sin embargo, el método ASHRAE es usado
en softwares comerciales actuales, por ende, se usará este.

también se mostrará el método de Physical.

# Metodo ASHREIAM
ashraeiam = pd.Series(pvlib.iam.ashrae(aoi, b=0.05).values, index=aoi)
# METODO PHYSICALIAM
physicaliam = pvlib.iam.physical(aoi, n=1.526, K=4.0, L=0.002);
plt.style.use('fast')

# Grafica Metdodo AHREAIAM y PHISICALIAM

ashraeiam.plot(label='Modelelo ASHRAE', color='#1580E4');


plt.plot(aoi, physicaliam, label='Modelo Physical', color='red');

plt.rc('font', family='Helvetica')

plt.title('Modelos de modificadores de anguolo de incidencia para {}'.format(


LosAndesSys), fontname="Helvetica", fontsize=15);
plt.ylabel('Modificador ', fontname="Helvetica", fontsize=12);
plt.xlabel('Input Angle, º', fontname="Helvetica", fontsize=12);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('ASHRAE_iam.eps', bbox_inches='tight')
1.3.9 Irradiancia Efectiva

Esta irradiancia es la que efectivamente llega al plano del arreglo. Anteriormente calculamos este valor
como POA, sin embargo, hay unos factores que disminuyen este valor, estos son: las perdidas por el
ángulo de incidencia, polvo, la discordancia de los rayos solares. Este valor es el que se convierte en
energía eléctrica.

1.3.9.1 Irradiancia total en el plano

Aquí se tiene en cuenta las irradiancias difusas y reflectadas

#Total Irradiancia
total_irrad = pvlib.irradiance.get_total_irradiance(surface_tilt,
surface_azimuth,
PosSol['apparent_zenith'],
PosSol['azimuth'],
irradPvlib_larson['dni'],
irradPvlib_larson['ghi'],
irradPvlib_larson['dhi'],
dni_extra=Pvlibdni_extra,
airmass= relative_airmass,
albedo=surface_albedo,
surface_type='urban',
model='haydavies',)

# Grafica Irradiancia total

plt.style.use('fast')

total_irrad.plot(label='poa_irrad');

plt.rc('font', family='Helvetica')

plt.title('Irradiancia total para {}'.format(tz), fontname="Helvetica", fontsi


ze=15);
plt.ylabel('Irradiancia, [$W/m^{2}$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Total_Irradiance.eps', bbox_inches='tight')
1.3.9.2 Precipitación (cm)

Humedad relativa en BOG= 74%

# Precipitacion
pw = atmosphere.gueymard94_pw(data_GFSPvlib['temp_air'], relative_humidity=77)

1.3.9.3 Factor de corrección de discordancia de los rayos del sol

Este factor esta basado en la precipitación y la corrección de la presión en la masa del aire.

# Calculo del Factor


spectral_mismatch_raw = atmosphere.first_solar_spectral_correction(pw, absolut
e_airmass, module_type='monosi', coefficients=None);
# Cambianos valores NaN por 1
spectral_mismatch = spectral_mismatch_raw.fillna(1);
1.3.9.4 Irradiancia total efectiva.

# Calculo irradianci efectiva


effective_irrad_calc = spectral_mismatch*((total_irrad['poa_direct']*abs(np.co
s(aoi)))+total_irrad['poa_diffuse'])

# Grafica irradiancia efectiva


print
plt.style.use('fast')

effective_irrad_calc.plot(label='effective_irrad_calc');

plt.rc('font', family='Helvetica')

plt.title('Irradiancia efectiva calculada para {}'.format(tz), fontname="Helve


tica", fontsize=15);
plt.ylabel('Irradiancia, [$W/m^{2}$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Effective_Irrad_Calc.eps', bbox_inches='tight')
Sección 1.4 modelamiento del sistema solar fotovoltaico

1.4.1 Información de los inversores

# Obtencion caracteristicas de los inversores para sistema A


inverter_sys1 = pd.read_csv('CEC Inverters.csv')
inverter_a=inverter_sys1.iloc[164]
inverter_A=pd.to_numeric(inverter_a, errors='coerce')

# Obtencion caracteristicas de los inversores para sistema B


inverter_sys2=pd.read_csv('CEC Inverters.csv')
inverter_b=inverter_sys1.iloc[154]
inverter_B=pd.to_numeric(inverter_b, errors='coerce')
inverter_A

1.4.2 información de los módulos

Los paneles de los andes no se encontraron en ninguna base de datos, por


ende, se crearán

# Creacion del modelo usado en el sistema solar fotovoltaico de la Universidad


de los Andes
LG400N2WA5 = {
'BIPV': 'N',
'Date': '1/3/2019',
'T_NOCT': 47.7,
'A_c': 2.0,
'N_s': 72,
'I_sc_ref': 10.47,
'V_oc_ref': 49.3,
'I_mp_ref': 9.86,
'V_mp_ref': 40.6,
'alpha_sc': 0.003141,
'beta_oc': -0.12180,
'a_ref': 1.821208,
'I_L_ref': 10.481150,
'I_o_ref': 1.807477e-11,
'R_s': 0.312859,
'R_sh_ref': 293.805420,
'Adjust': 9.380614,
'gamma_r': -0.36,
'Version': 'NRELv1',
'PTC': 368.4,
'Technology': 'Mono-c-Si',
'Name': 'LG Electronics LG385N2W-A5',

module = pd.Series(LG400N2WA5, name='LG_Electronics_LG385N2W_A5')


1.4.3 Definición sistemas de los Andes

#Sistema A
sysA_name = 'Los Andes 51.25 kWp System Capacity';
mps_SysA = 16; #Modules Por String
spi_SysA = 8; #Strings Por inverosr

system_A = PVSystem(module_parameters=module, inverter_parameters=inverter_A,


surface_azimuth=180,
surface_tilt=10, modules_per_string=mps_SysA, strings_per_
inverter=spi_SysA)

#System B
sysB_name = 'Los Andes 28.82 kWp System Capacity';
mps_SysB = 18; #Modules Por String
spi_SysB = 4; #Strings Por Inversor

system_B = PVSystem(module_parameters=module, inverter_parameters=inverter_B,


surface_azimuth=180,
surface_tilt=10, modules_per_string=mps_SysB, strings_per_
inverter=spi_SysB)

1.4.4 Obtención de la curva I-V con el método de un diodo

1.4.4.1 Método 1:

1.4.4.1.1 Obtención de los parámetro con el modelo de De Soto

# Valores maximos irradiancia efectiva y temperatura de modulo diarios


max_eff_irrad = effective_irrad_calc.resample('1d').max();

max_location = effective_irrad_calc.resample('1d').apply(lambda s: s.idxmax


());

max_temp_cell = pvtemps.resample('1d').max();

# Creacion DataFrame con estos valores maximos diarios

cases = list(zip(max_location.values, max_eff_irrad.values, max_temp_cell.valu


es));
conditions = pd.DataFrame(cases, columns=['Datetime', 'Geff', 'Tcell']);
conditions = conditions.round(2);
conditions.head()
# Vmp, Impy Pmp diarios para contruir Grafica I-V metodo De soto

IL_DS, I0_DS, Rs_DS, Rsh_DS, nNsVth_DS = pvsystem.calcparams_desoto(conditions


['Geff'],
conditions['Tcell'],
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
EgRef=1.121,valor estan
dar
dEgdT=-0.0002677) #Valor
estandar

curve_info_DS = pvsystem.singlediode(photocurrent=IL_DS,
saturation_current=I0_DS,
resistance_series=Rs_DS,
resistance_shunt=Rsh_DS,
nNsVth=nNsVth_DS,
ivcurve_pnts=100,
method='lambertw')

# Grafica curva I-V


plt.style.use('fast')
plt.rc('font', family='Helvetica')
plt.figure()

for i, case in conditions.iterrows():


label = (
f"{case['Datetime'].strftime('%d-%b-%Y')}: "
"$G_{eff} = $ " + f"{case['Geff']} $W/m^2$ & "
"$T_{cell} = $ " + f"{case['Tcell']} $ºC$")

plt.plot(curve_info_DS['v'][i], curve_info_DS['i'][i], label=label)


v_mp = curve_info_DS['v_mp'][i]
i_mp = curve_info_DS['i_mp'][i]
# señalar MPP
plt.plot([v_mp], [i_mp], ls='', marker='o', c='k')

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.title(LG400N2WA5['Name'] + ' para el sistema SF de Los Andes', fontname="H


elvetica", fontsize=15);
plt.ylabel('Corriente del modulo, $A$', fontname="Helvetica", fontsize=12);
plt.xlabel('Voltaje del modulo, [$V$]', fontname="Helvetica", fontsize=12);
plt.grid(True);
plt.ylim(0, None)
plt.xlim(0, None)
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('DS_IV_Curves.eps', bbox_inches='tight')
plt.show()
plt.gcf().set_tight_layout(True)
data_summary_DS = pd.DataFrame({'i_sc': curve_info_DS['i_sc'],
'v_oc': curve_info_DS['v_oc'],
'i_mp': curve_info_DS['i_mp'],
'v_mp': curve_info_DS['v_mp'],
'p_mp': curve_info_DS['p_mp'],
'i_x': curve_info_DS['i_x'],
'i_xx': curve_info_DS['i_xx']})

data_summary_DS = data_summary_DS.round(2)
print(data_summary_DS)

i_sc v_oc i_mp v_mp p_mp i_x i_xx


0 3.65 45.81 3.44 38.97 133.99 3.63 2.69
1 4.76 46.11 4.48 38.94 174.46 4.73 3.45
2 3.93 46.77 3.70 39.88 147.69 3.90 2.89
3 3.88 46.49 3.65 39.61 144.70 3.85 2.85
4 9.09 44.35 8.47 35.91 304.22 9.02 6.11
5 3.76 45.44 3.53 38.56 136.29 3.73 2.75
6 -0.00 0.00 -0.00 0.00 -0.00 -0.00 -0.00

1.4.4.1.2 obtencion de los parametros con el modelo de CEC


# Vmp, Imp y Pmp diarios para contruir Grafica I-V metodo CEC

IL_CEC, I0_CEC, Rs_CEC, Rsh_CEC, nNsVth_CEC = pvsystem.calcparams_cec(conditio


ns['Geff'],
conditions['Tcell'],
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=9.380614,
EgRef=1.121, #Retrieved f
rom last link at above description
dEgdT=-0.0002677) #Retrie
ved from last link at above description

curve_info_CEC = pvsystem.singlediode(photocurrent=IL_CEC,
saturation_current=I0_CEC,
resistance_series=Rs_CEC,
resistance_shunt=Rsh_CEC,
nNsVth=nNsVth_CEC,
ivcurve_pnts=100,
method='lambertw')

# Grafica curva I-V


plt.style.use('fast')
plt.rc('font', family='Helvetica')
plt.figure()

for i, case in conditions.iterrows():


label = (
f"{case['Datetime'].strftime('%d-%b-%Y')}: "
"$G_{eff} = $ " + f"{case['Geff']} $W/m^2$ & "
"$T_{cell} = $ " + f"{case['Tcell']} $ºC$")

plt.plot(curve_info_CEC['v'][i], curve_info_CEC['i'][i], label=label)


v_mp = curve_info_CEC['v_mp'][i]
i_mp = curve_info_CEC['i_mp'][i]
# Señalar el mp
plt.plot([v_mp], [i_mp], ls='', marker='o', c='k')

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.title(LG400N2WA5['Name'] + ' para el sistema SF de Los Andes ', fontname=


"Helvetica", fontsize=15);
plt.ylabel('Corriente del modulo, [$A$]', fontname="Helvetica", fontsize=12);
plt.xlabel('Voltaje del modulo, [$V$]', fontname="Helvetica", fontsize=12);
plt.ylim(0, None)
plt.xlim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('CEC_IV_Curves.eps', bbox_inches='tight')
plt.show()
plt.gcf().set_tight_layout(True)
data_summary_CEC = pd.DataFrame({'i_sc': curve_info_CEC['i_sc'],
'v_oc': curve_info_CEC['v_oc'],
'i_mp': curve_info_CEC['i_mp'],
'v_mp': curve_info_CEC['v_mp'],
'p_mp': curve_info_CEC['p_mp'],
'i_x': curve_info_CEC['i_x'],
'i_xx': curve_info_CEC['i_xx']})

data_summary_CEC = data_summary_CEC.round(2)
print(data_summary_CEC)

i_sc v_oc i_mp v_mp p_mp i_x i_xx


0 3.65 45.81 3.44 38.97 133.95 3.63 2.69
1 4.76 46.11 4.48 38.94 174.40 4.73 3.45
2 3.93 46.77 3.70 39.87 147.66 3.90 2.89
3 3.88 46.49 3.65 39.61 144.67 3.85 2.85
4 9.08 44.35 8.46 35.91 303.94 9.01 6.11
5 3.76 45.44 3.53 38.56 136.24 3.73 2.75
6 -0.00 0.00 -0.00 0.00 -0.00 -0.00 -0.00

<Figure size 432x288 with 0 Axes>


1.4.4.1.3 Resultados usando los parámetros del método de De Soto

# Resultados del metodo de Desoto colocados en un DataFrame


results_DS = pd.DataFrame(data_summary_DS, columns=data_summary_DS.keys())

scaled_results_DS_SysA = system_A.scale_voltage_current_power(results_DS)
scaled_results_DS_SysB = system_B.scale_voltage_current_power(results_DS)

scaled_results_DS_SysA

i_sc v_oc i_mp v_mp p_mp i_x i_xx

0 29.20 732.96 27.52 623.52 17150.72 29.04 21.52

1 38.08 737.76 35.84 623.04 22330.88 37.84 27.60

2 31.44 748.32 29.60 638.08 18904.32 31.20 23.12

3 31.04 743.84 29.20 633.76 18521.60 30.80 22.80

4 72.72 709.60 67.76 574.56 38940.16 72.16 48.88

5 30.08 727.04 28.24 616.96 17445.12 29.84 22.00

6 -0.00 0.00 -0.00 0.00 -0.00 -0.00 -0.00

1.4.4.1.4 Resultados usando los parámetros del método de CEC

# Resultados del metodo CEC colocados en un DataFrame


results_CEC = pd.DataFrame(data_summary_CEC, columns=data_summary_CEC.keys())

scaled_results_CEC_SysA = system_A.scale_voltage_current_power(results_CEC)
scaled_results_CEC_SysB = system_B.scale_voltage_current_power(results_CEC)

scaled_results_CEC_SysA

i_sc v_oc i_mp v_mp p_mp i_x i_xx

0 29.20 732.96 27.52 623.52 17145.60 29.04 21.52

1 38.08 737.76 35.84 623.04 22323.20 37.84 27.60

2 31.44 748.32 29.60 637.92 18900.48 31.20 23.12

3 31.04 743.84 29.20 633.76 18517.76 30.80 22.80

4 72.64 709.60 67.68 574.56 38904.32 72.08 48.88

5 30.08 727.04 28.24 616.96 17438.72 29.84 22.00

6 -0.00 0.00 -0.00 0.00 -0.00 -0.00 -0.00


1.4.4.2 Método 2

# obtencion valor de Imp y Vmp por metodod CEC


IL, I0, Rs, Rsh, nNsVth = pvsystem.calcparams_cec(effective_irrad_calc,
pvtemps,
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=9.380614,
EgRef=1.121, #Retrieved f
rom last link at above description
dEgdT=-0.0002677) #Retrie
ved from last link at above description

curve_info = pvsystem.singlediode(photocurrent=IL,
saturation_current=I0,
resistance_series=Rs,
resistance_shunt=Rsh,
nNsVth=nNsVth,
ivcurve_pnts=100,
method='lambertw')

# Metodo de 1 diodo con parametros obtenidos por el metodo CEC


data_i_sc = pd.Series(curve_info['i_sc'])
data_v_oc = pd.Series(curve_info['v_oc'])
data_i_mp = pd.Series(curve_info['i_mp'])
data_v_mp = pd.Series(curve_info['v_mp'])
data_p_mp = pd.Series(curve_info['p_mp'])
data_i_x = pd.Series(curve_info['i_x'])
data_i_xx = pd.Series(curve_info['i_xx'])

results_general = pd.DataFrame({'i_sc': data_i_sc,


'v_oc': data_v_oc,
'i_mp': data_i_mp,
'v_mp': data_v_mp,
'p_mp': data_p_mp,
'i_x': data_i_x,
'i_xx': data_i_xx})

sc_SysA = system_A.scale_voltage_current_power(results_general)
sc_SysA['Datetime'] = pd.to_datetime(effective_irrad_calc.index)
sc_SysA = sc_SysA.set_index('Datetime')

sc_SysB = system_B.scale_voltage_current_power(results_general)
sc_SysB['Datetime'] = pd.to_datetime(effective_irrad_calc.index)
sc_SysB = sc_SysB.set_index('Datetime')
# Obtencion valores maximos para el sistema A

max_isc_SysA = sc_SysA['i_sc'].resample('1d').max();
max_voc_SysA = sc_SysA['v_oc'].resample('1d').max();
max_imp_SysA = sc_SysA['i_mp'].resample('1d').max();
max_vmp_SysA = sc_SysA['v_mp'].resample('1d').max();
max_pmp_SysA = sc_SysA['p_mp'].resample('1d').max();
max_ix_SysA = sc_SysA['i_x'].resample('1d').max();
max_ixx_SysA = sc_SysA['i_xx'].resample('1d').max();

cases_sc_SysA = list(zip(max_isc_SysA.values, max_voc_SysA.values, max_imp_Sys


A.values, max_vmp_SysA.values,
max_pmp_SysA.values, max_ix_SysA.values, max_ixx_SysA
.values));

sc_max_SysA = pd.DataFrame(cases_sc_SysA, columns=['i_sc', 'v_oc', 'i_mp', 'v_


mp', 'p_mp', 'i_x', 'i_xx']);
sc_max_SysA = sc_max_SysA.round(2);
sc_max_SysA.head()

# Obtencion valores maximos para el sistema B

max_isc_SysB = sc_SysB['i_sc'].resample('1d').max();
max_voc_SysB = sc_SysB['v_oc'].resample('1d').max();
max_imp_SysB = sc_SysB['i_mp'].resample('1d').max();
max_vmp_SysB = sc_SysB['v_mp'].resample('1d').max();
max_pmp_SysB = sc_SysB['p_mp'].resample('1d').max();
max_ix_SysB = sc_SysB['i_x'].resample('1d').max();
max_ixx_SysB = sc_SysB['i_xx'].resample('1d').max();

cases_sc_SysB = list(zip(max_isc_SysB.values, max_voc_SysB.values, max_imp_Sys


B.values, max_vmp_SysB.values,max_pmp_SysB.values, max_ix_SysB.values,
max_ixx_SysB.values));

sc_max_SysB = pd.DataFrame(cases_sc_SysB, columns=['i_sc', 'v_oc', 'i_mp', 'v_


mp', 'p_mp', 'i_x', 'i_xx']);
sc_max_SysB = sc_max_SysB.round(2);
sc_max_SysA

i_sc v_oc i_mp v_mp p_mp i_x i_xx

0 29.17 756.44 27.49 654.44 17583.26 28.95 21.55

1 38.09 751.92 35.83 640.03 22322.69 37.81 27.58

2 31.43 759.03 29.63 653.11 18901.17 31.19 23.15

3 31.00 755.44 29.22 650.66 18730.04 30.76 22.85

4 72.64 744.05 67.71 621.78 38905.32 72.11 48.84

5 30.07 755.14 28.27 653.07 17848.55 29.85 22.02

6 0.00 0.00 0.00 0.00 0.00 0.00 0.00


Sección 1.5 Entregas del sistema

1.5.1 Voltage DC

# se configura el eje x en dias


bar_width = 0.2;
x = np.arange(len(conditions['Datetime']))

days = np.linspace(int(start.day), int(end.day), len(conditions['Datetime']))

int_days = []
for day in days:
int_days.append(int(day))
r1 = np.arange(len(conditions['Datetime'])) r2 = [x + bar_width for x in r1]
r3 = [x + bar_width for x in r2]
r4 = [x + bar_width for x in r3]

#Grafica voltaje DC
plt.style.use('fast')

plt.bar(r1, scaled_results_DS_SysA['v_mp'], bar_width, label='SysA_Metodo 1',


color='#1580E4', zorder=5);
plt.bar(r2, scaled_results_DS_SysB['v_mp'], bar_width, label='SysB_Metodo_1',
color='#2DBD07', zorder=10);

plt.bar(r3, sc_max_SysA['v_mp'], bar_width, label='SysA_Method_2', color='ligh


tskyblue', zorder=15);
plt.bar(r4, sc_max_SysB['v_mp'], bar_width, label='SysB_Method_2', color='ligh
tgreen', zorder=20);

plt.rc('font', family='Helvetica')

plt.title('Voltaje DC para {}'.format(LosAndesSys), fontname="Helvetica", font


size=15);
plt.ylabel('Voltaje DC, [$V$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5, labelsiz


e=11.5)

plt.rcParams['axes.axisbelow'] = True;
plt.xticks(x + bar_width + bar_width/2, int_days)
plt.ylim(0, None)
plt.grid(True, zorder = 0);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('EntregaVoltajeDC_Pvlib.png', bbox_inches='tight')

#Description of the Results


sgr_DC_voltage = list(zip(int_days, scaled_results_DS_SysA['v_mp'], scaled_res
ults_DS_SysB['v_mp'], sc_max_SysA['v_mp'], sc_max_SysB['v_mp']));

sgr_DC_voltage = pd.DataFrame(sgr_DC_voltage, columns=['Day', 'SysA_Method_1',


'SysB_Method_1', 'SysA_Method_2',’SysB_Method_2’]);
sgr_DC_voltage = sgr_DC_voltage.round(1);
1.5.2 Corriente DC

#DC Grafica corriente DC


plt.style.use('fast')

plt.bar(r1, scaled_results_DS_SysA['i_mp'], bar_width, label='SysA_Metodo 1',


color='#1580E4');
plt.bar(r2, scaled_results_DS_SysB['i_mp'], bar_width, label='SysB_Metodo 1',
color='#2DBD07');

plt.bar(r3, sc_max_SysA['i_mp'], bar_width, label='SysA_Metodo 2', color='ligh


tskyblue');
plt.bar(r4, sc_max_SysB['i_mp'], bar_width, label='SysB_Metodo 2', color='ligh
tgreen');

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Corriente DC para {}'.format(LosAndesSys), fontname="Helvetica", fo


ntsize=15);
plt.ylabel('Corriente DC, [$A$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5, labelsiz


e=11.5)

plt.xticks(x + bar_width + bar_width/2, int_days)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('CorrienteDC_Pvlib.png', bbox_inches='tight')

# Descripcion de los resultados


sgr_DC_current = list(zip(int_days, scaled_results_DS_SysA['i_mp'], scaled_res
ults_DS_SysB['i_mp'],
sc_max_SysA['i_mp'], sc_max_SysB['i_mp']));
sgr_DC_current = pd.DataFrame(sgr_DC_current, columns=['Day', 'SysA_Method_1',
'SysB_Method_1','SysA_Method_2', 'SysBMethod_2']);
sgr_DC_current = sgr_DC_current.round(1);
1.5.3 Potencia DC

kilo = 1e3;
width = 0.4; # Ancho de las barras

# Grafica Potencia DC
plt.style.use('fast')

plt.bar(r1, scaled_results_DS_SysA['p_mp']/kilo, width, label='SysA_Metodo 1',


color='#1580E4', bottom=scaled_results_DS_SysB['p_mp']/kilo);
plt.bar(r1, scaled_results_DS_SysB['p_mp']/kilo, width, label='SysB_Metodo 1',
color='#2DBD07');

plt.bar(r3, sc_max_SysA['p_mp']/kilo, width, label='SysA_Metodo 2', color='lig


htskyblue', bottom=sc_max_SysB['p_mp']/kilo);
plt.bar(r3, sc_max_SysB['p_mp']/kilo, width, label='SysB_Metodo 2', color='lig
htgreen');

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia DC para {}'.format(LosAndesSys), fontname="Helvetica", fon


tsize=15);
plt.ylabel('Potencia DC, [$kW$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width/2, int_days)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('PotenciaDC_Pvlib.png', bbox_inches='tight')

#Descripcion de los resultados


DC_power_sum_method_1 = scaled_results_DS_SysA['p_mp']/kilo + scaled_results_D
S_SysB['p_mp']/kilo
DC_power_sum_method_2 = sc_max_SysA['p_mp']/kilo + sc_max_SysB['p_mp']/kilo

scaled_global_DC_results = list(zip(int_days, scaled_results_DS_SysA['p_mp']/k


ilo, scaled_results_DS_SysB['p_mp']/kilo,
DC_power_sum_method_1, sc_max_SysA['p_mp']
/kilo, sc_max_SysB['p_mp']/kilo,
DC_power_sum_method_2));
scaled_global_DC_results =
pd.DataFrame(scaled_global_DC_results, columns=['Day',
'SysA_Method_1',SysB_Method_1',Total_Method1’,Total_Method
_1',SysA_Method_2',SysB_Method_2',Total_Method_2']);
scaled_global_DC_results = scaled_global_DC_results.round(1);
1.5.4 Potencia AC
# Calculo Potencia AC #
Sistema A
Pot_AC_SysA_method_1 = pvlib.pvsystem.snlinverter(scaled_results_DS_SysA['v_m p'],
scaled_results_DS_SysA['p_mp'],inverter_A)/Kilo

Pot_AC_SysB_method_1 = pvlib.pvsystem.snlinverter(scaled_results_DS_SysB['v_m p'],


scaled_results_DS_SysB['p_mp'],inverter_B)/kilo;
# Sistema B
Pot_AC_SysA_method_2 = pvlib.pvsystem.snlinverter(sc_max_SysA['v_mp'], sc_max_
SysA['p_mp'], inverter_A)/kilo;
Pot_AC_SysB_method_2 = pvlib.pvsystem.snlinverter(sc_max_SysB['v_mp'], sc_max_
SysB['p_mp'], inverter_B)/kilo;

# Grafica Potencia AC
plt.style.use('fast')

plt.bar(r1, Pot_AC_SysA_method_1, width, label='SysA_Metodo 1', color='#1580E 4',


bottom=Pot_AC_SysB_method_1);
plt.bar(r1, Pot_AC_SysB_method_1, width, label='SysB_Metodo 2', color='#2DBD0 7');

plt.bar(r3, Pot_AC_SysA_method_2, width, label='SysA_Metodo 2', color='lightsk yblue',


bottom=Pot_AC_SysB_method_2);
plt.bar(r3, Pot_AC_SysB_method_2, width, label='SysB_Metodo 2', color='lightgr een');

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia AC para {}'.format(LosAndesSys), fontname="Helvetica", fon tsize=15);


plt.ylabel('Potencia AC, [$kW$]', fontname="Helvetica", fontsize=12);
plt.xlabel('Forecast Time for {}-{}'.format(start.strftime("%b"), start.year),
fontname="Helvetica", fontsize=12);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5) plt.xticks(x +

width/2, int_days)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('PotenciaAC_Pvlib.png', bbox_inches='tight')

#Descripcion de resultados
AC_power_sum_method_1 = Pot_AC_SysA_method_1 + Pot_AC_SysB_method_1
AC_power_sum_method_2 = Pot_AC_SysA_method_2 + Pot_AC_SysB_method_2

scaled_global_AC_results = list(zip(int_days, Pot_AC_SysA_method_1, Pot_AC_Sys B_method_1,


AC_power_sum_method_1,
Pot_AC_SysA_method_2, Pot_AC_SysB_method_2
, AC_power_sum_method_2));
scaled_global_AC_results = pd.DataFrame(scaled_global_AC_results, columns=['Da y',
'SysA_Method_1', 'SysB_Method_1','Total_Method_1’,’SysA_Method_2’,SysB_Method_2’,
‘Total_Method_2’]);
scaled_global_AC_results = scaled_global_AC_results.round(1);
1.5.5 Comparación entre AC y DC

#Omitiendo valores 0, ultima fila del DataFrame


x_SysA = scaled_results_DS_SysA[:-1]/kilo
y_SysA = Pot_AC_SysA_method_1[:-1]

x_SysB = scaled_results_DS_SysB[:-1]/kilo
y_SysB = Pot_AC_SysB_method_1[:-1]

#Regresion lineal
coef_SysA = np.polyfit(x_SysA['p_mp'], y_SysA, 1)
poly1d_fn_SysA = np.poly1d(coef_SysA)

coef_SysB = np.polyfit(x_SysB['p_mp'], y_SysB, 1)


poly1d_fn_SysB = np.poly1d(coef_SysB)

#Datos graficos (pendiente, R2, Intercepto eje y etc.)


from scipy import stats

slope_SysA, intercept_SysA, r_value_SysA, p_value_SysA, std_err_SysA = stats.l


inregress(x_SysA['p_mp'], y_SysA)
slope_SysB, intercept_SysB, r_value_SysB, p_value_SysB, std_err_SysB = stats.l
inregress(x_SysB['p_mp'], y_SysB)

data_descrip = ['Slope', 'Intercept', 'r_value', 'Std. Error']


data_result_SysA = [slope_SysA, intercept_SysA, r_value_SysA, std_err_SysA]
data_result_SysB = [slope_SysB, intercept_SysB, r_value_SysB, std_err_SysB]

stat_sysA = list(zip(data_descrip, data_result_SysA, data_result_SysB));


stat_sysA = pd.DataFrame(stat_sysA, columns=['Stat', 'Sys_A', 'Sys_B']);
stat_sysA = stat_sysA.round(4);

#Grafica DC vs AC
plt.style.use('fast')

fig1, ax1 = plt.subplots()

plt.plot(x_SysA['p_mp'], poly1d_fn_SysA(x_SysA['p_mp']), '--k',


label='Linear_Reg_SysA', color='cornflowerblue', linewidth=0.5, zorde
r = 0)

plt.scatter(x_SysA['p_mp'], y_SysA, label='DC_vs_AC_SysA', color='#1580E4', zo rder


= 10);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia DC vs AC para {}'.format(LosAndesSys), fontname="Helvetic a",


fontsize=15);
plt.ylabel('Potencia AC, [$kW$]', fontname="Helvetica", fontsize=12);
plt.xlabel('Ptencia DC, [$kW$]', fontname="Helvetica", fontsize=12);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('DC_vs_AC_Manual_SysA.eps', bbox_inches='tight')

fig2, ax2 = plt.subplots()

plt.plot(x_SysB['p_mp'], poly1d_fn_SysB(x_SysB['p_mp']), '--k',


label='Linear_Reg_SysB', color='mediumseagreen', linewidth=0.5, zorde
r = 5)

plt.scatter(x_SysB['p_mp'], y_SysB, label='DC_vs_AC_SysB', color='#2DBD07', ma


rker='^', s=60, zorder = 15);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia DC vs AC para {}'.format(LosAndesSys), fontname="Helvetic


a", fontsize=15);
plt.ylabel('Potencia AC, [$kW$]', fontname="Helvetica", fontsize=12);
plt.xlabel('Potencia DC, [$kW$]', fontname="Helvetica", fontsize=12);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('DC_vs_AC_Manual_SysB.eps', bbox_inches='tight')
1.5.5 Temperatura del modulo

# Grafica Temperatura del modulo


plt.style.use('fast')

plt.bar(x, max_temp_cell, label='Temperatura del Modulo', color='#1580E4');

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Temperatura de modulo y celda para {}'.format(LosAndesSys), fontnam


e="Helvetica", fontsize=15);
plt.ylabel('Temperatura, [$ºC$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x, int_days)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('TemperaturaModulo_Pvlib.png', bbox_inches='tight')

# Descripcion de los Resultados


temp_module_results = list(zip(int_days, max_temp_cell));
temp_module_results = pd.DataFrame(temp_module_results, columns=['Day', 'Temp.
Module']);
temp_module_results = temp_module_results.round(1);
1.5.7 Energía

Energía diaria para cada sistema

#Calculo Horario de Potencia AC


cont_ACPow_SysA = pvsystem.snlinverter(sc_SysA['v_mp'], sc_SysA['p_mp'], inver
ter_A)/kilo;
cont_ACPow_SysB = pvsystem.snlinverter(sc_SysB['v_mp'], sc_SysB['p_mp'], inver
ter_B)/kilo;
cont_ACPow_SysA

#Potencia AC detallada

#Sistema A
detailed_ACPow_SysA = pd.DataFrame(cont_ACPow_SysA, columns=['AC_Power'])
detailed_ACPow_SysA['Day'] = detailed_ACPow_SysA.index.day
detailed_ACPow_SysA['Hour'] = detailed_ACPow_SysA.index.hour
detailed_ACPow_SysA = detailed_ACPow_SysA[['Day', 'Hour', 'AC_Power']]

#Sistema B
detailed_ACPow_SysB = pd.DataFrame(cont_ACPow_SysB, columns=['AC_Power'])
detailed_ACPow_SysB['Day'] = detailed_ACPow_SysB.index.day
detailed_ACPow_SysB['Hour'] = detailed_ACPow_SysB.index.hour
detailed_ACPow_SysB = detailed_ACPow_SysB[['Day', 'Hour', 'AC_Power']]

#Potencia AC total diaria


daily_total_ACPow_SysA = pd.DataFrame(cont_ACPow_SysA, columns=['SysA'])
daily_total_ACPow_SysB = pd.DataFrame(cont_ACPow_SysB, columns=['SysB'])

daily_total_ACPow_SysA = daily_total_ACPow_SysA.resample('1d').sum();
daily_total_ACPow_SysB = daily_total_ACPow_SysB.resample('1d').sum();

#Resolucion horaria
delta_hour = detailed_ACPow_SysA['Hour'][1] - detailed_ACPow_SysA['Hour'][0]

#Energia Horaria
daily_energy_SysA = daily_total_ACPow_SysA * delta_hour
daily_energy_SysB = daily_total_ACPow_SysB * delta_hour

de_SysA = pd.DataFrame(daily_energy_SysA)
de_SysB = pd.DataFrame(daily_energy_SysB)
daily_energy = de_SysA.join(de_SysB)
#Grafica Energia
plt.style.use('fast')

plt.bar(r1, daily_energy['SysA'], width, label='Energia Sistema A', color='#15


80E4');
plt.bar(r3, daily_energy['SysB'], width, label='Energia Sistema B', color='#2D
BD07');

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energia para {}'.format(LosAndesSys), fontname="Helvetica", fontsiz


e=15);
plt.ylabel('Energia, [$kWh$]', fontname="Helvetica", fontsize=12);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=12);

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width/2, int_days)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Energia_PVlib.eps', bbox_inches='tight')

#Descripcion de Resultados
total_energy = daily_energy['SysA'] + daily_energy['SysB']

energy_results = list(zip(int_days, daily_energy['SysA'], daily_energy['SysB'


], total_energy));
energy_results = pd.DataFrame(energy_results, columns=['Day', 'Energy_SysA',
'Energy_SysB',
'To
tal_Energy']);
energy_results = energy_results.round(1);
1.6 Comparación con Meteocontrol

1.6.1 Obtención de datos de Meteocontrol

## radiacion
irrad_meteo=pd.read_excel('RadiacionMETEOCONTROLAGO.xlsx')
irrad_meteo.index=pd.to_datetime(irrad_meteo['Fecha'], unit='s')
irrad_meteo = pd.DataFrame(irrad_meteo)
irrad_meteo

##voltaje DC
voltaje_DC_meteo=pd.read_excel('VoltajeDCMETEOCONTROLAGO.xlsx')
voltaje_DC_meteo.index=pd.to_datetime(voltaje_DC_meteo['Fecha'], unit='s')
voltaje_DC_meteo=pd.DataFrame(voltaje_DC_meteo)

## corriente DC
corriente_DC_meteo=pd.read_excel('CorrienteDCMETEOCONTROLAGO.xlsx')
corriente_DC_meteo.index=pd.to_datetime(corriente_DC_meteo['Fecha'], unit='s')
corriente_DC_meteo=pd.DataFrame(corriente_DC_meteo)

##Potencia DC
potencia_DC_meteo=pd.read_excel('PotenciaDCMETEOCONTROLAGO.xlsx')
potencia_DC_meteo.index=pd.to_datetime(potencia_DC_meteo['Fecha'], unit='s')
potencia_DC_meteo=pd.DataFrame(potencia_DC_meteo)

##Potencia AC
potencia_AC_meteo=pd.read_excel('PotenciaACMETEOCONTROLAGO.xlsx')
potencia_AC_meteo.index=pd.to_datetime(potencia_AC_meteo['Fecha'], unit='s')
potencia_AC_meteo=pd.DataFrame(potencia_AC_meteo)

## Temperatura de modulo
tempmod_meteo=pd.read_excel('TempModuloMETEOCONTROLAGO.xlsx')
tempmod_meteo.index=pd.to_datetime(tempmod_meteo['Fecha'], unit='s')
tempmod_meteo=pd.DataFrame(tempmod_meteo)

##Energia
energia_meteo=pd.read_excel('EnergiaMETEOCONTROLAGO.xlsx')
energia_meteo.index=pd.to_datetime(energia_meteo['Fecha'], unit='s')
energia_meteo=pd.DataFrame(energia_meteo)

##Energia (diaria)
energia_meteo_res=pd.read_excel('EnergiaresMETEOCONTROLAGO.xlsx')
energia_meteo_res.index=pd.to_datetime(energia_meteo_res['Fecha'], unit='s')
energia_meteo_res=pd.DataFrame(energia_meteo_res)
1.6.2 Radiación

#Radiacion efectiva
plt.style.use('fast')

#grafica Radiacion Efectiva Comparada


fig1, ax1 = plt.subplots();

effective_irrad_calc.plot(label='Simulated', color='steelblue')
plt.plot(irrad_meteo.index,irrad_meteo['Radiación'],
label='Measured', color='goldenrod')

plt.rc('font', family='Helvetica')

plt.title('Effective Irradiance', fontname="Helvetica", fontsize=15);


plt.ylabel('Irradiance, $W/m^{2}$', fontname="Helvetica", fontsize=12);
plt.xlabel('Forecast Time for {}-{}'.format(start.strftime("%b"), start.year),
fontname="Helvetica", fontsize=12);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('RadiacionEfectiva(Pvlib Vs Meteo).png', bbox_inches='tight')

1.6.3 Voltaje DC
plt.style.use('fast')

# Grafica Voltaje DC sistema A comparado con Voltaje DC sistema A de Meteocont


rol
fig1, ax1 = plt.subplots();

sc_SysA['v_mp'].plot(label='Simulado', color='#1580E4', linewidth=2)


plt.plot(voltaje_DC_meteo.index,voltaje_DC_meteo['sistema A'],
label='Medido', color='goldenrod', linewidth=2)

plt.rc('font', family='Helvetica')

plt.title('Voltaje DC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Voltage DC, [$V$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('VoltajeDC_SistA(Pvlib vs Meteo).png', bbox_inches='tight')

# Grafica Voltaje DC sistema B comparado con Voltaje DC sistema B de Meteocont


rol
fig2, ax2 = plt.subplots();

sc_SysB['v_mp'].plot(label='Simulado', color='#2DBD07', linewidth=2)


plt.plot(voltaje_DC_meteo.index,voltaje_DC_meteo['sistema b'],
label='Medido', color='goldenrod', linewidth=2)

plt.rc('font', family='Helvetica')

plt.title('Voltaje DC sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Voltaje DC, [$V$]', fontname="Helvetica", fontsize=13);
plt.xlabel(' {}-{}'.format(start.strftime("%b"), start.year), fontname="Helvet
ica", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('VoltajeDC_SistB(Pvlib vs Meteo).png', bbox_inches='tight')

1.6.4 Corriente DC
plt.style.use('fast')

# Grafica Corriente DC sistema A comparado con Corriente DC sistema A de Meteo


control
fig1, ax1 = plt.subplots();

sc_SysA['i_mp'].plot(label='Simulado', color='#1580E4', linewidth=2)


plt.plot(corriente_DC_meteo.index,corriente_DC_meteo['systema A'],
label='Medido', color='goldenrod', linewidth=2)

plt.rc('font', family='Helvetica')

plt.title('Corriente DC sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Corriente DC, [$A$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('CorrienteDC_sysA(Pvlib vs Meteo).png', bbox_inches='tight')

# Grafica Corriente DC sistema B comparado con Corriente DC sistema B de Meteo


control
fig2, ax2 = plt.subplots();

sc_SysB['i_mp'].plot(label='Simulado', color='#2DBD07', linewidth=2)


plt.plot(corriente_DC_meteo.index, corriente_DC_meteo['sistema B'],
label='Medido', color='goldenrod', linewidth=2)

plt.rc('font', family='Helvetica')

plt.title('Corriente DC sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('corriente DC, [$A$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('CorrienteDC_sysB(Pvlib vs Meteo).png', bbox_inches='tight')

1.6.5 Potencia DC
plt.style.use('fast')

# Grafica Potencia DC sistema A comparado con Potencia DC sistema A de Meteoco


ntrol
fig1, ax1 = plt.subplots();

kilo_DCPow_Sim_SysA = sc_SysA['p_mp']/kilo
kilo_DCPow_Mea_SysA = potencia_DC_meteo['Sistema A']/kilo

kilo_DCPow_Sim_SysA.plot(label='Simulado', color='#1580E4', linewidth=2)


plt.plot(potencia_DC_meteo.index, kilo_DCPow_Mea_SysA,
label='Medido', color='goldenrod', linewidth=2)

plt.rc('font', family='Helvetica')

plt.title('Potencia DC sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Potencia DC, [$kW$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('PotenciaDC_SysA(PVLIB vs Meteo).png', bbox_inches='tight')

# Grafica Potencia DC sistema B comparado con Potencia DC sistema B de Meteoco


ntrol
fig2, ax2 = plt.subplots();

kilo_DCPow_Sim_SysB = sc_SysB['p_mp']/kilo
kilo_DCPow_Mea_SysB = potencia_DC_meteo['sistema B']/kilo

kilo_DCPow_Sim_SysB.plot(label='Simulado', color='#2DBD07', linewidth=2)


plt.plot(potencia_DC_meteo.index, kilo_DCPow_Mea_SysB,
label='Medido', color='goldenrod', linewidth=2)

plt.rc('font', family='Helvetica')

plt.title('Potencia DC sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Potencia DC, [$kW$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)


plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('PotenciaDC_SysB(PVLIB vs Meteo).png', bbox_inches='tight')

1.6.6 Potencia AC
# Pasar Potencia Ac de W a KW
kilo_ACPow_Mea_SysA = potencia_AC_meteo['Sistema A']/kilo
kilo_ACPow_Mea_SysB = potencia_AC_meteo['Sistema B']/kilo

plt.style.use('fast')

# Grafica Potencia AC sistema A comparado con Potencia AC sistema A de Meteoco


ntrol
fig1, ax1 = plt.subplots();

cont_ACPow_SysA.plot(label='Simulado', color='#1580E4', linewidth=2)


plt.plot(potencia_AC_meteo.index, kilo_ACPow_Mea_SysA,
label='Medido', color='goldenrod', linewidth=2)

plt.rc('font', family='Helvetica')

plt.title('Potencia AC sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Potencia AC, [$kW$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('PotenciaAC_SysA(Pvlib vs Meteo).png', bbox_inches='tight')

## Grafica Potencia AC sistema B comparado con Potencia AC sistema B de Meteoc


ontrol
fig2, ax2 = plt.subplots();

cont_ACPow_SysB.plot(label='Simulado', color='#2DBD07', linewidth=2)


plt.plot(potencia_AC_meteo.index, kilo_ACPow_Mea_SysB,
label='Medido', color='goldenrod', linewidth=2)

plt.rc('font', family='Helvetica')

plt.title('Potencia AC sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Potencia AC, [$kW$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('PotenciaAC_SysB(Pvlib vs Meteo).png', bbox_inches='tight')
1.6.7 Temperatura del modulo

plt.style.use('fast')
# Grafica Temperatura de modulo comparado con Temperatura de modulo de Meteoco
ntrol

fig1, ax1 = plt.subplots();

pvtemps.plot(label='Simulado', color='#1580E4', linewidth=2)


plt.plot(tempmod_meteo.index, tempmod_meteo['Temperatura de modulos [°C]'],
label='Medido', color='goldenrod', linewidth=2)

plt.rc('font', family='Helvetica')

plt.title('Temperatura del modulo', fontname="Helvetica", fontsize=15);


plt.ylabel('Temperatura, [$ºC$]', fontname="Helvetica", fontsize=13);
plt.xlabel('{}-{}'.format(start.strftime("%b"), start.year), fontname="Helveti
ca", fontsize=13);
plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(8, None)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('TemperaturaModulo(Pvlib vs Meteo).png', bbox_inches='tight')

1.6.8 Energia Diaria

# Energia Diaria maxima


mea_daily_energy_SysA=energia_meteo_res['max_diarioA']
mea_daily_energy_SysB=energia_meteo_res['max_diarioB']
## Grafica Energia Diaria
plt.style.use('fast')

## Grafica Energia Diaria del sistema A comparado con Energia Diaria de sistem
a A de Meteocontrol
fig1, ax1 = plt.subplots();

plt.bar(r1, daily_energy['SysA'], width, label='Simulated', color='#1580E4', l


inewidth=4);
plt.bar(r2, mea_daily_energy_SysA, width, label='Measured', color='goldenrod',
linewidth=4);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energia Diaria Sisteama A', fontname="Helvetica",


fontsize=15); plt.ylabel('Energía, $kWh$', fontname="Helvetica",
fontsize=12);
plt.xlabel('Fecha para{}-{}'.format(start.strftime("%b"), start.year),
fontname="Helvetica", fontsize=12);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width/2, int_days)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Energia_sysA(Pvlib vs Meteo).png', bbox_inches='tight')

# Grafica Energia Diaria del sistema B comparado con Energia Diaria de sistema
B de Meteocontrol
fig2, ax2 = plt.subplots();

plt.bar(r1, daily_energy['SysB'], width, label='Simulated', color='#2DBD07', l


inewidth=4);
plt.bar(r2, mea_daily_energy_SysB, width, label='Measured', color='goldenrod',
linewidth=4);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energia diaria Sistema B', fontname="Helvetica",


fontsize=15); plt.ylabel('Energía, $kWh$', fontname="Helvetica",
fontsize=12);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year),
fontname="Helvetica", fontsize=12);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width/2, int_days)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Energia_sysB(Pvlib vs Meteo).png', bbox_inches='tight')
Sección 1.7: Comparación 2 (1 semana)

En esta comprobación, se usarán datos de radiación efectiva de la semana del 20


al 26 de agosto del 2020 de la plataforma Meteocontrol con el fin de comprobar la
exactitud del programa teniendo datos confiables de radiación.

1.8.1 Iniciación modelo

### Volvemos a importar todo lo necesario


# como primer paso es importante configurar pyton
%matplotlib inline
import matplotlib.pyplot as plt

## se llaman los modulos de python


import datetime
import os
import inspect
import csv
## se llaman las libretas externas
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
from matplotlib import dates as mpl_dates
from scipy import stats

## para poder accedar a Unidata THREDDS


from siphon.catalog import TDSCatalog
from siphon.ncss import NCSS

## modulos de pvlib-Sandia

import pvlib
from pvlib import solarposition, irradiance, atmosphere, pvsystem

# se importan los diferentes metodos de obtencion de datos metereologicos, GF


S, HRRR_ESRL, NAM, NDFD, HRRR, RAP
import pvlib
from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP

# Metodos de ubicacion PVLIB


from pvlib.location import Location

# Metodos de potencia Sandia-Pvlib


from pvlib.pvsystem import PVSystem, retrieve_sam
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain
# Ubicacion y Zona Horaria de Bogota
latitude = 4.6024
longitude = -74.0674
tz = 'America/Bogota'

start = pd.Timestamp('2020-08-20', tz=tz) #inicio, 20 de agosto del 2020


end = pd.Timestamp('2020-08-26', tz=tz) #final 26 de agosto del 2020

location = Location(latitude, longitude, tz, altitude=2624)

# Importacion Datos de Meteocontrol


file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/Meteocontrol_Data.xls
x'
#Meteocontrol Irradiance Measurement
irrad_sheet = 'Radiacin_2020_08'
measured_irrad = pd.read_excel(io=file_name, sheet_name=irrad_sheet)
measured_irrad = pd.DataFrame(measured_irrad)

#Meteocontrol DC Voltage Measurement


dcvoltage_sheet = 'Tensin_DC_2020_08'
measured_dcvoltage = pd.read_excel(io=file_name, sheet_name=dcvoltage_sheet)
measured_dcvoltage = pd.DataFrame(measured_dcvoltage)

#Meteocontrol DC Current Measurement


dccurrent_sheet = 'Corriente_DC_2020_08'
measured_dccurrent = pd.read_excel(io=file_name, sheet_name=dccurrent_sheet)
measured_dccurrent = pd.DataFrame(measured_dccurrent)

#Meteocontrol DC Power Measurement


dcpower_sheet = 'Potencia_DC_2020_08'
measured_dcpower = pd.read_excel(io=file_name, sheet_name=dcpower_sheet)
measured_dcpower = pd.DataFrame(measured_dcpower)

#Meteocontrol AC Power Measurement


acpower_sheet = 'Potencia_AC_2020_08'
measured_acpower = pd.read_excel(io=file_name, sheet_name=acpower_sheet)
measured_acpower = pd.DataFrame(measured_acpower)

#Meteocontrol Module Temperature Measurement


modtemp_sheet = 'Temperatura-Energa_2020_08'
measured_modtemp = pd.read_excel(io=file_name, sheet_name=modtemp_sheet)
measured_modtemp = pd.DataFrame(measured_modtemp)

#Meteocontrol Energy Measurement


energy_sheet = 'Energa_2020_08'
measured_energy = pd.read_excel(io=file_name, sheet_name=energy_sheet)
measured_energy = pd.DataFrame(measured_energy)
# Tratamientos de datos de irradiancia.
new_irrad = []
for data in measured_irrad['Meteocontrol Irrad., W/m2']:
if data <= 1.8:
new_irrad.append(0)
else:
new_irrad.append(data)

new_irrad = pd.DataFrame(new_irrad)

new_irrad = new_irrad.set_index(measured_irrad.index)

measured_irrad['New Meteo. Irrad., W/m2'] = new_irrad

# Obtencion caracteristicas de los inversores


# Sistema A
inverter_sys1 = pd.read_csv('CEC Inverters.csv')
inverter_a=inverter_sys1.iloc[164]
inverter_A=pd.to_numeric(inverter_a, errors='coerce')
# Sistema B
inverter_sys2=pd.read_csv('CEC Inverters.csv')
inverter_b=inverter_sys1.iloc[154]
inverter_B=pd.to_numeric(inverter_b, errors='coerce')
# Creacion del modulo usado en el Sistema Solar Fotovoltaico de la Universidad
de los Andes

LG400N2WA5 = {
'BIPV': 'N',
'Date': '1/3/2019',
'T_NOCT': 47.7,
'A_c': 2.0,
'N_s': 72,
'I_sc_ref': 10.47,
'V_oc_ref': 49.3,
'I_mp_ref': 9.86,
'V_mp_ref': 40.6,
'alpha_sc': 0.003141,
'beta_oc': -0.12180,
'a_ref': 1.821208,
'I_L_ref': 10.481150,
'I_o_ref': 1.807477e-11,
'R_s': 0.312859,
'R_sh_ref': 293.805420,
'Adjust': 9.380614,
'gamma_r': -0.36,
'Version': 'NRELv1',
'PTC': 368.4,
'Technology': 'Mono-c-Si',
'Name': 'LG Electronics LG385N2W-A5',

module = pd.Series(LG400N2WA5, name='LG_Electronics_LG385N2W_A5')


##Definicion sistema

#Sistema A
sysA_name = 'Los Andes 51.25 kWp System Capacity';
mps_SysA = 16; #Modulos Por String
spi_SysA = 8; #Strings Por Inversor

system_A = PVSystem(module_parameters=module, inverter_parameters=inverter_A,


surface_azimuth=180,
surface_tilt=10, modules_per_string=mps_SysA, strings_per_
inverter=spi_SysA)

#System B
sysB_name = 'Los Andes 28.82 kWp System Capacity';
mps_SysB = 18; #Modulos Por String
spi_SysB = 4; #Strings Por Inversor
system_B = PVSystem(module_parameters=module, inverter_parameters=inverter_B,
surface_azimuth=180,
surface_tilt=10, modules_per_string=mps_SysB, strings_per_
inverter=spi_SysB)
# Obtencion valores de Vmp, Imp, y Pmp metodo CEC
IL, I0, Rs, Rsh, nNsVth = pvsystem.calcparams_cec(measured_irrad['New Meteo. I
rrad., W/m2'],
measured_modtemp['Modules
Temp, °C'],
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=9.380614,
EgRef=1.121, #Retrieved f
rom last link at above description
dEgdT=-0.0002677) #Retrie
ved from last link at above description

curve_info = pvsystem.singlediode(photocurrent=IL,
saturation_current=I0,
resistance_series=Rs,
resistance_shunt=Rsh,
nNsVth=nNsVth,
ivcurve_pnts=100,
method='lambertw')

# Usando los parametros anterioemente calculados para el metodo "Single Diode"


data_i_sc = pd.Series(curve_info['i_sc'])
data_v_oc = pd.Series(curve_info['v_oc'])
data_i_mp = pd.Series(curve_info['i_mp'])
data_v_mp = pd.Series(curve_info['v_mp'])
data_p_mp = pd.Series(curve_info['p_mp'])
data_i_x = pd.Series(curve_info['i_x'])
data_i_xx = pd.Series(curve_info['i_xx'])

# Organizar los datos del metodo de " Single Diode "


results_general = pd.DataFrame({'i_sc': data_i_sc,
'v_oc': data_v_oc,
'i_mp': data_i_mp,
'v_mp': data_v_mp,
'p_mp': data_p_mp,
'i_x': data_i_x,
'i_xx': data_i_xx})

datetime_index=pd.read_excel(io=file_name, sheet_name=irrad_sheet)
datetime_index=pd.DataFrame(datetime_index)
datetime_index=datetime_index.set_index(pd.to_datetime(datetime_index['datetim
e']))

sc_SysA = system_A.scale_voltage_current_power(results_general)
sc_SysA.index=pd.to_datetime(datetime_index.index, unit='s')

sc_SysB = system_B.scale_voltage_current_power(results_general)
sc_SysB.index=pd.to_datetime(datetime_index.index, unit='s')
# Combiando el "Datetime-Index" para la Radiacion obtenida de Meteocontrol
irrad_meteo=pd.read_excel('Radiacion_Bien_Meteocontrol.xlsx')
irrad_meteo = pd.DataFrame(irrad_meteo)
irrad_meteo = irrad_meteo.set_index(pd.to_datetime(irrad_meteo['datetime']))
irrad_meteo.head()
# Combiando el "Datetime-Index" para la temperatura de modulo obtenida de Mete
ocontrol
temp_mod=pd.read_excel('TempModuloMETEOCONTROLAGObien.xlsx')
temp_mod = pd.DataFrame(temp_mod)
temp_mod = temp_mod.set_index(pd.to_datetime(temp_mod['datetime']))

# Obtencion maximos valores de irradiancia efectiva, maxima temperatura de mod


ulo diarios
max_irrad = irrad_meteo['Radiación'].resample('1d').max();

max_location = irrad_meteo['Radiación'].resample('1d').apply(lambda s: s.idxma


x());

max_temp_cell = temp_mod['Temperatura de modulos [°C]'].resample('1d').max();

cases = list(zip(max_location.values, max_irrad.values, max_temp_cell.values


));
conditions = pd.DataFrame(cases, columns=['Datetime', 'Geff', 'Tcell']);
conditions = conditions.round(2);

# Obtencion valores de Vmp, Imp, y Pmp metodo CEC


IL_CEC, I0_CEC, Rs_CEC, Rsh_CEC, nNsVth_CEC = pvsystem.calcparams_cec(conditio
ns['Geff'],
conditions['Tcell'],
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=9.380614,
EgRef=1.121, #Retrieved f
rom last link at above description
dEgdT=-0.0002677) #Retrie
ved from last link at above description

curve_info_CEC = pvsystem.singlediode(photocurrent=IL_CEC,
saturation_current=I0_CEC,
resistance_series=Rs_CEC,
resistance_shunt=Rsh_CEC,
nNsVth=nNsVth_CEC,
ivcurve_pnts=100,
method='lambertw')
1.8.2 Curva IV

# Grafica Curva I-V


plt.style.use('fast')
plt.rc('font', family='Helvetica')
plt.figure()

for i, case in conditions.iterrows():


label = (
f"{case['Datetime'].strftime('%d-%b-%Y')}: "
"$G_{max} = $ " + f"{case['Geff']} $W/m^2$ & "
"$Tmod_{max} = $ " + f"{case['Tcell']} $ºC$")

plt.plot(curve_info_CEC['v'][i], curve_info_CEC['i'][i], label=label)


v_mp = curve_info_CEC['v_mp'][i]
i_mp = curve_info_CEC['i_mp'][i]
# mark the MPP
plt.plot([v_mp], [i_mp], ls='', marker='o', c='k')

plt.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.title('Módulo ' + LG400N2WA5['Name'], fontname="Helvetica", fontsize=15);


plt.ylabel('Corriente, $A$', fontname="Helvetica", fontsize=12);
plt.xlabel('Voltaje, $V$', fontname="Helvetica", fontsize=12);
plt.ylim(0, None)
plt.xlim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Curva_IV_con_METEO', bbox_inches='tight')
plt.show()
plt.gcf().set_tight_layout(True)

data_summary_CEC = pd.DataFrame({'i_sc': curve_info_CEC['i_sc'],


'v_oc': curve_info_CEC['v_oc'],
'i_mp': curve_info_CEC['i_mp'],
'v_mp': curve_info_CEC['v_mp'],
'p_mp': curve_info_CEC['p_mp'],
'i_x': curve_info_CEC['i_x'],
'i_xx': curve_info_CEC['i_xx']})

data_summary_CEC = data_summary_CEC.round(2)
print(data_summary_CEC)
i_sc v_oc i_mp v_mp p_mp i_x i_xx
0 10.26 46.58 9.61 37.86 363.67 10.18 6.89
1 5.12 46.47 4.82 39.20 188.90 5.08 3.70
2 5.80 46.12 5.45 38.64 210.55 5.76 4.13
3 5.74 46.86 5.40 39.43 213.09 5.70 4.11
4 9.61 45.75 8.98 37.18 334.00 9.53 6.47
5 8.70 45.18 8.13 36.86 299.75 8.64 5.91
6 4.56 46.42 4.29 39.32 168.77 4.53 3.32

<Figure size 432x288 with 0 Axes>

1.8.3 Perdidas

# Perdidas
losses_pvw = pvsystem.pvwatts_losses(soiling=2, shading=3, snow=0, mismatch=2,
wiring=2,
connections=0.5, lid=1.5, nameplate_rat
ing=1, age=0,
availability=3)

losses = 26.9 #"Performance Parameters for Grid-Connected PV Systems by NREL"


losses = losses/100

# Ecuacion de perdidas de NREL PVWatts


derate_factor = 0.731 # Factor "Derate"para NOCT
eta_inv_nom = 0.98184
derate = derate_factor/eta_inv_nom
percentage_error = (1-derate)*100

losses_pvw = percentage_error/100

#Perdidas Sistema A
sc_SysA['i_mp'] = sc_SysA['i_mp'] - sc_SysA['i_mp']*losses
sc_SysA['p_mp'] = sc_SysA['p_mp'] - sc_SysA['p_mp']*losses

#Perdidas sistema B
sc_SysB['i_mp'] = sc_SysB['i_mp'] - sc_SysB['i_mp']*losses
sc_SysB['p_mp'] = sc_SysB['p_mp'] - sc_SysB['p_mp']*losses
1.8.4 Voltaje DC

# Cambiando index de voltaje de meteocontrol


measured_dcvoltage = measured_dcvoltage.set_index(sc_SysA.index)

#Grafica de Comparacion Voltaje DC


plt.style.use('fast')

#Grafica para Sistema A


fig1, ax1 = plt.subplots();

measured_dcvoltage['sistema A'].plot(label='Medido', color='goldenrod', linewi


dth=2)
sc_SysA['v_mp'].plot(label='Modelado', color='#1580E4', linewidth=2)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Voltaje DC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Voltaje DC, [$V$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1),fontsize=9); plt.tight_layout;
plt.savefig('Voltaje_DC_SIS_A_con_Meteo.png', bbox_inches='tight')

#Grafica para Sistema B


fig2, ax2 = plt.subplots();

measured_dcvoltage['sistema B'].plot(label='Medido', color='goldenrod', linewi


dth=2)
sc_SysB['v_mp'].plot(label='Modelado', color='#2DBD07', linewidth=2)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Voltaje DC Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Voltaje DC, [$V$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1),fontsize=9);
plt.tight_layout;
plt.savefig('Voltaje_DC_SIS_B_con_Meteo.png', bbox_inches='tight')
x_axis = np.linspace(int(start.day), int(end.day), int(len(sc_SysA['v_mp'])))

#Otras Graficas de comparacion


plt.style.use('fast')

#Grafica para Sistema A


fig1, ax1 = plt.subplots();

plt.scatter(x_axis, measured_dcvoltage['sistema A'], label='Medido', color='go


ldenrod')
plt.scatter(x_axis, sc_SysA['v_mp'], label='Modelado', color='#1580E4', s=10)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Voltaje DC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Voltaje DC, [$V$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=13);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Voltaje_DC_SIS_A_con_Meteo_DISP.png', bbox_inches='tight')

#Grafica para Sistema B


fig2, ax2 = plt.subplots();

plt.scatter(x_axis, measured_dcvoltage['sistema B'], label='Medido', color='go


ldenrod')
plt.scatter(x_axis, sc_SysB['v_mp'], label='Modelado', color='#2DBD07', s=10)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Voltaje DC Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Voltaje DC, [$V$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=13);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Voltaje_DC_SIS_B_con_Meteo_DISP.png', bbox_inches='tight')
#Grafica para Sistema A
meas_voltage_SysA = []
sim_voltage_SysA = []

limvalue_SysA = 150

for i,j in list(zip(measured_dcvoltage['sistema A'], sc_SysA['v_mp'])):


if i - j > limvalue_SysA or i - j < -limvalue_SysA:
meas_voltage_SysA.append(0)
else:
meas_voltage_SysA.append(i)

for i,j in list(zip(measured_dcvoltage['sistema A'], sc_SysA['v_mp'])):


if i - j > limvalue_SysA or i - j < -limvalue_SysA:
sim_voltage_SysA.append(0)
else:
sim_voltage_SysA.append(j)

#Regrecion lineal
x_value = []
y_value = []
for i,j in list(zip(meas_voltage_SysA, sim_voltage_SysA)):
if i == 0 and j == 0:
pass
else:
x_value.append(i)
y_value.append(j)

coef_SysA = np.polyfit(x_value, y_value, 1)


poly1d_fn_SysA = np.poly1d(coef_SysA)

slope_SysA, intercept_SysA, r_value_SysA, p_value_SysA, std_err_SysA = stats.l


inregress(x_value, y_value)

data_descrip = ['Slope', 'Intercept', 'r_value', 'p_value', 'Std. Error']


data_result_SysA = [slope_SysA, intercept_SysA, r_value_SysA, p_value_SysA, st
d_err_SysA]

#Grafica para Sistema A


fig1, ax1 = plt.subplots();

x = np.linspace(0, 700, 700)


y_reg = slope_SysA*x + intercept_SysA

plt.plot(x_value, poly1d_fn_SysA(x_value), '--k',


label=("Mod = " + f"{slope_SysA.round(2)} $· \:$ Med $+ \:$" + f"{int
ercept_SysA.round(2)} \n $R^2 = $"
+ f"{r_value_SysA.round(4)}"), color='#1580E4', linewidth=2, zo
rder = 10)

plt.scatter(meas_voltage_SysA, sim_voltage_SysA, color='black', marker='o', s=


3)

y = x
plt.plot(x, y, '--', color='#222020', linewidth=0.5)
plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Voltaje DC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Modelado, [$V$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Medido, [$V$]', fontname="Helvetica", fontsize=13);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.xlim(0, 700);
plt.ylim(0, 700);
plt.grid(True);
plt.legend(fontsize=10.5, loc='lower right');
plt.tight_layout;
plt.savefig('RegresionV_DC.png', bbox_inches='tight')

#Grafica para Sistema B


meas_voltage_SysB = []
sim_voltage_SysB = []

limvalue_SysB = 150

for i,j in list(zip(measured_dcvoltage['sistema B'], sc_SysB['v_mp'])):


if i - j > limvalue_SysB or i - j < -limvalue_SysB:
meas_voltage_SysB.append(0)
else:
meas_voltage_SysB.append(i)

for i,j in list(zip(measured_dcvoltage['sistema B'], sc_SysB['v_mp'])):


if i - j > limvalue_SysB or i - j < -limvalue_SysB:
sim_voltage_SysB.append(0)
else:
sim_voltage_SysB.append(j)

#Regresion lineal
x_value = []
y_value = []
for i,j in list(zip(meas_voltage_SysB, sim_voltage_SysB)):
if i == 0 and j == 0:
pass
else:
x_value.append(i)
y_value.append(j)

coef_SysB = np.polyfit(x_value, y_value, 1)


poly1d_fn_SysB = np.poly1d(coef_SysB)

slope_SysB, intercept_SysB, r_value_SysB, p_value_SysB, std_err_SysB = stats.l


inregress(x_value, y_value)

data_descrip = ['Slope', 'Intercept', 'r_value', 'p_value', 'Std. Error']


data_result_SysB = [slope_SysB, intercept_SysB, r_value_SysB, p_value_SysB, st
d_err_SysB]

#Grafica para Sistema B


fig2, ax2 = plt.subplots();
x = np.linspace(0, 850, 850)
y_reg = slope_SysB*x + intercept_SysB

plt.plot(x_value, poly1d_fn_SysB(x_value), '--k',


label=("Mod = " + f"{slope_SysB.round(2)} $· \:$ Med $+ \:$" + f"{int
ercept_SysB.round(2)} \n $R^2 = $"
+ f"{r_value_SysB.round(4)}"), color='#2DBD07', linewidth=2, zo
rder = 10)

plt.scatter(meas_voltage_SysB, sim_voltage_SysB, color='black', marker='o', s=


3)

y = x
plt.plot(x, y, '--', color='#222020', linewidth=0.5)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Voltaje DC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Modelado, [$V$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Medido, [$V$]', fontname="Helvetica", fontsize=13);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.xlim(0, 850);
plt.ylim(0, 850);
plt.grid(True);
plt.legend(fontsize=10.5, loc='lower right');
plt.tight_layout;
plt.savefig('RegresionV_DC.png', bbox_inches='tight')
1.8.5 Corriente DC
#Cambiando el index para la corriente DC medida por Meteocontrol
measured_dccurrent = measured_dccurrent.set_index(sc_SysA.index)

#Grafica de comparacion de Corriente DC


plt.style.use('fast')

#Grafica para Sistema A


fig1, ax1 = plt.subplots();

sc_SysA['i_mp'].plot(label='Modelado', color='#1580E4', linewidth=2, zorder=5)


measured_dccurrent['sistema A'].plot(label='Medido', color='goldenrod', linewi
dth=2)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Corriente DC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Corriente DC, [$A$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1),fontsize=9);
plt.tight_layout;
plt.savefig('Corriente_DC_CON_METEO_SYSA.png', bbox_inches='tight')

#Grafica para Sistema B


fig2, ax2 = plt.subplots();

sc_SysB['i_mp'].plot(label='Modelado', color='#2DBD07', linewidth=2, zorder=5)


measured_dccurrent['sistema B'].plot(label='Medido', color='goldenrod', linewi
dth=2)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Corriente DC Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Corriente DC, [$A$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=13);

plt.gcf().autofmt_xdate();
date_format = mpl_dates.DateFormatter('%d');
plt.gca().xaxis.set_major_formatter(date_format);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Corriente_DC_CON_METEO_SYSB.png', bbox_inches='tight')
x_axis = np.linspace(int(start.day), int(end.day), int(len(sc_SysA['i_mp'])))

#Otras graficas de comparacion de corriente DC


plt.style.use('fast')

#Grafica para Sistema A


fig1, ax1 = plt.subplots();

plt.scatter(x_axis, measured_dccurrent['sistema A'], label='Medido', color='go


ldenrod')
plt.scatter(x_axis, sc_SysA['i_mp'], label='Modelado', color='#1580E4', s=10)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Corriente DC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Corriente DC, [$A$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=13);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Corriente_DC_CON_METEO_SYSA_DISPERSION.png', bbox_inches='tight')

#System B Figure
fig2, ax2 = plt.subplots();

plt.scatter(x_axis, measured_dccurrent['sistema B'], label='Medido', color='go


ldenrod')
plt.scatter(x_axis, sc_SysB['i_mp'], label='Modelado', color='#2DBD07', s=10)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Corriente DC Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Corriente DC, [$A$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=13);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Corriente_DC_CON_METEO_SYSB_DISPERSION.png', bbox_inches='tight')
#Grafica para Sistema A
meas_current_SysA = []
sim_current_SysA = []

limvalue_SysA = 280

for i,j in list(zip(measured_dccurrent['sistema A'], sc_SysA['i_mp'])):


if i - j > limvalue_SysA or i - j < -limvalue_SysA:
meas_current_SysA.append(0)
else:
meas_current_SysA.append(i)

for i,j in list(zip(measured_dccurrent['sistema A'], sc_SysA['i_mp'])):


if i - j > limvalue_SysA or i - j < -limvalue_SysA:
sim_current_SysA.append(0)
else:
sim_current_SysA.append(j)

#Regresion Lienal
x_value = []
y_value = []
for i,j in list(zip(meas_current_SysA, sim_current_SysA)):
if i == 0 and j == 0:
pass
else:
x_value.append(i)
y_value.append(j)

coef_SysA = np.polyfit(x_value, y_value, 1)


poly1d_fn_SysA = np.poly1d(coef_SysA)

slope_SysA, intercept_SysA, r_value_SysA, p_value_SysA, std_err_SysA = stats.l


inregress(x_value, y_value)

data_descrip = ['Slope', 'Intercept', 'r_value', 'p_value', 'Std. Error']


data_result_SysA = [slope_SysA, intercept_SysA, r_value_SysA, p_value_SysA, st
d_err_SysA]

#Grafica para Sistema A


fig1, ax1 = plt.subplots();
axis_lim = 100

x = np.linspace(0, axis_lim, axis_lim)


y_reg = slope_SysA*x + intercept_SysA

plt.plot(x_value, poly1d_fn_SysA(x_value), '--k',


label=("Mod = " + f"{slope_SysA.round(2)} $· \:$ Med $+ \:$" + f"{int
ercept_SysA.round(2)} \n $R^2 = $"
+ f"{r_value_SysA.round(4)}"), color='#1580E4', linewidth=2, zo
rder = 10)

plt.scatter(meas_current_SysA, sim_current_SysA, color='black', marker='o', s=


3)

y = x
plt.plot(x, y, '--', color='#222020', linewidth=0.5)
plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Corriente DC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Modelado, [$A$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Medido, $A$', fontname="Helvetica", fontsize=13);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.xlim(0, axis_lim);
plt.ylim(0, axis_lim);
plt.grid(True);
plt.legend(fontsize=10.5, loc='lower right');
plt.tight_layout;
plt.savefig('Regresion_CORRIENTE_DC_CON_METEO_SYSA.png', bbox_inches='tight')

#Grafica para Sistema B


meas_current_SysB = []
sim_current_SysB = []

limvalue_SysB = 100

for i,j in list(zip(measured_dccurrent['sistema B'], sc_SysB['i_mp'])):


if i - j > limvalue_SysB or i - j < -limvalue_SysB:
meas_current_SysB.append(0)
else:
meas_current_SysB.append(i)

for i,j in list(zip(measured_dccurrent['sistema B'], sc_SysB['i_mp'])):


if i - j > limvalue_SysB or i - j < -limvalue_SysB:
sim_current_SysB.append(0)
else:
sim_current_SysB.append(j)

#Regresion Lineal
x_value = []
y_value = []
for i,j in list(zip(meas_current_SysB, sim_current_SysB)):
if i == 0 and j == 0:
pass
else:
x_value.append(i)
y_value.append(j)

coef_SysB = np.polyfit(x_value, y_value, 1)


poly1d_fn_SysB = np.poly1d(coef_SysB)

slope_SysB, intercept_SysB, r_value_SysB, p_value_SysB, std_err_SysB = stats.l


inregress(x_value, y_value)

data_descrip = ['Slope', 'Intercept', 'r_value', 'p_value', 'Std. Error']


data_result_SysB = [slope_SysB, intercept_SysB, r_value_SysB, p_value_SysB, st
d_err_SysB]

#Grafica para Sistema B


fig2, ax2 = plt.subplots();
axis_lim = 50

x = np.linspace(0, axis_lim, axis_lim)


y_reg = slope_SysB*x + intercept_SysB

plt.plot(x_value, poly1d_fn_SysB(x_value), '--k',


label=("Mod = " + f"{slope_SysB.round(2)} $· \:$ Med $+ \:$" + f"{int
ercept_SysB.round(2)} \n $R^2 = $"
+ f"{r_value_SysB.round(4)}"), color='#2DBD07', linewidth=2, zo
rder = 10)

plt.scatter(meas_current_SysB, sim_current_SysB, color='black', marker='o', s=


3)

y = x
plt.plot(x, y, '--', color='#222020', linewidth=0.5)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Corriente DC Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Modelado, [$A$]', fontname="Helvetica", fontsize=13);
plt.xlabel('Medido, $A$', fontname="Helvetica", fontsize=13);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.xlim(0, axis_lim);
plt.ylim(0, axis_lim);
plt.grid(True);
plt.legend(fontsize=10.5, loc='lower right');
plt.tight_layout;
plt.savefig('Regresion_CORRIENTE_DC_CON_METEO_SYSB.png', bbox_inches='tight')
1.8.6 Potencia DC
kilo = 1000;

#Grafica para Sistema A


#Regresion Lienal
x_value = measured_dcpower['sistema A']/kilo
y_value = sc_SysA['p_mp']/kilo

coef_SysA = np.polyfit(x_value, y_value, 1)


poly1d_fn_SysA = np.poly1d(coef_SysA)

slope_SysA, intercept_SysA, r_value_SysA, p_value_SysA, std_err_SysA = stats.l


inregress(x_value, y_value)

data_descrip = ['Slope', 'Intercept', 'r_value', 'p_value', 'Std. Error']


data_result_SysA = [slope_SysA, intercept_SysA, r_value_SysA, p_value_SysA, st
d_err_SysA]

#Grafica para Sistema B


fig1, ax1 = plt.subplots();
axis_lim = 50

x = np.linspace(0, axis_lim, axis_lim)


y_reg = slope_SysA*x + intercept_SysA

plt.plot(x_value, poly1d_fn_SysA(x_value), '--k',


label=("Mod = " + f"{slope_SysA.round(2)} $· \:$ Med $+ \:$" + f"{int
ercept_SysA.round(2)} \n $R^2 = $"
+ f"{r_value_SysA.round(4)}"), color='#1580E4', linewidth=2, zo
rder = 10)

plt.scatter(measured_dcpower['sistema A']/kilo, sc_SysA['p_mp']/kilo, color='b


lack', marker='o', s=3)

y = x
plt.plot(x, y, '--', color='#222020', linewidth=0.5)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia DC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Modelado, $kW$', fontname="Helvetica", fontsize=13);
plt.xlabel('Medido, $kW$', fontname="Helvetica", fontsize=13);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.xlim(0, axis_lim);
plt.ylim(0, axis_lim);
plt.grid(True);
plt.legend(fontsize=10.5, loc='lower right');
plt.tight_layout;
plt.savefig('POTENCIA_DC_CON_METEO_SYSA.png', bbox_inches='tight')

#Grafica para Sistema B


#Regresion lineal
x_value = measured_dcpower['sistema B']/kilo
y_value = sc_SysB['p_mp']/kilo

coef_SysB = np.polyfit(x_value, y_value, 1)


poly1d_fn_SysB = np.poly1d(coef_SysB)

slope_SysB, intercept_SysB, r_value_SysB, p_value_SysB, std_err_SysB = stats.l


inregress(x_value, y_value)

data_descrip = ['Slope', 'Intercept', 'r_value', 'p_value', 'Std. Error']


data_result_SysB = [slope_SysB, intercept_SysB, r_value_SysB, p_value_SysB, st
d_err_SysB]

#Grafica para Sistema B


fig2, ax2 = plt.subplots();
axis_lim = 30

x = np.linspace(0, axis_lim, axis_lim)


y_reg = slope_SysB*x + intercept_SysB

plt.plot(x_value, poly1d_fn_SysB(x_value), '--k',


label=("Mod = " + f"{slope_SysB.round(2)} $· \:$ Med $+ \:$" + f"{int
ercept_SysB.round(2)} \n $R^2 = $"
+ f"{r_value_SysB.round(4)}"), color='#2DBD07', linewidth=2, zo
rder = 10)

plt.scatter(measured_dcpower['sistema B']/kilo, sc_SysB['p_mp']/kilo, color='b


lack', marker='o', s=3)

y = x
plt.plot(x, y, '--', color='#222020', linewidth=0.5)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia DC Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Modelado, $kW$', fontname="Helvetica", fontsize=13);
plt.xlabel('Medido, $kW$', fontname="Helvetica", fontsize=13);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.xlim(0, axis_lim);
plt.ylim(0, axis_lim);
plt.grid(True);
plt.legend(fontsize=10.5, loc='lower right');
plt.tight_layout;
plt.savefig('POTENCIA_DC_CON_METEO_SYSB.png', bbox_inches='tight')
1.8.7 Potencia AC

#Peridas del Sistema A y B


sc_SysA['v_mp'] = sc_SysA['v_mp'] - sc_SysA['v_mp']*losses
sc_SysB['v_mp'] = sc_SysB['v_mp'] - sc_SysB['v_mp']*losses

# Calculo Potencia AC para el sistema A y B

ACPow_SysA = pvsystem.snlinverter(sc_SysA['v_mp'], sc_SysA['p_mp'], inverter_A


)/kilo;
ACPow_SysB = pvsystem.snlinverter(sc_SysB['v_mp'], sc_SysB['p_mp'], inverter_B
)/kilo;
# Comparacion de Potencia AC simulada y medida por Meteocontrol
#Sistema A
#Regresion Lineal
x_value = measured_acpower['sistema A']/kilo
y_value = ACPow_SysA

coef_SysA = np.polyfit(x_value, y_value, 1)


poly1d_fn_SysA = np.poly1d(coef_SysA)

slope_SysA, intercept_SysA, r_value_SysA, p_value_SysA, std_err_SysA = stats.l


inregress(x_value, y_value)

data_descrip = ['Slope', 'Intercept', 'r_value', 'p_value', 'Std. Error']


data_result_SysA = [slope_SysA, intercept_SysA, r_value_SysA, p_value_SysA, st
d_err_SysA]

#Grafica para Sistema A


fig1, ax1 = plt.subplots();
axis_lim = 45

x = np.linspace(0, axis_lim, axis_lim)


y_reg = slope_SysA*x + intercept_SysA

plt.plot(x_value, poly1d_fn_SysA(x_value), '--k',


label=("Mod = " + f"{slope_SysA.round(2)} $· \:$ Med $+ \:$" + f"{int
ercept_SysA.round(2)} \n $R^2 = $"
+ f"{r_value_SysA.round(4)}"), color='#1580E4', linewidth=2, zo
rder = 10)

plt.scatter(measured_acpower['sistema A']/kilo, ACPow_SysA, color='black', mar


ker='o', s=3)

y = x
plt.plot(x, y, '--', color='#222020', linewidth=0.5)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia AC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Modelado, $kW$', fontname="Helvetica", fontsize=13);
plt.xlabel('Medido, $kW$', fontname="Helvetica", fontsize=13);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.xlim(0, axis_lim);
plt.ylim(0, axis_lim);
plt.grid(True);
plt.legend(fontsize=10.5, loc='lower right');
plt.tight_layout;
plt.savefig('POTENCIA_AC_CON_METEO_SYSA.png', bbox_inches='tight')

#Sistema B
#Regresion Lineal
x_value = measured_acpower['sistema B']/kilo
y_value = ACPow_SysB
coef_SysB = np.polyfit(x_value, y_value, 1)
poly1d_fn_SysB = np.poly1d(coef_SysB)

slope_SysB, intercept_SysB, r_value_SysB, p_value_SysB, std_err_SysB = stats.l


inregress(x_value, y_value)

data_descrip = ['Slope', 'Intercept', 'r_value', 'p_value', 'Std. Error']


data_result_SysB = [slope_SysB, intercept_SysB, r_value_SysB, p_value_SysB, st
d_err_SysB]

#Figure SysB
fig2, ax2 = plt.subplots();
axis_lim = 25

x = np.linspace(0, axis_lim, axis_lim)


y_reg = slope_SysB*x + intercept_SysB

plt.plot(x_value, poly1d_fn_SysB(x_value), '--k',


label=("Mod = " + f"{slope_SysB.round(2)} $· \:$ Med $+ \:$" + f"{int
ercept_SysB.round(2)} \n $R^2 = $"
+ f"{r_value_SysB.round(4)}"), color='#2DBD07', linewidth=2, zo
rder = 10)

plt.scatter(measured_acpower['sistema B']/kilo, ACPow_SysB, color='black', mar


ker='o', s=3)

y = x
plt.plot(x, y, '--', color='#222020', linewidth=0.5)

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia AC Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Modelado, $kW$', fontname="Helvetica", fontsize=13);
plt.xlabel('Medido, $kW$', fontname="Helvetica", fontsize=13);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(rotation=0)
plt.xlim(0, axis_lim);
plt.ylim(0, axis_lim);
plt.grid(True);
plt.legend(fontsize=10.5, loc='lower right');
plt.tight_layout;
plt.savefig('POTENCIA_AC_CON_METEO_SYSB.png', bbox_inches='tight')
1.8.8 Energia diaria
# Calculo y colocacion en el DataFrame el Valor de La Energia diaria
#Sistema A
ACPow_SysA = pd.DataFrame(ACPow_SysA)
ACPow_SysA['Day'] = ACPow_SysA.index.day
ACPow_SysA['AC Power'] = ACPow_SysA[0]
del ACPow_SysA[0]

fix_ACPow_SysA = []
for data in ACPow_SysA['AC Power']:
if data < 0:
fix_ACPow_SysA.append(0)
else:
fix_ACPow_SysA.append(data)

del ACPow_SysA['AC Power']


ACPow_SysA['AC Power'] = fix_ACPow_SysA

#System B
ACPow_SysB = pd.DataFrame(ACPow_SysB)
ACPow_SysB['Day'] = ACPow_SysB.index.day
ACPow_SysB['AC Power'] = ACPow_SysB[0]
del ACPow_SysB[0]

fix_ACPow_SysB = []
for data in ACPow_SysB['AC Power']:
if data < 0:
fix_ACPow_SysB.append(0)
else:
fix_ACPow_SysB.append(data)

del ACPow_SysB['AC Power']


ACPow_SysB['AC Power'] = fix_ACPow_SysB

index = np.linspace(1, len(ACPow_SysA['Day']), len(ACPow_SysA['Day'])).round(0


)
index = index - 1
ACPow_SysA['Index'] = index
ACPow_SysB['Index'] = index

min_to_hour = 60/60 #60 minutes equivalent to hour


ACPow_SysA['Energy'] = ACPow_SysA['AC Power']*min_to_hour
ACPow_SysB['Energy'] = ACPow_SysB['AC Power']*min_to_hour

# Test Datos medidos


test = measured_acpower
test['Index'] = index
test['Energy'] = test['sistema A']*min_to_hour/1000
test = test.set_index(ACPow_SysA.index)

daily_energy_SysA = []
for index in test['Index']:
new_day = test.index[int(index)].day - test.index[int(index)-1].day
if new_day != 0:
daily_energy_SysA.append(0)
else:
value = test['Energy'][int(index)] + daily_energy_SysA[int(index)-1]
daily_energy_SysA.append(value)

# Energia Diaria
daily_energy_SysA = pd.DataFrame(daily_energy_SysA)
### ###

## Creacion de otro DataFrame con la energia diaria


#Sistema A
daily_energy_SysA = []
for index in ACPow_SysA['Index']:
new_day = ACPow_SysA.index[int(index)].day - ACPow_SysA.index[int(index)-1
].day
if new_day != 0:
daily_energy_SysA.append(0)
else:
value = ACPow_SysA['Energy'][int(index)] + daily_energy_SysA[int(index
)-1]
daily_energy_SysA.append(value)

daily_energy_SysA = pd.DataFrame(daily_energy_SysA)
daily_energy_SysA = daily_energy_SysA.set_index(ACPow_SysA.index)

daily_energy_SysA['Daily Energy, kWh'] = daily_energy_SysA[0]


del daily_energy_SysA[0]

#Sistema B
daily_energy_SysB = []
for index in ACPow_SysB['Index']:
new_day = ACPow_SysB.index[int(index)].day - ACPow_SysB.index[int(index)-1
].day
if new_day != 0:
daily_energy_SysB.append(0)
else:
value = ACPow_SysB['Energy'][int(index)] + daily_energy_SysB[int(index
)-1]
daily_energy_SysB.append(value)

daily_energy_SysB = pd.DataFrame(daily_energy_SysB)
daily_energy_SysB = daily_energy_SysB.set_index(ACPow_SysB.index)
daily_energy_SysB
daily_energy_SysB['Daily Energy, kWh'] = daily_energy_SysB[0]
del daily_energy_SysB[0]
#Cambiando valores de horarios a diarios de energia medida de Meteocontorol
#Sistema A
bar_mea_energy_SysA = pd.DataFrame(measured_energy['sistema A'])
bar_mea_energy_SysA = bar_mea_energy_SysA.set_index(daily_energy_SysA.index)

bar_mea_energy_SysA = bar_mea_energy_SysA.resample('1d').max();

#Sistema B
bar_mea_energy_SysB = pd.DataFrame(measured_energy['sistema B'])
bar_mea_energy_SysB = bar_mea_energy_SysB.set_index(daily_energy_SysB.index)

bar_mea_energy_SysB = bar_mea_energy_SysB.resample('1d').max();

#Cambiando valores de horarios a diarios de energia simulada


#Sistema A
bar_sim_energy_SysA = pd.DataFrame(daily_energy_SysA['Daily Energy, kWh'])
bar_sim_energy_SysA = bar_sim_energy_SysA.set_index(daily_energy_SysA.index)

bar_sim_energy_SysA = bar_sim_energy_SysA.resample('1d').max();

#Sistema B
bar_sim_energy_SysB = pd.DataFrame(daily_energy_SysB['Daily Energy, kWh'])
bar_sim_energy_SysB = bar_sim_energy_SysB.set_index(daily_energy_SysB.index)
bar_sim_energy_SysB = bar_sim_energy_SysB.resample('1d').max();

# Configuracion barras para el grafico de barras


bar_width = 0.2;
width = 0.4;
x = np.arange(len(bar_sim_energy_SysB))

r1 = np.arange(len(bar_sim_energy_SysB))
r2 = [x + bar_width for x in r1]
r3 = [x + bar_width for x in r2]
r4 = [x + bar_width for x in r3]
r5 = [x + bar_width for x in r4]
r6 = [x + bar_width for x in r5]
r7 = [x + bar_width for x in r6]

days = np.linspace(int(start.day), int(end.day), int(end.day)-int(start.day)+1


)

int_days = []
for day in days:
int_days.append(int(day))
#Grafica comparacion de energia diaria
plt.style.use('fast')

#Grafica sistema A
fig1, ax1 = plt.subplots();

plt.bar(r1, bar_sim_energy_SysA['Daily Energy, kWh'], width, label='Modelado',


color='#1580E4', linewidth=2);
plt.bar(r3, bar_mea_energy_SysA['sistema A'].values, width, label='Medido', co
lor='goldenrod', linewidth=2);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energía Diaria Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Energía, [$kWh$]', fontname="Helvetica", fontsize=12);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=12);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width/2, int_days)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", fontsize=9);
plt.tight_layout;
plt.savefig('Energia_CON_METEO_SISTA.png', bbox_inches='tight')

#Grafica sistema B
fig2, ax2 = plt.subplots();

plt.bar(r1, bar_sim_energy_SysB['Daily Energy, kWh'], width, label='Modelado',


color='#2DBD07', linewidth=2);
plt.bar(r3, bar_mea_energy_SysB['sistema B'], width, label='Medido', color='go
ldenrod', linewidth=2);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energía Diaria Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Energía, $kWh$', fontname="Helvetica", fontsize=12);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=12);
ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width/2, int_days)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", fontsize=9);
plt.tight_layout;
plt.savefig('Energia_CON_METEO_SISTB.png', bbox_inches='tight')
1.8.9 Error energía

#sistema A
energyerror_SysA = bar_mea_energy_SysA

energyerror_SysA = energyerror_SysA.rename(columns={'sistema A': 'Mea. Energy


SysA, kWh'})

energyerror_SysA['Error PVLIB, %'] = (((bar_mea_energy_SysA['sistema A'] - bar


_sim_energy_SysA['Daily Energy, kWh'])/bar_mea_energy_SysA['sistema A'])*100).
round(2)

#sistema B
energyerror_SysB = bar_mea_energy_SysB

energyerror_SysB = energyerror_SysB.rename(columns={'sistema B': 'Mea. Energy


SysB, kWh'})

energyerror_SysB['Error PVLIB, %'] = (((bar_mea_energy_SysB['sistema B'] - bar


_sim_energy_SysB['Daily Energy, kWh'])/bar_mea_energy_SysB['sistema B'])*100).
round(2)
#Grafica de Error de Energia Diaria
plt.style.use('fast')

#Grafica sistema A
fig1, ax1 = plt.subplots();

# Errores promedios
meanerror_PVLIB = round(energyerror_SysA['Error PVLIB, %'].mean(), 2)

plt.bar(r1, energyerror_SysA['Error PVLIB, %'], width, label='PVLIB Error Pro


m. = ' + f'{meanerror_PVLIB}' + ' %', color='#F87510', linewidth=2);

#Configuracion lineas horizontales


plt.hlines(y=0, xmin=-1, xmax=x[-1]+1, colors='black', linestyles='solid', lab
el='', linewidth=0.5) #Zero
plt.hlines(y=meanerror_PVLIB, xmin=-1, xmax=x[-1]+1, colors='#F87510', linesty
les='--', label='', linewidth=1.75) #PVLIB

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energía Diaria Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Error en Energía Diaria, %', fontname="Helvetica", fontsize=12);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=12);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width/1.1, int_days)


plt.ylim(None, None)
plt.xlim(-0.5, 7)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('ERROR_ENERGIA_METEO_SYSA.png', bbox_inches='tight')

#Grafica sistema B
fig2, ax2 = plt.subplots();

#Errores promedios
meanerror_PVLIB = round(energyerror_SysB['Error PVLIB, %'].mean(), 2)

plt.bar(r1, energyerror_SysB['Error PVLIB, %'], width, label='PVLIB Error Pro


m. = ' + f'{meanerror_PVLIB}' + ' %', color='#F87510', linewidth=2);

#Lineas Horizontales
plt.hlines(y=0, xmin=-1, xmax=x[-1]+1, colors='black', linestyles='solid', lab
el='', linewidth=0.5) #Zero
plt.hlines(y=meanerror_PVLIB, xmin=-1, xmax=x[-1]+1, colors='#F87510', linesty
les='--', label='', linewidth=1.75) #PVLIB

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energía Diaria Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Error en Energía Diaria, %', fontname="Helvetica", fontsize=12);
plt.xlabel('Fecha para {}-{}'.format(start.strftime("%b"), start.year), fontna
me="Helvetica", fontsize=12);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width/1.1, int_days)


plt.ylim(None, None)
plt.xlim(-0.5, 7)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('ERROR_ENERGIA_METEO_SYSB.png', bbox_inches='tight')
Sección 1.8: Comparación 3 (1 año)

Siguiendo con el proceso de la Sección 1.7, se usarán datos de radiación


efectiva de 1 año (oct 2019, oct 2020) de la plataforma Meteocontrol , esto con el
fin de comprobar la exactitud del programa teniendo datos confiables de
radiación.

1.9.1 Inicialización modelo

### Volvemos a importar todo lo necesario


# como primer paso es importante configurar pyton
%matplotlib inline
import matplotlib.pyplot as plt

## se llaman los modulos de python


import datetime
import os
import inspect
import csv
## se llaman las libretas externas
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
from matplotlib import dates as mpl_dates
from scipy import stats

## para poder accedar a Unidata THREDDS


from siphon.catalog import TDSCatalog
from siphon.ncss import NCSS

## modulos de pvlib-Sandia

import pvlib
from pvlib import solarposition, irradiance, atmosphere, pvsystem

# se importan los diferentes metodos de obtencion de datos metereologicos, GF


S, HRRR_ESRL, NAM, NDFD, HRRR, RAP
import pvlib
from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP

# Metodos de ubicacion PVLIB


from pvlib.location import Location

# Metodos de potencia Sandia-Pvlib


from pvlib.pvsystem import PVSystem, retrieve_sam
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain
# Ubicacion y Zona Horaria de Bogota
latitude = 4.6024
longitude = -74.0674
tz = 'America/Bogota'

start = pd.Timestamp('2019-10-01', tz=tz) #inicio 01de Octubre 2019


end = pd.Timestamp('2020-09-30', tz=tz) #final 30 Septiembre 2020

location = Location(latitude, longitude, tz, altitude=2624)

# Importacion Datos de Meteocontrol


file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/Meteocontrol_Data_Anu
al.xlsx'

#Meteocontrol Irradiance Measurement


irrad_sheet = 'Radiacion'
measured_irrad = pd.read_excel(io=file_name, sheet_name=irrad_sheet)
measured_irrad = pd.DataFrame(measured_irrad)

#Meteocontrol Module Temperature Measurement


modtemp_sheet = 'Temperatura'
measured_modtemp = pd.read_excel(io=file_name, sheet_name=modtemp_sheet)
measured_modtemp = pd.DataFrame(measured_modtemp)

#Meteocontrol AC potencia
acpower_sheet = 'PotenciaAC'
measured_acpower = pd.read_excel(io=file_name, sheet_name=acpower_sheet)
measured_acpower= pd.DataFrame(measured_acpower)

#Meteocontrol Energy Measurement


energy_sheet = 'Energia'
measured_energy = pd.read_excel(io=file_name, sheet_name=energy_sheet)
measured_energy = pd.DataFrame(measured_energy)

Kilo=1000;

# Tratamientos de datos de irradiancia.


new_irrad = []
for data in measured_irrad['Radiacion']:
if data <= 1.8:
new_irrad.append(0)
else:
new_irrad.append(data)

new_irrad = pd.DataFrame(new_irrad)

new_irrad = new_irrad.set_index(measured_irrad.index)

measured_irrad['Radiacion'] = new_irrad
# Obtencion caracteristicas de los inversores
# Sistema A
inverter_sys1 = pd.read_csv('CEC Inverters.csv')
inverter_a=inverter_sys1.iloc[164]
inverter_A=pd.to_numeric(inverter_a, errors='coerce')
# Sistema B
inverter_sys2=pd.read_csv('CEC Inverters.csv')
inverter_b=inverter_sys1.iloc[154]
inverter_B=pd.to_numeric(inverter_b, errors='coerce')

# Creacion del modulo usado en el Sistema Solar Fotovoltaico de la Universidad


de los Andes

LG400N2WA5 = {
'BIPV': 'N',
'Date': '1/3/2019',
'T_NOCT': 47.7,
'A_c': 2.0,
'N_s': 72,
'I_sc_ref': 10.47,
'V_oc_ref': 49.3,
'I_mp_ref': 9.86,
'V_mp_ref': 40.6,
'alpha_sc': 0.003141,
'beta_oc': -0.12180,
'a_ref': 1.821208,
'I_L_ref': 10.481150,
'I_o_ref': 1.807477e-11,
'R_s': 0.312859,
'R_sh_ref': 293.805420,
'Adjust': 9.380614,
'gamma_r': -0.36,
'Version': 'NRELv1',
'PTC': 368.4,
'Technology': 'Mono-c-Si',
'Name': 'LG Electronics LG385N2W-A5',

module = pd.Series(LG400N2WA5, name='LG_Electronics_LG385N2W_A5')


##Definicion sistema

#Sistema A
sysA_name = 'Los Andes 51.25 kWp System Capacity';
mps_SysA = 16; #Modules Per String
spi_SysA = 8; #Strings Per Inverter

system_A = PVSystem(module_parameters=module, inverter_parameters=inverter_A,


surface_azimuth=180,
surface_tilt=10, modules_per_string=mps_SysA, strings_per_
inverter=spi_SysA)

#System B
sysB_name = 'Los Andes 28.82 kWp System Capacity';
mps_SysB = 18; #Modules Per String
spi_SysB = 4; #Strings Per Inverter
system_B = PVSystem(module_parameters=module, inverter_parameters=inverter_B,
surface_azimuth=180,
surface_tilt=10, modules_per_string=mps_SysB, strings_per_
inverter=spi_SysB)
# Obtencion valores de Vmp, Imp, y Pmp metodo CEC
IL, I0, Rs, Rsh, nNsVth = pvsystem.calcparams_cec(measured_irrad['Radiacion'],
measured_modtemp['Temp_mo
d'],
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=9.380614,
EgRef=1.121, #Retrieved f
rom last link at above description
dEgdT=-0.0002677) #Retrie
ved from last link at above description

curve_info = pvsystem.singlediode(photocurrent=IL,
saturation_current=I0,
resistance_series=Rs,
resistance_shunt=Rsh,
nNsVth=nNsVth,
ivcurve_pnts=100,
method='lambertw')

# Usando los parametros anterioemente calculados para el metodo "Single Diode"


data_i_sc = pd.Series(curve_info['i_sc'])
data_v_oc = pd.Series(curve_info['v_oc'])
data_i_mp = pd.Series(curve_info['i_mp'])
data_v_mp = pd.Series(curve_info['v_mp'])
data_p_mp = pd.Series(curve_info['p_mp'])
data_i_x = pd.Series(curve_info['i_x'])
data_i_xx = pd.Series(curve_info['i_xx'])

# Organizar los datos del metodo de " Single Diode "


results_general = pd.DataFrame({'i_sc': data_i_sc,
'v_oc': data_v_oc,
'i_mp': data_i_mp,
'v_mp': data_v_mp,
'p_mp': data_p_mp,
'i_x': data_i_x,
'i_xx': data_i_xx})

datetime_index=pd.read_excel(io=file_name, sheet_name=irrad_sheet)
datetime_index=pd.DataFrame(datetime_index)
datetime_index=datetime_index.set_index(pd.to_datetime(datetime_index['Datetim
e']))

sc_SysA = system_A.scale_voltage_current_power(results_general)
sc_SysA.index=pd.to_datetime(datetime_index.index, unit='s')

sc_SysB = system_B.scale_voltage_current_power(results_general)
sc_SysB.index=pd.to_datetime(datetime_index.index, unit='s')

# numero de meses
months = np.linspace(1, 12, num=12)
1.9.2 Perdidas

losses_pvw = pvsystem.pvwatts_losses(soiling=2, shading=3, snow=0, mismatch=2,


wiring=2,
connections=0.5, lid=1.5, nameplate_rat
ing=1, age=0,
availability=3)

#Sistema A
losses_SysA = np.linspace(11.23, 26.9, num=12)
losses_SysA = losses_SysA/100

loss_oct = np.array(np.repeat(losses_SysA[0], 744))


loss_nov = np.array(np.repeat(losses_SysA[1], 720))
loss_dic = np.array(np.repeat(losses_SysA[2], 744))
loss_ene = np.array(np.repeat(losses_SysA[3], 744))
loss_feb = np.array(np.repeat(losses_SysA[4], 696))
loss_mar = np.array(np.repeat(losses_SysA[5], 744))
loss_abr = np.array(np.repeat(losses_SysA[6], 720))
loss_may = np.array(np.repeat(losses_SysA[7], 744))
loss_jun = np.array(np.repeat(losses_SysA[8], 720))
loss_jul = np.array(np.repeat(losses_SysA[9], 744))
loss_ago = np.array(np.repeat(losses_SysA[10], 744))
loss_sep = np.array(np.repeat(losses_SysA[11], 720))

datalosses_SysA = np.concatenate([loss_oct, loss_nov, loss_dic,loss_ene, loss_


feb, loss_mar, loss_abr, loss_may, loss_jun, loss_jul, loss_ago, loss_sep])

#Sistema B

losses_SysB = np.linspace(0, 26.9, len(months)-1)


losses_SysB = np.insert(losses_SysB, 0, 0)
losses_SysB = losses_SysB/100

loss_oct = np.array(np.repeat(losses_SysB[0], 744))


loss_nov = np.array(np.repeat(losses_SysB[1], 720))
loss_dic = np.array(np.repeat(losses_SysB[2], 744))
loss_ene = np.array(np.repeat(losses_SysB[3], 744))
loss_feb = np.array(np.repeat(losses_SysB[4], 696))
loss_mar = np.array(np.repeat(losses_SysB[5], 744))
loss_abr = np.array(np.repeat(losses_SysB[6], 720))
loss_may = np.array(np.repeat(losses_SysB[7], 744))
loss_jun = np.array(np.repeat(losses_SysB[8], 720))
loss_jul = np.array(np.repeat(losses_SysB[9], 744))
loss_ago = np.array(np.repeat(losses_SysB[10], 744))
loss_sep = np.array(np.repeat(losses_SysB[11], 720))

datalosses_SysB = np.concatenate([loss_oct, loss_nov, loss_dic,loss_ene, loss_


feb, loss_mar, loss_abr, loss_may, loss_jun, loss_jul, loss_ago, loss_sep])

#Perdidas sistema A
sc_SysA['i_mp'] = sc_SysA['i_mp'] - sc_SysA['i_mp']*datalosses_SysA
sc_SysA['p_mp'] = sc_SysA['p_mp'] - sc_SysA['p_mp']*datalosses_SysA
#Perdidas Sistema B
sc_SysB['i_mp'] = sc_SysB['i_mp'] - sc_SysB['i_mp']*datalosses_SysB
sc_SysB['p_mp'] = sc_SysB['p_mp'] - sc_SysB['p_mp']*datalosses_SysB

x1 = [1,2,3,4]
x2 = np.insert(x1, 0, np.repeat(x1[0],3))

#Perdidas de voltaje Sistema A y B


sc_SysA['v_mp'] = sc_SysA['v_mp'] - sc_SysA['v_mp']*datalosses_SysA
sc_SysB['v_mp'] = sc_SysB['v_mp'] - sc_SysB['v_mp']*datalosses_SysB

#Potencia AC
ACPow_SysA = pvsystem.snlinverter(sc_SysA['v_mp'], sc_SysA['p_mp'], inverter_A
)/1000;
ACPow_SysB = pvsystem.snlinverter(sc_SysB['v_mp'], sc_SysB['p_mp'], inverter_B
)/1000;

1.9.3 Potencia AC

# Potencia AC mesnual
PVL_month_ACPower_SysA = ACPow_SysA.resample('1m').sum();
PVL_month_ACPower_SysB = ACPow_SysB.resample('1m').sum();
# Configuracion de barras para el grafico de barras
bar_width = 0.1;
width = 0.2;
bar_width = 0.2;
width = 0.4;
x = np.arange(len(months))

r1 = np.arange(len(months))
r2 = [x + bar_width for x in r1]
r3 = [x + bar_width for x in r2]
r4 = [x + bar_width for x in r3]
r5 = [x + bar_width for x in r4]
r6 = [x + bar_width for x in r5]
r7 = [x + bar_width for x in r6]

days = np.linspace(int(start.day), int(end.day), int(end.day)-int(start.day)+1


)

int_days = []
for day in days:
int_days.append(int(day))

r1 = np.arange(len(months))
r2 = [x + bar_width for x in r1]
r3 = [x + bar_width for x in r2]
r4 = [x + bar_width for x in r3]
r5 = [x + bar_width for x in r4]
r6 = [x + bar_width for x in r5]
r7 = [x + bar_width for x in r6]
r8 = [x + bar_width for x in r7]
r9 = [x + bar_width for x in r8]
r10 = [x + bar_width for x in r9]
r11 = [x + bar_width for x in r10]
r12 = [x + bar_width for x in r11]
r13 = [x + bar_width for x in r12]

# Nombre meses

int_months = ['Oct.','Nov.', 'Dic.', 'Ene.', 'Feb.', 'Mar.', 'Abr.', 'May.',


'Jun.','Jul.', 'Ago.', 'Sep.', ]
#Comparacion Potencia AC simulada y de Meteocontorl
plt.style.use('fast')

#Figura sistema A
fig1, ax1 = plt.subplots();

plt.bar(r3, PVL_month_ACPower_SysA, width, label='Modelado PVLIB', color='#F87


510', linewidth=2);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia AC Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Potencia AC, $kW$', fontname="Helvetica", fontsize=12);
plt.xlabel('Meses del Año {}'.format(start.year), fontname="Helvetica", fontsi
ze=12);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width + width/2.5, int_months)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;

#Figura sistema B
fig2, ax2 = plt.subplots();

plt.bar(r3, PVL_month_ACPower_SysB, width, label='Modelado PVLIB', color='#F87


510', linewidth=2);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Potencia AC Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Potencia AC, $kW$', fontname="Helvetica", fontsize=12);
plt.xlabel('Meses del Año {}'.format(start.year), fontname="Helvetica", fontsi
ze=12);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width + width/2.5, int_months)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
1.9.4 Energía Mensual

# Calculo y colocacion en el DataFrame el Valor de La Energia diaria


# Sistema A
ACPow_SysA = pd.DataFrame(ACPow_SysA)
ACPow_SysA['Day'] = ACPow_SysA.index.day
ACPow_SysA['AC Power'] = ACPow_SysA[0]
del ACPow_SysA[0]

# eliminar valor menores que 0


fix_ACPow_SysA = []
for data in ACPow_SysA['AC Power']:
if data < 0:
fix_ACPow_SysA.append(0)
else:
fix_ACPow_SysA.append(data)

del ACPow_SysA['AC Power']


ACPow_SysA['AC Power'] = fix_ACPow_SysA

#Sistema A
ACPow_SysB = pd.DataFrame(ACPow_SysB)
ACPow_SysB['Day'] = ACPow_SysB.index.day
ACPow_SysB['AC Power'] = ACPow_SysB[0]
del ACPow_SysB[0]

# eliminar valor menores que 0


fix_ACPow_SysB = []
for data in ACPow_SysB['AC Power']:
if data < 0:
fix_ACPow_SysB.append(0)
else:
fix_ACPow_SysB.append(data)

del ACPow_SysB['AC Power']


ACPow_SysB['AC Power'] = fix_ACPow_SysB

index = np.linspace(1, len(ACPow_SysA['Day']), len(ACPow_SysA['Day'])).round(0


)
index = index - 1
ACPow_SysA['Index'] = index
ACPow_SysB['Index'] = index

min_to_hour = 60/60 # 60 minutos = 1 hora


ACPow_SysA['Energy'] = ACPow_SysA['AC Power']*min_to_hour
ACPow_SysB['Energy'] = ACPow_SysB['AC Power']*min_to_hour
# Creacion de otro DataFrame con la energia diaria
# Sistema A
daily_energy_SysA = []
for index in ACPow_SysA['Index']:
new_day = ACPow_SysA.index[int(index)].day - ACPow_SysA.index[int(index)-1
].day
if new_day != 0:
daily_energy_SysA.append(0)
else:
value = ACPow_SysA['Energy'][int(index)] + daily_energy_SysA[int(index
)-1]
daily_energy_SysA.append(value)

daily_energy_SysA = pd.DataFrame(daily_energy_SysA)
daily_energy_SysA = daily_energy_SysA.set_index(ACPow_SysA.index)

daily_energy_SysA['Daily Energy, kWh'] = daily_energy_SysA[0]


del daily_energy_SysA[0]

#sistema B
daily_energy_SysB = []
for index in ACPow_SysB['Index']:
new_day = ACPow_SysB.index[int(index)].day - ACPow_SysB.index[int(index)-1
].day
if new_day != 0:
daily_energy_SysB.append(0)
else:
value = ACPow_SysB['Energy'][int(index)] + daily_energy_SysB[int(index
)-1]
daily_energy_SysB.append(value)

daily_energy_SysB = pd.DataFrame(daily_energy_SysB)
daily_energy_SysB = daily_energy_SysB.set_index(ACPow_SysB.index)
daily_energy_SysB
daily_energy_SysB['Daily Energy, kWh'] = daily_energy_SysB[0]
del daily_energy_SysB[0]
#Cambiando valores de horarios a diarios de energia medida de Meteocontorol
#Sistema A
bar_mea_energy_SysA = pd.DataFrame(measured_energy['sistema A'])
bar_mea_energy_SysA = bar_mea_energy_SysA.set_index(daily_energy_SysA.index)

bar_mea_energy_SysA = bar_mea_energy_SysA.resample('1d').max();
month_bar_mea_energy_SysA = bar_mea_energy_SysA.resample('1m').sum();

#System B
bar_mea_energy_SysB = pd.DataFrame(measured_energy['sistema B'])
bar_mea_energy_SysB = bar_mea_energy_SysB.set_index(daily_energy_SysB.index)

bar_mea_energy_SysB = bar_mea_energy_SysB.resample('1d').max();
month_bar_mea_energy_SysB = bar_mea_energy_SysB.resample('1m').sum();

#Cambiando valores de horarios a diarios de energia simulada


#Sistema A
bar_sim_energy_SysA = pd.DataFrame(daily_energy_SysA['Daily Energy, kWh'])
bar_sim_energy_SysA = bar_sim_energy_SysA.set_index(daily_energy_SysA.index)

bar_sim_energy_SysA = bar_sim_energy_SysA.resample('1d').max();
month_bar_sim_energy_SysA = bar_sim_energy_SysA.resample('1m').sum();

#System B
bar_sim_energy_SysB = pd.DataFrame(daily_energy_SysB['Daily Energy, kWh'])
bar_sim_energy_SysB = bar_sim_energy_SysB.set_index(daily_energy_SysB.index)

bar_sim_energy_SysB = bar_sim_energy_SysB.resample('1d').max();
month_bar_sim_energy_SysB = bar_sim_energy_SysB.resample('1m').sum();
#Grafica comparacion de energia diaria
plt.style.use('fast')

#Grafica sistema A
fig1, ax1 = plt.subplots();

plt.bar(r1, month_bar_mea_energy_SysA['sistema A']/1000, width, label='Medició


n Meteocontrol', color='yellowgreen', linewidth=2);
plt.bar(r3, month_bar_sim_energy_SysA['Daily Energy, kWh']/1000, width, label=
'Modelado PVLIB', color='#F87510', linewidth=2);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energía Mensual Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Energía, $MWh$', fontname="Helvetica", fontsize=12);
plt.xlabel('Meses del Año {}'.format(start.year), fontname="Helvetica", fontsi
ze=12);

plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Energia_Mensual_pvlib_VS_Meteo_SisA.png')

plt.xticks(x + width + width/2.5, int_months)}

#Grafica sistema B
fig2, ax2 = plt.subplots();

plt.bar(r1, month_bar_mea_energy_SysB['sistema B']/1000, width, label='Medició


n Meteocontrol', color='yellowgreen', linewidth=2);
plt.bar(r3, month_bar_sim_energy_SysB['Daily Energy, kWh']/1000, width, label=
'Modelado PVLIB', color='#F87510', linewidth=2);

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energía Mensual Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Energía, $MWh$', fontname="Helvetica", fontsize=12);
plt.xlabel('Meses del Año {}'.format(start.year), fontname="Helvetica", fontsi
ze=12);
ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width + width/2.5, int_months)


plt.ylim(0, None)
plt.grid(True);
plt.legend(loc="upper left", bbox_to_anchor=(1,1), fontsize=9);
plt.tight_layout;
plt.savefig('Energia_Mensual_pvlib_VS_Meteo_SisB.png')
1.9.5 Error de Energía

#sistema A
mea_monthly_energy = month_bar_mea_energy_SysA/1000
PVL_monthly_energy = month_bar_sim_energy_SysA/1000

#Error
energyerror_SysA = []
energyerror_SysA = round(mea_monthly_energy, 2)

energyerror_SysA=energyerror_SysA.rename(columns={'sistema A': 'Mea. Energy Sy


sA, MWh'})

energyerror_SysA['Error PVLIB, %'] = (((energyerror_SysA['Mea. Energy SysA, MW


h'] - PVL_monthly_energy['Daily Energy, kWh'])/energyerror_SysA['Mea. Energy S
ysA, MWh'])*100).round(2)

## Sistema B
mea_monthly_energy = month_bar_mea_energy_SysB/1000
PVL_monthly_energy = month_bar_sim_energy_SysB/1000

# Error

energyerror_SysB = []
energyerror_SysB = round(mea_monthly_energy, 2)

energyerror_SysB = energyerror_SysB.rename(columns={'sistema B': 'Mea. Energy


SysB, MWh'})

energyerror_SysB['Error PVLIB, %'] = (((energyerror_SysB['Mea. Energy SysB, MW


h'] - PVL_monthly_energy['Daily Energy, kWh'])/energyerror_SysB['Mea. Energy S
ysB, MWh'])*100).round(2)
#Grafica de Error de Energia Diaria
plt.style.use('fast')

#Grafica sistema A
fig1, ax1 = plt.subplots();

# Errores promedios
meanerror_PVLIB = round(energyerror_SysA['Error PVLIB, %'].mean(), 2)

plt.bar(r1, energyerror_SysA['Error PVLIB, %'], width, label='PVLIB Error Pro


m. = ' + f'{meanerror_PVLIB}' + ' %', color='#F87510', linewidth=2);

#Configuracion lineas horizontales


plt.hlines(y=0, xmin=-1, xmax=x[-1]+1, colors='black', linestyles='solid', lab
el='', linewidth=0.5) #Zero
plt.hlines(y=meanerror_PVLIB, xmin=-1, xmax=x[-1]+1, colors='#F87510', linesty
les='--', label='', linewidth=1.75) #PVLIB

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energía Mensual Sistema A', fontname="Helvetica", fontsize=15);


plt.ylabel('Error en Energía Diaria, %', fontname="Helvetica", fontsize=12);
plt.xlabel('Meses del Año {}'.format(start.year), fontname="Helvetica", fontsi
ze=12);

ax1.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width + width/2.5, int_months)


plt.ylim(None, None)
plt.xlim(-0.5, 12)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('Erro_Energia_Anual_Pvlib_vs_Meteo_SysA.png', bbox_inches='tight')

#Grafica sistema B
fig2, ax2 = plt.subplots();

#Errores promedios
meanerror_PVLIB = round(energyerror_SysB['Error PVLIB, %'].mean(), 2)

plt.bar(r1, energyerror_SysB['Error PVLIB, %'], width, label='PVLIB Error Pro


m. = ' + f'{meanerror_PVLIB}' + ' %', color='#F87510', linewidth=2);

#Lineas Horizontales
plt.hlines(y=0, xmin=-1, xmax=x[-1]+1, colors='black', linestyles='solid', lab
el='', linewidth=0.5) #Zero
plt.hlines(y=meanerror_PVLIB, xmin=-1, xmax=x[-1]+1, colors='#F87510', linesty
les='--', label='', linewidth=1.75) #PVLIB

plt.rc('font', family='Helvetica')
plt.rcParams['axes.axisbelow'] = True;

plt.title('Energía Mensual Sistema B', fontname="Helvetica", fontsize=15);


plt.ylabel('Error en Energía Diaria, %', fontname="Helvetica", fontsize=12);
plt.xlabel('Meses del Año {}'.format(start.year), fontname="Helvetica", fontsi
ze=12);

ax2.tick_params(direction='inout', length=6, width=1, grid_alpha=0.5)

plt.xticks(x + width + width/2.5, int_months)


plt.ylim(None, None)
plt.xlim(-0.5, 12)
plt.grid(True);
plt.legend(fontsize=9);
plt.tight_layout;
plt.savefig('Erro_Energia_Anual_Pvlib_vs_Meteo_SysB.png', bbox_inches='tight')
Parte 2: Aplicación del modelo comercialmente

Modelo a 25 años azimut 180°


# Set-up
%matplotlib inline
import matplotlib.pyplot as plt

# Built-in Python modules


import datetime
import inspect
import os
import csv

# Python add-ons
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
from matplotlib import dates as mpl_dates
from scipy import stats

# For accessing UNIDATA THREDDS servers


from siphon.catalog import TDSCatalog
from siphon.ncss import NCSS

# Sandia PVLIB-Python Module


import pvlib
from pvlib import solarposition, irradiance, atmosphere, pvsystem, bifacial

# Sandia PVLIB-Python Forecasting Class


from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP

# Sandia PVLIB-Python Location Class


from pvlib.location import Location

# Sandia PVLIB-Python PV Power Classes


from pvlib.pvsystem import PVSystem, retrieve_sam
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain

import pvfactors
Sistema del colegio

Inversores y modulo

#Inversores
inverter_sys1 = pd.read_csv('CEC Inverters.csv')
inverter_a=inverter_sys1.iloc[162]
inverter_A=pd.to_numeric(inverter_a, errors='coerce')
inverter_sys2=pd.read_csv('CEC Inverters.csv')
inverter_b=inverter_sys2.iloc[3156]
inverter_B=pd.to_numeric(inverter_b, errors='coerce')
# Modulo
TSM410DE15HII = {
'BIPV': 'N',
'Date': '12/19/2019',
'T_NOCT': 43.800,
'A_c': 2.0,
'N_s': 48,
'I_sc_ref': 10.2900,
'V_oc_ref': 51.20,
'I_mp_ref': 9.8400,
'V_mp_ref': 41.700,
'alpha_sc': 0.004116,
'beta_oc': -0.138240,
'a_ref': 1.866272,
'I_L_ref': 10.399814,
'I_o_ref': 1.25519e-11,
'R_s': 0.384133,
'R_sh_ref': 577.437927,
'Adjust': 2.154072,
'gamma_r': -0.345000,
'Version': 'SAM 2019.12.19',
'PTC': 384.500,
'Technology': 'Mono-c-Si',
'Name': 'Trina Solar TSM-410DE15H(II)',
}
module=pd.Series(TSM410DE15HII , name='Trina Solar TSM-410DE15H(II)')

#Ubicacion
latitude= 10.998
longitude= -74.8226
tz='America/Bogota'
start = pd.Timestamp('2021-01-01', tz=tz) # Inicio del analsisi enero 01 2021
end = pd.Timestamp('2045-12-31', tz=tz) # Final del analisis Diciembre 31 2045

location = Location(latitude, longitude, tz, altitude=18)

file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/25añosFuturo.xlsx'

sheet='Hoja1'
data_weatherforecast=pd.read_excel(io=file_name, sheet_name=sheet)
data_weatherforecast = pd.DataFrame(data_weatherforecast)
data_weatherforecast = data_weatherforecast.set_index(pd.to_datetime(data_weat
herforecast['datetime']))
file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/25añosviejo.xlsx'

sheet='Hoja1'
data_Sol=pd.read_excel(io=file_name, sheet_name=sheet)
data_Sol = pd.DataFrame(data_Sol)
data_Sol = data_Sol.set_index(pd.to_datetime(data_Sol['datetime']))

preassure= pvlib.atmosphere.alt2pres(altitude=18)
# posicion solar usando los años viejos
### NO EJECUTAR
time = data_Sol.index;
a_point = location;

solpos = a_point.get_solarposition(time);
solpos.to_csv('PosSol.csv')

# Cambiando la fecha de la posicion solar


PosSol=pd.read_csv('PosSol_Futuro.csv')
PosSol = pd.DataFrame(PosSol)
PosSol = PosSol.set_index(pd.to_datetime(PosSol['datetime']))

#Tilt, azimut, albedo


surface_tilt=12;

surface_azimuth = 180; #Fixed south oriented

albedo=irradiance.SURFACE_ALBEDOS['urban']

## Irradiancia efectiva

dni_extra = irradiance.get_extra_radiation(data_weatherforecast.index, method=


'NREL');

total_irrad = irradiance.get_total_irradiance(surface_tilt,
surface_azimuth,
PosSol['apparent_zenith'],
PosSol['azimuth'],
data_weatherforecast['dni'],
data_weatherforecast['ghi'],
data_weatherforecast['dhi'],
dni_extra=dni_extra,
albedo=albedo,
model='haydavies')
## precipitacion
pw = atmosphere.gueymard94_pw(data_weatherforecast['temp_air'], relative_humid
ity=80)

#Masa de aire relativa


relative_airmass = atmosphere.get_relative_airmass(PosSol['apparent_zenith'],
model='kastenyoung1989');

#Masa de aire absoluta


pressure = 101100
absolute_airmass = atmosphere.get_absolute_airmass(relative_airmass,pressure);
## Disordanica con los rayos solares
spectral_mismatch_raw = atmosphere.first_solar_spectral_correction(pw, absolut
e_airmass, module_type='monosi', coefficients=None);

#Cambiando valore de NaN a 1


spectral_mismatch = spectral_mismatch_raw.fillna(1);

#AOI
aoi = irradiance.aoi(surface_tilt, surface_azimuth, PosSol['apparent_zenith'],
PosSol['azimuth'])

physicaliam = pvlib.iam.physical(aoi, n=1.526, K=4.0, L=0.002);

## irradiancia efectiva

effective_irrad = spectral_mismatch*((total_irrad['poa_direct']*abs(np.cos(aoi
)))+total_irrad['poa_diffuse'])

## temp modulo

temperature = data_weatherforecast['temp_air'];
wind_speed = data_weatherforecast['wind_speed'];
pvtemps = pvlib.temperature.sapm_cell(total_irrad['poa_global'], temperature,
wind_speed, a=-3.47, b=-0.0594, deltaT=3, irrad_ref=1000)
## Definicion del sistema

# sistema 1
sysA_name = 'Sistema A';
mps_SysA = 19; #Modules Per String
spi_SysA = 4; #Strings Per Inverter

system_A = PVSystem(module_parameters=module, inverter_parameters=inverter_A,


surface_azimuth=180,
surface_tilt=12, modules_per_string=mps_SysA, strings_per_
inverter=spi_SysA)

# sistema 2
sysB_name = 'Sistema B';
mps_SysB = 18; #Modules Per String
spi_SysB = 8; #Strings Per Inverter

system_B = PVSystem(module_parameters=module, inverter_parameters=inverter_B,


surface_azimuth=180,
surface_tilt=12, modules_per_string=mps_SysB, strings_per_
inverter=spi_SysB)
## PVlib inicializacion

# Obtencion valores de Vmp, Imp y Pmp con metodo CEC

IL, I0, Rs, Rsh, nNsVth = pvsystem.calcparams_cec(effective_irrad,


pvtemps,
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=6.420470,
EgRef=1.121, #Retrieved f
rom last link at above description
dEgdT=-0.0002677) #Retrie
ved from last link at above description

curve_info = pvsystem.singlediode(photocurrent=IL,
saturation_current=I0,
resistance_series=Rs,
resistance_shunt=Rsh,
nNsVth=nNsVth,
ivcurve_pnts=100,
method='lambertw')
## Metodo de "Single Diode" conparametros encontrados anteriormente

data_i_sc = pd.Series(curve_info['i_sc'])
data_v_oc = pd.Series(curve_info['v_oc'])
data_i_mp = pd.Series(curve_info['i_mp'])
data_v_mp = pd.Series(curve_info['v_mp'])
data_p_mp = pd.Series(curve_info['p_mp'])
data_i_x = pd.Series(curve_info['i_x'])
data_i_xx = pd.Series(curve_info['i_xx'])

# Resultados de metodo de "Single Diode" en un DataFrame


results_general = pd.DataFrame({'i_sc': data_i_sc,
'v_oc': data_v_oc,
'i_mp': data_i_mp,
'v_mp': data_v_mp,
'p_mp': data_p_mp,
'i_x': data_i_x,
'i_xx': data_i_xx})

datetime_index = data_weatherforecast.index

# Escalar resultados para el sistema A


sc_SysA = system_A.scale_voltage_current_power(results_general)
sc_SysA['Datetime'] = pd.to_datetime(datetime_index)
sc_SysA = sc_SysA.set_index('Datetime')
# Escalar resultados para el sistema B
sc_SysB = system_B.scale_voltage_current_power(results_general)
sc_SysB['Datetime'] = pd.to_datetime(datetime_index)
sc_SysB = sc_SysB.set_index('Datetime')

# tiempo de inicio, y nombre de años


start = pd.Timestamp('2021-01-01', tz=tz) # Start of Init-May (May 05, 2020)
end = pd.Timestamp('2045-12-31', tz=tz) # End of Init-May (May 11, 2020)

int_years = ['2021', '2022', '2023', '2024', '2025', '2026', '2027', '2028',


'2029', '2030', '2031', '2032','2033', '2034', '2035', '2036', '2037', '2038',
'2039', '2040', '2041','2042','2043', '2044', '2045']

years = np.linspace(1, len(int_years), len(int_years))

kilo = 1e3;
mega = 1e6;
giga = 1e9;
# Perdidas
losses_pvw = pvsystem.pvwatts_losses(soiling=2, shading=2, snow=0, mismatch=2,
wiring=2,
connections=0.5, lid=1.5, nameplate_rat
ing=1, age=0,
availability=3)

#SystemA
losses_SysA = np.linspace(11.23, 26.9, 25)
losses_SysA = losses_SysA/100

loss_2021 = np.array(np.repeat(losses_SysA[0], 8760))


loss_2022 = np.array(np.repeat(losses_SysA[1], 8760))
loss_2023 = np.array(np.repeat(losses_SysA[2], 8760))
loss_2024 = np.array(np.repeat(losses_SysA[3], 8784))
loss_2025 = np.array(np.repeat(losses_SysA[4], 8760))
loss_2026 = np.array(np.repeat(losses_SysA[5], 8760))
loss_2027 = np.array(np.repeat(losses_SysA[6], 8760))
loss_2028 = np.array(np.repeat(losses_SysA[7], 8784))
loss_2029 = np.array(np.repeat(losses_SysA[8], 8760))
loss_2030 = np.array(np.repeat(losses_SysA[9], 8760))
loss_2031 = np.array(np.repeat(losses_SysA[10],8760))
loss_2032 = np.array(np.repeat(losses_SysA[11],8784))
loss_2033 = np.array(np.repeat(losses_SysA[12],8760))
loss_2034 = np.array(np.repeat(losses_SysA[13],8760))
loss_2035 = np.array(np.repeat(losses_SysA[14],8760))
loss_2036 = np.array(np.repeat(losses_SysA[15],8784))
loss_2037 = np.array(np.repeat(losses_SysA[16],8760))
loss_2038 = np.array(np.repeat(losses_SysA[17],8760))
loss_2039 = np.array(np.repeat(losses_SysA[18],8760))
loss_2040 = np.array(np.repeat(losses_SysA[19],8784))
loss_2041 = np.array(np.repeat(losses_SysA[20],8760))
loss_2042 = np.array(np.repeat(losses_SysA[21],8760))
loss_2043 = np.array(np.repeat(losses_SysA[22],8760))
loss_2044 = np.array(np.repeat(losses_SysA[23],8784))
loss_2045 = np.array(np.repeat(losses_SysA[24],8760))

datalosses_SysA = np.concatenate([loss_2021, loss_2022, loss_2023, loss_2024,


loss_2025, loss_2026,
loss_2027, loss_2028, loss_2029, loss_2030,
loss_2031, loss_2032,
loss_2033, loss_2034, loss_2035, loss_2036, l
oss_2037, loss_2038,
loss_2039, loss_2040, loss_2041, loss_2042,
loss_2043, loss_2044,
loss_2045])

#Perdidas Sistema A
sc_SysA['i_mp'] = sc_SysA['i_mp'] - sc_SysA['i_mp']*datalosses_SysA
sc_SysA['p_mp'] = sc_SysA['p_mp'] - sc_SysA['p_mp']*datalosses_SysA

#Sistema B
losses_SysB = np.linspace(11.23, 26.9, 25)
losses_SysB = losses_SysB/100

loss_2021 = np.array(np.repeat(losses_SysB[0], 8760))


loss_2022 = np.array(np.repeat(losses_SysB[1], 8760))
loss_2023 = np.array(np.repeat(losses_SysB[2], 8760))
loss_2024 = np.array(np.repeat(losses_SysB[3], 8784))
loss_2025 = np.array(np.repeat(losses_SysB[4], 8760))
loss_2026 = np.array(np.repeat(losses_SysB[5], 8760))
loss_2027 = np.array(np.repeat(losses_SysB[6], 8760))
loss_2028 = np.array(np.repeat(losses_SysB[7], 8784))
loss_2029 = np.array(np.repeat(losses_SysB[8], 8760))
loss_2030 = np.array(np.repeat(losses_SysB[9], 8760))
loss_2031 = np.array(np.repeat(losses_SysB[10],8760))
loss_2032 = np.array(np.repeat(losses_SysB[11],8784))
loss_2033 = np.array(np.repeat(losses_SysB[12],8760))
loss_2034 = np.array(np.repeat(losses_SysB[13],8760))
loss_2035 = np.array(np.repeat(losses_SysB[14],8760))
loss_2036 = np.array(np.repeat(losses_SysB[15],8784))
loss_2037 = np.array(np.repeat(losses_SysB[16],8760))
loss_2038 = np.array(np.repeat(losses_SysB[17],8760))
loss_2039 = np.array(np.repeat(losses_SysB[18],8760))
loss_2040 = np.array(np.repeat(losses_SysB[19],8784))
loss_2041 = np.array(np.repeat(losses_SysB[20],8760))
loss_2042 = np.array(np.repeat(losses_SysB[21],8760))
loss_2043 = np.array(np.repeat(losses_SysB[22],8760))
loss_2044 = np.array(np.repeat(losses_SysB[23],8784))
loss_2045 = np.array(np.repeat(losses_SysB[24],8760))

datalosses_SysB = np.concatenate([loss_2021, loss_2022, loss_2023, loss_2024,


loss_2025, loss_2026,
loss_2027, loss_2028, loss_2029, loss_2030,
loss_2031, loss_2032,
loss_2033, loss_2034, loss_2035, loss_2036, l
oss_2037, loss_2038,
loss_2039, loss_2040, loss_2041, loss_2042,
loss_2043, loss_2044,
loss_2045])

##Perdidas sistema B
sc_SysB['i_mp'] = sc_SysB['i_mp'] - sc_SysB['i_mp']*datalosses_SysB
sc_SysB['p_mp'] = sc_SysB['p_mp'] - sc_SysB['p_mp']*datalosses_SysB

#Perdidas de voltaje para sistema A y B


sc_SysA['v_mp'] = sc_SysA['v_mp'] - sc_SysA['v_mp']*datalosses_SysA
sc_SysB['v_mp'] = sc_SysB['v_mp'] - sc_SysB['v_mp']*datalosses_SysB

#PVLIB Modelo Potencia AC


ACPow_SysA = pvsystem.snlinverter(sc_SysA['v_mp'], sc_SysA['p_mp'], inverter_A
)/1000;
ACPow_SysB = pvsystem.snlinverter(sc_SysB['v_mp'], sc_SysB['p_mp'], inverter_B
)/1000;

# Pasar datos horarios a anuales sumando.


PVL_year_ACPower_SysA = ACPow_SysA.resample('12m').sum();
PVL_year_ACPower_SysB = ACPow_SysB.resample('12m').sum();

# Exportacion datos de Potencia AC anuales para su posterior uso en Excel


PVL_year_ACPower_SysA.to_csv('AC_CHU_25años_SysA.csv')
PVL_year_ACPower_SysB.to_csv('AC_CHU_25años_SysB.csv')
Modelo a 25 años azimut 180°(Bachillerato)
# Set-up
%matplotlib inline
import matplotlib.pyplot as plt

# Built-in Python modules


import datetime
import inspect
import os
import csv

# Python add-ons
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
from matplotlib import dates as mpl_dates
from scipy import stats

# For accessing UNIDATA THREDDS servers


from siphon.catalog import TDSCatalog
from siphon.ncss import NCSS

# Sandia PVLIB-Python Module


import pvlib
from pvlib import solarposition, irradiance, atmosphere, pvsystem, bifacial

# Sandia PVLIB-Python Forecasting Class


from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP

# Sandia PVLIB-Python Location Class


from pvlib.location import Location

# Sandia PVLIB-Python PV Power Classes


from pvlib.pvsystem import PVSystem, retrieve_sam
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain

import pvfactors
Sistema del colegio

Inversores y modulo

#Inversores
inverter_sys1 = pd.read_csv('CEC Inverters.csv')
inverter_a=inverter_sys1.iloc[162]
inverter_A=pd.to_numeric(inverter_a, errors='coerce')

# Modulo
TSM410DE15HII = {
'BIPV': 'N',
'Date': '12/19/2019',
'T_NOCT': 43.800,
'A_c': 2.0,
'N_s': 48,
'I_sc_ref': 10.2900,
'V_oc_ref': 51.20,
'I_mp_ref': 9.8400,
'V_mp_ref': 41.700,
'alpha_sc': 0.004116,
'beta_oc': -0.138240,
'a_ref': 1.866272,
'I_L_ref': 10.399814,
'I_o_ref': 1.25519e-11,
'R_s': 0.384133,
'R_sh_ref': 577.437927,
'Adjust': 2.154072,
'gamma_r': -0.345000,
'Version': 'SAM 2019.12.19',
'PTC': 384.500,
'Technology': 'Mono-c-Si',
'Name': 'Trina Solar TSM-410DE15H(II)',
}
module=pd.Series(TSM410DE15HII , name='Trina Solar TSM-410DE15H(II)')

#Ubicacion
latitude= 10.998
longitude= -74.8226
tz='America/Bogota'
start = pd.Timestamp('2021-01-01', tz=tz) # Inicio del analsisi enero 01 2021
end = pd.Timestamp('2045-12-31', tz=tz) # Final del analisis Diciembre 31 2045

location = Location(latitude, longitude, tz, altitude=18)


file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/25añosFuturo.xlsx'

sheet='Hoja1'
data_weatherforecast=pd.read_excel(io=file_name, sheet_name=sheet)
data_weatherforecast = pd.DataFrame(data_weatherforecast)
data_weatherforecast = data_weatherforecast.set_index(pd.to_datetime(data_weat
herforecast['datetime']))

# Cambiando la fecha de la posicion solar


PosSol=pd.read_csv('PosSol_Futuro.csv')
PosSol = pd.DataFrame(PosSol)
PosSol = PosSol.set_index(pd.to_datetime(PosSol['datetime']))

#Tilt, azimut, albedo


surface_tilt=12;

surface_azimuth = 180; #Fixed south oriented

albedo=irradiance.SURFACE_ALBEDOS['urban']

## Irradiancia efectiva

dni_extra = irradiance.get_extra_radiation(data_weatherforecast.index, method=


'NREL');

total_irrad = irradiance.get_total_irradiance(surface_tilt,
surface_azimuth,
PosSol['apparent_zenith'],
PosSol['azimuth'],
data_weatherforecast['dni'],
data_weatherforecast['ghi'],
data_weatherforecast['dhi'],
dni_extra=dni_extra,
albedo=albedo,
model='haydavies')

## precipitacion
pw = atmosphere.gueymard94_pw(data_weatherforecast['temp_air'], relative_humid
ity=80)

#Masa de aire relativa


relative_airmass = atmosphere.get_relative_airmass(PosSol['apparent_zenith'],
model='kastenyoung1989');

#Masa de aire absoluta


pressure = 101100
absolute_airmass = atmosphere.get_absolute_airmass(relative_airmass,pressure);
## Disordanica con los rayos solares
spectral_mismatch_raw = atmosphere.first_solar_spectral_correction(pw, absolut
e_airmass, module_type='monosi', coefficients=None);

#spectral_mismatch_raw = spectral_mismatch_raw[~np.isnan(spectral_mismatch_ra
w)] # Removing NaN values from the array
spectral_mismatch = spectral_mismatch_raw.fillna(1); # Changing NaN values fro
m the array to 1

#AOI
aoi = irradiance.aoi(surface_tilt, surface_azimuth, PosSol['apparent_zenith'],
PosSol['azimuth'])

physicaliam = pvlib.iam.physical(aoi, n=1.526, K=4.0, L=0.002);


## irradiancia efectiva
effective_irrad = spectral_mismatch*((total_irrad['poa_direct']*abs(np.cos(aoi
)))+total_irrad['poa_diffuse'])
effective_irrad

## temp modulo

temperature = data_weatherforecast['temp_air'];
wind_speed = data_weatherforecast['wind_speed'];
pvtemps = pvlib.temperature.sapm_cell(total_irrad['poa_global'], temperature,
wind_speed, a=-3.47, b=-0.0594, deltaT=3, irrad_ref=1000)
pvtemps

Length: 219144, dtype: float64

## Definicion del sistema

# sistema 1
sysA_name = 'Sistema A';
mps_SysA = 17; #Modules Per String
spi_SysA = 4; #Strings Per Inverter

system_A = PVSystem(module_parameters=module, inverter_parameters=inverter_A,


surface_azimuth=180,
surface_tilt=12, modules_per_string=mps_SysA, strings_per_
inverter=spi_SysA)

## PVlib inicializacion
# Obtencion valores de Vmp, Imp y Pmp con metodo CEC

IL, I0, Rs, Rsh, nNsVth = pvsystem.calcparams_cec(effective_irrad,


pvtemps,
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=6.420470,
EgRef=1.121, #Retrieved f
rom last link at above description
dEgdT=-0.0002677) #Retrie
ved from last link at above description

curve_info = pvsystem.singlediode(photocurrent=IL,
saturation_current=I0,
resistance_series=Rs,
resistance_shunt=Rsh,
nNsVth=nNsVth,
ivcurve_pnts=100,
method='lambertw')
## Metodo de "Single Diode" conparametros encontrados anteriormente

data_i_sc = pd.Series(curve_info['i_sc'])
data_v_oc = pd.Series(curve_info['v_oc'])
data_i_mp = pd.Series(curve_info['i_mp'])
data_v_mp = pd.Series(curve_info['v_mp'])
data_p_mp = pd.Series(curve_info['p_mp'])
data_i_x = pd.Series(curve_info['i_x'])
data_i_xx = pd.Series(curve_info['i_xx'])

# Resultados de metodo de "Single Diode" en un DataFrame


results_general = pd.DataFrame({'i_sc': data_i_sc,
'v_oc': data_v_oc,
'i_mp': data_i_mp,
'v_mp': data_v_mp,
'p_mp': data_p_mp,
'i_x': data_i_x,
'i_xx': data_i_xx})

datetime_index = data_weatherforecast.index

# Escalar resultados para el sistema A


sc_SysA = system_A.scale_voltage_current_power(results_general)
sc_SysA['Datetime'] = pd.to_datetime(datetime_index)
sc_SysA = sc_SysA.set_index('Datetime')
# tiempo de inicio, y nombre de años
start = pd.Timestamp('2021-01-01', tz=tz) # Start of Init-May (May 05, 2020)
end = pd.Timestamp('2045-12-31', tz=tz) # End of Init-May (May 11, 2020)

int_years = ['2021', '2022', '2023', '2024', '2025', '2026', '2027', '2028',


'2029', '2030', '2031', '2032','2033', '2034', '2035', '2036', '2037', '2038',
'2039', '2040', '2041','2042','2043', '2044', '2045']

years = np.linspace(1, len(int_years), len(int_years))

kilo = 1e3;
mega = 1e6;
giga = 1e9;
# Perdidas
losses_pvw = pvsystem.pvwatts_losses(soiling=2, shading=2, snow=0, mismatch=2,
wiring=2,
connections=0.5, lid=1.5, nameplate_rat
ing=1, age=0,
availability=3)

#SystemA
losses_SysA = np.linspace(11.23, 26.9, 25)
losses_SysA = losses_SysA/100

loss_2021 = np.array(np.repeat(losses_SysA[0], 8760))


loss_2022 = np.array(np.repeat(losses_SysA[1], 8760))
loss_2023 = np.array(np.repeat(losses_SysA[2], 8760))
loss_2024 = np.array(np.repeat(losses_SysA[3], 8784))
loss_2025 = np.array(np.repeat(losses_SysA[4], 8760))
loss_2026 = np.array(np.repeat(losses_SysA[5], 8760))
loss_2027 = np.array(np.repeat(losses_SysA[6], 8760))
loss_2028 = np.array(np.repeat(losses_SysA[7], 8784))
loss_2029 = np.array(np.repeat(losses_SysA[8], 8760))
loss_2030 = np.array(np.repeat(losses_SysA[9], 8760))
loss_2031 = np.array(np.repeat(losses_SysA[10],8760))
loss_2032 = np.array(np.repeat(losses_SysA[11],8784))
loss_2033 = np.array(np.repeat(losses_SysA[12],8760))
loss_2034 = np.array(np.repeat(losses_SysA[13],8760))
loss_2035 = np.array(np.repeat(losses_SysA[14],8760))
loss_2036 = np.array(np.repeat(losses_SysA[15],8784))
loss_2037 = np.array(np.repeat(losses_SysA[16],8760))
loss_2038 = np.array(np.repeat(losses_SysA[17],8760))
loss_2039 = np.array(np.repeat(losses_SysA[18],8760))
loss_2040 = np.array(np.repeat(losses_SysA[19],8784))
loss_2041 = np.array(np.repeat(losses_SysA[20],8760))
loss_2042 = np.array(np.repeat(losses_SysA[21],8760))
loss_2043 = np.array(np.repeat(losses_SysA[22],8760))
loss_2044 = np.array(np.repeat(losses_SysA[23],8784))
loss_2045 = np.array(np.repeat(losses_SysA[24],8760))

datalosses_SysA = np.concatenate([loss_2021, loss_2022, loss_2023, loss_2024,


loss_2025, loss_2026,
loss_2027, loss_2028, loss_2029, loss_2030,
loss_2031, loss_2032,
loss_2033, loss_2034, loss_2035, loss_2036, l
oss_2037, loss_2038,
loss_2039, loss_2040, loss_2041, loss_2042,
loss_2043, loss_2044,
loss_2045])

#Perdidas de voltaje para sistema A y B


sc_SysA['v_mp'] = sc_SysA['v_mp'] - sc_SysA['v_mp']*datalosses_SysA

#PVLIB Modelo Potencia AC


ACPow_SysA = pvsystem.snlinverter(sc_SysA['v_mp'], sc_SysA['p_mp'], inverter_A
)/1000;
# Pasar datos horarios a anuales sumando.
PVL_year_ACPower_SysA = ACPow_SysA.resample('12m').sum();

# Exportacion datos de Potencia AC anuales para su posterior uso en Excel


PVL_year_ACPower_SysA.to_csv('AC_CHU_25años_SysA_180_Bach.csv')
Modelo a 25 años azimut 180° (primaria)
# Set-up
%matplotlib inline
import matplotlib.pyplot as plt

# Built-in Python modules


import datetime
import inspect
import os
import csv

# Python add-ons
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
from matplotlib import dates as mpl_dates
from scipy import stats

# For accessing UNIDATA THREDDS servers


from siphon.catalog import TDSCatalog
from siphon.ncss import NCSS

# Sandia PVLIB-Python Module


import pvlib
from pvlib import solarposition, irradiance, atmosphere, pvsystem, bifacial

# Sandia PVLIB-Python Forecasting Class


from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP

# Sandia PVLIB-Python Location Class


from pvlib.location import Location

# Sandia PVLIB-Python PV Power Classes


from pvlib.pvsystem import PVSystem, retrieve_sam
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain

import pvfactors
Sistema del colegio

Inversores y modulo

#Inversores
inverter_sys2=pd.read_csv('CEC Inverters.csv')
inverter_b=inverter_sys2.iloc[3156]
inverter_B=pd.to_numeric(inverter_b, errors='coerce')

# Modulo
TSM410DE15HII = {
'BIPV': 'N',
'Date': '12/19/2019',
'T_NOCT': 43.800,
'A_c': 2.0,
'N_s': 48,
'I_sc_ref': 10.2900,
'V_oc_ref': 51.20,
'I_mp_ref': 9.8400,
'V_mp_ref': 41.700,
'alpha_sc': 0.004116,
'beta_oc': -0.138240,
'a_ref': 1.866272,
'I_L_ref': 10.399814,
'I_o_ref': 1.25519e-11,
'R_s': 0.384133,
'R_sh_ref': 577.437927,
'Adjust': 2.154072,
'gamma_r': -0.345000,
'Version': 'SAM 2019.12.19',
'PTC': 384.500,
'Technology': 'Mono-c-Si',
'Name': 'Trina Solar TSM-410DE15H(II)',
}
module=pd.Series(TSM410DE15HII , name='Trina Solar TSM-410DE15H(II)')

#Ubicacion
latitude= 10.998
longitude= -74.8226
tz='America/Bogota'
start = pd.Timestamp('2021-01-01', tz=tz) # Inicio del analsisi enero 01 2021
end = pd.Timestamp('2045-12-31', tz=tz) # Final del analisis Diciembre 31 2045

location = Location(latitude, longitude, tz, altitude=18)

file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/25añosFuturo.xlsx'

sheet='Hoja1'
data_weatherforecast=pd.read_excel(io=file_name, sheet_name=sheet)
data_weatherforecast = pd.DataFrame(data_weatherforecast)
data_weatherforecast = data_weatherforecast.set_index(pd.to_datetime(data_weat
herforecast['datetime']))

preassure= pvlib.atmosphere.alt2pres(altitude=18)
# Cambiando la fecha de la posicion solar
PosSol=pd.read_csv('PosSol_Futuro.csv')
PosSol = pd.DataFrame(PosSol)
PosSol = PosSol.set_index(pd.to_datetime(PosSol['datetime']))

#Tilt, azimut, albedo


surface_tilt=12;
surface_azimuth = 180; #Sur
albedo=irradiance.SURFACE_ALBEDOS['urban']

## Irradiancia efectiva

dni_extra = irradiance.get_extra_radiation(data_weatherforecast.index, method=


'NREL');

total_irrad = irradiance.get_total_irradiance(surface_tilt,
surface_azimuth,
PosSol['apparent_zenith'],
PosSol['azimuth'],
data_weatherforecast['dni'],
data_weatherforecast['ghi'],
data_weatherforecast['dhi'],
dni_extra=dni_extra,
albedo=albedo,
model='haydavies')

## precipitacion
pw = atmosphere.gueymard94_pw(data_weatherforecast['temp_air'], relative_humid
ity=80)
#Masa de aire Absoluta
relative_airmass = atmosphere.get_relative_airmass(PosSol['apparent_zenith'],
model='kastenyoung1989');

#Masa dd aire relativa


pressure = 101100
absolute_airmass = atmosphere.get_absolute_airmass(relative_airmass,pressure);

## Disordanica con los rayos solares


spectral_mismatch_raw = atmosphere.first_solar_spectral_correction(pw, absolut
e_airmass, module_type='monosi', coefficients=None);

#spectral_mismatch_raw = spectral_mismatch_raw[~np.isnan(spectral_mismatch_ra
w)] # Removing NaN values from the array
spectral_mismatch = spectral_mismatch_raw.fillna(1); # Changing NaN values fro
m the array to 1

#AOI
aoi = irradiance.aoi(surface_tilt, surface_azimuth, PosSol['apparent_zenith'],
PosSol['azimuth'])
physicaliam = pvlib.iam.physical(aoi, n=1.526, K=4.0, L=0.002);

## irradiancia efectiva
effective_irrad = spectral_mismatch*((total_irrad['poa_direct']*abs(np.cos(aoi
)))+total_irrad['poa_diffuse'])
effective_irrad

## temp modulo

temperature = data_weatherforecast['temp_air'];
wind_speed = data_weatherforecast['wind_speed'];
pvtemps = pvlib.temperature.sapm_cell(total_irrad['poa_global'], temperature,
wind_speed, a=-3.47, b=-0.0594, deltaT=3, irrad_ref=1000)
pvtemps

## Definicion del sistema

# sistema 2
sysB_name = 'Sistema B';
mps_SysB = 19; #Modules Per String
spi_SysB = 8; #Strings Per Inverter

system_B = PVSystem(module_parameters=module, inverter_parameters=inverter_B,


surface_azimuth=180,
surface_tilt=12, modules_per_string=mps_SysB, strings_per_
inverter=spi_SysB)
## PVlib inicializacion

# Obtencion valores de Vmp, Imp y Pmp con metodo CEC

IL, I0, Rs, Rsh, nNsVth = pvsystem.calcparams_cec(effective_irrad,


pvtemps,
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=6.420470,
EgRef=1.121, #Retrieved f
rom last link at above description
dEgdT=-0.0002677) #Retrie
ved from last link at above description

curve_info = pvsystem.singlediode(photocurrent=IL,
saturation_current=I0,
resistance_series=Rs,
resistance_shunt=Rsh,
nNsVth=nNsVth,
ivcurve_pnts=100,
method='lambertw')
## Metodo de "Single Diode" conparametros encontrados anteriormente

data_i_sc = pd.Series(curve_info['i_sc'])
data_v_oc = pd.Series(curve_info['v_oc'])
data_i_mp = pd.Series(curve_info['i_mp'])
data_v_mp = pd.Series(curve_info['v_mp'])
data_p_mp = pd.Series(curve_info['p_mp'])
data_i_x = pd.Series(curve_info['i_x'])
data_i_xx = pd.Series(curve_info['i_xx'])

# Resultados de metodo de "Single Diode" en un DataFrame


results_general = pd.DataFrame({'i_sc': data_i_sc,
'v_oc': data_v_oc,
'i_mp': data_i_mp,
'v_mp': data_v_mp,
'p_mp': data_p_mp,
'i_x': data_i_x,
'i_xx': data_i_xx})

datetime_index = data_weatherforecast.index

# Escalar resultados para el sistema B


sc_SysB = system_B.scale_voltage_current_power(results_general)
sc_SysB['Datetime'] = pd.to_datetime(datetime_index)
sc_SysB = sc_SysB.set_index('Datetime')
# tiempo de inicio, y nombre de años
start = pd.Timestamp('2021-01-01', tz=tz) # Start of Init-May (May 05, 2020)
end = pd.Timestamp('2045-12-31', tz=tz) # End of Init-May (May 11, 2020)

int_years = ['2021', '2022', '2023', '2024', '2025', '2026', '2027', '2028',


'2029', '2030', '2031', '2032','2033', '2034', '2035', '2036', '2037', '2038',
'2039', '2040', '2041','2042','2043', '2044', '2045']

years = np.linspace(1, len(int_years), len(int_years))

kilo = 1e3;
mega = 1e6;
giga = 1e9;
# Perdidas
losses_pvw = pvsystem.pvwatts_losses(soiling=2, shading=2, snow=0, mismatch=2,
wiring=2,
connections=0.5, lid=1.5, nameplate_rat
ing=1, age=0,
availability=3)

#Sistema B
losses_SysB = np.linspace(11.23, 26.9, 25)
losses_SysB = losses_SysB/100

loss_2021 = np.array(np.repeat(losses_SysB[0], 8760))


loss_2022 = np.array(np.repeat(losses_SysB[1], 8760))
loss_2023 = np.array(np.repeat(losses_SysB[2], 8760))
loss_2024 = np.array(np.repeat(losses_SysB[3], 8784))
loss_2025 = np.array(np.repeat(losses_SysB[4], 8760))
loss_2026 = np.array(np.repeat(losses_SysB[5], 8760))
loss_2027 = np.array(np.repeat(losses_SysB[6], 8760))
loss_2028 = np.array(np.repeat(losses_SysB[7], 8784))
loss_2029 = np.array(np.repeat(losses_SysB[8], 8760))
loss_2030 = np.array(np.repeat(losses_SysB[9], 8760))
loss_2031 = np.array(np.repeat(losses_SysB[10],8760))
loss_2032 = np.array(np.repeat(losses_SysB[11],8784))
loss_2033 = np.array(np.repeat(losses_SysB[12],8760))
loss_2034 = np.array(np.repeat(losses_SysB[13],8760))
loss_2035 = np.array(np.repeat(losses_SysB[14],8760))
loss_2036 = np.array(np.repeat(losses_SysB[15],8784))
loss_2037 = np.array(np.repeat(losses_SysB[16],8760))
loss_2038 = np.array(np.repeat(losses_SysB[17],8760))
loss_2039 = np.array(np.repeat(losses_SysB[18],8760))
loss_2040 = np.array(np.repeat(losses_SysB[19],8784))
loss_2041 = np.array(np.repeat(losses_SysB[20],8760))
loss_2042 = np.array(np.repeat(losses_SysB[21],8760))
loss_2043 = np.array(np.repeat(losses_SysB[22],8760))
loss_2044 = np.array(np.repeat(losses_SysB[23],8784))
loss_2045 = np.array(np.repeat(losses_SysB[24],8760))

datalosses_SysB = np.concatenate([loss_2021, loss_2022, loss_2023, loss_2024,


loss_2025, loss_2026,
loss_2027, loss_2028, loss_2029, loss_2030,
loss_2031, loss_2032,
loss_2033, loss_2034, loss_2035, loss_2036, l
oss_2037, loss_2038,
loss_2039, loss_2040, loss_2041, loss_2042,
loss_2043, loss_2044,
loss_2045])

##Perdidas sistema B
sc_SysB['i_mp'] = sc_SysB['i_mp'] - sc_SysB['i_mp']*datalosses_SysB
sc_SysB['p_mp'] = sc_SysB['p_mp'] - sc_SysB['p_mp']*datalosses_SysB
#Perdidas de voltaje para sistema A y B
sc_SysB['v_mp'] = sc_SysB['v_mp'] - sc_SysB['v_mp']*datalosses_SysB

#PVLIB Modelo Potencia AC


ACPow_SysB = pvsystem.snlinverter(sc_SysB['v_mp'], sc_SysB['p_mp'], inverter_B
)/1000;

# Pasar datos horarios a anuales sumando.


PVL_year_ACPower_SysB = ACPow_SysB.resample('12m').sum();

# Exportacion datos de Potencia AC anuales para su posterior uso en Excel

PVL_year_ACPower_SysB.to_csv('AC_CHU_25años_180_Primaria.csv')
Modelo a 25 años azimut 205°
# Set-up
%matplotlib inline
import matplotlib.pyplot as plt

# Built-in Python modules


import datetime
import inspect
import os
import csv

# Python add-ons
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
from matplotlib import dates as mpl_dates
from scipy import stats

# For accessing UNIDATA THREDDS servers


from siphon.catalog import TDSCatalog
from siphon.ncss import NCSS

# Sandia PVLIB-Python Module


import pvlib
from pvlib import solarposition, irradiance, atmosphere, pvsystem, bifacial

# Sandia PVLIB-Python Forecasting Class


from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP

# Sandia PVLIB-Python Location Class


from pvlib.location import Location

# Sandia PVLIB-Python PV Power Classes


from pvlib.pvsystem import PVSystem, retrieve_sam
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain
import pvfactors
## INVERSOREs
#Inversores
inverter_sys1 = pd.read_csv('CEC Inverters.csv')
inverter_a=inverter_sys1.iloc[160]
inverter_A=pd.to_numeric(inverter_a, errors='coerce')
inverter_sys2=pd.read_csv('CEC Inverters.csv')
inverter_b=inverter_sys2.iloc[1627]
inverter_B=pd.to_numeric(inverter_b, errors='coerce')

# Modulo
TSM410DE15HII = {
'BIPV': 'N',
'Date': '12/19/2019',
'T_NOCT': 43.800,
'A_c': 2.0,
'N_s': 48,
'I_sc_ref': 10.2900,
'V_oc_ref': 51.20,
'I_mp_ref': 9.8400,
'V_mp_ref': 41.700,
'alpha_sc': 0.004116,
'beta_oc': -0.138240,
'a_ref': 1.866272,
'I_L_ref': 10.399814,
'I_o_ref': 1.25519e-11,
'R_s': 0.384133,
'R_sh_ref': 577.437927,
'Adjust': 2.154072,
'gamma_r': -0.345000,
'Version': 'SAM 2019.12.19',
'PTC': 384.500,
'Technology': 'Mono-c-Si',
'Name': 'Trina Solar TSM-410DE15H(II)',
}
module=pd.Series(TSM410DE15HII , name='Trina Solar TSM-410DE15H(II)')

#Ubicacion
latitude= 10.998
longitude= -74.8226
tz='America/Bogota'
start = pd.Timestamp('2021-01-01', tz=tz) # Inicio del analsisi enero 01 2021
end = pd.Timestamp('2045-12-31', tz=tz) # Final del analisis Diciembre 31 2045

location = Location(latitude, longitude, tz, altitude=18)


file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/25añosFuturo.xlsx'

sheet='Hoja1'
data_weatherforecast=pd.read_excel(io=file_name, sheet_name=sheet)
data_weatherforecast = pd.DataFrame(data_weatherforecast)
data_weatherforecast = data_weatherforecast.set_index(pd.to_datetime(data_weat
herforecast['datetime']))

file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/25añosviejo.xlsx'

sheet='Hoja1'
data_Sol=pd.read_excel(io=file_name, sheet_name=sheet)
data_Sol = pd.DataFrame(data_Sol)
data_Sol = data_Sol.set_index(pd.to_datetime(data_Sol['datetime']))
data_Sol.head()

preassure= pvlib.atmosphere.alt2pres(altitude=18)

# posicion solar usando los años viejos


### NO EJECUTAR
time = data_Sol.index;
a_point = location;

solpos = a_point.get_solarposition(time);
solpos.to_csv('PosSol.csv')

PosSol=pd.read_csv('PosSol_Futuro.csv')
PosSol = pd.DataFrame(PosSol)
PosSol = PosSol.set_index(pd.to_datetime(PosSol['datetime']))
PosSol.head()

#Tilt, azimut, albedo


surface_tilt=12;
surface_azimuth = 205 # paralelo al techo

albedo=irradiance.SURFACE_ALBEDOS['urban']
## Irradiancia efectiva POA total
dni_extra = irradiance.get_extra_radiation(data_weatherforecast.index, method=
'NREL');

total_irrad = irradiance.get_total_irradiance(surface_tilt,
surface_azimuth,
PosSol['apparent_zenith'],
PosSol['azimuth'],
data_weatherforecast['dni'],
data_weatherforecast['ghi'],
data_weatherforecast['dhi'],
dni_extra=dni_extra,
albedo=albedo,
model='haydavies')

## precipitacion
pw = atmosphere.gueymard94_pw(data_weatherforecast['temp_air'], relative_humid
ity=80)

#Masa de aire relativa


relative_airmass = atmosphere.get_relative_airmass(PosSol['apparent_zenith'],
model='kastenyoung1989');

#Masa de aire absoluta


pressure = 101100 #Presion atmosferica
absolute_airmass = atmosphere.get_absolute_airmass(relative_airmass,pressure);

## Disordanica con los rayos solares


spectral_mismatch_raw = atmosphere.first_solar_spectral_correction(pw, absolut
e_airmass, module_type='monosi', coefficients=None);

#Cambiando valores NaN a 1


spectral_mismatch = spectral_mismatch_raw.fillna(1);

#AOI
aoi = irradiance.aoi(surface_tilt, surface_azimuth, PosSol['apparent_zenith'],
PosSol['azimuth'])

physicaliam = pvlib.iam.physical(aoi, n=1.526, K=4.0, L=0.002);


## irradiancia efectiva
effective_irrad = spectral_mismatch*((total_irrad['poa_direct']*abs(np.cos(aoi
)))+total_irrad['poa_diffuse'])

# Temperatura de modulo
temperature = data_weatherforecast['temp_air'];
wind_speed = data_weatherforecast['wind_speed'];
pvtemps = pvlib.temperature.sapm_cell(total_irrad['poa_global'], temperature,
wind_speed, a=-3.47, b=-0.0594, deltaT=3, irrad_ref=1000)
pvtemps

## Definicion del sistema

# sistema 1
sysA_name = 'Sistema A';
mps_SysA = 15; #Modules Per String
spi_SysA = 8; #Strings Per Inverter

system_A = PVSystem(module_parameters=module, inverter_parameters=inverter_A,


surface_azimuth=205,
surface_tilt=12, modules_per_string=mps_SysA, strings_per_
inverter=spi_SysA)

# sistema 2
sysB_name = 'Sistema B';
mps_SysB = 18; #Modules Per String
spi_SysB = 8; #Strings Per Inverter

system_B = PVSystem(module_parameters=module, inverter_parameters=inverter_B,


surface_azimuth=205,
surface_tilt=12, modules_per_string=mps_SysB, strings_per_
inverter=spi_SysB)

# Iniciacion Pvlib
# Obtencion valores de Vmp, Imp y Pmp con metodo CEC
IL, I0, Rs, Rsh, nNsVth = pvsystem.calcparams_cec(effective_irrad,
pvtemps,
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=6.420470,
EgRef=1.121, #Cte tomada
de Pvlib
dEgdT=-0.0002677) #Cte to
mada de Pvlib

curve_info = pvsystem.singlediode(photocurrent=IL,
saturation_current=I0,
resistance_series=Rs,
resistance_shunt=Rsh,
nNsVth=nNsVth,
ivcurve_pnts=100,
method='lambertw')

# Metodo de "Single Diode" conparametros encontrados anteriormente


data_i_sc = pd.Series(curve_info['i_sc'])
data_v_oc = pd.Series(curve_info['v_oc'])
data_i_mp = pd.Series(curve_info['i_mp'])
data_v_mp = pd.Series(curve_info['v_mp'])
data_p_mp = pd.Series(curve_info['p_mp'])
data_i_x = pd.Series(curve_info['i_x'])
data_i_xx = pd.Series(curve_info['i_xx'])

# Resultados de metodo de "Single Diode" en un DataFrame


results_general = pd.DataFrame({'i_sc': data_i_sc,
'v_oc': data_v_oc,
'i_mp': data_i_mp,
'v_mp': data_v_mp,
'p_mp': data_p_mp,
'i_x': data_i_x,
'i_xx': data_i_xx})

datetime_index = data_weatherforecast.index

# Escalar resultados para el sistema A


sc_SysA = system_A.scale_voltage_current_power(results_general)
sc_SysA['Datetime'] = pd.to_datetime(datetime_index)
sc_SysA = sc_SysA.set_index('Datetime')

# Escalar resultados para el sistema B


sc_SysB = system_B.scale_voltage_current_power(results_general)
sc_SysB['Datetime'] = pd.to_datetime(datetime_index)
sc_SysB = sc_SysB.set_index('Datetime')
# tiempo de inicio, y nombre de años
start = pd.Timestamp('2021-01-01', tz=tz) # Start of Init-May (May 05, 2020)
end = pd.Timestamp('2045-12-31', tz=tz) # End of Init-May (May 11, 2020)

int_years = ['2021', '2022', '2023', '2024', '2025', '2026', '2027', '2028',


'2029', '2030', '2031', '2032','2033', '2034', '2035', '2036', '2037', '2038',
'2039', '2040', '2041','2042','2043', '2044', '2045']

years = np.linspace(1, len(int_years), len(int_years))

kilo = 1e3;
mega = 1e6;
giga = 1e9;
# Perdidas
losses_pvw = pvsystem.pvwatts_losses(soiling=2, shading=2, snow=0, mismatch=2,
wiring=2,
connections=0.5, lid=1.5, nameplate_rat
ing=1, age=0,
availability=3)

#SystemA
losses_SysA = np.linspace(11.23, 26.9, 25)
losses_SysA = losses_SysA/100

loss_2021 = np.array(np.repeat(losses_SysA[0], 8760))


loss_2022 = np.array(np.repeat(losses_SysA[1], 8760))
loss_2023 = np.array(np.repeat(losses_SysA[2], 8760))
loss_2024 = np.array(np.repeat(losses_SysA[3], 8784))
loss_2025 = np.array(np.repeat(losses_SysA[4], 8760))
loss_2026 = np.array(np.repeat(losses_SysA[5], 8760))
loss_2027 = np.array(np.repeat(losses_SysA[6], 8760))
loss_2028 = np.array(np.repeat(losses_SysA[7], 8784))
loss_2029 = np.array(np.repeat(losses_SysA[8], 8760))
loss_2030 = np.array(np.repeat(losses_SysA[9], 8760))
loss_2031 = np.array(np.repeat(losses_SysA[10],8760))
loss_2032 = np.array(np.repeat(losses_SysA[11],8784))
loss_2033 = np.array(np.repeat(losses_SysA[12],8760))
loss_2034 = np.array(np.repeat(losses_SysA[13],8760))
loss_2035 = np.array(np.repeat(losses_SysA[14],8760))
loss_2036 = np.array(np.repeat(losses_SysA[15],8784))
loss_2037 = np.array(np.repeat(losses_SysA[16],8760))
loss_2038 = np.array(np.repeat(losses_SysA[17],8760))
loss_2039 = np.array(np.repeat(losses_SysA[18],8760))
loss_2040 = np.array(np.repeat(losses_SysA[19],8784))
loss_2041 = np.array(np.repeat(losses_SysA[20],8760))
loss_2042 = np.array(np.repeat(losses_SysA[21],8760))
loss_2043 = np.array(np.repeat(losses_SysA[22],8760))
loss_2044 = np.array(np.repeat(losses_SysA[23],8784))
loss_2045 = np.array(np.repeat(losses_SysA[24],8760))

datalosses_SysA = np.concatenate([loss_2021, loss_2022, loss_2023, loss_2024,


loss_2025, loss_2026,
loss_2027, loss_2028, loss_2029, loss_2030,
loss_2031, loss_2032,
loss_2033, loss_2034, loss_2035, loss_2036, l
oss_2037, loss_2038,
loss_2039, loss_2040, loss_2041, loss_2042,
loss_2043, loss_2044,
loss_2045])

#Perdidas Sistema A
sc_SysA['i_mp'] = sc_SysA['i_mp'] - sc_SysA['i_mp']*datalosses_SysA
sc_SysA['p_mp'] = sc_SysA['p_mp'] - sc_SysA['p_mp']*datalosses_SysA

#Sistema B
losses_SysB = np.linspace(11.23, 26.9, 25)
losses_SysB = losses_SysB/100

loss_2021 = np.array(np.repeat(losses_SysB[0], 8760))


loss_2022 = np.array(np.repeat(losses_SysB[1], 8760))
loss_2023 = np.array(np.repeat(losses_SysB[2], 8760))
loss_2024 = np.array(np.repeat(losses_SysB[3], 8784))
loss_2025 = np.array(np.repeat(losses_SysB[4], 8760))
loss_2026 = np.array(np.repeat(losses_SysB[5], 8760))
loss_2027 = np.array(np.repeat(losses_SysB[6], 8760))
loss_2028 = np.array(np.repeat(losses_SysB[7], 8784))
loss_2029 = np.array(np.repeat(losses_SysB[8], 8760))
loss_2030 = np.array(np.repeat(losses_SysB[9], 8760))
loss_2031 = np.array(np.repeat(losses_SysB[10],8760))
loss_2032 = np.array(np.repeat(losses_SysB[11],8784))
loss_2033 = np.array(np.repeat(losses_SysB[12],8760))
loss_2034 = np.array(np.repeat(losses_SysB[13],8760))
loss_2035 = np.array(np.repeat(losses_SysB[14],8760))
loss_2036 = np.array(np.repeat(losses_SysB[15],8784))
loss_2037 = np.array(np.repeat(losses_SysB[16],8760))
loss_2038 = np.array(np.repeat(losses_SysB[17],8760))
loss_2039 = np.array(np.repeat(losses_SysB[18],8760))
loss_2040 = np.array(np.repeat(losses_SysB[19],8784))
loss_2041 = np.array(np.repeat(losses_SysB[20],8760))
loss_2042 = np.array(np.repeat(losses_SysB[21],8760))
loss_2043 = np.array(np.repeat(losses_SysB[22],8760))
loss_2044 = np.array(np.repeat(losses_SysB[23],8784))
loss_2045 = np.array(np.repeat(losses_SysB[24],8760))

datalosses_SysB = np.concatenate([loss_2021, loss_2022, loss_2023, loss_2024,


loss_2025, loss_2026,
loss_2027, loss_2028, loss_2029, loss_2030,
loss_2031, loss_2032,
loss_2033, loss_2034, loss_2035, loss_2036, l
oss_2037, loss_2038,
loss_2039, loss_2040, loss_2041, loss_2042,
loss_2043, loss_2044,
loss_2045])

#Perdidas sistema B
sc_SysB['i_mp'] = sc_SysB['i_mp'] - sc_SysB['i_mp']*datalosses_SysB
sc_SysB['p_mp'] = sc_SysB['p_mp'] - sc_SysB['p_mp']*datalosses_SysB

#Perdidas de voltaje para sistema A y B


sc_SysA['v_mp'] = sc_SysA['v_mp'] - sc_SysA['v_mp']*datalosses_SysA
sc_SysB['v_mp'] = sc_SysB['v_mp'] - sc_SysB['v_mp']*datalosses_SysB

#PVLIB Modelo Potencia AC


ACPow_SysA = pvsystem.snlinverter(sc_SysA['v_mp'], sc_SysA['p_mp'], inverter_A
)/1000;
ACPow_SysB = pvsystem.snlinverter(sc_SysB['v_mp'], sc_SysB['p_mp'], inverter_B
)/1000;

# Pasar datos horarios a anuales sumando.


PVL_year_ACPower_SysA = ACPow_SysA.resample('12m').sum();
PVL_year_ACPower_SysB = ACPow_SysB.resample('12m').sum();

# Exportacion datos de Potencia AC anuales para su posterior uso en Excel


PVL_year_ACPower_SysA.to_csv('AC_CHU_25años_SysA_205.csv')
PVL_year_ACPower_SysB.to_csv('AC_CHU_25años_SysB_205.csv')
Modelo a 25 años azimut 205°(bachillerato) ¶
# Set-up
%matplotlib inline
import matplotlib.pyplot as plt

# Built-in Python modules


import datetime
import inspect
import os
import csv

# Python add-ons
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
from matplotlib import dates as mpl_dates
from scipy import stats

# For accessing UNIDATA THREDDS servers


from siphon.catalog import TDSCatalog
from siphon.ncss import NCSS

# Sandia PVLIB-Python Module


import pvlib
from pvlib import solarposition, irradiance, atmosphere, pvsystem, bifacial

# Sandia PVLIB-Python Forecasting Class


from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP

# Sandia PVLIB-Python Location Class


from pvlib.location import Location

# Sandia PVLIB-Python PV Power Classes


from pvlib.pvsystem import PVSystem, retrieve_sam
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain
import pvfactors

## INVERSOREs
#Inversores
inverter_sys1 = pd.read_csv('CEC Inverters.csv')
inverter_a=inverter_sys1.iloc[164]
inverter_A=pd.to_numeric(inverter_a, errors='coerce')
# Modulo
TSM410DE15HII = {
'BIPV': 'N',
'Date': '12/19/2019',
'T_NOCT': 43.800,
'A_c': 2.0,
'N_s': 48,
'I_sc_ref': 10.2900,
'V_oc_ref': 51.20,
'I_mp_ref': 9.8400,
'V_mp_ref': 41.700,
'alpha_sc': 0.004116,
'beta_oc': -0.138240,
'a_ref': 1.866272,
'I_L_ref': 10.399814,
'I_o_ref': 1.25519e-11,
'R_s': 0.384133,
'R_sh_ref': 577.437927,
'Adjust': 2.154072,
'gamma_r': -0.345000,
'Version': 'SAM 2019.12.19',
'PTC': 384.500,
'Technology': 'Mono-c-Si',
'Name': 'Trina Solar TSM-410DE15H(II)',
}
module=pd.Series(TSM410DE15HII , name='Trina Solar TSM-410DE15H(II)')

#Ubicacion
latitude= 10.998
longitude= -74.8226
tz='America/Bogota'
start = pd.Timestamp('2021-01-01', tz=tz) # Inicio del analsisi enero 01 2021
end = pd.Timestamp('2045-12-31', tz=tz) # Final del analisis Diciembre 31 2045

location = Location(latitude, longitude, tz, altitude=18)


file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/25añosFuturo.xlsx'

sheet='Hoja1'
data_weatherforecast=pd.read_excel(io=file_name, sheet_name=sheet)
data_weatherforecast = pd.DataFrame(data_weatherforecast)
data_weatherforecast = data_weatherforecast.set_index(pd.to_datetime(data_weat
herforecast['datetime']))

preassure= pvlib.atmosphere.alt2pres(altitude=18)

PosSol=pd.read_csv('PosSol_Futuro.csv')
PosSol = pd.DataFrame(PosSol)
PosSol = PosSol.set_index(pd.to_datetime(PosSol['datetime']))

#Tilt, azimut, albedo


surface_tilt=12;
surface_azimuth = 205; #Fixed south oriented

albedo=irradiance.SURFACE_ALBEDOS['urban']

## Irradiancia efectiva POA total


dni_extra = irradiance.get_extra_radiation(data_weatherforecast.index, method=
'NREL');

total_irrad = irradiance.get_total_irradiance(surface_tilt,
surface_azimuth,
PosSol['apparent_zenith'],
PosSol['azimuth'],
data_weatherforecast['dni'],
data_weatherforecast['ghi'],
data_weatherforecast['dhi'],
dni_extra=dni_extra,
albedo=albedo,
model='haydavies')

## precipitacion
pw = atmosphere.gueymard94_pw(data_weatherforecast['temp_air'], relative_humid
ity=80)

#Masa de aire relativa


relative_airmass = atmosphere.get_relative_airmass(PosSol['apparent_zenith'],
model='kastenyoung1989');

#Masa de aire absoluta


pressure = 101100 #Presion atmosferica
absolute_airmass = atmosphere.get_absolute_airmass(relative_airmass,pressure);
## Disordanica con los rayos solares
spectral_mismatch_raw = atmosphere.first_solar_spectral_correction(pw, absolut
e_airmass, module_type='monosi', coefficients=None);

#Cambiando valores NaN a 1


spectral_mismatch = spectral_mismatch_raw.fillna(1);

#AOI
aoi = irradiance.aoi(surface_tilt, surface_azimuth, PosSol['apparent_zenith'],
PosSol['azimuth'])

physicaliam = pvlib.iam.physical(aoi, n=1.526, K=4.0, L=0.002);

## irradiancia efectiva
effective_irrad = spectral_mismatch*((total_irrad['poa_direct']*abs(np.cos(aoi
)))+total_irrad['poa_diffuse'])

# Temperatura de modulo
temperature = data_weatherforecast['temp_air'];
wind_speed = data_weatherforecast['wind_speed'];
pvtemps = pvlib.temperature.sapm_cell(total_irrad['poa_global'], temperature,
wind_speed, a=-3.47, b=-0.0594, deltaT=3, irrad_ref=1000)

## Definicion del sistema

# sistema 1
sysA_name = 'Sistema A';
mps_SysA = 18; #Modules Per String
spi_SysA = 4; #Strings Per Inverter

system_A = PVSystem(module_parameters=module, inverter_parameters=inverter_A,


surface_azimuth=205,
surface_tilt=12, modules_per_string=mps_SysA, strings_per_
inverter=spi_SysA)

# Iniciacion Pvlib
# Obtencion valores de Vmp, Imp y Pmp con metodo CEC
IL, I0, Rs, Rsh, nNsVth = pvsystem.calcparams_cec(effective_irrad,
pvtemps,
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=6.420470,
EgRef=1.121, #Cte tomada
de Pvlib
dEgdT=-0.0002677) #Cte to
mada de Pvlib

curve_info = pvsystem.singlediode(photocurrent=IL,
saturation_current=I0,
resistance_series=Rs,
resistance_shunt=Rsh,
nNsVth=nNsVth,
ivcurve_pnts=100,
method='lambertw')

# Metodo de "Single Diode" conparametros encontrados anteriormente


data_i_sc = pd.Series(curve_info['i_sc'])
data_v_oc = pd.Series(curve_info['v_oc'])
data_i_mp = pd.Series(curve_info['i_mp'])
data_v_mp = pd.Series(curve_info['v_mp'])
data_p_mp = pd.Series(curve_info['p_mp'])
data_i_x = pd.Series(curve_info['i_x'])
data_i_xx = pd.Series(curve_info['i_xx'])

# Resultados de metodo de "Single Diode" en un DataFrame


results_general = pd.DataFrame({'i_sc': data_i_sc,
'v_oc': data_v_oc,
'i_mp': data_i_mp,
'v_mp': data_v_mp,
'p_mp': data_p_mp,
'i_x': data_i_x,
'i_xx': data_i_xx})

datetime_index = data_weatherforecast.index

# Escalar resultados para el sistema A


sc_SysA = system_A.scale_voltage_current_power(results_general)
sc_SysA['Datetime'] = pd.to_datetime(datetime_index)
sc_SysA = sc_SysA.set_index('Datetime')
# tiempo de inicio, y nombre de años
start = pd.Timestamp('2021-01-01', tz=tz) # Start of Init-May (May 05, 2020)
end = pd.Timestamp('2045-12-31', tz=tz) # End of Init-May (May 11, 2020)

int_years = ['2021', '2022', '2023', '2024', '2025', '2026', '2027', '2028',


'2029', '2030', '2031', '2032','2033', '2034', '2035', '2036', '2037', '2038',
'2039', '2040', '2041','2042','2043', '2044', '2045']

years = np.linspace(1, len(int_years), len(int_years))

kilo = 1e3;
mega = 1e6;
giga = 1e9;
# Perdidas
losses_pvw = pvsystem.pvwatts_losses(soiling=2, shading=2, snow=0, mismatch=2,
wiring=2,
connections=0.5, lid=1.5, nameplate_rat
ing=1, age=0,
availability=3)

#SystemA
losses_SysA = np.linspace(11.23, 26.9, 25)
losses_SysA = losses_SysA/100

loss_2021 = np.array(np.repeat(losses_SysA[0], 8760))


loss_2022 = np.array(np.repeat(losses_SysA[1], 8760))
loss_2023 = np.array(np.repeat(losses_SysA[2], 8760))
loss_2024 = np.array(np.repeat(losses_SysA[3], 8784))
loss_2025 = np.array(np.repeat(losses_SysA[4], 8760))
loss_2026 = np.array(np.repeat(losses_SysA[5], 8760))
loss_2027 = np.array(np.repeat(losses_SysA[6], 8760))
loss_2028 = np.array(np.repeat(losses_SysA[7], 8784))
loss_2029 = np.array(np.repeat(losses_SysA[8], 8760))
loss_2030 = np.array(np.repeat(losses_SysA[9], 8760))
loss_2031 = np.array(np.repeat(losses_SysA[10],8760))
loss_2032 = np.array(np.repeat(losses_SysA[11],8784))
loss_2033 = np.array(np.repeat(losses_SysA[12],8760))
loss_2034 = np.array(np.repeat(losses_SysA[13],8760))
loss_2035 = np.array(np.repeat(losses_SysA[14],8760))
loss_2036 = np.array(np.repeat(losses_SysA[15],8784))
loss_2037 = np.array(np.repeat(losses_SysA[16],8760))
loss_2038 = np.array(np.repeat(losses_SysA[17],8760))
loss_2039 = np.array(np.repeat(losses_SysA[18],8760))
loss_2040 = np.array(np.repeat(losses_SysA[19],8784))
loss_2041 = np.array(np.repeat(losses_SysA[20],8760))
loss_2042 = np.array(np.repeat(losses_SysA[21],8760))
loss_2043 = np.array(np.repeat(losses_SysA[22],8760))
loss_2044 = np.array(np.repeat(losses_SysA[23],8784))
loss_2045 = np.array(np.repeat(losses_SysA[24],8760))

datalosses_SysA = np.concatenate([loss_2021, loss_2022, loss_2023, loss_2024,


loss_2025, loss_2026,
loss_2027, loss_2028, loss_2029, loss_2030,
loss_2031, loss_2032,
loss_2033, loss_2034, loss_2035, loss_2036, l
oss_2037, loss_2038,
loss_2039, loss_2040, loss_2041, loss_2042,
loss_2043, loss_2044,
loss_2045])

#Perdidas Sistema A
sc_SysA['i_mp'] = sc_SysA['i_mp'] - sc_SysA['i_mp']*datalosses_SysA
sc_SysA['p_mp'] = sc_SysA['p_mp'] - sc_SysA['p_mp']*datalosses_SysA
#Perdidas de voltaje para sistema A y B
sc_SysA['v_mp'] = sc_SysA['v_mp'] - sc_SysA['v_mp']*datalosses_SysA

#PVLIB Modelo Potencia AC


ACPow_SysA = pvsystem.snlinverter(sc_SysA['v_mp'], sc_SysA['p_mp'], inverter_A
)/1000;

# Pasar datos horarios a anuales sumando.


PVL_year_ACPower_SysA = ACPow_SysA.resample('12m').sum();

# Exportacion datos de Potencia AC anuales para su posterior uso en Excel


PVL_year_ACPower_SysA.to_csv('AC_CHU_25años_SysA_205_Bachillerato.csv')
Modelo a 25 años azimut 205° (primaria)
# Set-up
%matplotlib inline
import matplotlib.pyplot as plt

# Built-in Python modules


import datetime
import inspect
import os
import csv

# Python add-ons
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib as mpl
from matplotlib import dates as mpl_dates
from scipy import stats

# For accessing UNIDATA THREDDS servers


from siphon.catalog import TDSCatalog
from siphon.ncss import NCSS

# Sandia PVLIB-Python Module


import pvlib
from pvlib import solarposition, irradiance, atmosphere, pvsystem, bifacial

# Sandia PVLIB-Python Forecasting Class


from pvlib.forecast import GFS, HRRR_ESRL, NAM, NDFD, HRRR, RAP

# Sandia PVLIB-Python Location Class


from pvlib.location import Location

# Sandia PVLIB-Python PV Power Classes


from pvlib.pvsystem import PVSystem, retrieve_sam
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain
import pvfactors
## INVERSOREs
#Inversores
inverter_sys1 = pd.read_csv('CEC Inverters.csv')
inverter_a=inverter_sys1.iloc[164]
inverter_A=pd.to_numeric(inverter_a, errors='coerce')
inverter_sys2=pd.read_csv('CEC Inverters.csv')
inverter_b=inverter_sys2.iloc[1627]
inverter_B=pd.to_numeric(inverter_b, errors='coerce')
inverter_B

# Modulo
TSM410DE15HII = {
'BIPV': 'N',
'Date': '12/19/2019',
'T_NOCT': 43.800,
'A_c': 2.0,
'N_s': 48,
'I_sc_ref': 10.2900,
'V_oc_ref': 51.20,
'I_mp_ref': 9.8400,
'V_mp_ref': 41.700,
'alpha_sc': 0.004116,
'beta_oc': -0.138240,
'a_ref': 1.866272,
'I_L_ref': 10.399814,
'I_o_ref': 1.25519e-11,
'R_s': 0.384133,
'R_sh_ref': 577.437927,
'Adjust': 2.154072,
'gamma_r': -0.345000,
'Version': 'SAM 2019.12.19',
'PTC': 384.500,
'Technology': 'Mono-c-Si',
'Name': 'Trina Solar TSM-410DE15H(II)',
}
module=pd.Series(TSM410DE15HII , name='Trina Solar TSM-410DE15H(II)')
#Ubicacion
latitude= 10.998
longitude= -74.8226
tz='America/Bogota'
start = pd.Timestamp('2021-01-01', tz=tz) # Inicio del analsisi enero 01 2021
end = pd.Timestamp('2045-12-31', tz=tz) # Final del analisis Diciembre 31 2045

location = Location(latitude, longitude, tz, altitude=18)

file_name='C:/Users/Juan Fernando Davila/PYTHON PROYECTO/25añosFuturo.xlsx'

sheet='Hoja1'
data_weatherforecast=pd.read_excel(io=file_name, sheet_name=sheet)
data_weatherforecast = pd.DataFrame(data_weatherforecast)
data_weatherforecast = data_weatherforecast.set_index(pd.to_datetime(data_weat
herforecast['datetime']))
data_weatherforecast.head()

preassure= pvlib.atmosphere.alt2pres(altitude=18)

PosSol=pd.read_csv('PosSol_Futuro.csv')
PosSol = pd.DataFrame(PosSol)
PosSol = PosSol.set_index(pd.to_datetime(PosSol['datetime']))
PosSol.head()

#Tilt, azimut, albedo


surface_tilt=12;
surface_azimuth = 205; #paralelo al techo

albedo=irradiance.SURFACE_ALBEDOS['urban']

## Irradiancia efectiva POA total


dni_extra = irradiance.get_extra_radiation(data_weatherforecast.index, method=
'NREL');

total_irrad = irradiance.get_total_irradiance(surface_tilt,
surface_azimuth,
PosSol['apparent_zenith'],
PosSol['azimuth'],
data_weatherforecast['dni'],
data_weatherforecast['ghi'],
data_weatherforecast['dhi'],
dni_extra=dni_extra,
albedo=albedo,
model='haydavies')
## precipitacion
pw = atmosphere.gueymard94_pw(data_weatherforecast['temp_air'], relative_humid
ity=80)

#Masa de aire relativa


relative_airmass = atmosphere.get_relative_airmass(PosSol['apparent_zenith'],
model='kastenyoung1989');

#Masa de aire absoluta


pressure = 101100 #Presion atmosferica
absolute_airmass = atmosphere.get_absolute_airmass(relative_airmass,pressure);

## Disordanica con los rayos solares


spectral_mismatch_raw = atmosphere.first_solar_spectral_correction(pw, absolut
e_airmass, module_type='monosi', coefficients=None);

#Cambiando valores NaN a 1


spectral_mismatch = spectral_mismatch_raw.fillna(1);

#AOI
aoi = irradiance.aoi(surface_tilt, surface_azimuth, PosSol['apparent_zenith'],
PosSol['azimuth'])

physicaliam = pvlib.iam.physical(aoi, n=1.526, K=4.0, L=0.002);

## irradiancia efectiva
effective_irrad = spectral_mismatch*((total_irrad['poa_direct']*abs(np.cos(aoi
)))+total_irrad['poa_diffuse'])

# Temperatura de modulo
temperature = data_weatherforecast['temp_air'];
wind_speed = data_weatherforecast['wind_speed'];
pvtemps = pvlib.temperature.sapm_cell(total_irrad['poa_global'], temperature,
wind_speed, a=-3.47, b=-0.0594, deltaT=3, irrad_ref=1000)
pvtemps
## Definicion del sistema

# sistema 1
sysA_name = 'Sistema A';
mps_SysA = 17; #Modules Per String
spi_SysA = 4; #Strings Per Inverter

system_A = PVSystem(module_parameters=module, inverter_parameters=inverter_A,


surface_azimuth=205,
surface_tilt=12, modules_per_string=mps_SysA, strings_per_
inverter=spi_SysA)

# sistema 2
sysB_name = 'Sistema B';
mps_SysB = 15; #Modules Per String
spi_SysB = 8; #Strings Per Inverter

system_B = PVSystem(module_parameters=module, inverter_parameters=inverter_B,


surface_azimuth=205,
surface_tilt=12, modules_per_string=mps_SysB, strings_per_
inverter=spi_SysB)

# Iniciacion Pvlib
# Obtencion valores de Vmp, Imp y Pmp con metodo CEC
IL, I0, Rs, Rsh, nNsVth = pvsystem.calcparams_cec(effective_irrad,
pvtemps,
module['alpha_sc'],
module['a_ref'],
module['I_L_ref'],
module['I_o_ref'],
module['R_sh_ref'],
module['R_s'],
Adjust=6.420470,
EgRef=1.121, #Cte tomada
de Pvlib
dEgdT=-0.0002677) #Cte to
mada de Pvlib

curve_info = pvsystem.singlediode(photocurrent=IL,
saturation_current=I0,
resistance_series=Rs,
resistance_shunt=Rsh,
nNsVth=nNsVth,
ivcurve_pnts=100,
method='lambertw')

# Metodo de "Single Diode" conparametros encontrados anteriormente


data_i_sc = pd.Series(curve_info['i_sc'])
data_v_oc = pd.Series(curve_info['v_oc'])
data_i_mp = pd.Series(curve_info['i_mp'])
data_v_mp = pd.Series(curve_info['v_mp'])
data_p_mp = pd.Series(curve_info['p_mp'])
data_i_x = pd.Series(curve_info['i_x'])
data_i_xx = pd.Series(curve_info['i_xx'])

# Resultados de metodo de "Single Diode" en un DataFrame


results_general = pd.DataFrame({'i_sc': data_i_sc,
'v_oc': data_v_oc,
'i_mp': data_i_mp,
'v_mp': data_v_mp,
'p_mp': data_p_mp,
'i_x': data_i_x,
'i_xx': data_i_xx})

datetime_index = data_weatherforecast.index

# Escalar resultados para el sistema A


sc_SysA = system_A.scale_voltage_current_power(results_general)
sc_SysA['Datetime'] = pd.to_datetime(datetime_index)
sc_SysA = sc_SysA.set_index('Datetime')

# Escalar resultados para el sistema B


sc_SysB = system_B.scale_voltage_current_power(results_general)
sc_SysB['Datetime'] = pd.to_datetime(datetime_index)
sc_SysB = sc_SysB.set_index('Datetime')
# tiempo de inicio, y nombre de años
start = pd.Timestamp('2021-01-01', tz=tz) # Start of Init-May (May 05, 2020)
end = pd.Timestamp('2045-12-31', tz=tz) # End of Init-May (May 11, 2020)

int_years = ['2021', '2022', '2023', '2024', '2025', '2026', '2027', '2028',


'2029', '2030', '2031', '2032','2033', '2034', '2035', '2036', '2037', '2038',
'2039', '2040', '2041','2042','2043', '2044', '2045']

years = np.linspace(1, len(int_years), len(int_years))

kilo = 1e3;
mega = 1e6;
giga = 1e9;
# Perdidas
losses_pvw = pvsystem.pvwatts_losses(soiling=2, shading=2, snow=0, mismatch=2,
wiring=2,
connections=0.5, lid=1.5, nameplate_rat
ing=1, age=0,
availability=3)

#SystemA
losses_SysA = np.linspace(11.23, 26.9, 25)
losses_SysA = losses_SysA/100

loss_2021 = np.array(np.repeat(losses_SysA[0], 8760))


loss_2022 = np.array(np.repeat(losses_SysA[1], 8760))
loss_2023 = np.array(np.repeat(losses_SysA[2], 8760))
loss_2024 = np.array(np.repeat(losses_SysA[3], 8784))
loss_2025 = np.array(np.repeat(losses_SysA[4], 8760))
loss_2026 = np.array(np.repeat(losses_SysA[5], 8760))
loss_2027 = np.array(np.repeat(losses_SysA[6], 8760))
loss_2028 = np.array(np.repeat(losses_SysA[7], 8784))
loss_2029 = np.array(np.repeat(losses_SysA[8], 8760))
loss_2030 = np.array(np.repeat(losses_SysA[9], 8760))
loss_2031 = np.array(np.repeat(losses_SysA[10],8760))
loss_2032 = np.array(np.repeat(losses_SysA[11],8784))
loss_2033 = np.array(np.repeat(losses_SysA[12],8760))
loss_2034 = np.array(np.repeat(losses_SysA[13],8760))
loss_2035 = np.array(np.repeat(losses_SysA[14],8760))
loss_2036 = np.array(np.repeat(losses_SysA[15],8784))
loss_2037 = np.array(np.repeat(losses_SysA[16],8760))
loss_2038 = np.array(np.repeat(losses_SysA[17],8760))
loss_2039 = np.array(np.repeat(losses_SysA[18],8760))
loss_2040 = np.array(np.repeat(losses_SysA[19],8784))
loss_2041 = np.array(np.repeat(losses_SysA[20],8760))
loss_2042 = np.array(np.repeat(losses_SysA[21],8760))
loss_2043 = np.array(np.repeat(losses_SysA[22],8760))
loss_2044 = np.array(np.repeat(losses_SysA[23],8784))
loss_2045 = np.array(np.repeat(losses_SysA[24],8760))

datalosses_SysA = np.concatenate([loss_2021, loss_2022, loss_2023, loss_2024,


loss_2025, loss_2026,
loss_2027, loss_2028, loss_2029, loss_2030,
loss_2031, loss_2032,
loss_2033, loss_2034, loss_2035, loss_2036, l
oss_2037, loss_2038,
loss_2039, loss_2040, loss_2041, loss_2042,
loss_2043, loss_2044,
loss_2045])

#Perdidas Sistema A
sc_SysA['i_mp'] = sc_SysA['i_mp'] - sc_SysA['i_mp']*datalosses_SysA
sc_SysA['p_mp'] = sc_SysA['p_mp'] - sc_SysA['p_mp']*datalosses_SysA

#Sistema B
losses_SysB = np.linspace(11.23, 26.9, 25)
losses_SysB = losses_SysB/100

loss_2021 = np.array(np.repeat(losses_SysB[0], 8760))


loss_2022 = np.array(np.repeat(losses_SysB[1], 8760))
loss_2023 = np.array(np.repeat(losses_SysB[2], 8760))
loss_2024 = np.array(np.repeat(losses_SysB[3], 8784))
loss_2025 = np.array(np.repeat(losses_SysB[4], 8760))
loss_2026 = np.array(np.repeat(losses_SysB[5], 8760))
loss_2027 = np.array(np.repeat(losses_SysB[6], 8760))
loss_2028 = np.array(np.repeat(losses_SysB[7], 8784))
loss_2029 = np.array(np.repeat(losses_SysB[8], 8760))
loss_2030 = np.array(np.repeat(losses_SysB[9], 8760))
loss_2031 = np.array(np.repeat(losses_SysB[10],8760))
loss_2032 = np.array(np.repeat(losses_SysB[11],8784))
loss_2033 = np.array(np.repeat(losses_SysB[12],8760))
loss_2034 = np.array(np.repeat(losses_SysB[13],8760))
loss_2035 = np.array(np.repeat(losses_SysB[14],8760))
loss_2036 = np.array(np.repeat(losses_SysB[15],8784))
loss_2037 = np.array(np.repeat(losses_SysB[16],8760))
loss_2038 = np.array(np.repeat(losses_SysB[17],8760))
loss_2039 = np.array(np.repeat(losses_SysB[18],8760))
loss_2040 = np.array(np.repeat(losses_SysB[19],8784))
loss_2041 = np.array(np.repeat(losses_SysB[20],8760))
loss_2042 = np.array(np.repeat(losses_SysB[21],8760))
loss_2043 = np.array(np.repeat(losses_SysB[22],8760))
loss_2044 = np.array(np.repeat(losses_SysB[23],8784))
loss_2045 = np.array(np.repeat(losses_SysB[24],8760))

datalosses_SysB = np.concatenate([loss_2021, loss_2022, loss_2023, loss_2024,


loss_2025, loss_2026,
loss_2027, loss_2028, loss_2029, loss_2030,
loss_2031, loss_2032,
loss_2033, loss_2034, loss_2035, loss_2036, l
oss_2037, loss_2038,
loss_2039, loss_2040, loss_2041, loss_2042,
loss_2043, loss_2044,
loss_2045])

#Perdidas sistema B
sc_SysB['i_mp'] = sc_SysB['i_mp'] - sc_SysB['i_mp']*datalosses_SysB
sc_SysB['p_mp'] = sc_SysB['p_mp'] - sc_SysB['p_mp']*datalosses_SysB

#Perdidas de voltaje para sistema A y B


sc_SysA['v_mp'] = sc_SysA['v_mp'] - sc_SysA['v_mp']*datalosses_SysA
sc_SysB['v_mp'] = sc_SysB['v_mp'] - sc_SysB['v_mp']*datalosses_SysB

#PVLIB Modelo Potencia AC


ACPow_SysA = pvsystem.snlinverter(sc_SysA['v_mp'], sc_SysA['p_mp'], inverter_A
)/1000;
ACPow_SysB = pvsystem.snlinverter(sc_SysB['v_mp'], sc_SysB['p_mp'], inverter_B
)/1000;

# Pasar datos horarios a anuales sumando.


PVL_year_ACPower_SysA = ACPow_SysA.resample('12m').sum();
PVL_year_ACPower_SysB = ACPow_SysB.resample('12m').sum();

# Exportacion datos de Potencia AC anuales para su posterior uso en Excel


PVL_year_ACPower_SysA.to_csv('AC_CHU_25años_SysA_205_Primaria.csv')
PVL_year_ACPower_SysB.to_csv('AC_CHU_25años_SysB_205_Primaria.csv')

También podría gustarte