Skip to content

Commit

Permalink
add arg to coc to allow some variation by asset type
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Apr 10, 2024
1 parent 569e02b commit b9252b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ccc/calcfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def npv_tax_depr(df, r, pi, land_expensing):
return z


def eq_coc(delta, z, w, u, u_d, inv_tax_credit, psi, nu, pi, r):
def eq_coc(delta, z, w, u, u_d, inv_tax_credit, psi, nu, pi, r, asset_type="None"):
r"""
Compute the cost of capital
Expand All @@ -243,6 +243,7 @@ def eq_coc(delta, z, w, u, u_d, inv_tax_credit, psi, nu, pi, r):
nu (scalar): NPV of the investment tax credit
pi (scalar): inflation rate
r (scalar): discount rate
asset_type (str): type of asset (used to trigger RE credit)
Returns:
rho (array_like): the cost of capital
Expand Down

0 comments on commit b9252b7

Please sign in to comment.