{"ref":{"kind":"component","id":"selected_twelve_months","key":"sha256:0d12c9e18b1252ad6fcd6e0cc7a4f2cd215fc171fb0979e9267a68a6a3b0f5cf"},"label":"Selected Twelve Months","description":"Select the trailing or next twelve monthly periods at one boundary.","inputs":[{"label":"Basis","name":"basis","valueType":{"axes":[],"dtype":"str","unit":"text"}},{"label":"Month","name":"month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Values","name":"values","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Total","name":"total","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"next_twelve_months","key":"sha256:52d91b82c2702c85961adb2fede91d64095e472c55f86ef3e66865bab7fcacb6","kind":"component"},{"id":"trailing_twelve_months","key":"sha256:1703a670d9ec6c16d51565d666988ca5b193c711f865d2d8e64f82f6cc43e5c1","kind":"component"}],"libraries":["exit"],"notes":{},"calculation":{"nodes":[{"id":"input-basis","label":"Basis","kind":"input"},{"id":"input-month","label":"Month","kind":"input"},{"id":"input-values","label":"Values","kind":"input"},{"id":"step-forward_total","label":"Forward total","kind":"step","rule":"Result of Next Twelve Months","sources":[{"node":"input-month"},{"node":"input-values"}],"calls":[{"component":"next_twelve_months","purpose":"Sum the twelve model periods beginning at a bounded start month.","label":"Next Twelve Months","bindings":[{"name":"start_month","label":"Start Month","value":"(Month + 1)"},{"name":"values","label":"Values","value":"Values"}]}]},{"id":"step-trailing_total","label":"Trailing total","kind":"step","rule":"Result of Trailing Twelve Months","sources":[{"node":"input-month"},{"node":"input-values"}],"calls":[{"component":"trailing_twelve_months","purpose":"Sum the twelve model periods ending at a bounded end month.","label":"Trailing Twelve Months","bindings":[{"name":"end_month","label":"End Month","value":"Month"},{"name":"values","label":"Values","value":"Values"}]}]},{"id":"output-total","kind":"output","label":"Total","rule":"if (Basis = “ttm”), then Trailing total, otherwise Forward total","sources":[{"node":"input-basis"},{"node":"step-trailing_total"},{"node":"step-forward_total"}]}],"topics":[{"label":"Selected Twelve Months","results":["output-total"]}]},"usedBy":[{"kind":"recipe","id":"data_center_acquisition","key":"sha256:a3de19f40187caf36db2e6ce0da98119726e3c4bf05500115912b18e3fc8c1ca"},{"kind":"recipe","id":"data_center_development","key":"sha256:b76434a51896bf65e497e8679d3a1c7a72f5c0ed2705618ed598fbad02e7ef0e"},{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"},{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"},{"kind":"recipe","id":"multifamily_development","key":"sha256:bd5fced62c36e2251666c32d8cd629753c9f945e2292b401f90f46ce957e1bcd"}]}
