From 184e15602322b1fc7044510574a21f47009ab6fb Mon Sep 17 00:00:00 2001 From: Janine Keith Date: Mon, 4 Nov 2024 15:46:33 -0700 Subject: [PATCH] Rename gamma r (#1231) * renamed gamma_r to gamma_pmp where applicable * remove gamma_pmp from pv6parmod and pvsamv1 since it is not used --- ssc/cmod_pv6parmod.cpp | 1 - ssc/cmod_pvsamv1.cpp | 1 - test/input_cases/pvsamv1_battery_common_data.h | 2 -- test/input_cases/pvsamv1_common_data.cpp | 2 -- test/input_cases/pvyield_common_data.h | 5 ----- 5 files changed, 11 deletions(-) diff --git a/ssc/cmod_pv6parmod.cpp b/ssc/cmod_pv6parmod.cpp index 2530e488b..0d45d2ed8 100644 --- a/ssc/cmod_pv6parmod.cpp +++ b/ssc/cmod_pv6parmod.cpp @@ -65,7 +65,6 @@ static var_info _cm_vtab_pv6parmod[] = { { SSC_INPUT, SSC_NUMBER, "Isc", "Short circuit current", "A", "", "CEC 6 Parameter PV Module Model", "*", "", "" }, { SSC_INPUT, SSC_NUMBER, "alpha_isc", "Temp coeff of current at SC", "A/'C", "", "CEC 6 Parameter PV Module Model", "*", "", "" }, { SSC_INPUT, SSC_NUMBER, "beta_voc", "Temp coeff of voltage at OC", "V/'C", "", "CEC 6 Parameter PV Module Model", "*", "", "" }, - { SSC_INPUT, SSC_NUMBER, "gamma_pmp", "Temp coeff of power at MP", "%/'C", "", "CEC 6 Parameter PV Module Model", "*", "", "" }, { SSC_INPUT, SSC_NUMBER, "tnoct", "NOCT cell temperature", "'C", "", "CEC 6 Parameter PV Module Model", "*", "", "" }, { SSC_INPUT, SSC_NUMBER, "a", "Modified nonideality factor", "1/V", "", "CEC 6 Parameter PV Module Model", "*", "", "" }, { SSC_INPUT, SSC_NUMBER, "Il", "Light current", "A", "", "CEC 6 Parameter PV Module Model", "*", "", "" }, diff --git a/ssc/cmod_pvsamv1.cpp b/ssc/cmod_pvsamv1.cpp index 3f74ca32d..58c243202 100644 --- a/ssc/cmod_pvsamv1.cpp +++ b/ssc/cmod_pvsamv1.cpp @@ -311,7 +311,6 @@ static var_info _cm_vtab_pvsamv1[] = { { SSC_INPUT, SSC_NUMBER, "cec_adjust", "Temperature coefficient adjustment", "%", "", "CEC Performance Model with Module Database", "module_model=1", "", "" }, { SSC_INPUT, SSC_NUMBER, "cec_alpha_sc", "Short circuit current temperature coefficient", "A/C", "", "CEC Performance Model with Module Database", "module_model=1", "", "" }, { SSC_INPUT, SSC_NUMBER, "cec_beta_oc", "Open circuit voltage temperature coefficient", "V/C", "", "CEC Performance Model with Module Database", "module_model=1", "", "" }, -{ SSC_INPUT, SSC_NUMBER, "cec_gamma_r", "Maximum power point temperature coefficient", "%/C", "", "CEC Performance Model with Module Database", "module_model=1", "", "" }, { SSC_INPUT, SSC_NUMBER, "cec_i_l_ref", "Light current", "A", "", "CEC Performance Model with Module Database", "module_model=1", "", "" }, { SSC_INPUT, SSC_NUMBER, "cec_i_mp_ref", "Maximum power point current", "A", "", "CEC Performance Model with Module Database", "module_model=1", "", "" }, { SSC_INPUT, SSC_NUMBER, "cec_i_o_ref", "Saturation current", "A", "", "CEC Performance Model with Module Database", "module_model=1", "", "" }, diff --git a/test/input_cases/pvsamv1_battery_common_data.h b/test/input_cases/pvsamv1_battery_common_data.h index 5122988c8..90cd2efc3 100644 --- a/test/input_cases/pvsamv1_battery_common_data.h +++ b/test/input_cases/pvsamv1_battery_common_data.h @@ -238,7 +238,6 @@ void pvsamv1_pv_defaults(ssc_data_t& data) { ssc_data_set_number(data, "cec_adjust", 22.909179999999999); ssc_data_set_number(data, "cec_alpha_sc", 0.003735); ssc_data_set_number(data, "cec_beta_oc", -0.175619); - ssc_data_set_number(data, "cec_gamma_r", -0.38600000000000001); ssc_data_set_number(data, "cec_i_l_ref", 6.0537280000000004); ssc_data_set_number(data, "cec_i_mp_ref", 5.6699999999999999); ssc_data_set_number(data, "cec_i_o_ref", 8.3604350000000005e-11); @@ -994,7 +993,6 @@ void commercial_multiarray_default(ssc_data_t& data) { ssc_data_set_number(data, "cec_adjust", 22.909179999999999); ssc_data_set_number(data, "cec_alpha_sc", 0.003735); ssc_data_set_number(data, "cec_beta_oc", -0.175619); - ssc_data_set_number(data, "cec_gamma_r", -0.38600000000000001); ssc_data_set_number(data, "cec_i_l_ref", 6.0537280000000004); ssc_data_set_number(data, "cec_i_mp_ref", 5.6699999999999999); ssc_data_set_number(data, "cec_i_o_ref", 8.3604350000000005e-11); diff --git a/test/input_cases/pvsamv1_common_data.cpp b/test/input_cases/pvsamv1_common_data.cpp index 92403307d..f3a7eefb6 100644 --- a/test/input_cases/pvsamv1_common_data.cpp +++ b/test/input_cases/pvsamv1_common_data.cpp @@ -229,7 +229,6 @@ void pvsamv_nofinancial_default(ssc_data_t& data) ssc_data_set_number(data, "cec_adjust", 5.0100002288818359); ssc_data_set_number(data, "cec_alpha_sc", 0.0024920001160353422); ssc_data_set_number(data, "cec_beta_oc", -0.16975000500679016); - ssc_data_set_number(data, "cec_gamma_r", -0.31000000238418579); ssc_data_set_number(data, "cec_i_l_ref", 6.2369999885559082); ssc_data_set_number(data, "cec_i_mp_ref", 5.8499999046325684); ssc_data_set_number(data, "cec_i_o_ref", 3.9799999233813832e-12); @@ -719,7 +718,6 @@ void pvsamv1_with_residential_default(ssc_data_t& data) ssc_data_set_number(data, "cec_adjust", 5.0100002288818359); ssc_data_set_number(data, "cec_alpha_sc", 0.0024920001160353422); ssc_data_set_number(data, "cec_beta_oc", -0.16975000500679016); - ssc_data_set_number(data, "cec_gamma_r", -0.31000000238418579); ssc_data_set_number(data, "cec_i_l_ref", 6.2369999885559082); ssc_data_set_number(data, "cec_i_mp_ref", 5.8499999046325684); ssc_data_set_number(data, "cec_i_o_ref", 3.9799999233813832e-12); diff --git a/test/input_cases/pvyield_common_data.h b/test/input_cases/pvyield_common_data.h index 876fdc413..00f739864 100644 --- a/test/input_cases/pvyield_common_data.h +++ b/test/input_cases/pvyield_common_data.h @@ -216,7 +216,6 @@ void pvyield_no_financial_meteo(ssc_data_t& data) ssc_data_set_number(data, "cec_adjust", 5.0100002288818359); ssc_data_set_number(data, "cec_alpha_sc", 0.0024920001160353422); ssc_data_set_number(data, "cec_beta_oc", -0.16975000500679016); - ssc_data_set_number(data, "cec_gamma_r", -0.31000000238418579); ssc_data_set_number(data, "cec_i_l_ref", 6.2369999885559082); ssc_data_set_number(data, "cec_i_mp_ref", 5.8499999046325684); ssc_data_set_number(data, "cec_i_o_ref", 3.9799999233813832e-12); @@ -658,7 +657,6 @@ void pvyield_bifacial_case(ssc_data_t& data) ssc_data_set_number(data, "cec_adjust", 5.0100002288818359); ssc_data_set_number(data, "cec_alpha_sc", 0.0024920001160353422); ssc_data_set_number(data, "cec_beta_oc", -0.16975000500679016); - ssc_data_set_number(data, "cec_gamma_r", -0.31000000238418579); ssc_data_set_number(data, "cec_i_l_ref", 6.2369999885559082); ssc_data_set_number(data, "cec_i_mp_ref", 5.8499999046325684); ssc_data_set_number(data, "cec_i_o_ref", 3.9799999233813832e-12); @@ -1095,7 +1093,6 @@ void pvyield_user_support_80603_meteo(ssc_data_t& data) ssc_data_set_number(data, "cec_adjust", 5.0100002288818359); ssc_data_set_number(data, "cec_alpha_sc", 0.0024920001160353422); ssc_data_set_number(data, "cec_beta_oc", -0.16975000500679016); - ssc_data_set_number(data, "cec_gamma_r", -0.31000000238418579); ssc_data_set_number(data, "cec_i_l_ref", 6.2369999885559082); ssc_data_set_number(data, "cec_i_mp_ref", 5.8499999046325684); ssc_data_set_number(data, "cec_i_o_ref", 3.9799999233813832e-12); @@ -1534,7 +1531,6 @@ void pvyield_user_support_80603_AZ(ssc_data_t& data) ssc_data_set_number(data, "cec_adjust", 5.0100002288818359); ssc_data_set_number(data, "cec_alpha_sc", 0.0024920001160353422); ssc_data_set_number(data, "cec_beta_oc", -0.16975000500679016); - ssc_data_set_number(data, "cec_gamma_r", -0.31000000238418579); ssc_data_set_number(data, "cec_i_l_ref", 6.2369999885559082); ssc_data_set_number(data, "cec_i_mp_ref", 5.8499999046325684); ssc_data_set_number(data, "cec_i_o_ref", 3.9799999233813832e-12); @@ -1974,7 +1970,6 @@ void pvsamMPPT_nofinancial_default(ssc_data_t& data) ssc_data_set_number(data, "cec_adjust", 5.0100002288818359); ssc_data_set_number(data, "cec_alpha_sc", 0.0024920001160353422); ssc_data_set_number(data, "cec_beta_oc", -0.16975000500679016); - ssc_data_set_number(data, "cec_gamma_r", -0.31000000238418579); ssc_data_set_number(data, "cec_i_l_ref", 6.2369999885559082); ssc_data_set_number(data, "cec_i_mp_ref", 5.8499999046325684); ssc_data_set_number(data, "cec_i_o_ref", 3.9799999233813832e-12);