diff --git a/pvdeg/data/AApermeation.json b/pvdeg/data/AApermeation.json index 30412ef..3045b75 100644 --- a/pvdeg/data/AApermeation.json +++ b/pvdeg/data/AApermeation.json @@ -4,11 +4,11 @@ }, "AA001": { "name": "EVA", - "alias": "EVA-2", + "alias": "EVA-2", "contributor": "Michael Kempe", "source": "Urban Weber, Ralf Eiden, Christine Strubel, Thorsten Soegding, Markus Heiss, Peter Zachmann, Kurt Nattermann, Harry Engelmann, Annelene Dethlefsen, Norbert Lenck, Acetic Acid Production, Migration and Corrosion Effects in Ethylene-Vinyl-Acetate-(EVA-)Based PV Modules, 27th European Photovoltaic Solar Energy Conference and Exhibition.", "comment": "Extracted from Figure 10 of Weber et al. The activation energy does not exactly match that in the published work (35.0 kJ/mol). I did this because I wanted to include the prefactor.", - "Ead": 39.1970399216688, - "Do": 0.190570685252167 + "Ead": 39.1970399216688, + "Do": 0.190570685252167 } } diff --git a/pvdeg/data/H2Opermeation.json b/pvdeg/data/H2Opermeation.json index 438e1bb..4f2502a 100644 --- a/pvdeg/data/H2Opermeation.json +++ b/pvdeg/data/H2Opermeation.json @@ -3,511 +3,511 @@ "comment": "This data is for water permeation parameters. The activation energies are in [kJ/mol]. Do is in [cm^2/s]. So is in [g/cm^3/atm]. Po is in[g*mm/m^2/day/atm]." }, "W001": { - "name": "Ethylene Vinyl Acetate", - "alias": "EVA", - "contributor": "Michael Kempe", - "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", - "Fickian": true, - "Ead": 38.139966396438, - "Do": 2.31097881676966, - "Eas": 16.7286220351073, - "So": 1.81390701967487, - "Eap": 55.1578532714609, - "Po": 40728267519.3687 + "name": "Ethylene Vinyl Acetate", + "alias": "EVA", + "contributor": "Michael Kempe", + "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", + "Fickian": true, + "Ead": 38.139966396438, + "Do": 2.31097881676966, + "Eas": 16.7286220351073, + "So": 1.81390701967487, + "Eap": 55.1578532714609, + "Po": 40728267519.3687 }, "W002": { - "name": "AAA polyamide", - "alias": "AAA", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 61.4781422330562, - "Do": 25790.6020262449, - "Eas": 5.88752263485353, - "So": 0.00982242435416737, - "Eap": 67.3656648679097, - "Po": 5559396276.60964 + "name": "AAA polyamide", + "alias": "AAA", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 61.4781422330562, + "Do": 25790.6020262449, + "Eas": 5.88752263485353, + "So": 0.00982242435416737, + "Eap": 67.3656648679097, + "Po": 5559396276.60964 }, "W003": { - "name": "Coveme", - "alias": "Stabilized PET", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 47.5191721120378, - "Do": 1.31884541208636, - "Eas": 11.3377908247284, - "So": 0.53540550732342, - "Eap": 58.8569629367662, - "Po": 6100851717.55522 + "name": "Coveme", + "alias": "Stabilized PET", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 47.5191721120378, + "Do": 1.31884541208636, + "Eas": 11.3377908247284, + "So": 0.53540550732342, + "Eap": 58.8569629367662, + "Po": 6100851717.55522 }, "W004": { - "name": "VHB 5952", - "alias": "Double Stick Tape-2", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 40.475393230961, - "Do": 5.15098921079005, - "Eas": 24.0739064517654, - "So": 53.2748284093228, - "Eap": 60.901412990104, - "Po": 568214581700.165 + "name": "VHB 5952", + "alias": "Double Stick Tape-2", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 40.475393230961, + "Do": 5.15098921079005, + "Eas": 24.0739064517654, + "So": 53.2748284093228, + "Eap": 60.901412990104, + "Po": 568214581700.165 }, "W005": { - "name": "polyethylene-co-propylene-co-dienemonomer, BRP-C", - "alias": "EPDM-C", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": false, - "Eap": 70.2425215496216, - "Po": 1172612706438.09 + "name": "polyethylene-co-propylene-co-dienemonomer, BRP-C", + "alias": "EPDM-C", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": false, + "Eap": 70.2425215496216, + "Po": 1172612706438.09 }, "W006": { - "name": "Surlyn Jura Sol", - "alias": "Ionomer-2", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 75.4121720881285, - "Do": 154974.658649818, - "Eas": 9.99311553453843, - "So": 0.0977288489337781, - "Eap": 85.4052876226669, - "Po": 130857076832418 + "name": "Surlyn Jura Sol", + "alias": "Ionomer-2", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 75.4121720881285, + "Do": 154974.658649818, + "Eas": 9.99311553453843, + "So": 0.0977288489337781, + "Eap": 85.4052876226669, + "Po": 130857076832418 }, "W007": { - "name": "Etimex Aliphatic Thermoplastic Polyurethane", - "alias": "TPU-1", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", - "Fickian": true, - "Ead": 46.6619594980869, - "Do": 40.519181381529, - "Eas": 15.5365130880537, - "So": 7.32769870722261, - "Eap": 62.1984725861406, - "Po": 2565322730154.57 + "name": "Etimex Aliphatic Thermoplastic Polyurethane", + "alias": "TPU-1", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", + "Fickian": true, + "Ead": 46.6619594980869, + "Do": 40.519181381529, + "Eas": 15.5365130880537, + "So": 7.32769870722261, + "Eap": 62.1984725861406, + "Po": 2565322730154.57 }, "W008": { - "name": "DC8130", - "alias": "Poly-α-Olefin #2", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 28.1623441487961, - "Do": 0.227897610675968, - "Eas": 33.1670750044397, - "So": 35.4782891686019, - "Eap": 61.3294191532358, - "Po": 69858005751.8966 + "name": "DC8130", + "alias": "Poly-α-Olefin #2", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 28.1623441487961, + "Do": 0.227897610675968, + "Eas": 33.1670750044397, + "So": 35.4782891686019, + "Eap": 61.3294191532358, + "Po": 69858005751.8966 }, "W009": { - "name": "DC8100", - "alias": "Poly-α-Olefin #1", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", - "Fickian": true, - "Ead": 28.1852705713259, - "Do": 0.257519752522143, - "Eas": 39.4868955730458, - "So": 384.109387459489, - "Eap": 67.6721661443716, - "Po": 854632118015.993 + "name": "DC8100", + "alias": "Poly-α-Olefin #1", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", + "Fickian": true, + "Ead": 28.1852705713259, + "Do": 0.257519752522143, + "Eas": 39.4868955730458, + "So": 384.109387459489, + "Eap": 67.6721661443716, + "Po": 854632118015.993 }, "W010": { - "name": "Kapton, poly-oxydiphenylene-pyromellitimide", - "alias": "Polyimide", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", - "Fickian": true, - "Ead": 42.1628275544937, - "Do": 0.072278801585473, - "Eas": 0.0557102138739842, - "So": 0.0477773591873675, - "Eap": 42.2185377683678, - "Po": 29836427.8894415 + "name": "Kapton, poly-oxydiphenylene-pyromellitimide", + "alias": "Polyimide", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", + "Fickian": true, + "Ead": 42.1628275544937, + "Do": 0.072278801585473, + "Eas": 0.0557102138739842, + "So": 0.0477773591873675, + "Eap": 42.2185377683678, + "Po": 29836427.8894415 }, "W011": { - "name": "Black PVC", - "alias": "Polyvinyl Chloride", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 47.7114059610274, - "Do": 23.2489268221605, - "Eas": 28.487677226357, - "So": 140.417948734924, - "Eap": 76.1990831873844, - "Po": 28205855550629.2 + "name": "Black PVC", + "alias": "Polyvinyl Chloride", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 47.7114059610274, + "Do": 23.2489268221605, + "Eas": 28.487677226357, + "So": 140.417948734924, + "Eap": 76.1990831873844, + "Po": 28205855550629.2 }, "W012": { - "name": "Clear PVC", - "alias": "Polyvinyl Chloride", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 33.0286897557188, - "Do": 0.11657610009133, - "Eas": 32.9939505587882, - "So": 938.977273863745, - "Eap": 66.022640314507, - "Po": 945754346834.7 + "name": "Clear PVC", + "alias": "Polyvinyl Chloride", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 33.0286897557188, + "Do": 0.11657610009133, + "Eas": 32.9939505587882, + "So": 938.977273863745, + "Eap": 66.022640314507, + "Po": 945754346834.7 }, "W013": { - "name": "Korad", - "alias": "Acrylate Copolymer", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", - "Fickian": true, - "Ead": 42.4224039909835, - "Do": 0.956288845632073, - "Eas": 10.6522537288649, - "So": 1.11499446980146, - "Eap": 105.22742596998, - "Po": 3221320046147540000 + "name": "Korad", + "alias": "Acrylate Copolymer", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", + "Fickian": true, + "Ead": 42.4224039909835, + "Do": 0.956288845632073, + "Eas": 10.6522537288649, + "So": 1.11499446980146, + "Eap": 105.22742596998, + "Po": 3221320046147540000 }, "W014": { - "name": "Tefzel, poly ethylene-co-tetrafluoroethylene", - "alias": "ETFE", - "contributor": "Michael Kempe", - "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", - "Fickian": true, - "Ead": 33.7546691720749, - "Do": 0.0575761569695952, - "Eas": 25.938348818962, - "So": 7.27712808189267, - "Eap": 59.693017991037, - "Po": 3620065553.835 + "name": "Tefzel, poly ethylene-co-tetrafluoroethylene", + "alias": "ETFE", + "contributor": "Michael Kempe", + "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", + "Fickian": true, + "Ead": 33.7546691720749, + "Do": 0.0575761569695952, + "Eas": 25.938348818962, + "So": 7.27712808189267, + "Eap": 59.693017991037, + "Po": 3620065553.835 }, "W015": { - "name": "Poly Ethylene Napthlate", - "alias": "PEN", - "contributor": "Michael Kempe", - "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", - "Fickian": true, - "Ead": 51.5636742115708, - "Do": 0.995529692337746, - "Eas": 5.6178949378191, - "So": 0.0812436914344898, - "Eap": 57.1815691493899, - "Po": 698807581.673712 + "name": "Poly Ethylene Napthlate", + "alias": "PEN", + "contributor": "Michael Kempe", + "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", + "Fickian": true, + "Ead": 51.5636742115708, + "Do": 0.995529692337746, + "Eas": 5.6178949378191, + "So": 0.0812436914344898, + "Eap": 57.1815691493899, + "Po": 698807581.673712 }, "W016": { - "name": "Polyethylene Terepthalate, Mylar-D", - "alias": "PET-1", - "contributor": "Michael Kempe", - "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", - "Fickian": true, - "Ead": 47.3213251145397, - "Do": 0.789003134561549, - "Eas": 7.32378069811026, - "So": 0.157203671680748, - "Eap": 54.64510581265, - "Po": 1071655399.18682 + "name": "Polyethylene Terepthalate, Mylar-D", + "alias": "PET-1", + "contributor": "Michael Kempe", + "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", + "Fickian": true, + "Ead": 47.3213251145397, + "Do": 0.789003134561549, + "Eas": 7.32378069811026, + "So": 0.157203671680748, + "Eap": 54.64510581265, + "Po": 1071655399.18682 }, "W017": { - "name": "Polyethylene Terepthalate, ST504", - "alias": "PET-2", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 49.1988088587438, - "Do": 1.43136116146877, - "Eas": 6.20764844309352, - "So": 0.106698381856152, - "Eap": 55.4064573018373, - "Po": 1319534666.90318 + "name": "Polyethylene Terepthalate, ST504", + "alias": "PET-2", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 49.1988088587438, + "Do": 1.43136116146877, + "Eas": 6.20764844309352, + "So": 0.106698381856152, + "Eap": 55.4064573018373, + "Po": 1319534666.90318 }, "W018": { - "name": " Bisphenol-A-polycarbonate, Lexan", - "alias": "Polycarbonate", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 31.7570673066821, - "Do": 0.0177602090081197, - "Eas": 13.4503885886312, - "So": 1.21057375762911, - "Eap": 45.2074558953133, - "Po": 185760371.133255 + "name": " Bisphenol-A-polycarbonate, Lexan", + "alias": "Polycarbonate", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 31.7570673066821, + "Do": 0.0177602090081197, + "Eas": 13.4503885886312, + "So": 1.21057375762911, + "Eap": 45.2074558953133, + "Po": 185760371.133255 }, "W019": { - "name": "Poly Vinyl Butral, S-LEC Sekisui, and Saflex Solutia", - "alias": "PVB-1", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", - "Fickian": true, - "Ead": 46.4649618478522, - "Do": 11.348179731181, - "Eas": 11.0777370890654, - "So": 2.49156416313226, - "Eap": 57.5426989369177, - "Po": 244293562958.356 + "name": "Poly Vinyl Butral, S-LEC Sekisui, and Saflex Solutia", + "alias": "PVB-1", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", + "Fickian": true, + "Ead": 46.4649618478522, + "Do": 11.348179731181, + "Eas": 11.0777370890654, + "So": 2.49156416313226, + "Eap": 57.5426989369177, + "Po": 244293562958.356 }, "W020": { - "name": "Old DNP", - "alias": "TPO-1", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": false, - "Eap": 76.289572026034, - "Po": 6823263083472.16 + "name": "Old DNP", + "alias": "TPO-1", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": false, + "Eap": 76.289572026034, + "Po": 6823263083472.16 }, "W021": { - "name": "Vectran", - "alias": "LCP", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 50.403918892528, - "Do": 0.245942251282737, - "Eas": 5.45301564748205, - "So": 0.0110622546832953, - "Eap": 55.8569345400101, - "Po": 23506639.0940679 + "name": "Vectran", + "alias": "LCP", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 50.403918892528, + "Do": 0.245942251282737, + "Eas": 5.45301564748205, + "So": 0.0110622546832953, + "Eap": 55.8569345400101, + "Po": 23506639.0940679 }, "W022": { - "name": "Tedlar", - "alias": "Filled PVF", - "contributor": "Michael Kempe", - "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", - "Fickian": true, - "Ead": 58.71570389177, - "Do": 113.525567785916, - "Eas": 11.7711932387872, - "So": 0.983373347442546, - "Eap": 70.4868971305571, - "Po": 964552472184.541 + "name": "Tedlar", + "alias": "Filled PVF", + "contributor": "Michael Kempe", + "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", + "Fickian": true, + "Ead": 58.71570389177, + "Do": 113.525567785916, + "Eas": 11.7711932387872, + "So": 0.983373347442546, + "Eap": 70.4868971305571, + "Po": 964552472184.541 }, "W023": { - "name": "White Aclar", - "alias": "PCTFE-1", - "contributor": "Michael Kempe", - "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", - "Fickian": true, - "Ead": 79.5113791145642, - "Do": 10210.1659418952, - "Eas": 7.86738905205556, - "So": 0.0439563961280766, - "Eap": 84.5436362084746, - "Po": 1492039875944.98 + "name": "White Aclar", + "alias": "PCTFE-1", + "contributor": "Michael Kempe", + "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", + "Fickian": true, + "Ead": 79.5113791145642, + "Do": 10210.1659418952, + "Eas": 7.86738905205556, + "So": 0.0439563961280766, + "Eap": 84.5436362084746, + "Po": 1492039875944.98 }, "W024": { - "name": "Clear Aclar", - "alias": "PCTFE-2", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 96.5385865449266, - "Do": 4172967.14420414, - "Eas": -12.3825598156611, - "So": 0.000027596664527881, - "Eap": 84.1560267292654, - "Po": 994982178508.989 + "name": "Clear Aclar", + "alias": "PCTFE-2", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 96.5385865449266, + "Do": 4172967.14420414, + "Eas": -12.3825598156611, + "So": 0.000027596664527881, + "Eap": 84.1560267292654, + "Po": 994982178508.989 }, "W025": { - "name": "VHB 5047", - "alias": "Double Stick Tape-1", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 45.4752522219199, - "Do": 9.43827604933472, - "Eas": 9.11207059308869, - "So": 0.250698026382274, - "Eap": 54.5873228150086, - "Po": 20443598018.0867 + "name": "VHB 5047", + "alias": "Double Stick Tape-1", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 45.4752522219199, + "Do": 9.43827604933472, + "Eas": 9.11207059308869, + "So": 0.250698026382274, + "Eap": 54.5873228150086, + "Po": 20443598018.0867 }, "W026": { - "name": "DC184", - "alias": "PDMS-2", - "contributor": "Michael Kempe", - "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", - "Fickian": true, - "Ead": 26.8491404589422, - "Do": 0.343040484423659, - "Eas": 11.1779225188289, - "So": 0.0804559994699917, - "Eap": 38.0270629777712, - "Po": 238461105.884911 + "name": "DC184", + "alias": "PDMS-2", + "contributor": "Michael Kempe", + "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", + "Fickian": true, + "Ead": 26.8491404589422, + "Do": 0.343040484423659, + "Eas": 11.1779225188289, + "So": 0.0804559994699917, + "Eap": 38.0270629777712, + "Po": 238461105.884911 }, "W027": { - "name": "RTV615", - "alias": "PDMS-1", - "contributor": "Michael Kempe", - "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", - "Fickian": true, - "Ead": 20.9155783983994, - "Do": 0.0690375841285242, - "Eas": 21.0756724360529, - "So": 1.76185388295796, - "Eap": 41.7698885456015, - "Po": 960496070.761543 + "name": "RTV615", + "alias": "PDMS-1", + "contributor": "Michael Kempe", + "source": "Michael Kempe, Modeling of rates of moisture ingress into photovoltaic modules, Solar Energy Materials & Solar Cells 90 (2006) 2720-2738, https://doi.org/10.1016/j.solmat.2006.04.002, and Michael Kempe, Control of Moisture Ingress into Photovoltaic Modules, 31st IEEE PVSC (2005)", + "Fickian": true, + "Ead": 20.9155783983994, + "Do": 0.0690375841285242, + "Eas": 21.0756724360529, + "So": 1.76185388295796, + "Eap": 41.7698885456015, + "Po": 960496070.761543 }, "W028": { - "name": "Viton Matte", - "alias": "Fluorpolymer Rubber-1", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "comment": "This material is not Fickian. The values here are only approximate", - "Fickian": false, - "Ead": 71.7616886120477, - "Do": 45455.3486405086, - "Eas": 1.48200499250495, - "So": 0.0209145982407652, - "Eap": 73.2436936045527, - "Po": 8213878264695.76 + "name": "Viton Matte", + "alias": "Fluorpolymer Rubber-1", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "comment": "This material is not Fickian. The values here are only approximate", + "Fickian": false, + "Ead": 71.7616886120477, + "Do": 45455.3486405086, + "Eas": 1.48200499250495, + "So": 0.0209145982407652, + "Eap": 73.2436936045527, + "Po": 8213878264695.76 }, "W029": { - "name": "Viton Gloss", - "alias": "Fluorpolymer Rubber-2", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "comment": "This material is not Fickian. The values here are only approximate", - "Fickian": false, - "Ead": 56.2460834706032, - "Do": 159.982701698288, - "Eas": 20.8063496388738, - "So": 26.9834933677011, - "Eap": 77.052433109477, - "Po": 37297948350723.4 + "name": "Viton Gloss", + "alias": "Fluorpolymer Rubber-2", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "comment": "This material is not Fickian. The values here are only approximate", + "Fickian": false, + "Ead": 56.2460834706032, + "Do": 159.982701698288, + "Eas": 20.8063496388738, + "So": 26.9834933677011, + "Eap": 77.052433109477, + "Po": 37297948350723.4 }, "W030": { - "name": "DNP 2777", - "alias": "TPO-2", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "comment": "This material is only Fickian below 60°C.", - "Fickian": true, - "Ead": 52.9307054899144, - "Do": 522.890286460457, - "Eas": 24.5569461831493, - "So": 1.55969827001173, - "Eap": 79.8681296790924, - "Po": 15797483966534.5 + "name": "DNP 2777", + "alias": "TPO-2", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "comment": "This material is only Fickian below 60°C.", + "Fickian": true, + "Ead": 52.9307054899144, + "Do": 522.890286460457, + "Eas": 24.5569461831493, + "So": 1.55969827001173, + "Eap": 79.8681296790924, + "Po": 15797483966534.5 }, "W031": { - "name": "Stevens PV251 Aliphatic TPU", - "alias": "TPU-2", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", - "Fickian": true, - "Ead": 50.7463326496412, - "Do": 74.7749648984175, - "Eas": 6.43899102763906, - "So": 0.249811154526706, - "Eap": 57.1853236772803, - "Po": 161391919486.761 + "name": "Stevens PV251 Aliphatic TPU", + "alias": "TPU-2", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", + "Fickian": true, + "Ead": 50.7463326496412, + "Do": 74.7749648984175, + "Eas": 6.43899102763906, + "So": 0.249811154526706, + "Eap": 57.1853236772803, + "Po": 161391919486.761 }, "W032": { - "name": "Dupont PV5300 Ionomer", - "alias": "Ionomer-1", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", - "comment": "This material is only Fickian below 60°C.", - "Fickian": true, - "Ead": 55.6235810319235, - "Do": 15.3609038875224, - "Eas": 19.5076706534681, - "So": 17.7889361215936, - "Eap": 75.1312516853916, - "Po": 2360915752536.64 + "name": "Dupont PV5300 Ionomer", + "alias": "Ionomer-1", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", + "comment": "This material is only Fickian below 60°C.", + "Fickian": true, + "Ead": 55.6235810319235, + "Do": 15.3609038875224, + "Eas": 19.5076706534681, + "So": 17.7889361215936, + "Eap": 75.1312516853916, + "Po": 2360915752536.64 }, "W033": { - "name": "Dupont PV5200 Polyvinylbutral", - "alias": "PVB-2", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", - "Fickian": true, - "Ead": 51.8830902457148, - "Do": 84.5134211271644, - "Eas": 7.95997669491685, - "So": 0.520484700621351, - "Eap": 59.8430669406317, - "Po": 380055824874.932 + "name": "Dupont PV5200 Polyvinylbutral", + "alias": "PVB-2", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Arrelaine A. Dameron, and Matthew O. Reese, Evaluation of moisture ingress from the perimeter of photovoltiac modules, Progress in Photovoltaics: Research and Applications (2013), https://doi.org/10.1002/pip.2374", + "Fickian": true, + "Ead": 51.8830902457148, + "Do": 84.5134211271644, + "Eas": 7.95997669491685, + "So": 0.520484700621351, + "Eap": 59.8430669406317, + "Po": 380055824874.932 }, "W034": { - "name": "Steven PV301", - "alias": "TPU-3", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "Fickian": true, - "Ead": 44.2414356094982, - "Do": 4.32928261563764, - "Eas": 9.90384118622532, - "So": 0.931312935440451, - "Eap": 54.1452767957236, - "Po": 34835762025.6838 + "name": "Steven PV301", + "alias": "TPU-3", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "Fickian": true, + "Ead": 44.2414356094982, + "Do": 4.32928261563764, + "Eas": 9.90384118622532, + "So": 0.931312935440451, + "Eap": 54.1452767957236, + "Po": 34835762025.6838 }, "W035": { - "name": "DNP PV-FS CVF2B, below 40°C", - "alias": "TPO-3", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "comment": "This material has a different temperature dependence above and below 40°C. This dataset is for temperatures below 40°C.", - "Fickian": true, - "Ead": 47.0710454631315, - "Do": 141.699562362163, - "Eas": 32.9594855649241, - "So": 28.2464642413457, - "Eap": 80.0307511425333, - "Po": 34584496473583.9 + "name": "DNP PV-FS CVF2B, below 40°C", + "alias": "TPO-3", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "comment": "This material has a different temperature dependence above and below 40°C. This dataset is for temperatures below 40°C.", + "Fickian": true, + "Ead": 47.0710454631315, + "Do": 141.699562362163, + "Eas": 32.9594855649241, + "So": 28.2464642413457, + "Eap": 80.0307511425333, + "Po": 34584496473583.9 }, "W036": { - "name": "DNP PV-FS CVF2B, above 40°C", - "alias": "TPO-3", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "comment": "This material has a different temperature dependence above and below 40°C. This dataset is for temperatures above 40°C.", - "Fickian": true, - "Ead": 31.0493901943036, - "Do": 0.387375018071262, - "Eas": 37.154683534443, - "So": 133.267171135261, - "Eap": 68.2040737287465, - "Po": 446034581223.792 + "name": "DNP PV-FS CVF2B, above 40°C", + "alias": "TPO-3", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "comment": "This material has a different temperature dependence above and below 40°C. This dataset is for temperatures above 40°C.", + "Fickian": true, + "Ead": 31.0493901943036, + "Do": 0.387375018071262, + "Eas": 37.154683534443, + "So": 133.267171135261, + "Eap": 68.2040737287465, + "Po": 446034581223.792 }, "W037": { - "name": "PIB Lee Yang Wilusz", - "alias": "PIB", - "contributor": "Michael Kempe", - "source": "B. L. Lee, T. W. Yang, and E. Wilusz, Moisture Effects on Isobutylene-Isoprene Copolymer-Based Composite Barrier. I: Moisture Diffusion and Detection, POLYMER ENGINEERING AND SCIENCE, MID-MAY 1996, Vol. 36, NO. 9", - "Fickian": true, - "Ead": 66.7749676968273 + "name": "PIB Lee Yang Wilusz", + "alias": "PIB", + "contributor": "Michael Kempe", + "source": "B. L. Lee, T. W. Yang, and E. Wilusz, Moisture Effects on Isobutylene-Isoprene Copolymer-Based Composite Barrier. I: Moisture Diffusion and Detection, POLYMER ENGINEERING AND SCIENCE, MID-MAY 1996, Vol. 36, NO. 9", + "Fickian": true, + "Ead": 66.7749676968273 }, "W038": { - "name": "PIB Helioseal matrix only", - "alias": "PIB Matrix-1", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Dhananjay Panchagade, Matthew O. Reese, and Arrelaine A. Dameron, Modeling moisture ingress through polyisobutylene-based edge-seals,Progress in Photovoltaics: Research and Applications (2014), https://doi.org/10.1002/pip.2465", - "Fickian": true, - "Ead": 54.8, - "Do": 4.39, - "Eas": 5, - "So": 0.0321759557733088, - "Eap": 59.8, - "Po": 1220421132.09929 + "name": "PIB Helioseal matrix only", + "alias": "PIB Matrix-1", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Dhananjay Panchagade, Matthew O. Reese, and Arrelaine A. Dameron, Modeling moisture ingress through polyisobutylene-based edge-seals,Progress in Photovoltaics: Research and Applications (2014), https://doi.org/10.1002/pip.2465", + "Fickian": true, + "Ead": 54.8, + "Do": 4.39, + "Eas": 5, + "So": 0.0321759557733088, + "Eap": 59.8, + "Po": 1220421132.09929 }, "W039": { - "name": "PIB Quanex LPO-3 ", - "alias": "PIB Matrix-2", - "contributor": "Michael Kempe", - "source": "Michael D. Kempe, Dylan L. Nobles, Lori Postak, and Jose Alonzo Calderon, Moisture ingress prediction in polyisobutylene-based edge seal with molecular sieve desiccant,Progress in Photovoltaics: Research and Applications (2014), https://doi.org/10.1002/pip.2947", - "Fickian": true, - "Ead": 55, - "Do": 50, - "Eas": 7.5, - "So": 0.052, - "Eap": 62.5, - "Po": 22464000000 + "name": "PIB Quanex LPO-3 ", + "alias": "PIB Matrix-2", + "contributor": "Michael Kempe", + "source": "Michael D. Kempe, Dylan L. Nobles, Lori Postak, and Jose Alonzo Calderon, Moisture ingress prediction in polyisobutylene-based edge seal with molecular sieve desiccant,Progress in Photovoltaics: Research and Applications (2014), https://doi.org/10.1002/pip.2947", + "Fickian": true, + "Ead": 55, + "Do": 50, + "Eas": 7.5, + "So": 0.052, + "Eap": 62.5, + "Po": 22464000000 }, "W040": { - "name": "EVA", + "name": "EVA", "alias": "EVA-2", - "contributor": "Michael Kempe", - "source": "Urban Weber, Ralf Eiden, Christine Strubel, Thorsten Soegding, Markus Heiss, Peter Zachmann, Kurt Nattermann, Harry Engelmann, Annelene Dethlefsen, Norbert Lenck, Acetic Acid Production, Migration and Corrosion Effects in Ethylene-Vinyl-Acetate-(EVA-)Based PV Modules, 27th European Photovoltaic Solar Energy Conference and Exhibition.", - "comment": "Extracted from Figure 10 of Weber et al. The activation energy does not exactly match that in the published work (22.7 kJ/mol). I did this because I wanted to include the prefactor.", + "contributor": "Michael Kempe", + "source": "Urban Weber, Ralf Eiden, Christine Strubel, Thorsten Soegding, Markus Heiss, Peter Zachmann, Kurt Nattermann, Harry Engelmann, Annelene Dethlefsen, Norbert Lenck, Acetic Acid Production, Migration and Corrosion Effects in Ethylene-Vinyl-Acetate-(EVA-)Based PV Modules, 27th European Photovoltaic Solar Energy Conference and Exhibition.", + "comment": "Extracted from Figure 10 of Weber et al. The activation energy does not exactly match that in the published work (22.7 kJ/mol). I did this because I wanted to include the prefactor.", "Ead": 28.0325960835163, "Do": 0.0347563378698928 } diff --git a/pvdeg/data/O2permeation.json b/pvdeg/data/O2permeation.json index fd9167f..742962d 100644 --- a/pvdeg/data/O2permeation.json +++ b/pvdeg/data/O2permeation.json @@ -1,25 +1,25 @@ { "OX000": { - "comment": "This data is for oxygen permeation parameters. The activation energies are in [kJ/mol]. Do is in [cm^2/s]. So is in [g/cm^3/atm]. Po is in[g*mm/m^2/day/atm]." - }, + "comment": "This data is for oxygen permeation parameters. The activation energies are in [kJ/mol]. Do is in [cm^2/s]. So is in [g/cm^3/atm]. Po is in[g*mm/m^2/day/atm]." + }, "OX001": { - "name": "Tedlar", + "name": "Tedlar", "alias": "PVF", - "contributor": "Michael Kempe", - "source": "unpublished measurements", + "contributor": "Michael Kempe", + "source": "unpublished measurements", "Fickian": true, "Ead": 30.48, "Do": 0.0001421, "Eas": -0.0272266, "So": 0.0003594, "Eap": 30.2107, - "Po": 441.260 + "Po": 441.26 }, "OX002": { - "name": "ST504", + "name": "ST504", "alias": "PET1", - "contributor": "Michael Kempe", - "source": "unpublished measurements", + "contributor": "Michael Kempe", + "source": "unpublished measurements", "Fickian": true, "Ead": 47.603, "Do": 0.554153, @@ -29,10 +29,10 @@ "Po": 2128.8937 }, "OX003": { - "name": "EVA", + "name": "EVA", "alias": "EVA-1", - "contributor": "Michael Kempe", - "source": "unpublished measurements", + "contributor": "Michael Kempe", + "source": "unpublished measurements", "Fickian": true, "Ead": 29.43112031, "Do": 0.129061678, @@ -42,11 +42,11 @@ "Po": 97917899126 }, "OX004": { - "name": "AAA polyamide backsheet", + "name": "AAA polyamide backsheet", "alias": "AAA", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "comment": "This is the trilayer polyamide backsheet that saw cracking in the field after 3 or 4 years of exposure", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "comment": "This is the trilayer polyamide backsheet that saw cracking in the field after 3 or 4 years of exposure", "Fickian": true, "Ead": 37.41778528, "Do": 24.10839436, @@ -56,25 +56,25 @@ "Po": 1627722.989 }, "OX005": { - "name": "Helioseal_101_dry", + "name": "Helioseal_101_dry", "alias": "PIB-A", - "contributor": "Michael Kempe", - "comment": "This measurement is from a fresh film with active desiccant.", - "source": "unpublished measurements", + "contributor": "Michael Kempe", + "comment": "This measurement is from a fresh film with active desiccant.", + "source": "unpublished measurements", "Fickian": true, "Ead": 45.01267147, "Do": 3.370970011, "Eas": -3.528965263, - "So": 0.0000525558996546881, + "So": 5.25558996546881e-05, "Eap": 41.48370621, "Po": 1530700.085 }, "OX006": { - "name": "Helioseal_101_wet", + "name": "Helioseal_101_wet", "alias": "PIB-A Wet", - "contributor": "Michael Kempe", - "comment": "This measurement is after saturation with water.", - "source": "unpublished measurements", + "contributor": "Michael Kempe", + "comment": "This measurement is after saturation with water.", + "source": "unpublished measurements", "Fickian": true, "Ead": 50.75602972, "Do": 37.24247609, @@ -84,11 +84,11 @@ "Po": 5101898.064 }, "OX007": { - "name": "LPO3_dry", + "name": "LPO3_dry", "alias": "PIB-B", - "contributor": "Michael Kempe", - "comment": "This measurement is from a fresh film with active desiccant.", - "source": "unpublished measurements", + "contributor": "Michael Kempe", + "comment": "This measurement is from a fresh film with active desiccant.", + "source": "unpublished measurements", "Fickian": true, "Ead": 40.99859372, "Do": 0.690368586, @@ -98,11 +98,11 @@ "Po": 3287750.401 }, "OX008": { - "name": "LPO3_wet", + "name": "LPO3_wet", "alias": "PIB-B", - "contributor": "Michael Kempe", - "comment": "This measurement is after saturation with water.", - "source": "unpublished measurements", + "contributor": "Michael Kempe", + "comment": "This measurement is after saturation with water.", + "source": "unpublished measurements", "Fickian": true, "Ead": 48.73189239, "Do": 10.50219391, @@ -112,11 +112,11 @@ "Po": 8344245.628 }, "OX009": { - "name": "Nagase_dry", + "name": "Nagase_dry", "alias": "PIB-B", - "contributor": "Michael Kempe", - "comment": "This measurement is from a fresh film with active desiccant.", - "source": "unpublished measurements", + "contributor": "Michael Kempe", + "comment": "This measurement is from a fresh film with active desiccant.", + "source": "unpublished measurements", "Fickian": true, "Ead": 47.53715467, "Do": 11.22649621, @@ -126,11 +126,11 @@ "Po": 42076035.42 }, "OX010": { - "name": "Nagase_wet", + "name": "Nagase_wet", "alias": "PIB-B", - "contributor": "Michael Kempe", - "comment": "This measurement is after saturation with water.", - "source": "unpublished measurements", + "contributor": "Michael Kempe", + "comment": "This measurement is after saturation with water.", + "source": "unpublished measurements", "Fickian": true, "Ead": 42.09928821, "Do": 0.973239619, @@ -140,9 +140,9 @@ "Po": 8725784.224 }, "OX011": { - "name": "Oppanol_B_200", - "contributor": "Michael Kempe", - "Source": "G. J. Van Amerongen, The Permeability of Different Rubbers to Gases and Its Relation to Diffusivity and Solubility, Journal of Applied Physics 17, 972 (1946); https://doi.org/10.1063/1.1707667", + "name": "Oppanol_B_200", + "contributor": "Michael Kempe", + "Source": "G. J. Van Amerongen, The Permeability of Different Rubbers to Gases and Its Relation to Diffusivity and Solubility, Journal of Applied Physics 17, 972 (1946); https://doi.org/10.1063/1.1707667", "alias": "PIB-lit", "Fickian": true, "Ead": 45.18908901, @@ -153,20 +153,20 @@ "Po": 8138979.958 }, "OX012": { - "name": "EVA", + "name": "EVA", "alias": "EVA-2", - "contributor": "Michael Kempe", - "source": "Urban Weber, Ralf Eiden, Christine Strubel, Thorsten Soegding, Markus Heiss, Peter Zachmann, Kurt Nattermann, Harry Engelmann, Annelene Dethlefsen, Norbert Lenck, Acetic Acid Production, Migration and Corrosion Effects in Ethylene-Vinyl-Acetate-(EVA-)Based PV Modules, 27th European Photovoltaic Solar Energy Conference and Exhibition.", - "comment": "Extracted from Figure 10 of Weber et al. The activation energy does not exactly match that in the published work (25.4 kJ/mol). I did this because I wanted to include the prefactor.", + "contributor": "Michael Kempe", + "source": "Urban Weber, Ralf Eiden, Christine Strubel, Thorsten Soegding, Markus Heiss, Peter Zachmann, Kurt Nattermann, Harry Engelmann, Annelene Dethlefsen, Norbert Lenck, Acetic Acid Production, Migration and Corrosion Effects in Ethylene-Vinyl-Acetate-(EVA-)Based PV Modules, 27th European Photovoltaic Solar Energy Conference and Exhibition.", + "comment": "Extracted from Figure 10 of Weber et al. The activation energy does not exactly match that in the published work (25.4 kJ/mol). I did this because I wanted to include the prefactor.", "Ead": 28.1814557950317, "Do": 0.0331146659105106 }, "OX013": { - "name": "polyolefin elastomer (POE)", + "name": "polyolefin elastomer (POE)", "alias": "POE-1", - "contributor": "Michael Kempe", - "source": "unpublished measurements", - "comment": "This is a NREL laboratory formulation made similar to a typical EVA but using Dow Chemical Engage 8100, a poly ethylene octene copolymer, as the base resin.", + "contributor": "Michael Kempe", + "source": "unpublished measurements", + "comment": "This is a NREL laboratory formulation made similar to a typical EVA but using Dow Chemical Engage 8100, a poly ethylene octene copolymer, as the base resin.", "Fickian": true, "Ead": 32.9383902685319, "Do": 1.00914093168826, @@ -174,5 +174,15 @@ "So": 0.00148313008211379, "Eap": 39.2779774417758, "Po": 12931378.0376762 + }, + "tmat": { + "alias": "test_material", + "Fickian": true, + "Ead": 1, + "Do": 1, + "Eas": 1, + "So": 1, + "Eap": 1, + "Po": 1 } -} +} \ No newline at end of file diff --git a/pvdeg/scenario.py b/pvdeg/scenario.py index be6c53b..1547ef9 100644 --- a/pvdeg/scenario.py +++ b/pvdeg/scenario.py @@ -234,7 +234,7 @@ def addModule( self, module_name: str = None, racking: str = "open_rack_glass_polymer", - material: str = "EVA", + material: str = "OX003", temperature_model: str = "sapm", model_kwarg: dict = {}, irradiance_kwarg: dict = {}, @@ -254,7 +254,8 @@ def addModule( 'open_rack_glass_glass', 'open_rack_glass_polymer', 'close_mount_glass_glass', 'insulated_back_glass_polymer' material : (str) - Name of the material desired. For a complete list, see data/materials.json. + Key of the material desired. For a complete list, see pvdeg/data/O2permeation.json + or pvdeg/data/H2Opermedation.json or pvdeg/data/AApermeation.json. To add a custom material, see pvdeg.addMaterial (ex: EVA, Tedlar) temp_model : (str) select pvlib temperature models. See ``pvdeg.temperature.temperature`` for more. @@ -864,7 +865,10 @@ def plot( plt.show() def _ipython_display_(self): - file_url = f"file:///{os.path.abspath(self.path).replace(os.sep, '/')}" + file_url = "no file provided" + if self.path: + file_url = f"file:///{os.path.abspath(self.path).replace(os.sep, '/')}" + html_content = f"""

{self.name}: Scenario Analysis

diff --git a/pvdeg/utilities.py b/pvdeg/utilities.py index e5f448b..2374df9 100644 --- a/pvdeg/utilities.py +++ b/pvdeg/utilities.py @@ -227,6 +227,7 @@ def get_state_bbox( Retrieve the top left and bottom right coordinate pairs for state bounding boxes. """ + # can move to its own file in pvdeg.DATA_DIR bbox_dict = { "Alabama": [ [-84.8882446289062, 35.0080299377441], @@ -491,7 +492,9 @@ def convert_tmy(file_in, file_out="h5_from_tmy.h5"): ) -def _read_material(name, fname="materials.json"): +# previously: fname="materials.json" +# add control over what parameters (O2, H2, AA)? +def _read_material(name, fname="O2permeation.json"): """ read a material from materials.json and return the parameter dictionary @@ -521,6 +524,8 @@ def _read_material(name, fname="materials.json"): return mat_dict +# previously: fname="materials.json" +# add control over what parameters (O2, H2, AA)? def _add_material( name, alias, @@ -531,7 +536,7 @@ def _add_material( Eap=None, Po=None, fickian=True, - fname="materials.json", + fname="O2permeation.json", ): """ Add a new material to the materials.json database. Check the parameters for specific units. diff --git a/tests/data/test-scenario.json b/tests/data/test-scenario.json index 5b826d6..d641306 100644 --- a/tests/data/test-scenario.json +++ b/tests/data/test-scenario.json @@ -6,14 +6,19 @@ "module_name": "test-module", "racking": "open_rack_glass_polymer", "material_params": { - "alias": "EVA", + + "name": "EVA", + "alias": "EVA-1", + "contributor": "Michael Kempe", + "source": "unpublished measurements", "Fickian": true, - "Ead": 29.43, - "Do": 0.13, - "Eas": 32.31, - "So": 87.8, - "Eap": 61.74, - "Po": 97900000000.0 + "Ead": 29.43112031, + "Do": 0.129061678, + "Eas": 32.3137806, + "So": 87.81142774, + "Eap": 61.7449009, + "Po": 97917899126 + }, "temp_model": "sapm", "model_kwarg": {}, diff --git a/tests/sandbox.ipynb b/tests/sandbox.ipynb index 069221b..0ec2d66 100644 --- a/tests/sandbox.ipynb +++ b/tests/sandbox.ipynb @@ -419,7 +419,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -434,7 +434,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -447,223 +447,27 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
temp_airwind_speeddhighidnirelative_humidity
2021-01-01 00:00:00+00:00-2.31.100056.22
2021-01-01 00:10:00+00:00-2.41.100056.64
2021-01-01 00:20:00+00:00-2.51.100057.06
2021-01-01 00:30:00+00:00-2.51.100057.06
2021-01-01 00:40:00+00:00-2.61.100055.94
.....................
2021-01-01 23:10:00+00:00-0.91.0277451263.01
2021-01-01 23:20:00+00:00-0.91.0225043063.01
2021-01-01 23:30:00+00:00-0.91.0162932963.01
2021-01-01 23:40:00+00:00-0.91.000063.01
2021-01-01 23:50:00+00:00-0.91.000063.01
\n", - "

144 rows × 6 columns

\n", - "
" - ], - "text/plain": [ - " temp_air wind_speed dhi ghi dni \\\n", - "2021-01-01 00:00:00+00:00 -2.3 1.1 0 0 0 \n", - "2021-01-01 00:10:00+00:00 -2.4 1.1 0 0 0 \n", - "2021-01-01 00:20:00+00:00 -2.5 1.1 0 0 0 \n", - "2021-01-01 00:30:00+00:00 -2.5 1.1 0 0 0 \n", - "2021-01-01 00:40:00+00:00 -2.6 1.1 0 0 0 \n", - "... ... ... ... ... ... \n", - "2021-01-01 23:10:00+00:00 -0.9 1.0 27 74 512 \n", - "2021-01-01 23:20:00+00:00 -0.9 1.0 22 50 430 \n", - "2021-01-01 23:30:00+00:00 -0.9 1.0 16 29 329 \n", - "2021-01-01 23:40:00+00:00 -0.9 1.0 0 0 0 \n", - "2021-01-01 23:50:00+00:00 -0.9 1.0 0 0 0 \n", - "\n", - " relative_humidity \n", - "2021-01-01 00:00:00+00:00 56.22 \n", - "2021-01-01 00:10:00+00:00 56.64 \n", - "2021-01-01 00:20:00+00:00 57.06 \n", - "2021-01-01 00:30:00+00:00 57.06 \n", - "2021-01-01 00:40:00+00:00 55.94 \n", - "... ... \n", - "2021-01-01 23:10:00+00:00 63.01 \n", - "2021-01-01 23:20:00+00:00 63.01 \n", - "2021-01-01 23:30:00+00:00 63.01 \n", - "2021-01-01 23:40:00+00:00 63.01 \n", - "2021-01-01 23:50:00+00:00 63.01 \n", - "\n", - "[144 rows x 6 columns]" - ] - }, - "execution_count": 3, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "WEATHER" ] }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "{'latitude': 39.7400016784668,\n", - " 'longitude': -105.16999816894531,\n", - " 'altitude': 1782,\n", - " 'tz': -7.0,\n", - " 'country': 'United States',\n", - " 'state': 'Colorado',\n", - " 'county': 'Jefferson',\n", - " 'wind_height': 2}" - ] - }, - "execution_count": 4, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "META" ] }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "The array tilt angle was not provided, therefore the latitude tilt of 39.7 was used.\n", - "The array azimuth was not provided, therefore an azimuth of 180.0 was used.\n" - ] - } - ], + "outputs": [], "source": [ "temperature = pvdeg.temperature.temperature(\n", " weather_df=WEATHER,\n", @@ -679,135 +483,18 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
module_temperaturetime
2021-01-01 00:00:00+00:00-2.3000000
2021-01-01 00:10:00+00:00-2.4000001
2021-01-01 00:20:00+00:00-2.5000002
2021-01-01 00:30:00+00:00-2.5000003
2021-01-01 00:40:00+00:00-2.6000004
.........
2021-01-01 23:10:00+00:005.430119139
2021-01-01 23:20:00+00:004.014083140
2021-01-01 23:30:00+00:002.541752141
2021-01-01 23:40:00+00:00-0.900000142
2021-01-01 23:50:00+00:00-0.900000143
\n", - "

144 rows × 2 columns

\n", - "
" - ], - "text/plain": [ - " module_temperature time\n", - "2021-01-01 00:00:00+00:00 -2.300000 0\n", - "2021-01-01 00:10:00+00:00 -2.400000 1\n", - "2021-01-01 00:20:00+00:00 -2.500000 2\n", - "2021-01-01 00:30:00+00:00 -2.500000 3\n", - "2021-01-01 00:40:00+00:00 -2.600000 4\n", - "... ... ...\n", - "2021-01-01 23:10:00+00:00 5.430119 139\n", - "2021-01-01 23:20:00+00:00 4.014083 140\n", - "2021-01-01 23:30:00+00:00 2.541752 141\n", - "2021-01-01 23:40:00+00:00 -0.900000 142\n", - "2021-01-01 23:50:00+00:00 -0.900000 143\n", - "\n", - "[144 rows x 2 columns]" - ] - }, - "execution_count": 6, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "temperature" ] }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "The edge seal is Helioseal_101_dry .\n", - "The encapsulant is EVA .\n" - ] - } - ], + "outputs": [], "source": [ "pressure = 0.2109 * (1 - 0.0065 * META['altitude'] / 288.15) ** 5.25588\n", "\n", @@ -826,391 +513,16 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
0.0000000.0769230.1538460.2307690.3076920.3846150.4615380.5384620.6153850.692308...9.6818189.88383810.08585910.28787910.48989910.69191910.89393911.09596011.29798011.500000
0.00.0000430.000000e+000.000000e+000.000000e+000.000000e+000.0000000.000000e+000.000000e+000.000000e+000.000000e+00...0.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+00
1.00.0000431.818119e-070.000000e+000.000000e+000.000000e+000.0000000.000000e+000.000000e+000.000000e+000.000000e+00...0.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+00
2.00.0000433.609618e-077.663460e-100.000000e+000.000000e+000.0000000.000000e+000.000000e+000.000000e+000.000000e+00...0.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+00
3.00.0000435.387096e-072.281357e-093.230186e-120.000000e+000.0000000.000000e+000.000000e+000.000000e+000.000000e+00...0.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+00
4.00.0000437.135628e-074.516240e-091.274835e-111.351509e-140.0000000.000000e+000.000000e+000.000000e+000.000000e+00...0.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+000.000000e+00
..................................................................
282.00.0000412.498806e-051.416238e-056.900690e-062.898526e-060.0000013.441013e-079.917788e-082.564298e-085.988366e-09...2.024059e-492.028521e-501.982055e-511.889086e-521.757121e-531.595790e-541.415725e-551.227532e-561.047591e-571.725855e-58
283.00.0000422.502505e-051.418642e-056.922675e-062.913139e-060.0000013.472982e-071.003339e-072.600639e-086.089116e-09...2.536217e-492.558377e-502.516060e-512.413649e-522.259629e-532.065468e-541.844261e-551.609419e-561.382442e-572.291883e-58
284.00.0000422.506016e-051.420814e-056.942450e-062.926307e-060.0000013.501923e-071.013829e-072.633703e-086.181021e-09...3.130883e-493.177629e-503.144255e-513.034781e-522.858541e-532.628911e-542.361702e-552.073534e-561.792069e-572.988721e-58
285.00.0000432.508902e-051.422514e-056.957856e-062.936581e-060.0000013.524600e-071.022067e-072.659725e-086.253527e-09...3.750303e-493.826644e-503.806710e-513.693835e-523.497940e-533.234153e-542.920949e-552.578227e-562.240279e-573.755784e-58
286.00.0000422.512399e-051.424219e-056.973244e-062.946857e-060.0000013.547353e-071.030347e-072.685926e-086.326664e-09...4.487413e-494.603121e-504.603529e-514.490829e-524.275327e-533.973970e-543.608221e-553.201790e-562.797066e-574.713691e-58
\n", - "

287 rows × 72 columns

\n", - "
" - ], - "text/plain": [ - " 0.000000 0.076923 0.153846 0.230769 0.307692 \\\n", - "0.0 0.000043 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "1.0 0.000043 1.818119e-07 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "2.0 0.000043 3.609618e-07 7.663460e-10 0.000000e+00 0.000000e+00 \n", - "3.0 0.000043 5.387096e-07 2.281357e-09 3.230186e-12 0.000000e+00 \n", - "4.0 0.000043 7.135628e-07 4.516240e-09 1.274835e-11 1.351509e-14 \n", - "... ... ... ... ... ... \n", - "282.0 0.000041 2.498806e-05 1.416238e-05 6.900690e-06 2.898526e-06 \n", - "283.0 0.000042 2.502505e-05 1.418642e-05 6.922675e-06 2.913139e-06 \n", - "284.0 0.000042 2.506016e-05 1.420814e-05 6.942450e-06 2.926307e-06 \n", - "285.0 0.000043 2.508902e-05 1.422514e-05 6.957856e-06 2.936581e-06 \n", - "286.0 0.000042 2.512399e-05 1.424219e-05 6.973244e-06 2.946857e-06 \n", - "\n", - " 0.384615 0.461538 0.538462 0.615385 0.692308 ... \\\n", - "0.0 0.000000 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 ... \n", - "1.0 0.000000 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 ... \n", - "2.0 0.000000 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 ... \n", - "3.0 0.000000 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 ... \n", - "4.0 0.000000 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 ... \n", - "... ... ... ... ... ... ... \n", - "282.0 0.000001 3.441013e-07 9.917788e-08 2.564298e-08 5.988366e-09 ... \n", - "283.0 0.000001 3.472982e-07 1.003339e-07 2.600639e-08 6.089116e-09 ... \n", - "284.0 0.000001 3.501923e-07 1.013829e-07 2.633703e-08 6.181021e-09 ... \n", - "285.0 0.000001 3.524600e-07 1.022067e-07 2.659725e-08 6.253527e-09 ... \n", - "286.0 0.000001 3.547353e-07 1.030347e-07 2.685926e-08 6.326664e-09 ... \n", - "\n", - " 9.681818 9.883838 10.085859 10.287879 10.489899 \\\n", - "0.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "1.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "2.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "3.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "4.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "... ... ... ... ... ... \n", - "282.0 2.024059e-49 2.028521e-50 1.982055e-51 1.889086e-52 1.757121e-53 \n", - "283.0 2.536217e-49 2.558377e-50 2.516060e-51 2.413649e-52 2.259629e-53 \n", - "284.0 3.130883e-49 3.177629e-50 3.144255e-51 3.034781e-52 2.858541e-53 \n", - "285.0 3.750303e-49 3.826644e-50 3.806710e-51 3.693835e-52 3.497940e-53 \n", - "286.0 4.487413e-49 4.603121e-50 4.603529e-51 4.490829e-52 4.275327e-53 \n", - "\n", - " 10.691919 10.893939 11.095960 11.297980 11.500000 \n", - "0.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "1.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "2.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "3.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "4.0 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 \n", - "... ... ... ... ... ... \n", - "282.0 1.595790e-54 1.415725e-55 1.227532e-56 1.047591e-57 1.725855e-58 \n", - "283.0 2.065468e-54 1.844261e-55 1.609419e-56 1.382442e-57 2.291883e-58 \n", - "284.0 2.628911e-54 2.361702e-55 2.073534e-56 1.792069e-57 2.988721e-58 \n", - "285.0 3.234153e-54 2.920949e-55 2.578227e-56 2.240279e-57 3.755784e-58 \n", - "286.0 3.973970e-54 3.608221e-55 3.201790e-56 2.797066e-57 4.713691e-58 \n", - "\n", - "[287 rows x 72 columns]" - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "oxygen_profile" ] }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -1219,7 +531,7 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -1228,44 +540,9 @@ }, { "cell_type": "code", - "execution_count": 40, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "Index([ 0.0, 0.07692307692307693, 0.15384615384615385,\n", - " 0.23076923076923078, 0.3076923076923077, 0.38461538461538464,\n", - " 0.46153846153846156, 0.5384615384615385, 0.6153846153846154,\n", - " 0.6923076923076923, 0.7692307692307693, 0.8461538461538463,\n", - " 0.9230769230769231, 1.0, 1.076923076923077,\n", - " 1.153846153846154, 1.2307692307692308, 1.3076923076923077,\n", - " 1.3846153846153846, 1.4615384615384617, 1.5,\n", - " 1.5, 1.601010101010101, 1.803030303030303,\n", - " 2.005050505050505, 2.207070707070707, 2.409090909090909,\n", - " 2.611111111111111, 2.813131313131313, 3.015151515151515,\n", - " 3.217171717171717, 3.419191919191919, 3.621212121212121,\n", - " 3.8232323232323235, 4.025252525252525, 4.2272727272727275,\n", - " 4.429292929292929, 4.6313131313131315, 4.833333333333333,\n", - " 5.0353535353535355, 5.237373737373737, 5.4393939393939394,\n", - " 5.641414141414142, 5.843434343434343, 6.045454545454546,\n", - " 6.247474747474747, 6.44949494949495, 6.651515151515151,\n", - " 6.853535353535354, 7.055555555555555, 7.257575757575758,\n", - " 7.459595959595959, 7.661616161616162, 7.863636363636363,\n", - " 8.065656565656566, 8.267676767676768, 8.469696969696969,\n", - " 8.671717171717171, 8.873737373737374, 9.075757575757576,\n", - " 9.277777777777777, 9.47979797979798, 9.681818181818182,\n", - " 9.883838383838382, 10.085858585858585, 10.287878787878787,\n", - " 10.48989898989899, 10.69191919191919, 10.893939393939393,\n", - " 11.095959595959595, 11.297979797979798, 11.5],\n", - " dtype='float64')" - ] - }, - "execution_count": 40, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "from copy import copy\n", "\n", @@ -1279,7 +556,7 @@ }, { "cell_type": "code", - "execution_count": 41, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -1296,6 +573,57 @@ "metadata": {}, "outputs": [], "source": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Fixing Kempe Gap Calc broken file changes" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "from pvdeg.scenario import Scenario\n", + "from pvdeg.standards import standoff\n", + "from pvdeg import TEST_DATA_DIR\n", + "import json\n", + "import pandas as pd\n", + "import pytest\n", + "import os\n", + "\n", + "# problems with scenario creating directory in test directory?\n", + "EMAIL = \"user@mail.com\"\n", + "API_KEY = \"DEMO_KEY\"" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [], + "source": [ + "def test_Scenario_add():\n", + "\n", + " a = Scenario(name=\"test\")\n", + " a.clean()\n", + " a.restore_credentials(email=EMAIL, api_key=API_KEY)\n", + " a.addLocation(lat_long=(40.63336, -73.99458))\n", + " a.addModule(module_name=\"test-module\")\n", + " a.addJob(func=standoff, func_kwarg={\"wind_factor\": 0.35})\n", + "\n", + " restored = Scenario.load_json(\n", + " file_path=os.path.join(TEST_DATA_DIR, \"test-scenario.json\")\n", + " )\n", + "\n", + " a.path, restored.path = None, None\n", + " a.file, restored.file = None, None\n", + "\n", + " assert a == restored" + ] } ], "metadata": {