{"ref":{"kind":"component","id":"funded_investment_period","key":"sha256:9106773ef05cbbcc2e872df64d21fda96f5fac718e2d0e31a546911528e1b9c2"},"label":"Funded Investment Period","description":"Fund one investment period from the shared reserve equations.","inputs":[{"label":"Annual cash yield","name":"annual_yield","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Opening balance","name":"opening_balance","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Month","name":"period","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Project cash flow before equity","name":"project_cash_flow_before_equity","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Release month","name":"release_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Target balance","name":"target_balance","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Beginning balance","name":"beginning","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Deposit","name":"deposit_amount","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Draw","name":"draw_amount","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Ending balance","name":"ending","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Interest income","name":"interest_income","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Net activity","name":"net_activity","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Reconciliation error","name":"reconciliation_error","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Release","name":"release_amount","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[],"libraries":["funded_investment"],"notes":{},"calculation":{"nodes":[{"id":"input-annual_yield","label":"Annual cash yield","kind":"input"},{"id":"input-opening_balance","label":"Opening balance","kind":"input"},{"id":"input-period","label":"Month","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-target_balance","label":"Target balance","kind":"input"},{"id":"step-opening","label":"Opening","kind":"step","rule":"(Month = 0)","sources":[{"node":"input-period"}]},{"id":"step-deficit","label":"Deficit","kind":"step","rule":"Higher of (Project cash flow before equity × -1) and 0","sources":[{"node":"input-project_cash_flow_before_equity"}]},{"id":"step-before_release","label":"Before release","kind":"step","rule":"((Month > 0) × (Month < Release month))","sources":[{"node":"input-period"},{"node":"input-release_month"}]},{"id":"step-release_due","label":"Release due","kind":"step","rule":"(Month ≥ Release month)","sources":[{"node":"input-period"},{"node":"input-release_month"}]},{"id":"step-beginning","label":"Beginning balance","kind":"step","rule":"if Opening, then 0, otherwise Opening balance","sources":[{"node":"step-opening"},{"node":"input-opening_balance"}]},{"id":"step-draw","label":"Draw","kind":"step","rule":"if Before release, then Lower of Beginning balance and Deficit, otherwise 0","sources":[{"node":"step-before_release"},{"node":"step-beginning"},{"node":"step-deficit"}]},{"id":"step-release","label":"Release","kind":"step","rule":"if Release due, then Beginning balance, otherwise 0","sources":[{"node":"step-release_due"},{"node":"step-beginning"}]},{"id":"output-beginning","kind":"output","label":"Beginning balance","rule":"Beginning balance","sources":[{"node":"step-beginning"}]},{"id":"step-after_draw","label":"After draw","kind":"step","rule":"(Beginning balance − Draw)","sources":[{"node":"step-beginning"},{"node":"step-draw"}]},{"id":"output-draw_amount","kind":"output","label":"Draw","rule":"Draw","sources":[{"node":"step-draw"}]},{"id":"output-release_amount","kind":"output","label":"Release","rule":"Release","sources":[{"node":"step-release"}]},{"id":"step-deposit","label":"Deposit","kind":"step","rule":"if Opening, then Target balance, otherwise if Before release, then Lower of Higher of (Target balance − After draw) and 0 and Higher of Project cash flow before equity and 0, otherwise 0","sources":[{"node":"step-opening"},{"node":"input-target_balance"},{"node":"step-before_release"},{"node":"step-after_draw"},{"node":"input-project_cash_flow_before_equity"}]},{"id":"step-interest","label":"Interest","kind":"step","rule":"if (Month < Release month), then (((After draw + Deposit) × Annual cash yield) ÷ 12), otherwise 0","sources":[{"node":"input-period"},{"node":"input-release_month"},{"node":"step-after_draw"},{"node":"step-deposit"},{"node":"input-annual_yield"}]},{"id":"output-deposit_amount","kind":"output","label":"Deposit","rule":"Deposit","sources":[{"node":"step-deposit"}]},{"id":"output-net_activity","kind":"output","label":"Net activity","rule":"((Draw + Release) − Deposit)","sources":[{"node":"step-draw"},{"node":"step-release"},{"node":"step-deposit"}]},{"id":"step-ending","label":"Ending balance","kind":"step","rule":"if Opening, then (Target balance + Interest), otherwise if Release due, then 0, otherwise if Before release, then ((After draw + Deposit) + Interest), otherwise Beginning balance","sources":[{"node":"step-opening"},{"node":"input-target_balance"},{"node":"step-interest"},{"node":"step-release_due"},{"node":"step-before_release"},{"node":"step-after_draw"},{"node":"step-deposit"},{"node":"step-beginning"}]},{"id":"output-interest_income","kind":"output","label":"Interest income","rule":"Interest","sources":[{"node":"step-interest"}]},{"id":"output-ending","kind":"output","label":"Ending balance","rule":"Ending balance","sources":[{"node":"step-ending"}]},{"id":"output-reconciliation_error","kind":"output","label":"Reconciliation error","rule":"(((((Beginning balance + Deposit) + Interest) − Draw) − Release) − Ending balance)","sources":[{"node":"step-beginning"},{"node":"step-deposit"},{"node":"step-interest"},{"node":"step-draw"},{"node":"step-release"},{"node":"step-ending"}]}],"topics":[{"label":"Funded Investment Period","results":["output-beginning","output-deposit_amount","output-draw_amount","output-ending","output-interest_income","output-net_activity","output-reconciliation_error","output-release_amount"]}]},"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"}]}
