{"ref":{"kind":"component","id":"lbo_cash","key":"sha256:f0aa183a5dd141ef327d912835f746b07ef2660b9a59edd7c1f04a7150d0b465"},"label":"Cash","description":"Roll company cash once through operating flows, debt settlement, and dividends.","inputs":[{"label":"Flow","name":"flow","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Opening","name":"opening","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Payout","name":"payout","valueType":{"axes":[],"dtype":"f64","unit":"%"}}],"outputs":[{"label":"Before Dividends","name":"before_dividends","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Beginning","name":"beginning","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Dividends","name":"dividends","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Ending","name":"ending","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Flow","name":"flow","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Reconciliation Error","name":"reconciliation_error","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"cash_period","key":"sha256:6af1c884296ef7befaf765d9540a34a02d6557774339da86cf46dd5b640f7144","kind":"component"}],"libraries":["lbo_units"],"notes":{"conventions":["Beginning cash plus supplied net flow less dividends equals ending cash.","The caller combines operating and financing flows and removes acquisition funds already spent.","Apply the payout fraction to positive current flow capped by positive available cash. Period zero pays no dividend.","Negative ending cash records an unfunded obligation; no balancing equity or debt is invented.","The LBO caller excludes sale proceeds, including in the settlement month."]},"calculation":{"nodes":[{"id":"input-flow","label":"Flow","kind":"input"},{"id":"input-opening","label":"Opening","kind":"input"},{"id":"input-payout","label":"Payout","kind":"input"},{"id":"output-flow","kind":"output","label":"Flow","rule":"Flow","sources":[{"node":"input-flow"}]},{"id":"step-periods","label":"Periods","kind":"step","rule":"Run Cash period for each month. Carry the closing state into the next period.","sources":[{"node":"input-flow"},{"node":"input-payout"},{"node":"input-opening"}],"calls":[{"component":"cash_period","label":"Cash period","purpose":"Pay dividends only from cash remaining after operating and debt flows.","bindings":[{"name":"flow","label":"Flow","value":"Flow"},{"name":"payout","label":"Payout","value":"if (Positions in series(Flow) > 0), then Payout, otherwise 0"}],"carry":[{"input":"beginning","output":"ending","label":"Beginning","initial":"Opening"}]}]},{"id":"output-before_dividends","kind":"output","label":"Before Dividends","rule":"Periods · Before Dividends","sources":[{"node":"step-periods","field":"before_dividends","fieldLabel":"Before Dividends","url":"/catalog/components/cash_period/#output-before_dividends"}]},{"id":"output-beginning","kind":"output","label":"Beginning","rule":"Periods · Beginning","sources":[{"node":"step-periods","field":"beginning","fieldLabel":"Beginning","url":"/catalog/components/cash_period/#output-beginning"}]},{"id":"output-dividends","kind":"output","label":"Dividends","rule":"Periods · Dividends","sources":[{"node":"step-periods","field":"dividends","fieldLabel":"Dividends","url":"/catalog/components/cash_period/#output-dividends"}]},{"id":"output-ending","kind":"output","label":"Ending","rule":"Periods · Ending","sources":[{"node":"step-periods","field":"ending","fieldLabel":"Ending","url":"/catalog/components/cash_period/#output-ending"}]},{"id":"output-reconciliation_error","kind":"output","label":"Reconciliation Error","rule":"(((Periods · Beginning + Flow) − Periods · Dividends) − Periods · Ending)","sources":[{"node":"step-periods","field":"beginning","fieldLabel":"Beginning","url":"/catalog/components/cash_period/#output-beginning"},{"node":"input-flow"},{"node":"step-periods","field":"dividends","fieldLabel":"Dividends","url":"/catalog/components/cash_period/#output-dividends"},{"node":"step-periods","field":"ending","fieldLabel":"Ending","url":"/catalog/components/cash_period/#output-ending"}]}],"topics":[{"label":"Cash period","results":["output-before_dividends","output-beginning","output-dividends","output-ending"]},{"label":"Cash","results":["output-flow","output-reconciliation_error"]}]},"usedBy":[{"kind":"recipe","id":"lbo","key":"sha256:6c9502c2e1a240aaed8179c2349c4bfb3748ca35116e53755e0146d818a0638f"}]}
