{"ref":{"kind":"component","id":"lbo_investor_cash","key":"sha256:f6ff969e509ef6fc91503695db0405480f6076fab2982b100fe6883d74b5f164"},"label":"Investor cash","description":"Build sponsor and mezzanine cash flows from funding, income, principal repayments and terminal claims.","inputs":[{"label":"Company dividends","name":"dividends","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Exit Month","name":"exit_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Mezzanine Balance","name":"mezzanine_balance","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Mezzanine Payoff","name":"mezzanine_payoff","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Mezzanine cash interest rate","name":"mezzanine_rate","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Mezzanine Repayments","name":"mezzanine_repayments","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Mezzanine Warrants","name":"mezzanine_warrants","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Initial shareholder loan","name":"shareholder_loan","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Shareholder Payoff","name":"shareholder_payoff","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Shareholder Repayments","name":"shareholder_repayments","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Initial sponsor equity","name":"sponsor_equity","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Sponsor Exit Equity","name":"sponsor_exit_equity","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Sponsor Ownership","name":"sponsor_ownership","valueType":{"axes":[],"dtype":"f64","unit":"%"}}],"outputs":[{"label":"Interim Proceeds","name":"interim_proceeds","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Mezzanine investor cash flow","name":"mezzanine_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Initial mezzanine investment","name":"mezzanine_initial","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Mezzanine investment cash flow","name":"mezzanine_initial_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Mezzanine cash interest","name":"mezzanine_interest","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Mezzanine principal repayment cash flow","name":"mezzanine_principal_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Mezzanine Proceeds","name":"mezzanine_proceeds","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Mezzanine warrant cash flow","name":"mezzanine_warrants_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Shareholder loan repayment cash flow","name":"shareholder_payoff_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Shareholder Repayments","name":"shareholder_repayments","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Sponsor investor cash flow","name":"sponsor_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Sponsor Dividends","name":"sponsor_dividends","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Sponsor exit equity cash flow","name":"sponsor_exit_equity_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Sponsor investment cash flow","name":"sponsor_initial_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Sponsor invested capital","name":"sponsor_invested","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Sponsor Proceeds","name":"sponsor_proceeds","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"lbo_settlement","key":"sha256:144fad2079305c957cc6358e2afdddd20e083515f1d15da9f8592964d58ac8ee","kind":"component"}],"libraries":["lbo_returns"],"notes":{"conventions":["Sponsor equity and shareholder loans fund the initial sponsor investment. Negative subscriptions are floored at zero.","Company dividends exclude acquisition and stop after exit. Contractual principal repayments include acquisition.","Mezzanine coupon uses the nonnegative opening balance and annual rate divided by twelve.","Terminal claims are added at exit after interim repayments; investor cash includes initial funding separately."]},"calculation":{"nodes":[{"id":"input-dividends","label":"Company dividends","kind":"input"},{"id":"input-exit_month","label":"Exit Month","kind":"input"},{"id":"input-mezzanine_balance","label":"Mezzanine Balance","kind":"input"},{"id":"input-mezzanine_payoff","label":"Mezzanine Payoff","kind":"input"},{"id":"input-mezzanine_rate","label":"Mezzanine cash interest rate","kind":"input"},{"id":"input-mezzanine_repayments","label":"Mezzanine Repayments","kind":"input"},{"id":"input-mezzanine_warrants","label":"Mezzanine Warrants","kind":"input"},{"id":"input-shareholder_loan","label":"Initial shareholder loan","kind":"input"},{"id":"input-shareholder_payoff","label":"Shareholder Payoff","kind":"input"},{"id":"input-shareholder_repayments","label":"Shareholder Repayments","kind":"input"},{"id":"input-sponsor_equity","label":"Initial sponsor equity","kind":"input"},{"id":"input-sponsor_exit_equity","label":"Sponsor Exit Equity","kind":"input"},{"id":"input-sponsor_ownership","label":"Sponsor Ownership","kind":"input"},{"id":"step-value1","label":"(Positions in series(Company dividends) × 1)","kind":"step","rule":"(Positions in series(Company dividends) × 1)","sources":[{"node":"input-dividends"}]},{"id":"step-mezzanine_initial","label":"Initial mezzanine investment","kind":"step","rule":"Higher of Value at index(Mezzanine Balance, 0) and 0","sources":[{"node":"input-mezzanine_balance"}]},{"id":"step-sponsor_invested","label":"Sponsor invested capital","kind":"step","rule":"(Higher of Initial sponsor equity and 0 + Higher of Initial shareholder loan and 0)","sources":[{"node":"input-sponsor_equity"},{"node":"input-shareholder_loan"}]},{"id":"step-settlement","label":"Settlement","kind":"step","rule":"Result of Settlement","sources":[{"node":"input-exit_month"},{"node":"step-value1"}],"calls":[{"component":"lbo_settlement","purpose":"Select one supported operating month for terminal claims and investor distributions.","label":"Settlement","bindings":[{"name":"exit_month","label":"Exit Month","value":"Exit Month"},{"name":"periods","label":"Monthly observations","value":"(Positions in series(Company dividends) × 1)"}]}]},{"id":"step-value2","label":"((Positions in series(Company dividends) × 1) ≤ Exit Month)","kind":"step","rule":"((Positions in series(Company dividends) × 1) ≤ Exit Month)","sources":[{"node":"step-value1"},{"node":"input-exit_month"}]},{"id":"step-value5","label":"((Positions in series(Company dividends) × 1) = 0)","kind":"step","rule":"((Positions in series(Company dividends) × 1) = 0)","sources":[{"node":"step-value1"}]},{"id":"output-mezzanine_initial","kind":"output","label":"Initial mezzanine investment","rule":"Initial mezzanine investment","sources":[{"node":"step-mezzanine_initial"}]},{"id":"output-sponsor_initial_cf","kind":"output","label":"Sponsor investment cash flow","rule":"if fixed schedule of 121 values (month), then (Sponsor invested capital × -1), otherwise 0","sources":[{"node":"step-sponsor_invested"}]},{"id":"output-sponsor_invested","kind":"output","label":"Sponsor invested capital","rule":"Sponsor invested capital","sources":[{"node":"step-sponsor_invested"}]},{"id":"output-mezzanine_warrants_cf","kind":"output","label":"Mezzanine warrant cash flow","rule":"if Settlement · Selected, then Mezzanine Warrants, otherwise 0","sources":[{"node":"step-settlement","field":"selected","fieldLabel":"Selected","url":"/catalog/components/lbo_settlement/#output-selected"},{"node":"input-mezzanine_warrants"}]},{"id":"output-sponsor_exit_equity_cf","kind":"output","label":"Sponsor exit equity cash flow","rule":"if Settlement · Selected, then Sponsor Exit Equity, otherwise 0","sources":[{"node":"step-settlement","field":"selected","fieldLabel":"Selected","url":"/catalog/components/lbo_settlement/#output-selected"},{"node":"input-sponsor_exit_equity"}]},{"id":"step-value0","label":"Conditional result using (Positions in series(Company dividends) × 1)","kind":"step","rule":"if ((Positions in series(Company dividends) × 1) > 0), then if ((Positions in series(Company dividends) × 1) ≤ Exit Month), then true, otherwise false, otherwise false","sources":[{"node":"step-value1"},{"node":"step-value2"}]},{"id":"step-value3","label":"Conditional result","kind":"step","rule":"if ((Positions in series(Company dividends) × 1) ≤ Exit Month), then Shareholder Repayments, otherwise 0","sources":[{"node":"step-value2"},{"node":"input-shareholder_repayments"}]},{"id":"step-value4","label":"Conditional result","kind":"step","rule":"if ((Positions in series(Company dividends) × 1) ≤ Exit Month), then Mezzanine Repayments, otherwise 0","sources":[{"node":"step-value2"},{"node":"input-mezzanine_repayments"}]},{"id":"output-mezzanine_initial_cf","kind":"output","label":"Mezzanine investment cash flow","rule":"if ((Positions in series(Company dividends) × 1) = 0), then (Initial mezzanine investment × -1), otherwise 0","sources":[{"node":"step-value5"},{"node":"step-mezzanine_initial"}]},{"id":"step-mezzanine_interest","label":"Mezzanine cash interest","kind":"step","rule":"if Conditional result using (Positions in series(Company dividends) × 1), then ((Higher of Shift(Mezzanine Balance, 1) and 0 × Higher of Mezzanine cash interest rate and 0) ÷ 12), otherwise 0","sources":[{"node":"step-value0"},{"node":"input-mezzanine_balance"},{"node":"input-mezzanine_rate"}]},{"id":"step-sponsor_dividends","label":"Sponsor Dividends","kind":"step","rule":"if Conditional result using (Positions in series(Company dividends) × 1), then (Company dividends × Limit to range(Sponsor Ownership, 0, 1)), otherwise 0","sources":[{"node":"step-value0"},{"node":"input-dividends"},{"node":"input-sponsor_ownership"}]},{"id":"output-shareholder_payoff_cf","kind":"output","label":"Shareholder loan repayment cash flow","rule":"(Conditional result + if Settlement · Selected, then Shareholder Payoff, otherwise 0)","sources":[{"node":"step-value3"},{"node":"step-settlement","field":"selected","fieldLabel":"Selected","url":"/catalog/components/lbo_settlement/#output-selected"},{"node":"input-shareholder_payoff"}]},{"id":"output-shareholder_repayments","kind":"output","label":"Shareholder Repayments","rule":"Conditional result","sources":[{"node":"step-value3"}]},{"id":"output-mezzanine_principal_cf","kind":"output","label":"Mezzanine principal repayment cash flow","rule":"(Conditional result + if Settlement · Selected, then Mezzanine Payoff, otherwise 0)","sources":[{"node":"step-value4"},{"node":"step-settlement","field":"selected","fieldLabel":"Selected","url":"/catalog/components/lbo_settlement/#output-selected"},{"node":"input-mezzanine_payoff"}]},{"id":"output-mezzanine_cf","kind":"output","label":"Mezzanine investor cash flow","rule":"(((Mezzanine cash interest + Conditional result) − if ((Positions in series(Company dividends) × 1) = 0), then Initial mezzanine investment, otherwise 0) + if Settlement · Selected, then (Mezzanine Payoff + Mezzanine Warrants), otherwise 0)","sources":[{"node":"step-mezzanine_interest"},{"node":"step-value4"},{"node":"step-value5"},{"node":"step-mezzanine_initial"},{"node":"step-settlement","field":"selected","fieldLabel":"Selected","url":"/catalog/components/lbo_settlement/#output-selected"},{"node":"input-mezzanine_payoff"},{"node":"input-mezzanine_warrants"}]},{"id":"output-mezzanine_interest","kind":"output","label":"Mezzanine cash interest","rule":"Mezzanine cash interest","sources":[{"node":"step-mezzanine_interest"}]},{"id":"output-mezzanine_proceeds","kind":"output","label":"Mezzanine Proceeds","rule":"(((Sum(Mezzanine cash interest) + Sum(Conditional result)) + Mezzanine Payoff) + Mezzanine Warrants)","sources":[{"node":"step-mezzanine_interest"},{"node":"step-value4"},{"node":"input-mezzanine_payoff"},{"node":"input-mezzanine_warrants"}]},{"id":"step-interim_proceeds","label":"Interim Proceeds","kind":"step","rule":"(Sponsor Dividends + Conditional result)","sources":[{"node":"step-sponsor_dividends"},{"node":"step-value3"}]},{"id":"output-sponsor_dividends","kind":"output","label":"Sponsor Dividends","rule":"Sponsor Dividends","sources":[{"node":"step-sponsor_dividends"}]},{"id":"step-sponsor_proceeds","label":"Sponsor Proceeds","kind":"step","rule":"(Interim Proceeds + if Settlement · Selected, then (Sponsor Exit Equity + Shareholder Payoff), otherwise 0)","sources":[{"node":"step-interim_proceeds"},{"node":"step-settlement","field":"selected","fieldLabel":"Selected","url":"/catalog/components/lbo_settlement/#output-selected"},{"node":"input-sponsor_exit_equity"},{"node":"input-shareholder_payoff"}]},{"id":"output-interim_proceeds","kind":"output","label":"Interim Proceeds","rule":"Interim Proceeds","sources":[{"node":"step-interim_proceeds"}]},{"id":"output-sponsor_cf","kind":"output","label":"Sponsor investor cash flow","rule":"(Sponsor Proceeds − if ((Positions in series(Company dividends) × 1) = 0), then Sponsor invested capital, otherwise 0)","sources":[{"node":"step-sponsor_proceeds"},{"node":"step-value5"},{"node":"step-sponsor_invested"}]},{"id":"output-sponsor_proceeds","kind":"output","label":"Sponsor Proceeds","rule":"Sponsor Proceeds","sources":[{"node":"step-sponsor_proceeds"}]}],"topics":[{"label":"Investor cash","results":["output-interim_proceeds","output-mezzanine_cf","output-mezzanine_initial","output-mezzanine_initial_cf","output-mezzanine_interest","output-mezzanine_principal_cf","output-mezzanine_proceeds","output-mezzanine_warrants_cf","output-shareholder_payoff_cf","output-shareholder_repayments","output-sponsor_cf","output-sponsor_dividends","output-sponsor_exit_equity_cf","output-sponsor_initial_cf","output-sponsor_invested","output-sponsor_proceeds"]}]},"usedBy":[{"kind":"recipe","id":"lbo","key":"sha256:6c9502c2e1a240aaed8179c2349c4bfb3748ca35116e53755e0146d818a0638f"}]}
