{"ref":{"kind":"component","id":"acquisition_senior_debt","key":"sha256:108d11a9e8c30fb452d51fbe988f51546713f23a2989ed7f468941d7509d383e"},"label":"Acquisition Senior Debt Schedule","description":"Fund, refinance, and settle the two-phase senior facility.","inputs":[{"label":"Acquisition Loan","name":"acquisition_loan","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Amortization Months","name":"amortization_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Annual Rate","name":"annual_rate","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Construction Draws","name":"construction_draws","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Extension 1 Year","name":"extension_1_year","valueType":{"axes":[],"dtype":"f64","unit":"yr"}},{"label":"Extension 2 Year","name":"extension_2_year","valueType":{"axes":[],"dtype":"f64","unit":"yr"}},{"label":"Interest Only Months","name":"interest_only_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Refinance Amortization Months","name":"refinance_amortization_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Refinance Amount","name":"refinance_amount","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Refinance Enabled","name":"refinance_enabled","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Refinance Interest Only Months","name":"refinance_interest_only_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Refinance Rate","name":"refinance_rate","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"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":"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":"Acquisition Funding","name":"acquisition_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Active Rate","name":"active_rate","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Construction Funding","name":"construction_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Construction Total","name":"construction_total","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Effective Maturity Month","name":"effective_maturity_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Initial Active","name":"initial_active","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"flag"}},{"label":"Initial Commitment","name":"initial_commitment","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Initial Payoff Month","name":"initial_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Initial Rollforward Error","name":"initial_rollforward_error","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Refinance Active","name":"refinance_active","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"flag"}},{"label":"Refinance Funding","name":"refinance_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Refinance Payoff","name":"refinance_payoff","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Refinance Payoff Month","name":"refinance_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Refinance Rollforward Error","name":"refinance_rollforward_error","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Required Payoff Month","name":"required_payoff_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Senior Beginning","name":"senior_beginning","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Senior Ending","name":"senior_ending","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Senior Funding","name":"senior_funding","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Senior Interest","name":"senior_interest","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Senior Principal","name":"senior_principal","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Senior Service","name":"senior_service","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Terminal Payoff","name":"terminal_payoff","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Total Commitment","name":"total_commitment","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"two_phase_senior_debt","key":"sha256:6a2a7c136ee49ac0422654a718284fa4fb62345f256ec866ff4a2f6303fcde39","kind":"component"}],"libraries":["acquisition_debt"],"notes":{},"calculation":{"nodes":[{"id":"input-acquisition_loan","label":"Acquisition Loan","kind":"input"},{"id":"input-amortization_months","label":"Amortization Months","kind":"input"},{"id":"input-annual_rate","label":"Annual Rate","kind":"input"},{"id":"input-construction_draws","label":"Construction Draws","kind":"input"},{"id":"input-extension_1_year","label":"Extension 1 Year","kind":"input"},{"id":"input-extension_2_year","label":"Extension 2 Year","kind":"input"},{"id":"input-interest_only_months","label":"Interest Only Months","kind":"input"},{"id":"input-refinance_amortization_months","label":"Refinance Amortization Months","kind":"input"},{"id":"input-refinance_amount","label":"Refinance Amount","kind":"input"},{"id":"input-refinance_enabled","label":"Refinance Enabled","kind":"input"},{"id":"input-refinance_interest_only_months","label":"Refinance Interest Only Months","kind":"input"},{"id":"input-refinance_rate","label":"Refinance Rate","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-sale_month","label":"Sale Month","kind":"input"},{"id":"input-term_months","label":"Term Months","kind":"input"},{"id":"step-refinance_live","label":"Refinance live","kind":"step","rule":"(Refinance Enabled × (Refinance Start Month < Sale Month))","sources":[{"node":"input-refinance_enabled"},{"node":"input-refinance_start_month"},{"node":"input-sale_month"}]},{"id":"step-value0","label":"Conditional result using Extension 1 Year","kind":"step","rule":"if (Extension 1 Year > 0), then Higher of (Extension 1 Year × 12) and Term Months, otherwise Term Months","sources":[{"node":"input-extension_1_year"},{"node":"input-term_months"}],"calls":[{"function":"acquisition_years_to_debt_duration","label":"Acquisition years to debt duration","bindings":[{"name":"months_per_year","label":"Months per year","value":"12"},{"name":"years","label":"Years","value":"Extension 1 Year"}],"rule":"(Extension 1 Year × 12)"}]},{"id":"step-required_payoff","label":"Required payoff","kind":"step","rule":"if Refinance live, then Refinance Start Month, otherwise Sale Month","sources":[{"node":"step-refinance_live"},{"node":"input-refinance_start_month"},{"node":"input-sale_month"}]},{"id":"step-effective_maturity","label":"Effective maturity","kind":"step","rule":"if (Extension 2 Year > 0), then Higher of (Extension 2 Year × 12) and Conditional result using Extension 1 Year, otherwise Conditional result using Extension 1 Year","sources":[{"node":"input-extension_2_year"},{"node":"step-value0"}],"calls":[{"function":"acquisition_years_to_debt_duration","label":"Acquisition years to debt duration","bindings":[{"name":"months_per_year","label":"Months per year","value":"12"},{"name":"years","label":"Years","value":"Extension 2 Year"}],"rule":"(Extension 2 Year × 12)"}]},{"id":"output-required_payoff_month","kind":"output","label":"Required Payoff Month","rule":"Required payoff","sources":[{"node":"step-required_payoff"}]},{"id":"step-schedule","label":"Schedule","kind":"step","rule":"Result of Two-phase senior debt schedule","sources":[{"node":"input-construction_draws"},{"node":"input-amortization_months"},{"node":"step-effective_maturity"},{"node":"input-interest_only_months"},{"node":"input-acquisition_loan"},{"node":"input-annual_rate"},{"node":"input-refinance_amortization_months"},{"node":"input-refinance_amount"},{"node":"input-refinance_enabled"},{"node":"input-refinance_interest_only_months"},{"node":"input-refinance_rate"},{"node":"input-refinance_start_month"},{"node":"input-refinance_term_months"},{"node":"input-sale_month"}],"calls":[{"component":"two_phase_senior_debt","purpose":"Fund, refinance, and settle one bounded two-phase senior facility.","label":"Two-phase senior debt schedule","bindings":[{"name":"construction_draws","label":"Construction Draws","value":"Construction Draws"},{"name":"initial_amortization_months","label":"Initial Amortization Months","value":"Amortization Months"},{"name":"initial_effective_maturity","label":"Initial Effective Maturity","value":"Effective maturity"},{"name":"initial_interest_only_months","label":"Initial Interest Only Months","value":"Interest Only Months"},{"name":"initial_loan","label":"Initial Loan","value":"Acquisition Loan"},{"name":"initial_rate","label":"Initial Rate","value":"Annual Rate"},{"name":"refinance_amortization_months","label":"Refinance Amortization Months","value":"Refinance Amortization Months"},{"name":"refinance_amount","label":"Refinance Amount","value":"Refinance Amount"},{"name":"refinance_enabled","label":"Refinance Enabled","value":"Refinance Enabled"},{"name":"refinance_interest_only_months","label":"Refinance Interest Only Months","value":"Refinance Interest Only Months"},{"name":"refinance_rate","label":"Refinance Rate","value":"Refinance Rate"},{"name":"refinance_start_month","label":"Refinance Start Month","value":"Refinance Start Month"},{"name":"refinance_term_months","label":"Refinance Term Months","value":"Refinance Term Months"},{"name":"sale_month","label":"Sale Month","value":"Sale Month"}]}]},{"id":"step-acquisition_funding","label":"Acquisition Funding","kind":"step","rule":"(Schedule · Initial Funding × ((Positions in series(Construction Draws) ≥ 0) × (Positions in series(Construction Draws) ≤ 0)))","sources":[{"node":"step-schedule","field":"initial_funding","fieldLabel":"Initial Funding","url":"/catalog/components/two_phase_senior_debt/#output-initial_funding"},{"node":"input-construction_draws"}]},{"id":"output-active_rate","kind":"output","label":"Active Rate","rule":"((Annual Rate × Schedule · Initial Active) + ((Refinance Rate × Schedule · Refinance Active) × if Schedule · Initial Active, then 0, otherwise 1))","sources":[{"node":"input-annual_rate"},{"node":"step-schedule","field":"initial_active","fieldLabel":"Initial Active","url":"/catalog/components/two_phase_senior_debt/#output-initial_active"},{"node":"input-refinance_rate"},{"node":"step-schedule","field":"refinance_active","fieldLabel":"Refinance Active","url":"/catalog/components/two_phase_senior_debt/#output-refinance_active"}]},{"id":"output-effective_maturity_month","kind":"output","label":"Effective Maturity Month","rule":"Schedule · Effective Maturity Month","sources":[{"node":"step-schedule","field":"effective_maturity_month","fieldLabel":"Effective Maturity Month","url":"/catalog/components/two_phase_senior_debt/#output-effective_maturity_month"}]},{"id":"output-initial_active","kind":"output","label":"Initial Active","rule":"Schedule · Initial Active","sources":[{"node":"step-schedule","field":"initial_active","fieldLabel":"Initial Active","url":"/catalog/components/two_phase_senior_debt/#output-initial_active"}]},{"id":"output-initial_payoff_month","kind":"output","label":"Initial Payoff Month","rule":"Schedule · Initial Payoff Month","sources":[{"node":"step-schedule","field":"initial_payoff_month","fieldLabel":"Initial Payoff Month","url":"/catalog/components/two_phase_senior_debt/#output-initial_payoff_month"}]},{"id":"output-initial_rollforward_error","kind":"output","label":"Initial Rollforward Error","rule":"Schedule · Initial Rollforward Error","sources":[{"node":"step-schedule","field":"initial_rollforward_error","fieldLabel":"Initial Rollforward Error","url":"/catalog/components/two_phase_senior_debt/#output-initial_rollforward_error"}]},{"id":"output-refinance_active","kind":"output","label":"Refinance Active","rule":"Schedule · Refinance Active","sources":[{"node":"step-schedule","field":"refinance_active","fieldLabel":"Refinance Active","url":"/catalog/components/two_phase_senior_debt/#output-refinance_active"}]},{"id":"output-refinance_funding","kind":"output","label":"Refinance Funding","rule":"Schedule · Refinance Funding","sources":[{"node":"step-schedule","field":"refinance_funding","fieldLabel":"Refinance Funding","url":"/catalog/components/two_phase_senior_debt/#output-refinance_funding"}]},{"id":"output-refinance_payoff","kind":"output","label":"Refinance Payoff","rule":"Schedule · Refinance Payoff","sources":[{"node":"step-schedule","field":"refinance_payoff","fieldLabel":"Refinance Payoff","url":"/catalog/components/two_phase_senior_debt/#output-refinance_payoff"}]},{"id":"output-refinance_payoff_month","kind":"output","label":"Refinance Payoff Month","rule":"Schedule · Refinance Payoff Month","sources":[{"node":"step-schedule","field":"refinance_payoff_month","fieldLabel":"Refinance Payoff Month","url":"/catalog/components/two_phase_senior_debt/#output-refinance_payoff_month"}]},{"id":"output-refinance_rollforward_error","kind":"output","label":"Refinance Rollforward Error","rule":"Schedule · Refinance Rollforward Error","sources":[{"node":"step-schedule","field":"refinance_rollforward_error","fieldLabel":"Refinance Rollforward Error","url":"/catalog/components/two_phase_senior_debt/#output-refinance_rollforward_error"}]},{"id":"output-senior_beginning","kind":"output","label":"Senior Beginning","rule":"Schedule · Senior Beginning","sources":[{"node":"step-schedule","field":"senior_beginning","fieldLabel":"Senior Beginning","url":"/catalog/components/two_phase_senior_debt/#output-senior_beginning"}]},{"id":"output-senior_ending","kind":"output","label":"Senior Ending","rule":"Schedule · Senior Ending","sources":[{"node":"step-schedule","field":"senior_ending","fieldLabel":"Senior Ending","url":"/catalog/components/two_phase_senior_debt/#output-senior_ending"}]},{"id":"output-senior_funding","kind":"output","label":"Senior Funding","rule":"Schedule · Senior Funding","sources":[{"node":"step-schedule","field":"senior_funding","fieldLabel":"Senior Funding","url":"/catalog/components/two_phase_senior_debt/#output-senior_funding"}]},{"id":"output-senior_interest","kind":"output","label":"Senior Interest","rule":"Schedule · Senior Interest","sources":[{"node":"step-schedule","field":"senior_interest","fieldLabel":"Senior Interest","url":"/catalog/components/two_phase_senior_debt/#output-senior_interest"}]},{"id":"output-senior_principal","kind":"output","label":"Senior Principal","rule":"Schedule · Senior Principal","sources":[{"node":"step-schedule","field":"senior_principal","fieldLabel":"Senior Principal","url":"/catalog/components/two_phase_senior_debt/#output-senior_principal"}]},{"id":"output-senior_service","kind":"output","label":"Senior Service","rule":"Schedule · Senior Service","sources":[{"node":"step-schedule","field":"senior_service","fieldLabel":"Senior Service","url":"/catalog/components/two_phase_senior_debt/#output-senior_service"}]},{"id":"output-terminal_payoff","kind":"output","label":"Terminal Payoff","rule":"Schedule · Terminal Payoff","sources":[{"node":"step-schedule","field":"terminal_payoff","fieldLabel":"Terminal Payoff","url":"/catalog/components/two_phase_senior_debt/#output-terminal_payoff"}]},{"id":"output-total_commitment","kind":"output","label":"Total Commitment","rule":"Sum(Schedule · Senior Funding)","sources":[{"node":"step-schedule","field":"senior_funding","fieldLabel":"Senior Funding","url":"/catalog/components/two_phase_senior_debt/#output-senior_funding"}]},{"id":"step-construction_funding","label":"Construction Funding","kind":"step","rule":"((Schedule · Initial Funding − Acquisition Funding) × Schedule · Initial Active)","sources":[{"node":"step-schedule","field":"initial_funding","fieldLabel":"Initial Funding","url":"/catalog/components/two_phase_senior_debt/#output-initial_funding"},{"node":"step-acquisition_funding"},{"node":"step-schedule","field":"initial_active","fieldLabel":"Initial Active","url":"/catalog/components/two_phase_senior_debt/#output-initial_active"}]},{"id":"output-acquisition_funding","kind":"output","label":"Acquisition Funding","rule":"Acquisition Funding","sources":[{"node":"step-acquisition_funding"}]},{"id":"step-initial_commitment","label":"Initial Commitment","kind":"step","rule":"(Sum(Acquisition Funding) + Sum(Construction Funding))","sources":[{"node":"step-acquisition_funding"},{"node":"step-construction_funding"}]},{"id":"output-construction_funding","kind":"output","label":"Construction Funding","rule":"Construction Funding","sources":[{"node":"step-construction_funding"}]},{"id":"output-construction_total","kind":"output","label":"Construction Total","rule":"Sum(Construction Funding)","sources":[{"node":"step-construction_funding"}]},{"id":"output-initial_commitment","kind":"output","label":"Initial Commitment","rule":"Initial Commitment","sources":[{"node":"step-initial_commitment"}]}],"topics":[{"label":"Acquisition Senior Debt Schedule","results":["output-acquisition_funding","output-active_rate","output-construction_funding","output-construction_total","output-initial_commitment","output-required_payoff_month"]},{"label":"Two-phase senior debt schedule","results":["output-effective_maturity_month","output-initial_active","output-initial_payoff_month","output-initial_rollforward_error","output-refinance_active","output-refinance_funding","output-refinance_payoff","output-refinance_payoff_month","output-refinance_rollforward_error","output-senior_beginning","output-senior_ending","output-senior_funding","output-senior_interest","output-senior_principal","output-senior_service","output-terminal_payoff","output-total_commitment"]}]},"usedBy":[{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"},{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"}]}
