Conversation
sjanzou
requested changes
Feb 4, 2023
sjanzou
left a comment
Collaborator
There was a problem hiding this comment.
The State depreciation table value for the "ITC as Fixed Amount" is showing the percentage calculation in the Sale Leaseback spreadsheet with equations instead of the fixed amount:

Case and Spreadsheet and details in Word document in zip file
SAM_1343.zip
Collaborator
Author
|
@sjanzou Good find! I fixed the spreadsheet calculation for the state ITC as fixed amount for sale leaseback, and checked the calculation for the other financial models. |
sjanzou
approved these changes
Feb 7, 2023
sjanzou
left a comment
Collaborator
There was a problem hiding this comment.
Looks good and matches with SAM.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #1259
Type of change
Please delete options that are not relevant.
Checklist:
If you have added a new compute module in a SSC pull request related to this one, be sure to check the Process Requirements.
General
Cashflow Script
Modifications are in
set_incentives()function of cashflows.lk script.Convert single value arrays to array over analysis period
val_sched()function to properly handle ITC arrays with single or multiple values for sending to Excel.Show ITC as percent and fixed amounts along iwth totals
cf_incentives()function.Remove message and automatic summing of ITC when all fins are done
Use temporary
is_sum_itcso things will work with all financial models while this is in progress.Reinstate Depreciation and ITC basis calculation table
depreciation_tables().Not applicable for Residential / Commercial.
Inputs Sheet
Convert to annual values
itc_fed_amountitc_sta_amountitc_fed_percentitc_fed_percent_maxvalueitc_sta_percentitc_sta_percent_maxvalueCalculate totals for depreciation reduction calculations
In "Tax Credits" section, set amount, percentage, and maximum to sums of annual values.
Add note:
Cash Flow Sheet for Residential / Commercial
Add new ITC section
ITC calculations as for FOM models, plus move ITC basis calculation into ITC section.
Modify depreciation basis to use ITC basis from ITC section.
Change "Federal ITC amount" and "State ITC amount" labels to "Federal ITC" and "State ITC", and set cells to refer to values above.
Extend State and Federal tax liability formula from Year 1 to all years.
Cash Flow Sheet for FOM models
ITC Calculation under Incentive Amounts
Do ITC calcs in "Incentive Amounts" section above PTC, IBI, and PBI calcs now that they are more complicated.
In "Incentive Amounts" section, add 14 rows: ITC as fixed amount, ITC percentage, and ITC percentage maximum with values copied from Inputs sheet Annual Values section, plus rows for State and Federal ITC totals.
Calculate ITC percentage amount based on ITC percentage and ITC Qualifying Costs in Depreciation Basis table.
Format percentage maximum as scientific to accommodate default value of 1e38.
Calculate totals for federal and state ITC.
Note that State ITC does not appear to reduce state income tax, consistent with source code and DHF workbook.
Project Returns
Set Federal and State ITC rows equal to ITC calculation rows under "Incentive Amounts" and extend to all years.
Extend total to all years.
Check that State ITC under "Federal Income Taxes" refers to row above in project returns section.
Federal and State Depreciation and ITC Tables
Change section label to "Depreciation and ITC Basis Calculations"
Change "Amount" column label to "ITC Amount" under "ITC as Fixed Amount" for both state and federal tables.
In State and Federal tables, for ITC as % and ITC as Fixed, change ITC Amount total to sums of annual amounts from ITC calculation section under "Incentive Amounts". There should be no references to named ranges in depreciation table.
Documentation checks/revisions
ITC basis depends on depreciation allocations. See "ITC Qualifying Costs" in Deprecation and ITC table on Cash Flow sheet.
On Incentives page, if you specify a single value for the ITC amount as amount or percentage, that value applies to year 1. If you specify a maximum as a single value and the amount for multiple years, the maximum applies to all years.