{"ref":{"kind":"component","id":"lease_allocation","key":"sha256:bacb15a98c1ae4fce2a8784243cbf9718944591bd99d0007d2ffaf745e801a3f"},"label":"Lease allocation","description":"Fill ready units and reconcile closing occupancy to departures and new leases.","inputs":[{"label":"Active","name":"active","valueType":{"axes":[],"dtype":"bool","unit":"1"}},{"label":"Available","name":"available","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Completed","name":"completed","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Max Absorption","name":"max_absorption","valueType":{"axes":[],"dtype":"f64","unit":"units/mo"}},{"label":"Occupied After","name":"occupied_after","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Remaining Eligible","name":"remaining.eligible","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Remaining Other","name":"remaining.other","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Remaining Renovated","name":"remaining.renovated","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Target","name":"target","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Vacant Eligible","name":"vacant.eligible","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Vacant Other","name":"vacant.other","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Vacant Renovated","name":"vacant.renovated","valueType":{"axes":[],"dtype":"f64","unit":"units"}}],"outputs":[{"label":"Class Balance","name":"class_balance","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Class Bound","name":"class_bound","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Closing","name":"closing","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Gap","name":"gap","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Leases Eligible","name":"leases.eligible","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Leases Other","name":"leases.other","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Leases Renovated","name":"leases.renovated","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"New Leases","name":"new_leases","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Occupied Eligible","name":"occupied.eligible","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Occupied Other","name":"occupied.other","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Occupied Renovated","name":"occupied.renovated","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Total Vacant","name":"total_vacant","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Vacant Eligible","name":"vacant.eligible","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Vacant Other","name":"vacant.other","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Vacant Renovated","name":"vacant.renovated","valueType":{"axes":[],"dtype":"f64","unit":"units"}}],"dependencies":[],"libraries":["occupancy"],"notes":{"conventions":["Replace completed work before absorbing additional units.","Lease renovated vacancies first, then eligible vacancies, then other vacancies."]},"calculation":{"nodes":[{"id":"input-active","label":"Active","kind":"input"},{"id":"input-available","label":"Available","kind":"input"},{"id":"input-completed","label":"Completed","kind":"input"},{"id":"input-max_absorption","label":"Max Absorption","kind":"input"},{"id":"input-occupied_after","label":"Occupied After","kind":"input"},{"id":"input-remaining.eligible","label":"Remaining Eligible","kind":"input"},{"id":"input-remaining.other","label":"Remaining Other","kind":"input"},{"id":"input-remaining.renovated","label":"Remaining Renovated","kind":"input"},{"id":"input-target","label":"Target","kind":"input"},{"id":"input-vacant.eligible","label":"Vacant Eligible","kind":"input"},{"id":"input-vacant.other","label":"Vacant Other","kind":"input"},{"id":"input-vacant.renovated","label":"Vacant Renovated","kind":"input"},{"id":"step-gap","label":"Gap","kind":"step","rule":"Higher of (Lower of Target and Available − Occupied After) and 0","sources":[{"node":"input-target"},{"node":"input-available"},{"node":"input-occupied_after"}]},{"id":"step-replacement_leases","label":"Replacement leases","kind":"step","rule":"Lower of Completed and Gap","sources":[{"node":"input-completed"},{"node":"step-gap"}]},{"id":"output-gap","kind":"output","label":"Gap","rule":"Gap","sources":[{"node":"step-gap"}]},{"id":"step-new_leases","label":"New Leases","kind":"step","rule":"if Active, then (Replacement leases + Lower of (Gap − Replacement leases) and (Max Absorption × 1)), otherwise 0","sources":[{"node":"input-active"},{"node":"step-replacement_leases"},{"node":"step-gap"},{"node":"input-max_absorption"}]},{"id":"step-leases.renovated","label":"Leases Renovated","kind":"step","rule":"Lower of New Leases and Higher of Vacant Renovated and 0","sources":[{"node":"step-new_leases"},{"node":"input-vacant.renovated"}]},{"id":"output-new_leases","kind":"output","label":"New Leases","rule":"New Leases","sources":[{"node":"step-new_leases"}]},{"id":"step-leases.eligible","label":"Leases Eligible","kind":"step","rule":"Lower of (New Leases − Leases Renovated) and Higher of Vacant Eligible and 0","sources":[{"node":"step-new_leases"},{"node":"step-leases.renovated"},{"node":"input-vacant.eligible"}]},{"id":"step-occupied.renovated","label":"Occupied Renovated","kind":"step","rule":"(Remaining Renovated + Leases Renovated)","sources":[{"node":"input-remaining.renovated"},{"node":"step-leases.renovated"}]},{"id":"step-value1","label":"(Vacant Renovated − Leases Renovated)","kind":"step","rule":"(Vacant Renovated − Leases Renovated)","sources":[{"node":"input-vacant.renovated"},{"node":"step-leases.renovated"}]},{"id":"output-leases.renovated","kind":"output","label":"Leases Renovated","rule":"Leases Renovated","sources":[{"node":"step-leases.renovated"}]},{"id":"step-leases.other","label":"Leases Other","kind":"step","rule":"((New Leases − Leases Renovated) − Leases Eligible)","sources":[{"node":"step-new_leases"},{"node":"step-leases.renovated"},{"node":"step-leases.eligible"}]},{"id":"step-occupied.eligible","label":"Occupied Eligible","kind":"step","rule":"(Remaining Eligible + Leases Eligible)","sources":[{"node":"input-remaining.eligible"},{"node":"step-leases.eligible"}]},{"id":"step-value0","label":"(Vacant Eligible − Leases Eligible)","kind":"step","rule":"(Vacant Eligible − Leases Eligible)","sources":[{"node":"input-vacant.eligible"},{"node":"step-leases.eligible"}]},{"id":"output-leases.eligible","kind":"output","label":"Leases Eligible","rule":"Leases Eligible","sources":[{"node":"step-leases.eligible"}]},{"id":"output-occupied.renovated","kind":"output","label":"Occupied Renovated","rule":"Occupied Renovated","sources":[{"node":"step-occupied.renovated"}]},{"id":"output-vacant.renovated","kind":"output","label":"Vacant Renovated","rule":"(Vacant Renovated − Leases Renovated)","sources":[{"node":"step-value1"}]},{"id":"step-occupied.other","label":"Occupied Other","kind":"step","rule":"(Remaining Other + Leases Other)","sources":[{"node":"input-remaining.other"},{"node":"step-leases.other"}]},{"id":"step-value2","label":"(Vacant Other − Leases Other)","kind":"step","rule":"(Vacant Other − Leases Other)","sources":[{"node":"input-vacant.other"},{"node":"step-leases.other"}]},{"id":"output-leases.other","kind":"output","label":"Leases Other","rule":"Leases Other","sources":[{"node":"step-leases.other"}]},{"id":"output-occupied.eligible","kind":"output","label":"Occupied Eligible","rule":"Occupied Eligible","sources":[{"node":"step-occupied.eligible"}]},{"id":"output-vacant.eligible","kind":"output","label":"Vacant Eligible","rule":"(Vacant Eligible − Leases Eligible)","sources":[{"node":"step-value0"}]},{"id":"step-closing","label":"Closing","kind":"step","rule":"((Occupied Eligible + Occupied Renovated) + Occupied Other)","sources":[{"node":"step-occupied.eligible"},{"node":"step-occupied.renovated"},{"node":"step-occupied.other"}]},{"id":"output-occupied.other","kind":"output","label":"Occupied Other","rule":"Occupied Other","sources":[{"node":"step-occupied.other"}]},{"id":"output-class_bound","kind":"output","label":"Class Bound","rule":"Lower of Lower of Lower of Lower of Lower of Occupied Eligible and Occupied Renovated and Occupied Other and (Vacant Eligible − Leases Eligible) and (Vacant Renovated − Leases Renovated) and (Vacant Other − Leases Other)","sources":[{"node":"step-occupied.eligible"},{"node":"step-occupied.renovated"},{"node":"step-occupied.other"},{"node":"step-value0"},{"node":"step-value1"},{"node":"step-value2"}]},{"id":"output-vacant.other","kind":"output","label":"Vacant Other","rule":"(Vacant Other − Leases Other)","sources":[{"node":"step-value2"}]},{"id":"output-class_balance","kind":"output","label":"Class Balance","rule":"(Closing − (Occupied After + New Leases))","sources":[{"node":"step-closing"},{"node":"input-occupied_after"},{"node":"step-new_leases"}]},{"id":"output-closing","kind":"output","label":"Closing","rule":"Closing","sources":[{"node":"step-closing"}]},{"id":"output-total_vacant","kind":"output","label":"Total Vacant","rule":"(Available − Closing)","sources":[{"node":"input-available"},{"node":"step-closing"}]}],"topics":[{"label":"Lease allocation","results":["output-class_balance","output-class_bound","output-closing","output-gap","output-leases.eligible","output-leases.other","output-leases.renovated","output-new_leases","output-occupied.eligible","output-occupied.other","output-occupied.renovated","output-total_vacant","output-vacant.eligible","output-vacant.other","output-vacant.renovated"]}]},"usedBy":[{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"},{"kind":"recipe","id":"multifamily_development","key":"sha256:bd5fced62c36e2251666c32d8cd629753c9f945e2292b401f90f46ce957e1bcd"}]}
