{"ref":{"kind":"component","id":"development_draw_schedule","key":"sha256:6e42f533f0180d9f9f022a63be7c5ab8574809bb063c5772357f681354b7fc27"},"label":"Development Draw Schedule","description":"Allocate one development budget into an auditable monthly draw schedule.","inputs":[{"label":"Contingency Pct","name":"contingency_pct","valueType":{"axes":[{"extent":null,"name":"budget","variable":true}],"dtype":"f64","unit":"%"}},{"label":"Derived Amount","name":"derived_amount","valueType":{"axes":[{"extent":null,"name":"budget","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Draw Method","name":"draw_method","valueType":{"axes":[{"extent":null,"name":"budget","variable":true}],"dtype":"str","unit":"text"}},{"label":"Duration Months","name":"duration_months","valueType":{"axes":[{"extent":null,"name":"budget","variable":true}],"dtype":"f64","unit":"months"}},{"label":"Escalation Convention","name":"escalation_convention","valueType":{"axes":[],"dtype":"str","unit":"text"}},{"label":"Escalation Pct","name":"escalation_pct","valueType":{"axes":[{"extent":null,"name":"budget","variable":true}],"dtype":"f64","unit":"%"}},{"label":"Start Month","name":"start_month","valueType":{"axes":[{"extent":null,"name":"budget","variable":true}],"dtype":"f64","unit":"mo"}},{"label":"Total Cost","name":"total_cost","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Allocation Error","name":"allocation_error","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Average Draw Month","name":"average_draw_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Final Draw Month","name":"final_draw_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Monthly Draw Pct","name":"monthly_draw_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Monthly Draws","name":"monthly_draws","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"last_positive_month","key":"sha256:ff05a9f86901c78e3849a15c2e016c91d9998be6d2edd0980ab77eedd639b16d","kind":"component"}],"libraries":["development_budget"],"notes":{},"calculation":{"nodes":[{"id":"input-contingency_pct","label":"Contingency Pct","kind":"input"},{"id":"input-derived_amount","label":"Derived Amount","kind":"input"},{"id":"input-draw_method","label":"Draw Method","kind":"input"},{"id":"input-duration_months","label":"Duration Months","kind":"input"},{"id":"input-escalation_convention","label":"Escalation Convention","kind":"input"},{"id":"input-escalation_pct","label":"Escalation Pct","kind":"input"},{"id":"input-start_month","label":"Start Month","kind":"input"},{"id":"input-total_cost","label":"Total Cost","kind":"input"},{"id":"step-monthly_draw_pct","label":"Monthly Draw Pct","kind":"step","rule":"Include each line’s contingency, schedule and escalate its draws, then add the lines by month. Express each month’s draw as a share of total draws.","sources":[{"node":"input-derived_amount"},{"node":"input-contingency_pct"},{"node":"input-draw_method"},{"node":"input-duration_months"},{"node":"input-escalation_convention"},{"node":"input-escalation_pct"},{"node":"input-start_month"}],"calls":[{"function":"development_escalated_timed_draw_percentages","label":"Development escalated timed draw percentages","bindings":[{"name":"amount","label":"Amount","value":"Derived Amount"},{"name":"contingency_pct","label":"Contingency pct","value":"Contingency Pct"},{"name":"draw_method","label":"Draw method","value":"Draw Method"},{"name":"duration_months","label":"Duration months","value":"Duration Months"},{"name":"escalation_convention","label":"Escalation convention","value":"Escalation Convention"},{"name":"escalation_pct","label":"Escalation pct","value":"Escalation Pct"},{"name":"start_month","label":"Start month","value":"Start Month"}],"purpose":"Include each line’s contingency, schedule and escalate its draws, then add the lines by month. Express each month’s draw as a share of total draws."}]},{"id":"step-monthly_draws","label":"Monthly Draws","kind":"step","rule":"Multiply each budget line by one plus its contingency rate. Spread the result across its draw schedule, apply escalation and add all lines by month.","sources":[{"node":"input-derived_amount"},{"node":"input-contingency_pct"},{"node":"input-draw_method"},{"node":"input-duration_months"},{"node":"input-escalation_convention"},{"node":"input-escalation_pct"},{"node":"input-start_month"}],"calls":[{"function":"development_escalated_timed_draws","label":"Development escalated timed draws","bindings":[{"name":"amount","label":"Amount","value":"Derived Amount"},{"name":"contingency_pct","label":"Contingency pct","value":"Contingency Pct"},{"name":"draw_method","label":"Draw method","value":"Draw Method"},{"name":"duration_months","label":"Duration months","value":"Duration Months"},{"name":"escalation_convention","label":"Escalation convention","value":"Escalation Convention"},{"name":"escalation_pct","label":"Escalation pct","value":"Escalation Pct"},{"name":"start_month","label":"Start month","value":"Start Month"}],"purpose":"Multiply each budget line by one plus its contingency rate. Spread the result across its draw schedule, apply escalation and add all lines by month."}]},{"id":"output-monthly_draw_pct","kind":"output","label":"Monthly Draw Pct","rule":"Monthly Draw Pct","sources":[{"node":"step-monthly_draw_pct"}]},{"id":"step-final_draw_month","label":"Final Draw Month","kind":"step","rule":"Result of Last Positive Month","sources":[{"node":"step-monthly_draws"}],"calls":[{"component":"last_positive_month","purpose":"Find the final month with a positive currency value, or zero when none exists.","label":"Last Positive Month","bindings":[{"name":"values","label":"Values","value":"Monthly Draws"}]}]},{"id":"step-weighted_draws","label":"Weighted draws","kind":"step","rule":"Sum((Monthly Draws × Positions in series(Monthly Draws)))","sources":[{"node":"step-monthly_draws"}]},{"id":"output-allocation_error","kind":"output","label":"Allocation Error","rule":"(Sum(Monthly Draws) − Total Cost)","sources":[{"node":"step-monthly_draws"},{"node":"input-total_cost"}]},{"id":"output-monthly_draws","kind":"output","label":"Monthly Draws","rule":"Monthly Draws","sources":[{"node":"step-monthly_draws"}]},{"id":"output-final_draw_month","kind":"output","label":"Final Draw Month","rule":"Final Draw Month","sources":[{"node":"step-final_draw_month"}]},{"id":"output-average_draw_month","kind":"output","label":"Average Draw Month","rule":"(Weighted draws ÷ Sum(Monthly Draws), or 0 when the divisor is 0)","sources":[{"node":"step-monthly_draws"},{"node":"step-weighted_draws"}],"calls":[{"function":"weighted_average_draw_period","label":"Weighted average draw period","bindings":[{"name":"draws","label":"Draws","value":"Sum(Monthly Draws)"},{"name":"weighted_draws","label":"Weighted draws","value":"Weighted draws"}],"rule":"(Weighted draws ÷ Sum(Monthly Draws), or 0 when the divisor is 0)"}]}],"topics":[{"label":"Development Draw Schedule","results":["output-allocation_error","output-average_draw_month","output-final_draw_month","output-monthly_draw_pct","output-monthly_draws"]}]},"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":"multifamily_development","key":"sha256:bd5fced62c36e2251666c32d8cd629753c9f945e2292b401f90f46ce957e1bcd"},{"kind":"recipe","id":"single_family_development","key":"sha256:7cbf7a6885faf03497d0f91f19204cb9d504c05b3623fa3a362281037883288e"}]}
