{"ref":{"kind":"component","id":"variable_debt_service_constant","key":"sha256:3f40dbd4851d8449e8ccde145b784d32663b80782e4b8aa26a102785481bfcf9"},"label":"Variable Debt Service Constant","description":"Measure first-year scheduled service for one dollar against a rate curve.","inputs":[{"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":true}],"dtype":"f64","unit":"%"}},{"label":"Debt sizing horizon","name":"horizon","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Interest-only months","name":"interest_only_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}},{"label":"Debt start month","name":"start_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Debt term months","name":"term_months","valueType":{"axes":[],"dtype":"f64","unit":"months"}}],"outputs":[{"label":"Annual debt service per dollar","name":"annual_service","valueType":{"axes":[],"dtype":"f64","unit":"%"}}],"dependencies":[{"id":"variable_debt_schedule","key":"sha256:50ea3a6f80dbcb7d10d06ae78022e8392e59a5e1c016f94890de309fcf85e820","kind":"component"}],"libraries":["debt"],"notes":{},"calculation":{"nodes":[{"id":"input-amortization_months","label":"Amortization months","kind":"input"},{"id":"input-annual_rate","label":"Annual rate","kind":"input"},{"id":"input-horizon","label":"Debt sizing horizon","kind":"input"},{"id":"input-interest_only_months","label":"Interest-only months","kind":"input"},{"id":"input-start_month","label":"Debt start month","kind":"input"},{"id":"input-term_months","label":"Debt term months","kind":"input"},{"id":"step-first_year","label":"First year","kind":"step","rule":"((Positions in series(Debt sizing horizon) > Debt start month) × (Positions in series(Debt sizing horizon) ≤ (Debt start month + 12)))","sources":[{"node":"input-horizon"},{"node":"input-start_month"}],"calls":[{"function":"debt_add_duration","label":"Debt add duration","bindings":[{"name":"duration","label":"Duration","value":"12"},{"name":"month","label":"Month","value":"Debt start month"}],"rule":"(Debt start month + 12)"}]},{"id":"step-unit_schedule","label":"Unit schedule","kind":"step","rule":"Result of Variable Debt Schedule","sources":[{"node":"input-amortization_months"},{"node":"input-annual_rate"},{"node":"input-horizon"},{"node":"input-interest_only_months"},{"node":"input-start_month"},{"node":"input-term_months"}],"calls":[{"component":"variable_debt_schedule","purpose":"Roll one bounded debt facility with monthly rates through its payoff month.","label":"Variable Debt Schedule","bindings":[{"name":"acquisition_loan","label":"Acquisition loan","value":"1"},{"name":"amortization_months","label":"Amortization months","value":"Amortization months"},{"name":"annual_rate","label":"Annual rate","value":"Annual rate"},{"name":"draws","label":"Debt draws","value":"(Debt sizing horizon × 0)"},{"name":"interest_only_months","label":"Interest-only months","value":"Interest-only months"},{"name":"start_month","label":"Debt start month","value":"Debt start month"},{"name":"term_months","label":"Debt term months","value":"Debt term months"}]}]},{"id":"output-annual_service","kind":"output","label":"Annual debt service per dollar","rule":"Sum((Unit schedule · Interest payment + Unit schedule · Scheduled principal), First year)","sources":[{"node":"step-unit_schedule","field":"interest","fieldLabel":"Interest payment","url":"/catalog/components/variable_debt_schedule/#output-interest"},{"node":"step-unit_schedule","field":"principal","fieldLabel":"Scheduled principal","url":"/catalog/components/variable_debt_schedule/#output-principal"},{"node":"step-first_year"}],"calls":[{"function":"debt_money_to_percent","label":"Debt money to percent","bindings":[{"name":"money","label":"Money","value":"Sum((Unit schedule · Interest payment + Unit schedule · Scheduled principal), First year)"}],"rule":"Sum((Unit schedule · Interest payment + Unit schedule · Scheduled principal), First year)"}]}],"topics":[{"label":"Variable Debt Service Constant","results":["output-annual_service"]}]},"usedBy":[{"kind":"recipe","id":"data_center_acquisition","key":"sha256:a3de19f40187caf36db2e6ce0da98119726e3c4bf05500115912b18e3fc8c1ca"},{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"},{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"}]}
