-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sdm getting started to use IVPerformanceMatrix
- Loading branch information
1 parent
4d50f67
commit 12b18f2
Showing
3 changed files
with
40 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,10 +19,11 @@ finalized on the `master` branch. Likewise, the documentation badly needs updati | |
|
||
PVfit is currently focused on direct-current (DC) PV module performance measurement and | ||
modeling. Following the standardized technical approach of most accredited PV | ||
calibration laboratories for measuring I-V curves using PV reference devices, PVfit | ||
makes considerable use of the effective irradiance ratio | ||
calibration laboratories for measuring current-voltage (I-V) curves using PV reference | ||
devices, PVfit makes considerable use of the effective irradiance ratio | ||
(F = Isc / Isc0 = M * Isc,ref / Isc0,ref) to quantify the *effective* irradiance on a PV | ||
device, in contrast to the common use of MET-station data | ||
device, in contrast to the common use of MET-station data. PVfit also supports inference | ||
of effective-irradiance ratio and cell temperature directly from I-V data, see | ||
([poster](https://pvpmc.sandia.gov/download/7302/)). See | ||
[this paper](https://doi.org/10.1002/ese3.190) for a more detailed introduction. Email | ||
[Mark Campanelli](mailto:[email protected]) to be added to the | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,19 +8,17 @@ | |
|
||
import pandas | ||
|
||
from pvfit.measurement.iv.types import IVPerformanceMatrix | ||
from pvfit.modeling.dc.common import Material | ||
|
||
|
||
# Performance-matrix data for a 72-cell HIT module measured over variable | ||
# irradiance and temperature. See https://www.nrel.gov/docs/fy14osti/61610.pdf and | ||
# [email protected] for the complete data set. | ||
|
||
HIT_MODULE = { | ||
"N_s": 72, | ||
"material": Material.xSi, | ||
"matrix": pandas.read_csv( | ||
StringIO( | ||
"""T_degC,G_W_per_m2,I_sc_A,V_oc_V,I_mp_A,V_mp_V,P_mp_W | ||
matrix_data = pandas.read_csv( | ||
StringIO( | ||
"""T_degC,G_W_per_m2,I_sc_A,V_oc_V,I_mp_A,V_mp_V,P_mp_W | ||
15,100,0.558,46.74,0.51,40.1,20.47 | ||
25,100,0.57,45.37,0.526,38.39,20.19 | ||
15,200,1.111,48.23,1.013,41.7,42.25 | ||
|
@@ -39,6 +37,20 @@ | |
25,1100,6.079,50.39,5.632,41.52,233.84 | ||
50,1100,6.101,47.11,5.639,37.87,213.58 | ||
65,1100,6.129,45.16,5.604,35.99,201.73""" | ||
) | ||
), | ||
) | ||
) | ||
|
||
iv_performance_matrix = IVPerformanceMatrix( | ||
I_sc_A=matrix_data["I_sc_A"].to_numpy(), | ||
I_mp_A=matrix_data["I_mp_A"].to_numpy(), | ||
V_mp_V=matrix_data["V_mp_V"].to_numpy(), | ||
V_oc_V=matrix_data["V_oc_V"].to_numpy(), | ||
G_W_per_m2=matrix_data["G_W_per_m2"].to_numpy(), | ||
T_degC=matrix_data["T_degC"].to_numpy(), | ||
) | ||
|
||
HIT_MODULE = { | ||
"N_s": 72, | ||
"material": Material.xSi, | ||
"matrix": iv_performance_matrix, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters