{"ref":{"kind":"component","id":"hotel_working_capital","key":"sha256:79d5c03e3f26d4f453463c7b001f9d368629a7eab689ee3277c0e984861c20ac"},"label":"Hotel Working Capital","description":"Fund, replenish, use, and release the Hotel working-capital reserve.","inputs":[{"label":"Capital Plan CF","name":"capital_plan_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Cash Sweep CF","name":"cash_sweep_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Cash Yield","name":"cash_yield","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Disposition Year","name":"disposition_year","valueType":{"axes":[],"dtype":"f64","unit":"yr"}},{"label":"Initial Funding","name":"initial_funding","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Operating NOI","name":"operating_noi","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"CF","name":"capital.cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Capital Working Capital Allocation Error","name":"capital.working_capital_allocation_error","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Working Capital CF","name":"capital.working_capital_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Capital Working Capital Ending Balance","name":"capital.working_capital_ending_balance","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Capital Working Capital Future Funding","name":"capital.working_capital_future_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Capital Working Capital Interest Income","name":"capital.working_capital_interest_income","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Capital Working Capital Release","name":"capital.working_capital_release","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Capital Working Capital Uncovered Deficit","name":"capital.working_capital_uncovered_deficit","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Capital Working Capital Utilization","name":"capital.working_capital_utilization","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"cash_flow_through_sale","key":"sha256:ffb49f275a81eeb1dc11361ed466ad7b79d4952a8932f28dd794a1dad4ffdda2","kind":"component"},{"id":"funded_reserve_ledger","key":"sha256:97ab878c9b573b435fc31b0c26f4541235c1909d0002a5226702c695a1596c92","kind":"component"}],"libraries":["hotel_returns"],"notes":{},"calculation":{"nodes":[{"id":"input-capital_plan_cf","label":"Capital Plan CF","kind":"input"},{"id":"input-cash_sweep_cf","label":"Cash Sweep CF","kind":"input"},{"id":"input-cash_yield","label":"Cash Yield","kind":"input"},{"id":"input-disposition_year","label":"Disposition Year","kind":"input"},{"id":"input-initial_funding","label":"Initial Funding","kind":"input"},{"id":"input-operating_noi","label":"Operating NOI","kind":"input"},{"id":"step-sale_month","label":"Sale month","kind":"step","rule":"(Disposition Year × 12)","sources":[{"node":"input-disposition_year"}],"calls":[{"function":"year_to_month","label":"Year to month","bindings":[{"name":"months_per_year","label":"Months per year","value":"12"},{"name":"years","label":"Years","value":"Disposition Year"}],"rule":"(Disposition Year × 12)"}]},{"id":"step-pre_sale_noi","label":"Pre sale NOI","kind":"step","rule":"Result of Cash Flow Through Sale","sources":[{"node":"input-operating_noi"},{"node":"step-sale_month"}],"calls":[{"component":"cash_flow_through_sale","purpose":"Retain monthly cash flow through and including the sale month.","label":"Cash Flow Through Sale","bindings":[{"name":"cash_flow","label":"Cash Flow","value":"Operating NOI"},{"name":"sale_month","label":"Sale Month","value":"Sale month"}]}]},{"id":"step-working_capital","label":"Working capital","kind":"step","rule":"Result of Funded Reserve Ledger","sources":[{"node":"input-cash_yield"},{"node":"step-pre_sale_noi"},{"node":"input-initial_funding"},{"node":"step-sale_month"},{"node":"input-cash_sweep_cf"}],"calls":[{"component":"funded_reserve_ledger","purpose":"Roll one bounded target-balance reserve without an opaque recurrence.","label":"Funded Reserve Ledger","bindings":[{"name":"annual_yield","label":"Annual cash yield","value":"Cash Yield"},{"name":"deficit_cash_flow","label":"Deficit cash flow","value":"Pre sale NOI"},{"name":"initial_funding","label":"Initial funding","value":"Initial Funding"},{"name":"release_month","label":"Release month","value":"Sale month"},{"name":"replenishment_cash_flow","label":"Replenishment cash flow","value":"(Pre sale NOI + Cash Sweep CF)"}]}]},{"id":"output-capital.cf","kind":"output","label":"CF","rule":"(Capital Plan CF + Working capital · Net activity)","sources":[{"node":"input-capital_plan_cf"},{"node":"step-working_capital","field":"net_activity","fieldLabel":"Net activity","url":"/catalog/components/funded_reserve_ledger/#output-net_activity"}]},{"id":"output-capital.working_capital_allocation_error","kind":"output","label":"Capital Working Capital Allocation Error","rule":"Working capital · Reconciliation error","sources":[{"node":"step-working_capital","field":"reconciliation_error","fieldLabel":"Reconciliation error","url":"/catalog/components/funded_reserve_ledger/#output-reconciliation_error"}]},{"id":"output-capital.working_capital_cf","kind":"output","label":"Working Capital CF","rule":"Working capital · Net activity","sources":[{"node":"step-working_capital","field":"net_activity","fieldLabel":"Net activity","url":"/catalog/components/funded_reserve_ledger/#output-net_activity"}]},{"id":"output-capital.working_capital_ending_balance","kind":"output","label":"Capital Working Capital Ending Balance","rule":"Working capital · Ending balance","sources":[{"node":"step-working_capital","field":"ending","fieldLabel":"Ending balance","url":"/catalog/components/funded_reserve_ledger/#output-ending"}]},{"id":"output-capital.working_capital_future_funding","kind":"output","label":"Capital Working Capital Future Funding","rule":"((Working capital · Deposits − (Initial Funding × (Positions in series(Operating NOI) ≤ 0))) × -1)","sources":[{"node":"step-working_capital","field":"deposits","fieldLabel":"Deposits","url":"/catalog/components/funded_reserve_ledger/#output-deposits"},{"node":"input-initial_funding"},{"node":"input-operating_noi"}]},{"id":"output-capital.working_capital_interest_income","kind":"output","label":"Capital Working Capital Interest Income","rule":"Working capital · Interest earned","sources":[{"node":"step-working_capital","field":"interest","fieldLabel":"Interest earned","url":"/catalog/components/funded_reserve_ledger/#output-interest"}]},{"id":"output-capital.working_capital_release","kind":"output","label":"Capital Working Capital Release","rule":"Working capital · Releases","sources":[{"node":"step-working_capital","field":"releases","fieldLabel":"Releases","url":"/catalog/components/funded_reserve_ledger/#output-releases"}]},{"id":"output-capital.working_capital_uncovered_deficit","kind":"output","label":"Capital Working Capital Uncovered Deficit","rule":"Working capital · Uncovered deficit","sources":[{"node":"step-working_capital","field":"uncovered","fieldLabel":"Uncovered deficit","url":"/catalog/components/funded_reserve_ledger/#output-uncovered"}]},{"id":"output-capital.working_capital_utilization","kind":"output","label":"Capital Working Capital Utilization","rule":"Working capital · Draws","sources":[{"node":"step-working_capital","field":"draws","fieldLabel":"Draws","url":"/catalog/components/funded_reserve_ledger/#output-draws"}]}],"topics":[{"label":"Hotel Working Capital","results":["output-capital.cf","output-capital.working_capital_future_funding"]},{"label":"Funded Reserve Ledger","results":["output-capital.working_capital_allocation_error","output-capital.working_capital_cf","output-capital.working_capital_ending_balance","output-capital.working_capital_interest_income","output-capital.working_capital_release","output-capital.working_capital_uncovered_deficit","output-capital.working_capital_utilization"]}]},"usedBy":[{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"}]}
