Solar PV Module Access

Solar PV Module Access#

RESKit simulates different PV modules. To see which modules are available, have a look at this example.

Workflow:

  1. Import required packages

  2. Import PV module parameter from PVLib

  3. Load system advisor model from PVLib

  4. Simulation with chosen PV module

import reskit as rk
import pvlib
import pandas as pd

Import first module’s parameter from PVLib

# Access Modules from PVLib
n = 0
pvlib.pvsystem.retrieve_sam("CECMod").T.iloc[n : n + 1]
Technology Bifacial STC PTC A_c Length Width N_s I_sc_ref V_oc_ref ... a_ref I_L_ref I_o_ref R_s R_sh_ref Adjust gamma_r BIPV Version Date
A10Green_Technology_A10J_S72_175 Mono-c-Si 0 175.0914 151.2 1.3 1.576 0.825 72 5.17 43.99 ... 1.981696 5.175703 0.0 0.316688 287.102203 16.057121 -0.5072 N SAM 2018.11.11 r2 1/3/2019

1 rows × 25 columns

Load system advisor model (SAM) from PVLib and print it

# Access Single Modules
df_modules = pvlib.pvsystem.retrieve_sam("CECMod")
print(df_modules)
           A10Green_Technology_A10J_S72_175 A10Green_Technology_A10J_S72_180  \
Technology                        Mono-c-Si                        Mono-c-Si   
Bifacial                                  0                                0   
STC                                175.0914                          179.928   
PTC                                   151.2                            155.7   
A_c                                     1.3                              1.3   
Length                                1.576                            1.576   
Width                                 0.825                            0.825   
N_s                                      72                               72   
I_sc_ref                               5.17                             5.31   
V_oc_ref                              43.99                            44.06   
I_mp_ref                               4.78                              4.9   
V_mp_ref                              36.63                            36.72   
alpha_sc                           0.002146                         0.002204   
beta_oc                           -0.159068                        -0.159321   
T_NOCT                                 49.9                             49.9   
a_ref                              1.981696                         1.988414   
I_L_ref                            5.175703                         5.316148   
I_o_ref                                 0.0                              0.0   
R_s                                0.316688                         0.299919   
R_sh_ref                         287.102203                       259.047943   
Adjust                            16.057121                        16.418983   
gamma_r                             -0.5072                          -0.5072   
BIPV                                      N                                N   
Version                   SAM 2018.11.11 r2                SAM 2018.11.11 r2   
Date                               1/3/2019                         1/3/2019   

           A10Green_Technology_A10J_S72_185 A10Green_Technology_A10J_M60_220  \
Technology                        Mono-c-Si                       Multi-c-Si   
Bifacial                                  0                                0   
STC                                184.7016                          219.876   
PTC                                   160.2                            189.1   
A_c                                     1.3                            1.624   
Length                                1.576                            1.632   
Width                                 0.825                            0.995   
N_s                                      72                               60   
I_sc_ref                               5.43                             7.95   
V_oc_ref                              44.14                            36.06   
I_mp_ref                               5.03                              7.3   
V_mp_ref                              36.72                            30.12   
alpha_sc                           0.002253                         0.004357   
beta_oc                            -0.15961                        -0.130681   
T_NOCT                                 49.9                             50.2   
a_ref                              1.984817                         1.673094   
I_L_ref                            5.435676                         7.959062   
I_o_ref                                 0.0                              0.0   
R_s                                0.311962                         0.140393   
R_sh_ref                         298.424438                       123.168404   
Adjust                            15.688233                        21.875164   
gamma_r                             -0.5072                          -0.5196   
BIPV                                      N                                N   
Version                   SAM 2018.11.11 r2                SAM 2018.11.11 r2   
Date                               1/3/2019                         1/3/2019   

           A10Green_Technology_A10J_M60_225 A10Green_Technology_A10J_M60_230  \
Technology                       Multi-c-Si                       Multi-c-Si   
Bifacial                                  0                                0   
STC                                224.9856                         230.1288   
PTC                                   193.5                            204.1   
A_c                                   1.624                            1.624   
Length                                1.632                            1.632   
Width                                 0.995                            0.995   
N_s                                      60                               60   
I_sc_ref                               8.04                              8.1   
V_oc_ref                              36.24                            36.42   
I_mp_ref                               7.44                             7.58   
V_mp_ref                              30.24                            30.36   
alpha_sc                           0.004406                         0.007857   
beta_oc                           -0.131334                        -0.130748   
T_NOCT                                 50.2                             46.4   
a_ref                              1.671782                         1.680481   
I_L_ref                            8.047206                         8.103613   
I_o_ref                                 0.0                              0.0   
R_s                                 0.14737                         0.152058   
R_sh_ref                         164.419479                       340.982697   
Adjust                            20.698376                        21.554358   
gamma_r                             -0.5196                           -0.493   
BIPV                                      N                                N   
Version                   SAM 2018.11.11 r2                SAM 2018.11.11 r2   
Date                               1/3/2019                         1/3/2019   

           A10Green_Technology_A10J_M60_235 A10Green_Technology_A10J_M60_240  \
