{"ref":{"kind":"component","id":"tenant_lease_period","key":"sha256:1881d7876b88fcbdbc2995fec9d371e862f96cc4daab0fe06f9a55efa9197503"},"label":"Tenant lease period","description":"Build one tenant's periodic leased, billing-demand, and escalation series.","inputs":[{"label":"Booked Not Billed Commencement Month","name":"booked_not_billed_commencement_month","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Booked Not Billed MW","name":"booked_not_billed_mw","valueType":{"axes":[],"dtype":"f64","unit":"MW"}},{"label":"Escalator Pct","name":"escalator_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Escalator Weighted Total","name":"escalator_weighted_total","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW*%"}},{"label":"Expiration Month","name":"expiration_month","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Leased MW","name":"leased_mw","valueType":{"axes":[],"dtype":"f64","unit":"MW"}},{"label":"Leased Total","name":"leased_total","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}},{"label":"Raw Billed Total","name":"raw_billed_total","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}},{"label":"Start Month","name":"start_month","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"WALT Years","name":"walt_years","valueType":{"axes":[],"dtype":"f64","unit":"yr"}}],"outputs":[{"label":"Escalator Weighted","name":"escalator_weighted","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW*%"}},{"label":"Escalator Weighted Total","name":"escalator_weighted_total","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW*%"}},{"label":"Leased","name":"leased","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}},{"label":"Leased Total","name":"leased_total","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}},{"label":"Raw Billed","name":"raw_billed","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}},{"label":"Raw Billed Total","name":"raw_billed_total","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"MW"}}],"dependencies":[],"libraries":["data_center_lease_capacity"],"notes":{},"calculation":{"nodes":[{"id":"input-booked_not_billed_commencement_month","label":"Booked Not Billed Commencement Month","kind":"input"},{"id":"input-booked_not_billed_mw","label":"Booked Not Billed MW","kind":"input"},{"id":"input-escalator_pct","label":"Escalator Pct","kind":"input"},{"id":"input-escalator_weighted_total","label":"Escalator Weighted Total","kind":"input"},{"id":"input-expiration_month","label":"Expiration Month","kind":"input"},{"id":"input-leased_mw","label":"Leased MW","kind":"input"},{"id":"input-leased_total","label":"Leased Total","kind":"input"},{"id":"input-raw_billed_total","label":"Raw Billed Total","kind":"input"},{"id":"input-start_month","label":"Start Month","kind":"input"},{"id":"input-walt_years","label":"WALT Years","kind":"input"},{"id":"step-amount","label":"Amount","kind":"step","rule":"Higher of Leased MW and 0","sources":[{"node":"input-leased_mw"}]},{"id":"step-start","label":"Start","kind":"step","rule":"Limit to range(Start Month, 0, 120)","sources":[{"node":"input-start_month"}]},{"id":"step-booked","label":"Booked","kind":"step","rule":"Limit to range(Booked Not Billed MW, 0, Amount)","sources":[{"node":"input-booked_not_billed_mw"},{"node":"step-amount"}]},{"id":"step-walt_end","label":"Walt end","kind":"step","rule":"(Start + (Higher of WALT Years and 0 × 12))","sources":[{"node":"step-start"},{"node":"input-walt_years"}],"calls":[{"function":"mul_years_periods_data_center_lease","label":"Mul years periods data center lease","bindings":[{"name":"periods_per_year","label":"Periods per year","value":"12"},{"name":"years","label":"Years","value":"Higher of WALT Years and 0"}],"rule":"(Higher of WALT Years and 0 × 12)"}]},{"id":"step-base_billed","label":"Base billed","kind":"step","rule":"(Amount − Booked)","sources":[{"node":"step-amount"},{"node":"step-booked"}]},{"id":"step-end","label":"End","kind":"step","rule":"if (Expiration Month > 0), then Lower of Expiration Month and 121, otherwise if (WALT Years > 0), then Lower of Walt end and 121, otherwise 121","sources":[{"node":"input-expiration_month"},{"node":"input-walt_years"},{"node":"step-walt_end"}]},{"id":"step-commencement","label":"Commencement","kind":"step","rule":"Lower of if (Booked Not Billed Commencement Month < 0), then if (Start > 0), then Start, otherwise End, otherwise Higher of Start and Booked Not Billed Commencement Month and End","sources":[{"node":"input-booked_not_billed_commencement_month"},{"node":"step-start"},{"node":"step-end"}]},{"id":"step-leased","label":"Leased","kind":"step","rule":"if (consecutive values from 0 to 120 < End), then Amount, otherwise 0","sources":[{"node":"step-end"},{"node":"step-amount"}]},{"id":"step-raw_billed","label":"Raw Billed","kind":"step","rule":"Higher of (if ((consecutive values from 0 to 120 ≥ Start) × (consecutive values from 0 to 120 < End)), then Base billed, otherwise 0 + if ((consecutive values from 0 to 120 ≥ Commencement) × (consecutive values from 0 to 120 < End)), then Booked, otherwise 0) and 0","sources":[{"node":"step-start"},{"node":"step-end"},{"node":"step-base_billed"},{"node":"step-commencement"},{"node":"step-booked"}]},{"id":"step-escalator_weighted","label":"Escalator Weighted","kind":"step","rule":"(Leased × Higher of Escalator Pct and 0)","sources":[{"node":"step-leased"},{"node":"input-escalator_pct"}],"calls":[{"function":"mul_mw_percent_data_center_lease","label":"Mul MW percent data center lease","bindings":[{"name":"capacity","label":"Capacity","value":"Leased"},{"name":"rate","label":"Rate","value":"Higher of Escalator Pct and 0"}],"rule":"(Leased × Higher of Escalator Pct and 0)"}]},{"id":"output-leased","kind":"output","label":"Leased","rule":"Leased","sources":[{"node":"step-leased"}]},{"id":"output-leased_total","kind":"output","label":"Leased Total","rule":"(Leased Total + Leased)","sources":[{"node":"input-leased_total"},{"node":"step-leased"}]},{"id":"output-raw_billed","kind":"output","label":"Raw Billed","rule":"Raw Billed","sources":[{"node":"step-raw_billed"}]},{"id":"output-raw_billed_total","kind":"output","label":"Raw Billed Total","rule":"(Raw Billed Total + Raw Billed)","sources":[{"node":"input-raw_billed_total"},{"node":"step-raw_billed"}]},{"id":"output-escalator_weighted","kind":"output","label":"Escalator Weighted","rule":"Escalator Weighted","sources":[{"node":"step-escalator_weighted"}]},{"id":"output-escalator_weighted_total","kind":"output","label":"Escalator Weighted Total","rule":"(Escalator Weighted Total + Escalator Weighted)","sources":[{"node":"input-escalator_weighted_total"},{"node":"step-escalator_weighted"}]}],"topics":[{"label":"Tenant lease period","results":["output-escalator_weighted","output-escalator_weighted_total","output-leased","output-leased_total","output-raw_billed","output-raw_billed_total"]}]},"usedBy":[{"kind":"recipe","id":"data_center_acquisition","key":"sha256:a3de19f40187caf36db2e6ce0da98119726e3c4bf05500115912b18e3fc8c1ca"},{"kind":"recipe","id":"data_center_development","key":"sha256:b76434a51896bf65e497e8679d3a1c7a72f5c0ed2705618ed598fbad02e7ef0e"}]}
