I created a model for corporate finance and capital allocation using Python and wanted to share the link below. The model walks a company through the 5 scenarios where a company can deploy the capital on their balance sheet.
https://github.com/richardroma/Finance
If no other investments are available and there were no previous investments where ROIC is greater than WACC, the company should look at paying a special one-time dividend to their shareholders.
** Please leave comments below.