Technology                       Multi-c-Si                       Multi-c-Si   
Bifacial                                  0                                0   
STC                                 235.008                         240.5376   
PTC                                   208.7                            213.3   
A_c                                   1.624                            1.624   
Length                                1.632                            1.632   
Width                                 0.995                            0.995   
N_s                                      60                               60   
I_sc_ref                               8.23                             8.32   
V_oc_ref                              36.72                            36.84   
I_mp_ref                               7.68                             7.83   
V_mp_ref                               30.6                            30.72   
alpha_sc                           0.007983                          0.00807   
beta_oc                           -0.131825                        -0.132256   
T_NOCT                                 46.4                             46.4   
a_ref                              1.696981                         1.694234   
I_L_ref                             8.23464                         8.321768   
I_o_ref                                 0.0                              0.0   
R_s                                0.151504                         0.150077   
R_sh_ref                         268.700836                       706.269653   
Adjust                            21.871918                         20.88105   
gamma_r                              -0.493                           -0.493   
BIPV                                      N                                N   
Version                   SAM 2018.11.11 r2                SAM 2018.11.11 r2   
Date                               1/3/2019                         1/3/2019   

           A2Peak_Power_POWER_ON_P220_6x10 Aavid_Solar_ASMS_165P  ...  \
Technology                      Multi-c-Si            Multi-c-Si  ...   
Bifacial                                 0                     0  ...   
STC                                219.978                164.85  ...   
PTC                                  195.0                 146.3  ...   
A_c                                  1.633                 1.301  ...   
Length                               1.633                 1.575  ...   
Width                                  1.0                 0.826  ...   
N_s                                     60                    72  ...   
I_sc_ref                              7.98                  5.25  ...   
V_oc_ref                             36.72                  43.5  ...   
I_mp_ref                              7.26                  4.71  ...   
V_mp_ref                              30.3                  35.0  ...   
alpha_sc                           0.00399              0.001575  ...   
beta_oc                           -0.12852             -0.170955  ...   
T_NOCT                                47.9                  45.0  ...   
a_ref                             1.597033              1.964633  ...   
I_L_ref                           8.000232              5.274152  ...   
I_o_ref                                0.0                   0.0  ...   
R_s                               0.229644              0.595855  ...   
R_sh_ref                         90.577438            129.523468  ...   
Adjust                           12.217215              7.163876  ...   
gamma_r                              -0.46                -0.519  ...   
BIPV                                     N                     N  ...   
Version                  SAM 2018.11.11 r2     SAM 2018.11.11 r2  ...   
Date                              1/3/2019              1/3/2019  ...   

           Zytech_Solar_ZT275P Zytech_Solar_ZT280P Zytech_Solar_ZT285P  \
Technology          Multi-c-Si          Multi-c-Si          Multi-c-Si   
Bifacial                     0                   0                   0   
STC                   275.0144            280.3294             285.326   
PTC                      248.0               252.6               257.3   
A_c                      1.931               1.931               1.931   
Length                    1.95                1.95                1.95   
Width                     0.99                0.99                0.99   
N_s                         72                  72                  72   
I_sc_ref                  8.31                 8.4                8.48   
V_oc_ref                  45.1               45.25               45.43   
I_mp_ref                  7.76                7.87                7.97   
V_mp_ref                 35.44               35.62                35.8   
alpha_sc              0.004014            0.004057            0.004096   
beta_oc              -0.144275           -0.144755           -0.145331   
T_NOCT                    46.4                46.4                46.4   
a_ref                 1.810273            1.814855            1.820099   
I_L_ref               8.323775            8.410146            8.486703   
I_o_ref                    0.0                 0.0                 0.0   
R_s                   0.566493            0.552584            0.543536   
R_sh_ref            341.757935          457.468353          687.560974   
Adjust                5.421777            5.274639            5.065088   
gamma_r                -0.4308             -0.4308             -0.4308   
BIPV                         N                   N                   N   
Version      SAM 2018.11.11 r2   SAM 2018.11.11 r2   SAM 2018.11.11 r2   
Date                  1/3/2019            1/3/2019            1/3/2019   

           Zytech_Solar_ZT290P Zytech_Solar_ZT295P Zytech_Solar_ZT300P  \
