All components

Funded Reserve Period

Fund, draw, earn, replenish, and release one target-balance reserve period.

How it works

Funded Reserve Period (9)
  1. Beginning balance

    Beginning balance

  2. Deposit

    Deposit

  3. Draw

    Draw

    Uses
  4. Ending balance

    Ending balance

  5. Interest income

    Interest

  6. Net activity

    ((Draw + Release) − Deposit)

  7. Reconciliation error

    (((((Beginning balance + Deposit) + Interest) − Draw) − Release) − Ending balance)

  8. Release

    Release

  9. Uncovered deficit

    if Before release, then (Deficit − Draw), otherwise 0

Calculation steps (11)
  1. Deficit

    Higher of (Deficit cash flow × -1) and 0

  2. Opening

    (Month = 0)

    Uses
  3. Before release

    ((Month > 0) × (Month < Release month))

  4. Release due

    ((Month ≥ Release month) × (Month ≤ Release month))

  5. Beginning balance

    if Opening, then 0, otherwise Opening balance

  6. Draw

    if Before release, then Lower of Beginning balance and Deficit, otherwise 0

  7. Release

    if Release due, then Beginning balance, otherwise 0

  8. After draw

    (Beginning balance − Draw)

  9. Deposit

    if Opening, then Target balance, otherwise if Before release, then Lower of Higher of (Target balance − After draw) and 0 and Higher of Replenishment cash flow and 0, otherwise 0

  10. Interest

    if (Month < Release month), then (((After draw + Deposit) × Annual cash yield) ÷ 12), otherwise 0

  11. Ending balance

    if Opening, then (Target balance + Interest), otherwise if Release due, then 0, otherwise if Before release, then ((After draw + Deposit) + Interest), otherwise Beginning balance

Inputs and outputs

Inputs (7)
Inputs
NameUnitApplies to
Annual cash yieldPercentSingle value
Deficit cash flowDollarsSingle value
Opening balanceDollarsSingle value
MonthMonthsSingle value
Release monthMonthsSingle value
Replenishment cash flowDollarsSingle value
Target balanceDollarsSingle value
Outputs (9)
Outputs
NameUnitApplies to
Beginning balanceDollarsSingle value
DepositDollarsSingle value
DrawDollarsSingle value
Ending balanceDollarsSingle value
Interest incomeDollarsSingle value
Net activityDollarsSingle value
Reconciliation errorDollarsSingle value
ReleaseDollarsSingle value
Uncovered deficitDollarsSingle value

Recipes using this calculation

Libraries