Skip to main content

No project description provided

Project description

PV-sizing

Photovoltaic sizing

This library allows the sizing of photovoltaic panels for any building and load curve provided. The photovoltaic producition was calculated using the "IDAE: Pliego de Condiciones Técnicas de Instalaciones Conectadas a Red" with the following equation:

$$ E_{\mathrm{p}}=\frac{G_{\mathrm{dm}}(\alpha, \beta) P_{\mathrm{mp}} P R}{G_{\mathrm{CEM}}} $$

By simply entering the number of panels (and their parameters from the datasheet provided by the manufacturer), the hourly irradiance (from https://re.jrc.ec.europa.eu/pvg_tools/en/), and the hourly load over a year it is possible to obtain the accumulated cahsflow taking into account the inflation over a period of 25 years (typical duration of a photovoltaic project). It is also necessary to provide the electricity purchase tariff, and also the price for compensation in case of grid feed-in.

It also allows the sizing of the battery bank for N days of autonomy based on the daily energy consumed.

The calculations for the initial investment have been calculated with typical market values. They can also be varied depending on the actual initial investment.

In the image you can see a representation of the final result obtained. Also in the table below the accumulated cashflow over the liftime of the project is shown.

Año Inversión inicial OyM Ahorro Cashflow Cashflow acumulado
0 3565.1725 71.303450 527.383444 -3109.092506 -3109.092506
1 0.0000 72.729519 548.478782 475.749263 -2633.343243
2 0.0000 74.184109 570.417933 496.233824 -2137.109419
3 0.0000 75.667792 593.234651 517.566859 -1619.542560
4 0.0000 77.181147 616.964037 539.782889 -1079.759671
5 0.0000 78.724770 641.642598 562.917828 -516.841843
6 0.0000 80.299266 667.308302 587.009036 70.167193
7 0.0000 81.905251 694.000634 612.095383 682.262576
8 0.0000 83.543356 721.760659 638.217303 1320.479879
9 0.0000 85.214223 750.631086 665.416863 1985.896742
10 0.0000 86.918508 780.656329 693.737822 2679.634563
11 0.0000 88.656878 811.882582 723.225705 3402.860268
12 0.0000 90.430015 844.357886 753.927870 4156.788138
13 0.0000 92.238616 878.132201 785.893585 4942.681724
14 0.0000 94.083388 913.257489 819.174101 5761.855825
15 0.0000 95.965056 949.787789 853.822733 6615.678558
16 0.0000 97.884357 987.779300 889.894943 7505.573501
17 0.0000 99.842044 1027.290472 927.448428 8433.021929
18 0.0000 101.838885 1068.382091 966.543206 9399.565136
19 0.0000 103.875663 1111.117375 1007.241712 10406.806848
20 0.0000 105.953176 1155.562070 1049.608894 11456.415742
21 0.0000 108.072239 1201.784553 1093.712313 12550.128055
22 0.0000 110.233684 1249.855935 1139.622251 13689.750306
23 0.0000 112.438358 1299.850172 1187.411814 14877.162120
24 0.0000 114.687125 1351.844179 1237.157054 16114.319174

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pv_sizing-0.7.1.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pv_sizing-0.7.1-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file pv_sizing-0.7.1.tar.gz.

File metadata

  • Download URL: pv_sizing-0.7.1.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for pv_sizing-0.7.1.tar.gz
Algorithm Hash digest
SHA256 1ae958538204982b8c8c8648efd131b8f1b9fd7b696e6aa8fe49c01411759275
MD5 ec42da41b9462ba8310b18e90bb3c898
BLAKE2b-256 e5dfcfdfe44e99bb88a9a0cd16a016fd328f259feda8021ece84d4c6c6980e87

See more details on using hashes here.

File details

Details for the file pv_sizing-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: pv_sizing-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for pv_sizing-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e5bdcd87c5cd5d7c04a5138ec6e96954829a1694d3461b60a0e8dbe27371021b
MD5 40379815f79234eff663dc3c40c0c72b
BLAKE2b-256 dcae02527a22724208123635a0484675b808df00179850e0fbda566c8ba6ceff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page