Modeling this correctly requires three distinct sub-modules: a dedicated pre-recap distribution pipeline, a preferred return shortfall accrual that compounds through the hold period, and a recapitalization mechanics module that releases the lockbox, executes the tax equity buyout, and triggers the exit waterfall at the correct point in the fund timeline. Without all three, distributions are misstated in both amount and timing.