Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove total PTC output from all models #1072

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading