{"ref":{"kind":"component","id":"benchmark_debt_rate_from_percent","key":"sha256:12f8f90e9cd92f8c949cf845585eb52c4a73f8f2892ad2187ec0094630b0b70c"},"label":"Benchmark debt rate from percent","description":"Select a decimal fixed coupon or one bounded benchmark-linked coupon.","inputs":[{"label":"Benchmark cap","name":"benchmark_cap","valueType":{"axes":[],"dtype":"f64","unit":"bps"}},{"label":"Benchmark curve","name":"benchmark_curve","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"bps"}},{"label":"Benchmark floor","name":"benchmark_floor","valueType":{"axes":[],"dtype":"f64","unit":"bps"}},{"label":"Fixed rate","name":"fixed_rate","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Rate type","name":"rate_type","valueType":{"axes":[],"dtype":"str","unit":"text"}},{"label":"Benchmark spread","name":"spread","valueType":{"axes":[],"dtype":"f64","unit":"bps"}}],"outputs":[{"label":"Selected annual rate","name":"rate","valueType":{"axes":[{"extent":121,"name":"month","variable":true}],"dtype":"f64","unit":"%"}}],"dependencies":[],"libraries":["debt"],"notes":{},"calculation":{"nodes":[{"id":"input-benchmark_cap","label":"Benchmark cap","kind":"input"},{"id":"input-benchmark_curve","label":"Benchmark curve","kind":"input"},{"id":"input-benchmark_floor","label":"Benchmark floor","kind":"input"},{"id":"input-fixed_rate","label":"Fixed rate","kind":"input"},{"id":"input-rate_type","label":"Rate type","kind":"input"},{"id":"input-spread","label":"Benchmark spread","kind":"input"},{"id":"step-value0","label":"(Value at index(Benchmark curve, 0) × 0)","kind":"step","rule":"(Value at index(Benchmark curve, 0) × 0)","sources":[{"node":"input-benchmark_curve"}]},{"id":"step-value1","label":"Higher of Benchmark curve and Benchmark floor","kind":"step","rule":"Higher of Benchmark curve and Benchmark floor","sources":[{"node":"input-benchmark_curve"},{"node":"input-benchmark_floor"}]},{"id":"output-rate","kind":"output","label":"Selected annual rate","rule":"if (Rate type = “Fixed”), then (((Benchmark curve × 0) ÷ 10,000) + Fixed rate), otherwise (Higher of (if (“Floating” = “Fixed”), then (Value at index(Benchmark curve, 0) × 0), otherwise (if (Benchmark cap > 0), then Lower of Higher of Benchmark curve and Benchmark floor and Benchmark cap, otherwise Higher of Benchmark curve and Benchmark floor + Benchmark spread) − (Value at index(Benchmark curve, 0) × 0)) and 0 ÷ 10,000)","sources":[{"node":"input-rate_type"},{"node":"input-benchmark_curve"},{"node":"input-fixed_rate"},{"node":"step-value0"},{"node":"input-benchmark_cap"},{"node":"step-value1"},{"node":"input-spread"}],"calls":[{"function":"debt_basis_points_series_to_percent","label":"Debt basis points series to percent","bindings":[{"name":"basis","label":"Basis","value":"10,000"},{"name":"basis_points","label":"Basis points","value":"(Benchmark curve × 0)"}],"rule":"((Benchmark curve × 0) ÷ 10,000)"},{"function":"debt_basis_points_series_to_percent","label":"Debt basis points series to percent","bindings":[{"name":"basis","label":"Basis","value":"10,000"},{"name":"basis_points","label":"Basis points","value":"Higher of (if (“Floating” = “Fixed”), then (Value at index(Benchmark curve, 0) × 0), otherwise (if (Benchmark cap > 0), then Lower of Higher of Benchmark curve and Benchmark floor and Benchmark cap, otherwise Higher of Benchmark curve and Benchmark floor + Benchmark spread) − (Value at index(Benchmark curve, 0) × 0)) and 0"}],"rule":"(Higher of (if (“Floating” = “Fixed”), then (Value at index(Benchmark curve, 0) × 0), otherwise (if (Benchmark cap > 0), then Lower of Higher of Benchmark curve and Benchmark floor and Benchmark cap, otherwise Higher of Benchmark curve and Benchmark floor + Benchmark spread) − (Value at index(Benchmark curve, 0) × 0)) and 0 ÷ 10,000)"}]}],"topics":[{"label":"Benchmark debt rate from percent","results":["output-rate"]}]},"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"}]}