Technology          Multi-c-Si          Multi-c-Si          Multi-c-Si   
Bifacial                     0                   0                   0   
STC                   290.0358            295.0656            300.0032   
PTC                      261.9               266.5               271.2   
A_c                      1.931               1.931               1.931   
Length                    1.95                1.95                1.95   
Width                     0.99                0.99                0.99   
N_s                         72                  72                  72   
I_sc_ref                  8.55                8.64                8.71   
V_oc_ref                 45.59               45.75               45.96   
I_mp_ref                  8.07                8.16                8.26   
V_mp_ref                 35.94               36.16               36.32   
alpha_sc               0.00413            0.004173            0.004207   
beta_oc              -0.145842           -0.146354           -0.147026   
T_NOCT                    46.4                46.4                46.4   
a_ref                 1.822778            1.831246             1.84441   
I_L_ref               8.551961            8.641543            8.805312   
I_o_ref                    0.0                 0.0                 0.0   
R_s                   0.538499            0.521134            0.515735   
R_sh_ref           2348.675049         2917.755371           552.45459   
Adjust                4.660511              4.9013            5.415547   
gamma_r                -0.4308             -0.4308             -0.4308   
BIPV                         N                   N                   N   
Version      SAM 2018.11.11 r2   SAM 2018.11.11 r2   SAM 2018.11.11 r2   
Date                  1/3/2019            1/3/2019            1/3/2019   

           Zytech_Solar_ZT305P Zytech_Solar_ZT310P Zytech_Solar_ZT315P  \
Technology          Multi-c-Si          Multi-c-Si          Multi-c-Si   
Bifacial                     0                   0                   0   
STC                   305.0564            310.1436            315.0936   
PTC                      275.8               280.5               285.1   
A_c                      1.931               1.931               1.931   
Length                    1.95                1.95                1.95   
Width                     0.99                0.99                0.99   
N_s                         72                  72                  72   
I_sc_ref                  8.87                 8.9                9.01   
V_oc_ref                 46.12               46.28               46.44   
I_mp_ref                  8.36                8.46                8.56   
V_mp_ref                 36.49               36.66               36.81   
alpha_sc              0.004284            0.004299            0.004352   
beta_oc              -0.147538            -0.14805           -0.148562   
T_NOCT                    46.4                46.4                46.4   
a_ref                 1.849153            1.857403            1.865025   
I_L_ref               8.874016            8.994804            9.106614   
I_o_ref                    0.0                 0.0                 0.0   
R_s                   0.506611            0.495904            0.488376   
R_sh_ref           1119.067017          767.957764          682.291748   
Adjust                5.241555            5.446336            5.578743   
gamma_r                -0.4308             -0.4308             -0.4308   
BIPV                         N                   N                   N   
Version      SAM 2018.11.11 r2   SAM 2018.11.11 r2   SAM 2018.11.11 r2   
Date                  1/3/2019            1/3/2019            1/3/2019   

           Zytech_Solar_ZT320P  
Technology          Multi-c-Si  
Bifacial                     0  
STC                     320.42  
PTC                      289.8  
A_c                      1.931  
Length                    1.95  
Width                     0.99  
N_s                         72  
I_sc_ref                  9.12  
V_oc_ref                  46.6  
I_mp_ref                  8.66  
V_mp_ref                  37.0  
alpha_sc              0.004405  
beta_oc              -0.149073  
T_NOCT                    46.4  
a_ref                 1.873785  
I_L_ref                9.21845  
I_o_ref                    0.0  
R_s                   0.475581  
R_sh_ref            604.221497  
Adjust                5.838334  
gamma_r                -0.4308  
BIPV                         N  
Version      SAM 2018.11.11 r2  
Date                  1/3/2019  

[25 rows x 21535 columns]
# Access Single Modules and use it in simulation

# Make a placements dataframe with one location
placements = pd.DataFrame()
placements["lon"] = [
    6.083,
]  # Longitude
placements["lat"] = [
    50.775,
]  # Latitude
placements["tilt"] = [
    32,
]  # System tilt in degrees
placements["azimuth"] = [
    180,
]  # System azimuth in degrees
placements["capacity"] = [
    2000,
]  # Total system capacity in kW
placements["elev"] = [
    250,
]  # Altitude in meters

placements

out = rk.solar.openfield_pv_sarah_unvalidated(
    placements=placements,
    sarah_path=rk.TEST_DATA["sarah-like"],
    era5_path=rk.TEST_DATA["era5-like"],
    module="A10Green_Technology_A10J_S72_175",  # First PV module from database, which was accessed in the previous cell. You can change this to any other module from the database.
)
out.capacity_factor.plot()
[<matplotlib.lines.Line2D at 0x700481eac9e0>]
../../_images/e1d66c09b81e5caf7d5ab66bdf99e3e6f55ad97ce54eacc72090dfec37afb0ea.png