Skip to content

Commit

Permalink
Remove total PTC output from all models
Browse files Browse the repository at this point in the history
Ignoring legacy cmod_ippppa
  • Loading branch information
cpaulgilman committed Oct 26, 2023
1 parent 870f579 commit 645b1d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions ssc/cmod_cashloan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,6 @@ enum {

CF_ptc_fed,
CF_ptc_sta,
CF_ptc_total,

CF_sta_depr_sched,
CF_sta_depreciation,
Expand Down Expand Up @@ -987,8 +986,6 @@ class cm_cashloan : public compute_module

// compute pbi total
cf.at(CF_pbi_total, i) = cf.at(CF_pbi_fed, i) + cf.at(CF_pbi_sta, i) + cf.at(CF_pbi_uti, i) + cf.at(CF_pbi_oth, i);
// compute ptc total
cf.at(CF_ptc_total, i) = cf.at(CF_ptc_fed, i) + cf.at(CF_ptc_sta, i);

// compute depreciation from basis and precalculated schedule
cf.at(CF_sta_depreciation,i) = cf.at(CF_sta_depr_sched,i)*state_depr_basis;
Expand Down Expand Up @@ -1435,7 +1432,6 @@ class cm_cashloan : public compute_module

save_cf( CF_ptc_fed, nyears, "cf_ptc_fed" );
save_cf( CF_ptc_sta, nyears, "cf_ptc_sta" );
save_cf( CF_ptc_total, nyears, "cf_ptc_total" );


// SAM 1038
Expand Down
1 change: 0 additions & 1 deletion ssc/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ var_info vtab_payment_incentives[] = {

{ SSC_OUTPUT, SSC_ARRAY, "cf_ptc_fed", "Federal PTC income", "$", "", "Cash Flow Incentives", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_ptc_sta", "State PTC income", "$", "", "Cash Flow Incentives", "*", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_ptc_total", "Total PTC income", "$", "", "Cash Flow Incentives", "", "LENGTH_EQUAL=cf_length", ""},
// SAM 1038 - make required after other compute module updated - see ssc 910
{ SSC_OUTPUT, SSC_ARRAY, "cf_itc_fed_amount", "Federal ITC amount income", "$", "", "Cash Flow Incentives", "", "LENGTH_EQUAL=cf_length", "" },
{ SSC_OUTPUT, SSC_ARRAY, "cf_itc_sta_amount", "State ITC amount income", "$", "", "Cash Flow Incentives", "", "LENGTH_EQUAL=cf_length", "" },
Expand Down

0 comments on commit 645b1d7

Please sign in to comment.