{"ref":{"kind":"component","id":"debt_maturity_coverage","key":"sha256:efc79a5497351fee803f0478da2b878654774d13cd5add94dffd14549b5c12c6"},"label":"Debt maturity coverage","description":"Compare required payoff dates with the original and refinance maturity windows.","inputs":[{"label":"Actual Payoff Month","name":"actual_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Effective Maturity Month","name":"effective_maturity_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Extension 1","name":"extension_1","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Extension 2","name":"extension_2","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Initial Commitment","name":"initial_commitment","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Refinance Live","name":"refinance_live","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Refinance Payoff Month","name":"refinance_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Refinance Start Month","name":"refinance_start_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Refinance Term Months","name":"refinance_term_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Required Payoff Month","name":"required_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Sale Month","name":"sale_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Term Months","name":"term_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}}],"outputs":[{"label":"Actual Payoff Month","name":"actual_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Contractual Maturity Month","name":"contractual_maturity_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Effective Maturity Month","name":"effective_maturity_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Extension Available","name":"extension_available","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Extension Cost","name":"extension_cost","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Extension Needed","name":"extension_needed","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Initial Maturity Headroom Months","name":"initial_maturity_headroom_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Maturity Headroom Months","name":"maturity_headroom_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Maturity Test Available","name":"maturity_test_available","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Refinance Actual Payoff Month","name":"refinance_actual_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Refinance Contractual Maturity Month","name":"refinance_contractual_maturity_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Refinance Maturity Headroom Months","name":"refinance_maturity_headroom_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Refinance Required Payoff Month","name":"refinance_required_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Required Payoff Month","name":"required_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}}],"dependencies":[],"libraries":["acquisition_debt"],"notes":{},"calculation":{"nodes":[{"id":"input-actual_payoff_month","label":"Actual Payoff Month","kind":"input"},{"id":"input-effective_maturity_month","label":"Effective Maturity Month","kind":"input"},{"id":"input-extension_1","label":"Extension 1","kind":"input"},{"id":"input-extension_2","label":"Extension 2","kind":"input"},{"id":"input-initial_commitment","label":"Initial Commitment","kind":"input"},{"id":"input-refinance_live","label":"Refinance Live","kind":"input"},{"id":"input-refinance_payoff_month","label":"Refinance Payoff Month","kind":"input"},{"id":"input-refinance_start_month","label":"Refinance Start Month","kind":"input"},{"id":"input-refinance_term_months","label":"Refinance Term Months","kind":"input"},{"id":"input-required_payoff_month","label":"Required Payoff Month","kind":"input"},{"id":"input-sale_month","label":"Sale Month","kind":"input"},{"id":"input-term_months","label":"Term Months","kind":"input"},{"id":"output-actual_payoff_month","kind":"output","label":"Actual Payoff Month","rule":"Actual Payoff Month","sources":[{"node":"input-actual_payoff_month"}]},{"id":"output-effective_maturity_month","kind":"output","label":"Effective Maturity Month","rule":"Effective Maturity Month","sources":[{"node":"input-effective_maturity_month"}]},{"id":"output-extension_cost","kind":"output","label":"Extension Cost","rule":"Sum((Extension 1 + Extension 2))","sources":[{"node":"input-extension_1"},{"node":"input-extension_2"}]},{"id":"step-initial_active","label":"Initial active","kind":"step","rule":"(Initial Commitment > 0)","sources":[{"node":"input-initial_commitment"}]},{"id":"output-refinance_actual_payoff_month","kind":"output","label":"Refinance Actual Payoff Month","rule":"(Refinance Payoff Month × Refinance Live)","sources":[{"node":"input-refinance_payoff_month"},{"node":"input-refinance_live"}]},{"id":"step-refinance_contractual_maturity","label":"Refinance contractual maturity","kind":"step","rule":"((Refinance Start Month + Refinance Term Months) × Refinance Live)","sources":[{"node":"input-refinance_term_months"},{"node":"input-refinance_start_month"},{"node":"input-refinance_live"}],"calls":[{"function":"debt_add_duration","label":"Debt add duration","bindings":[{"name":"duration","label":"Duration","value":"Refinance Term Months"},{"name":"month","label":"Month","value":"Refinance Start Month"}],"rule":"(Refinance Start Month + Refinance Term Months)"}]},{"id":"output-required_payoff_month","kind":"output","label":"Required Payoff Month","rule":"Required Payoff Month","sources":[{"node":"input-required_payoff_month"}]},{"id":"step-refinance_required_payoff","label":"Refinance required payoff","kind":"step","rule":"(Sale Month × Refinance Live)","sources":[{"node":"input-sale_month"},{"node":"input-refinance_live"}]},{"id":"step-contractual_maturity","label":"Contractual maturity","kind":"step","rule":"(0 + Term Months)","sources":[{"node":"input-term_months"}],"calls":[{"function":"debt_add_duration","label":"Debt add duration","bindings":[{"name":"duration","label":"Duration","value":"Term Months"},{"name":"month","label":"Month","value":"0"}],"rule":"(0 + Term Months)"}]},{"id":"step-initial_headroom","label":"Initial headroom","kind":"step","rule":"((Effective Maturity Month − Required Payoff Month) × Initial active)","sources":[{"node":"input-required_payoff_month"},{"node":"input-effective_maturity_month"},{"node":"step-initial_active"}],"calls":[{"function":"debt_month_difference","label":"Debt month difference","bindings":[{"name":"earlier","label":"Earlier","value":"Required Payoff Month"},{"name":"later","label":"Later","value":"Effective Maturity Month"}],"rule":"(Effective Maturity Month − Required Payoff Month)"}]},{"id":"output-maturity_test_available","kind":"output","label":"Maturity Test Available","rule":"Initial active","sources":[{"node":"step-initial_active"}]},{"id":"output-refinance_contractual_maturity_month","kind":"output","label":"Refinance Contractual Maturity Month","rule":"Refinance contractual maturity","sources":[{"node":"step-refinance_contractual_maturity"}]},{"id":"step-refinance_headroom","label":"Refinance headroom","kind":"step","rule":"((Refinance contractual maturity − Refinance required payoff) × Refinance Live)","sources":[{"node":"step-refinance_required_payoff"},{"node":"step-refinance_contractual_maturity"},{"node":"input-refinance_live"}],"calls":[{"function":"debt_month_difference","label":"Debt month difference","bindings":[{"name":"earlier","label":"Earlier","value":"Refinance required payoff"},{"name":"later","label":"Later","value":"Refinance contractual maturity"}],"rule":"(Refinance contractual maturity − Refinance required payoff)"}]},{"id":"output-refinance_required_payoff_month","kind":"output","label":"Refinance Required Payoff Month","rule":"Refinance required payoff","sources":[{"node":"step-refinance_required_payoff"}]},{"id":"output-contractual_maturity_month","kind":"output","label":"Contractual Maturity Month","rule":"Contractual maturity","sources":[{"node":"step-contractual_maturity"}]},{"id":"output-extension_available","kind":"output","label":"Extension Available","rule":"((Effective Maturity Month > Contractual maturity) × Initial active)","sources":[{"node":"input-effective_maturity_month"},{"node":"step-contractual_maturity"},{"node":"step-initial_active"}]},{"id":"output-extension_needed","kind":"output","label":"Extension Needed","rule":"((Required Payoff Month > Contractual maturity) × Initial active)","sources":[{"node":"input-required_payoff_month"},{"node":"step-contractual_maturity"},{"node":"step-initial_active"}]},{"id":"output-initial_maturity_headroom_months","kind":"output","label":"Initial Maturity Headroom Months","rule":"Initial headroom","sources":[{"node":"step-initial_headroom"}]},{"id":"step-maturity_headroom","label":"Maturity headroom","kind":"step","rule":"if Refinance Live, then Lower of Initial headroom and Refinance headroom, otherwise Initial headroom","sources":[{"node":"input-refinance_live"},{"node":"step-initial_headroom"},{"node":"step-refinance_headroom"}]},{"id":"output-refinance_maturity_headroom_months","kind":"output","label":"Refinance Maturity Headroom Months","rule":"Refinance headroom","sources":[{"node":"step-refinance_headroom"}]},{"id":"output-maturity_headroom_months","kind":"output","label":"Maturity Headroom Months","rule":"Maturity headroom","sources":[{"node":"step-maturity_headroom"}]}],"topics":[{"label":"Debt maturity coverage","results":["output-actual_payoff_month","output-contractual_maturity_month","output-effective_maturity_month","output-extension_available","output-extension_cost","output-extension_needed","output-initial_maturity_headroom_months","output-maturity_headroom_months","output-maturity_test_available","output-refinance_actual_payoff_month","output-refinance_contractual_maturity_month","output-refinance_maturity_headroom_months","output-refinance_required_payoff_month","output-required_payoff_month"]}]},"usedBy":[{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"},{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"}]}
