PSLmodels / Cost-of-Capital-Calculator

A cost of capital and effective tax rate calculator
https://ccc.pslmodels.org
Other
17 stars 33 forks source link

Remove check of negative cost of capital #371

Open jdebacker opened 2 years ago

jdebacker commented 2 years ago

The ENFORCE_CHECK on line 190 of calcfunctions.py can be removed. It was intended to help users identify odd parameter inputs, but this is no longer necessary with the ParamTools validation being used. It is also an issue when evaluating the cost of capital under high inflationary environments because the cost of capital is more likely to be negative in this case.