{"ref":{"kind":"component","id":"funded_investment_cash_flow","key":"sha256:2830667c92408199d1fb9bd0fc1456cd6879c83e8ce0b6a4b3d11f5a30d6c807"},"label":"Funded Investment Cash Flow","description":"Convert project cash before equity into reconciled investor cash flow.","inputs":[{"label":"Annual cash yield","name":"annual_yield","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Project cash flow before equity","name":"project_cash_flow_before_equity","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Release month","name":"release_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Reserve at closing","name":"reserve_at_closing","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Cash after reserve","name":"cash_after_reserve","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Equity contributions","name":"contributions","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Distributable cash","name":"distributable_cash","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Funding reconciliation error","name":"funding_reconciliation_error","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Investor cash flow","name":"investor_cash_flow","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Project cash flow before equity","name":"project_cash_flow_before_equity","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Reserve beginning balance","name":"reserve_beginning","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Reserve deposits","name":"reserve_deposits","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Reserve draws","name":"reserve_draws","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Reserve ending balance","name":"reserve_ending","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Reserve interest","name":"reserve_interest","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Reserve reconciliation error","name":"reserve_reconciliation_error","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Reserve releases","name":"reserve_releases","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"funded_investment_period","key":"sha256:9106773ef05cbbcc2e872df64d21fda96f5fac718e2d0e31a546911528e1b9c2","kind":"component"}],"libraries":["funded_investment"],"notes":{},"calculation":{"nodes":[{"id":"input-annual_yield","label":"Annual cash yield","kind":"input"},{"id":"input-project_cash_flow_before_equity","label":"Project cash flow before equity","kind":"input"},{"id":"input-release_month","label":"Release month","kind":"input"},{"id":"input-reserve_at_closing","label":"Reserve at closing","kind":"input"},{"id":"output-project_cash_flow_before_equity","kind":"output","label":"Project cash flow before equity","rule":"Project cash flow before equity","sources":[{"node":"input-project_cash_flow_before_equity"}]},{"id":"step-target","label":"Target","kind":"step","rule":"Higher of Reserve at closing and 0","sources":[{"node":"input-reserve_at_closing"}]},{"id":"step-reserve","label":"Reserve","kind":"step","rule":"Run Funded Investment Period for each month. Carry the closing state into the next period.","sources":[{"node":"input-annual_yield"},{"node":"input-project_cash_flow_before_equity"},{"node":"input-release_month"},{"node":"step-target"}],"calls":[{"component":"funded_investment_period","label":"Funded Investment Period","purpose":"Fund one investment period from the shared reserve equations.","bindings":[{"name":"annual_yield","label":"Annual cash yield","value":"Annual cash yield"},{"name":"period","label":"Month","value":"(Positions in series(Project cash flow before equity) × 1)"},{"name":"project_cash_flow_before_equity","label":"Project cash flow before equity","value":"Project cash flow before equity"},{"name":"release_month","label":"Release month","value":"Release month"},{"name":"target_balance","label":"Target balance","value":"Target"}],"carry":[{"input":"opening_balance","output":"ending","label":"Opening balance","initial":"0"}]}]},{"id":"step-cash_after_reserve","label":"Cash after reserve","kind":"step","rule":"(Project cash flow before equity + Reserve · Net activity)","sources":[{"node":"input-project_cash_flow_before_equity"},{"node":"step-reserve","field":"net_activity","fieldLabel":"Net activity","url":"/catalog/components/funded_investment_period/#output-net_activity"}]},{"id":"output-reserve_beginning","kind":"output","label":"Reserve beginning balance","rule":"Reserve · Beginning balance","sources":[{"node":"step-reserve","field":"beginning","fieldLabel":"Beginning balance","url":"/catalog/components/funded_investment_period/#output-beginning"}]},{"id":"output-reserve_deposits","kind":"output","label":"Reserve deposits","rule":"Reserve · Deposit","sources":[{"node":"step-reserve","field":"deposits","fieldLabel":"Deposit","url":"/catalog/components/funded_investment_period/#output-deposit_amount"}]},{"id":"output-reserve_draws","kind":"output","label":"Reserve draws","rule":"Reserve · Draw","sources":[{"node":"step-reserve","field":"draws","fieldLabel":"Draw","url":"/catalog/components/funded_investment_period/#output-draw_amount"}]},{"id":"output-reserve_ending","kind":"output","label":"Reserve ending balance","rule":"Reserve · Ending balance","sources":[{"node":"step-reserve","field":"ending","fieldLabel":"Ending balance","url":"/catalog/components/funded_investment_period/#output-ending"}]},{"id":"output-reserve_interest","kind":"output","label":"Reserve interest","rule":"Reserve · Interest income","sources":[{"node":"step-reserve","field":"interest","fieldLabel":"Interest income","url":"/catalog/components/funded_investment_period/#output-interest_income"}]},{"id":"output-reserve_reconciliation_error","kind":"output","label":"Reserve reconciliation error","rule":"Reserve · Reconciliation error","sources":[{"node":"step-reserve","field":"reconciliation_error","fieldLabel":"Reconciliation error","url":"/catalog/components/funded_investment_period/#output-reconciliation_error"}]},{"id":"output-reserve_releases","kind":"output","label":"Reserve releases","rule":"Reserve · Release","sources":[{"node":"step-reserve","field":"releases","fieldLabel":"Release","url":"/catalog/components/funded_investment_period/#output-release_amount"}]},{"id":"step-contributions","label":"Equity contributions","kind":"step","rule":"Higher of (Cash after reserve × -1) and 0","sources":[{"node":"step-cash_after_reserve"}]},{"id":"step-distributable_cash","label":"Distributable cash","kind":"step","rule":"Higher of Cash after reserve and 0","sources":[{"node":"step-cash_after_reserve"}]},{"id":"output-cash_after_reserve","kind":"output","label":"Cash after reserve","rule":"Cash after reserve","sources":[{"node":"step-cash_after_reserve"}]},{"id":"output-contributions","kind":"output","label":"Equity contributions","rule":"Equity contributions","sources":[{"node":"step-contributions"}]},{"id":"step-investor_cash_flow","label":"Investor cash flow","kind":"step","rule":"(Distributable cash − Equity contributions)","sources":[{"node":"step-distributable_cash"},{"node":"step-contributions"}]},{"id":"output-distributable_cash","kind":"output","label":"Distributable cash","rule":"Distributable cash","sources":[{"node":"step-distributable_cash"}]},{"id":"output-funding_reconciliation_error","kind":"output","label":"Funding reconciliation error","rule":"(Cash after reserve − Investor cash flow)","sources":[{"node":"step-cash_after_reserve"},{"node":"step-investor_cash_flow"}]},{"id":"output-investor_cash_flow","kind":"output","label":"Investor cash flow","rule":"Investor cash flow","sources":[{"node":"step-investor_cash_flow"}]}],"topics":[{"label":"Funded Investment Cash Flow","results":["output-cash_after_reserve","output-contributions","output-distributable_cash","output-funding_reconciliation_error","output-investor_cash_flow","output-project_cash_flow_before_equity"]},{"label":"Funded Investment Period","results":["output-reserve_beginning","output-reserve_deposits","output-reserve_draws","output-reserve_ending","output-reserve_interest","output-reserve_reconciliation_error","output-reserve_releases"]}]},"usedBy":[{"kind":"recipe","id":"condo_development","key":"sha256:e1e317fbad79babd19d06f30b451bf1b5fc74bf415bd554eb16205d31d5a7996"},{"kind":"recipe","id":"data_center_acquisition","key":"sha256:a3de19f40187caf36db2e6ce0da98119726e3c4bf05500115912b18e3fc8c1ca"},{"kind":"recipe","id":"data_center_development","key":"sha256:b76434a51896bf65e497e8679d3a1c7a72f5c0ed2705618ed598fbad02e7ef0e"},{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"},{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"},{"kind":"recipe","id":"multifamily_development","key":"sha256:bd5fced62c36e2251666c32d8cd629753c9f945e2292b401f90f46ce957e1bcd"},{"kind":"recipe","id":"single_family_development","key":"sha256:7cbf7a6885faf03497d0f91f19204cb9d504c05b3623fa3a362281037883288e"}]}
