Skip to content

Commit

Permalink
Remove old cmods (#1054)
Browse files Browse the repository at this point in the history
* removed old poacalib cmod

* moved old versions of pvwatts to the code attic (pvwattsv0 and pvwattsv1)
  • Loading branch information
janinefreeman authored Sep 29, 2023
1 parent 47fc4af commit d148028
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 17 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 0 additions & 5 deletions ssc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ set(SSC_SRC
cmod_mhk_wave.cpp
cmod_mspt_sf_and_rec_isolated.cpp
cmod_mspt_iph.cpp
cmod_poacalib.cpp
cmod_ptes_design_point.cpp
cmod_pv6parmod.cpp
cmod_pv_get_shade_loss_mpp.cpp
Expand All @@ -82,10 +81,6 @@ set(SSC_SRC
cmod_pvsamv1_eqns.cpp
cmod_pvsamv1_eqns.h
cmod_pvsandiainv.cpp
cmod_pvwattsv0.cpp
cmod_pvwattsv1.cpp
cmod_pvwattsv1_1ts.cpp
cmod_pvwattsv1_poa.cpp
cmod_pvwattsv5.cpp
cmod_pvwattsv7.cpp
cmod_pvwattsv8.cpp
Expand Down
4 changes: 2 additions & 2 deletions ssc/cmod_pvwattsv5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ class cm_pvwattsv5_1ts : public cm_pvwattsv5_base
else {
elev = as_double("elevation");
if (elev < 0 || elev > 5100) {
throw exec_error("poacalib", "The elevation input is outside of the expected range. Please make sure that the units are in meters");
throw exec_error("pvwattsv5_1ts", "The elevation input is outside of the expected range. Please make sure that the units are in meters");
}
}
if (!is_assigned("pressure")) {
Expand All @@ -709,7 +709,7 @@ class cm_pvwattsv5_1ts : public cm_pvwattsv5_base
else {
pres = as_double("pressure");
if (pres > 2000 || pres < 500) {
throw exec_error("poacalib", "The atmospheric pressure input is outside of the expected range. Please make sure that the units are in millibars");
throw exec_error("pvwattsv5_1ts", "The atmospheric pressure input is outside of the expected range. Please make sure that the units are in millibars");
}
}

Expand Down
10 changes: 0 additions & 10 deletions ssc/sscapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ extern module_entry_info
cm_entry_iec61853interp,
cm_entry_6parsolve,
cm_entry_pvsamv1,
cm_entry_pvwattsv0,
cm_entry_pvwattsv1,
cm_entry_pvwattsv1_1ts,
cm_entry_pvwattsv1_poa,
cm_entry_pvwattsv5,
cm_entry_pvwattsv7,
cm_entry_pvwattsv8,
Expand Down Expand Up @@ -105,7 +101,6 @@ extern module_entry_info
cm_entry_geothermal,
cm_entry_geothermal_costs,
cm_entry_windpower,
cm_entry_poacalib,
cm_entry_snowmodel,
cm_entry_generic_system,
cm_entry_wfcsvconv,
Expand Down Expand Up @@ -178,10 +173,6 @@ static module_entry_info *module_table[] = {
&cm_entry_6parsolve,
&cm_entry_pv6parmod,
&cm_entry_pvsamv1,
//&cm_entry_pvwattsv0,
&cm_entry_pvwattsv1,
&cm_entry_pvwattsv1_1ts,
&cm_entry_pvwattsv1_poa,
&cm_entry_pvwattsv5,
&cm_entry_pvwattsv7,
&cm_entry_pvwattsv8,
Expand Down Expand Up @@ -211,7 +202,6 @@ static module_entry_info *module_table[] = {
&cm_entry_geothermal,
&cm_entry_geothermal_costs,
&cm_entry_windpower,
&cm_entry_poacalib,
&cm_entry_snowmodel,
&cm_entry_generic_system,
&cm_entry_wfcsvconv,
Expand Down

0 comments on commit d148028

Please sign in to comment.