{"ref":{"kind":"component","id":"development_liquidity","key":"sha256:da3c270bcd14b22b93d7c95ad25153236b57ae2c0ae35040cbdf2bee6be3d09e"},"label":"Development Liquidity","description":"Call equity at cumulative cash lows and retain only cash required by later modeled deficits.","inputs":[{"label":"Project CF","name":"project_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Allocation Error","name":"allocation_error","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Beginning Cash","name":"beginning_cash","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":"Ending Cash","name":"ending_cash","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Equity CF","name":"equity_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Equity Required","name":"equity_required","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Required Cash","name":"required_cash","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"development_prefix_min","key":"sha256:ba142b3d1250077f46c6b11c48dd4f8ef50cb55200fbc1f67f0d91b475f797f8","kind":"component"},{"id":"development_suffix_min","key":"sha256:759bd42903540e851f82ede6ef722509ac9e248928ced6d81ff65bbfc45c20e5","kind":"component"}],"libraries":["development"],"notes":{},"calculation":{"nodes":[{"id":"input-project_cf","label":"Project CF","kind":"input"},{"id":"step-cumulative_project_cf","label":"Cumulative project cash flow","kind":"step","rule":"Running total(Project CF)","sources":[{"node":"input-project_cf"}]},{"id":"step-cash_low_to_date","label":"Cash low to date","kind":"step","rule":"Result of Prefix Minimum","sources":[{"node":"step-cumulative_project_cf"}],"calls":[{"component":"development_prefix_min","purpose":"Track the lowest cumulative cash balance reached through each period.","label":"Prefix Minimum","bindings":[{"name":"values","label":"Values","value":"Cumulative project cash flow"}]}]},{"id":"step-remaining_cash_low","label":"Remaining cash low","kind":"step","rule":"Result of Suffix Minimum","sources":[{"node":"step-cumulative_project_cf"}],"calls":[{"component":"development_suffix_min","purpose":"Track the lowest cumulative cash balance remaining from each period.","label":"Suffix Minimum","bindings":[{"name":"values","label":"Values","value":"Cumulative project cash flow"}]}]},{"id":"step-cumulative_equity_required","label":"Cumulative equity required","kind":"step","rule":"(Lower of Cash low to date and 0 × -1)","sources":[{"node":"step-cash_low_to_date"}]},{"id":"step-required_cash","label":"Required Cash","kind":"step","rule":"Higher of (Cumulative project cash flow − Remaining cash low) and 0","sources":[{"node":"step-cumulative_project_cf"},{"node":"step-remaining_cash_low"}]},{"id":"step-cash_before_distributions","label":"Cash before distributions","kind":"step","rule":"Higher of (Cumulative project cash flow + Cumulative equity required) and 0","sources":[{"node":"step-cumulative_project_cf"},{"node":"step-cumulative_equity_required"}]},{"id":"step-equity_required","label":"Equity Required","kind":"step","rule":"(Cumulative equity required − Shift(Cumulative equity required, 1))","sources":[{"node":"step-cumulative_equity_required"}]},{"id":"output-required_cash","kind":"output","label":"Required Cash","rule":"Required Cash","sources":[{"node":"step-required_cash"}]},{"id":"step-ending_cash","label":"Ending Cash","kind":"step","rule":"Lower of Cash before distributions and Required Cash","sources":[{"node":"step-cash_before_distributions"},{"node":"step-required_cash"}]},{"id":"output-equity_required","kind":"output","label":"Equity Required","rule":"Equity Required","sources":[{"node":"step-equity_required"}]},{"id":"step-beginning_cash","label":"Beginning Cash","kind":"step","rule":"Shift(Ending Cash, 1)","sources":[{"node":"step-ending_cash"}]},{"id":"output-ending_cash","kind":"output","label":"Ending Cash","rule":"Ending Cash","sources":[{"node":"step-ending_cash"}]},{"id":"step-distributable_cash","label":"Distributable Cash","kind":"step","rule":"Higher of (((Beginning Cash + Project CF) + Equity Required) − Ending Cash) and 0","sources":[{"node":"step-beginning_cash"},{"node":"input-project_cf"},{"node":"step-equity_required"},{"node":"step-ending_cash"}]},{"id":"output-beginning_cash","kind":"output","label":"Beginning Cash","rule":"Beginning Cash","sources":[{"node":"step-beginning_cash"}]},{"id":"step-allocation_error","label":"Allocation Error","kind":"step","rule":"((((Beginning Cash + Project CF) + Equity Required) − Distributable Cash) − Ending Cash)","sources":[{"node":"step-beginning_cash"},{"node":"input-project_cf"},{"node":"step-equity_required"},{"node":"step-distributable_cash"},{"node":"step-ending_cash"}]},{"id":"step-equity_cf","label":"Equity CF","kind":"step","rule":"(Distributable Cash − Equity Required)","sources":[{"node":"step-distributable_cash"},{"node":"step-equity_required"}]},{"id":"output-distributable_cash","kind":"output","label":"Distributable Cash","rule":"Distributable Cash","sources":[{"node":"step-distributable_cash"}]},{"id":"output-allocation_error","kind":"output","label":"Allocation Error","rule":"Allocation Error","sources":[{"node":"step-allocation_error"}]},{"id":"output-equity_cf","kind":"output","label":"Equity CF","rule":"Equity CF","sources":[{"node":"step-equity_cf"}]}],"topics":[{"label":"Development Liquidity","results":["output-allocation_error","output-beginning_cash","output-distributable_cash","output-ending_cash","output-equity_cf","output-equity_required","output-required_cash"]}]},"usedBy":[{"kind":"recipe","id":"condo_development","key":"sha256:e1e317fbad79babd19d06f30b451bf1b5fc74bf415bd554eb16205d31d5a7996"},{"kind":"recipe","id":"data_center_development","key":"sha256:b76434a51896bf65e497e8679d3a1c7a72f5c0ed2705618ed598fbad02e7ef0e"},{"kind":"recipe","id":"multifamily_development","key":"sha256:bd5fced62c36e2251666c32d8cd629753c9f945e2292b401f90f46ce957e1bcd"},{"kind":"recipe","id":"single_family_development","key":"sha256:7cbf7a6885faf03497d0f91f19204cb9d504c05b3623fa3a362281037883288e"}]}
