All components

Acquisition Cash Sweep Period

Trap or release cash for one lender-controlled sweep period.

How it works

Acquisition Cash Sweep Period (7)
  1. Active

    Active

    Uses
  2. Beginning

    Opening

  3. Cash Flow

    (Release − Sweep)

  4. Cure Months

    if Enabled, then if Product using Payoff, then 0, otherwise Cured, otherwise 0

  5. Ending

    Ending

    Uses
  6. Release

    Release

  7. Sweep

    Sweep

    Uses
Calculation steps (7)
  1. Cured

    if (Was Active × Passes), then (Prior Cure Months + 1), otherwise 0

  2. Product using Payoff

    (Higher of Payoff and ((Release Months > 0) × (Cured ≥ Release Months)) × Was Active)

  3. Release

    if (Enabled × Product using Payoff), then Opening, otherwise 0

  4. if Product using Payoff, then 0, otherwise Was Active

    if Product using Payoff, then 0, otherwise Was Active

  5. Active

    (if (((if Product using Payoff, then 0, otherwise Was Active ≤ 0) × Breaches) × (Payoff ≤ 0)), then 1, otherwise if Product using Payoff, then 0, otherwise Was Active × Enabled)

  6. Sweep

    if (Active × (Payoff ≤ 0)), then Higher of Cash Flow and 0, otherwise 0

  7. Ending

    ((Opening − Release) + Sweep)

Inputs and outputs

Inputs (9)
Inputs
NameUnitApplies to
BreachesFlagSingle value
Cash FlowDollarsSingle value
EnabledFlagSingle value
OpeningDollarsSingle value
PassesFlagSingle value
PayoffFlagSingle value
Prior Cure MonthsUnitlessSingle value
Release MonthsUnitlessSingle value
Was ActiveFlagSingle value
Outputs (7)
Outputs
NameUnitApplies to
ActiveFlagSingle value
BeginningDollarsSingle value
Cash FlowDollarsSingle value
Cure MonthsUnitlessSingle value
EndingDollarsSingle value
ReleaseDollarsSingle value
SweepDollarsSingle value

Recipes using this calculation

Libraries