Skip to content

Commit

Permalink
depreciation cashflows added as mult targets if original cashflow is …
Browse files Browse the repository at this point in the history
…target (#74)
  • Loading branch information
GabrielSoto-INL authored Jun 28, 2023
1 parent 14b529c commit 774247f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CashFlows.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ def _createDepreciation(self, ocf):
return []
scheme, plan = amort
alpha = Amortization.amortize(scheme, plan, 1.0, self._lifetime)
is_mult_target = ocf.isMultTarget() # if original CAPEX is mult target, these should be also
# first cash flow is POSITIVE on the balance sheet, is not taxed, and is a percent of the target
# -> this is the tax credit from MACRS for component value loss
pos = Amortizor(credit=True, component=self.name, verbosity=self._verbosity, pos=True)
Expand All @@ -587,6 +588,7 @@ def _createDepreciation(self, ocf):
'tax': False,
'inflation': 'real',
'alpha': alpha,
'mult_target': is_mult_target, #this is dependent on CAPEX price, should be included
'reference': 1.0,
'X': 1.0,
}
Expand All @@ -601,6 +603,7 @@ def _createDepreciation(self, ocf):
'tax': True,
'inflation': 'real',
'alpha': nalpha,
'mult_target': is_mult_target, #this is dependent on CAPEX price, should be included
'reference': 1.0,
'X': 1.0}
neg.setParams(params)
Expand Down

0 comments on commit 774247f

Please sign in to comment.