{"ref":{"kind":"component","id":"maturity","key":"sha256:a8b6727914dd82346507c4ff3720834eaf4b89e3f486477f66bbc38f85d39810"},"label":"Construction maturity","description":"Test construction debt maturity and price an extension used before realization.","inputs":[{"label":"Construction Commitment","name":"construction_commitment","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Construction Extension Fee Pct","name":"construction_extension_fee_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Construction Extension Months","name":"construction_extension_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Construction Maturity Month","name":"construction_maturity_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Monthly Draws","name":"monthly_draws","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Realization Month","name":"realization_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}}],"outputs":[{"label":"Effective Maturity Month","name":"effective_maturity_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Extension Fee","name":"extension_fee","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Extension Fee Amount","name":"extension_fee_amount","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Extension Needed","name":"extension_needed","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Maturity Available","name":"maturity_available","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Maturity Supported","name":"maturity_supported","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Maturity Tail Months","name":"maturity_tail_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}}],"dependencies":[],"libraries":["development_financing"],"notes":{},"calculation":{"nodes":[{"id":"input-construction_commitment","label":"Construction Commitment","kind":"input"},{"id":"input-construction_extension_fee_pct","label":"Construction Extension Fee Pct","kind":"input"},{"id":"input-construction_extension_months","label":"Construction Extension Months","kind":"input"},{"id":"input-construction_maturity_month","label":"Construction Maturity Month","kind":"input"},{"id":"input-monthly_draws","label":"Monthly Draws","kind":"input"},{"id":"input-realization_month","label":"Realization Month","kind":"input"},{"id":"step-effective_maturity_month","label":"Effective Maturity Month","kind":"step","rule":"(Construction Maturity Month + Construction Extension Months)","sources":[{"node":"input-construction_extension_months"},{"node":"input-construction_maturity_month"}],"calls":[{"function":"development_extend_maturity","label":"Development extend maturity","bindings":[{"name":"extension","label":"Extension","value":"Construction Extension Months"},{"name":"maturity","label":"Maturity","value":"Construction Maturity Month"}],"rule":"(Construction Maturity Month + Construction Extension Months)"}]},{"id":"step-maturity_active","label":"Maturity active","kind":"step","rule":"(Construction Maturity Month > 0)","sources":[{"node":"input-construction_maturity_month"}]},{"id":"step-maturity_available","label":"Maturity Available","kind":"step","rule":"(Construction Maturity Month > 0)","sources":[{"node":"input-construction_maturity_month"}]},{"id":"step-value0","label":"Positions in series(Monthly Draws)","kind":"step","rule":"Positions in series(Monthly Draws)","sources":[{"node":"input-monthly_draws"}]},{"id":"output-effective_maturity_month","kind":"output","label":"Effective Maturity Month","rule":"Effective Maturity Month","sources":[{"node":"step-effective_maturity_month"}]},{"id":"step-extension_needed","label":"Extension Needed","kind":"step","rule":"((Maturity active × (Realization Month > Construction Maturity Month)) × (Realization Month ≤ Effective Maturity Month))","sources":[{"node":"step-maturity_active"},{"node":"input-realization_month"},{"node":"input-construction_maturity_month"},{"node":"step-effective_maturity_month"}]},{"id":"step-maturity_tail_months","label":"Maturity Tail Months","kind":"step","rule":"(Higher of (Realization Month − Effective Maturity Month) and 0 × Maturity active)","sources":[{"node":"step-effective_maturity_month"},{"node":"input-realization_month"},{"node":"step-maturity_active"}],"calls":[{"function":"development_months_after_maturity","label":"Development months after maturity","bindings":[{"name":"maturity","label":"Maturity","value":"Effective Maturity Month"},{"name":"realization","label":"Realization","value":"Realization Month"}],"rule":"(Realization Month − Effective Maturity Month)"}]},{"id":"output-maturity_available","kind":"output","label":"Maturity Available","rule":"Maturity Available","sources":[{"node":"step-maturity_available"}]},{"id":"step-extension_fee_amount","label":"Extension Fee Amount","kind":"step","rule":"((Construction Commitment × Construction Extension Fee Pct) × Extension Needed)","sources":[{"node":"input-construction_commitment"},{"node":"input-construction_extension_fee_pct"},{"node":"step-extension_needed"}]},{"id":"output-extension_needed","kind":"output","label":"Extension Needed","rule":"Extension Needed","sources":[{"node":"step-extension_needed"}]},{"id":"step-maturity_supported","label":"Maturity Supported","kind":"step","rule":"(((Construction Commitment ≤ 0) + (Maturity Available × (Maturity Tail Months ≤ 0))) > 0)","sources":[{"node":"input-construction_commitment"},{"node":"step-maturity_available"},{"node":"step-maturity_tail_months"}]},{"id":"output-maturity_tail_months","kind":"output","label":"Maturity Tail Months","rule":"Maturity Tail Months","sources":[{"node":"step-maturity_tail_months"}]},{"id":"step-extension_fee","label":"Extension Fee","kind":"step","rule":"(Extension Fee Amount × ((Positions in series(Monthly Draws) ≥ Construction Maturity Month) × (Positions in series(Monthly Draws) ≤ Construction Maturity Month)))","sources":[{"node":"step-extension_fee_amount"},{"node":"step-value0"},{"node":"input-construction_maturity_month"}]},{"id":"output-extension_fee_amount","kind":"output","label":"Extension Fee Amount","rule":"Extension Fee Amount","sources":[{"node":"step-extension_fee_amount"}]},{"id":"output-maturity_supported","kind":"output","label":"Maturity Supported","rule":"Maturity Supported","sources":[{"node":"step-maturity_supported"}]},{"id":"output-extension_fee","kind":"output","label":"Extension Fee","rule":"Extension Fee","sources":[{"node":"step-extension_fee"}]}],"topics":[{"label":"Construction maturity","results":["output-effective_maturity_month","output-extension_fee","output-extension_fee_amount","output-extension_needed","output-maturity_available","output-maturity_supported","output-maturity_tail_months"]}]},"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"}]}
