{"ref":{"kind":"component","id":"opening_inventory","key":"sha256:fee2e02aa4ed1eb1b974821a44042e73adfd90a50107c51e8e265d308b780970"},"label":"Opening Inventory","description":"Aggregate unit status, occupied rent and renovation eligibility by floorplan.","inputs":[{"label":"Capex Interior Eligible By Type","name":"capex.interior.eligible_by_type","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}},{"label":"Rent Roll Current Rent","name":"rent_roll.current_rent","valueType":{"axes":[{"extent":null,"name":"rent_roll","variable":true}],"dtype":"f64","unit":"$/mo"}},{"label":"Rent Roll Delinquent Balance","name":"rent_roll.delinquent_balance","valueType":{"axes":[{"extent":null,"name":"rent_roll","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Rent Roll Floorplan","name":"rent_roll.floorplan","valueType":{"axes":[{"extent":null,"name":"rent_roll","variable":true}],"dtype":"str","unit":"text"}},{"label":"Rent Roll Occupancy Status","name":"rent_roll.occupancy_status","valueType":{"axes":[{"extent":null,"name":"rent_roll","variable":true}],"dtype":"str","unit":"text"}},{"label":"Rent Roll Renovation Status","name":"rent_roll.renovation_status","valueType":{"axes":[{"extent":null,"name":"rent_roll","variable":true}],"dtype":"str","unit":"text"}},{"label":"Unit Mix Floorplans","name":"unit_mix.floorplans","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"str","unit":"text"}},{"label":"Unit Mix Rent Market","name":"unit_mix.rent_market","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$/mo"}},{"label":"Unit Mix Rent Renovated","name":"unit_mix.rent_renovated","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$/mo"}}],"outputs":[{"label":"Classic","name":"classic","valueType":{"axes":[{"extent":null,"name":"rent_roll","variable":true}],"dtype":"f64","unit":"flag"}},{"label":"Classic Count","name":"classic_count","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}},{"label":"Classic Occupied","name":"classic_occupied","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Classic Rent","name":"classic_rent","valueType":{"axes":[],"dtype":"f64","unit":"$/mo"}},{"label":"Count","name":"count","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}},{"label":"Delinquent Total","name":"delinquent_total","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Eligible Occupied","name":"eligible_occupied","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Eligible Rent","name":"eligible_rent","valueType":{"axes":[],"dtype":"f64","unit":"$/mo"}},{"label":"In Place Rent","name":"in_place_rent","valueType":{"axes":[],"dtype":"f64","unit":"$/mo"}},{"label":"Occupied","name":"occupied","valueType":{"axes":[{"extent":null,"name":"rent_roll","variable":true}],"dtype":"bool","unit":"1"}},{"label":"Occupied Units","name":"occupied_units","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Renovated Occupied","name":"renovated_occupied","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Renovated Premium","name":"renovated_premium","valueType":{"axes":[],"dtype":"f64","unit":"$/mo"}},{"label":"Renovated Rent","name":"renovated_rent","valueType":{"axes":[],"dtype":"f64","unit":"$/mo"}},{"label":"Renovated Units","name":"renovated_units","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Rent In Place","name":"rent_in_place","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$/mo"}},{"label":"Units","name":"units","valueType":{"axes":[{"extent":null,"name":"rent_roll","variable":true}],"dtype":"f64","unit":"units"}},{"label":"Vacant Units","name":"vacant_units","valueType":{"axes":[],"dtype":"f64","unit":"units"}}],"dependencies":[],"libraries":["multifamily_roll"],"notes":{},"calculation":{"nodes":[{"id":"input-capex.interior.eligible_by_type","label":"Capex Interior Eligible By Type","kind":"input"},{"id":"input-rent_roll.current_rent","label":"Rent Roll Current Rent","kind":"input"},{"id":"input-rent_roll.delinquent_balance","label":"Rent Roll Delinquent Balance","kind":"input"},{"id":"input-rent_roll.floorplan","label":"Rent Roll Floorplan","kind":"input"},{"id":"input-rent_roll.occupancy_status","label":"Rent Roll Occupancy Status","kind":"input"},{"id":"input-rent_roll.renovation_status","label":"Rent Roll Renovation Status","kind":"input"},{"id":"input-unit_mix.floorplans","label":"Unit Mix Floorplans","kind":"input"},{"id":"input-unit_mix.rent_market","label":"Unit Mix Rent Market","kind":"input"},{"id":"input-unit_mix.rent_renovated","label":"Unit Mix Rent Renovated","kind":"input"},{"id":"step-units","label":"Units","kind":"step","rule":"if (Rent Roll Current Rent = Rent Roll Current Rent), then 1, otherwise 0","sources":[{"node":"input-rent_roll.current_rent"}]},{"id":"output-delinquent_total","kind":"output","label":"Delinquent Total","rule":"Sum(Rent Roll Delinquent Balance)","sources":[{"node":"input-rent_roll.delinquent_balance"}]},{"id":"step-occupied","label":"Occupied","kind":"step","rule":"if (Rent Roll Occupancy Status = “occupied”), then true, otherwise if (Rent Roll Occupancy Status = “employee”), then true, otherwise false","sources":[{"node":"input-rent_roll.occupancy_status"}]},{"id":"step-classic","label":"Classic","kind":"step","rule":"(Rent Roll Renovation Status = “classic”)","sources":[{"node":"input-rent_roll.renovation_status"}]},{"id":"step-value4","label":"(Rent Roll Renovation Status = “renovated”)","kind":"step","rule":"(Rent Roll Renovation Status = “renovated”)","sources":[{"node":"input-rent_roll.renovation_status"}]},{"id":"output-count","kind":"output","label":"Count","rule":"Sum by group(Units, Rent Roll Floorplan, Unit Mix Floorplans)","sources":[{"node":"step-units"},{"node":"input-rent_roll.floorplan"},{"node":"input-unit_mix.floorplans"}]},{"id":"output-units","kind":"output","label":"Units","rule":"Units","sources":[{"node":"step-units"}]},{"id":"step-value2","label":"if Occupied, then Rent Roll Current Rent, otherwise 0","kind":"step","rule":"if Occupied, then Rent Roll Current Rent, otherwise 0","sources":[{"node":"step-occupied"},{"node":"input-rent_roll.current_rent"}]},{"id":"step-value3","label":"if Occupied, then Units, otherwise 0","kind":"step","rule":"if Occupied, then Units, otherwise 0","sources":[{"node":"step-occupied"},{"node":"step-units"}]},{"id":"output-occupied","kind":"output","label":"Occupied","rule":"Occupied","sources":[{"node":"step-occupied"}]},{"id":"step-classic_count","label":"Classic Count","kind":"step","rule":"Sum by group(if Classic, then Units, otherwise 0, Rent Roll Floorplan, Unit Mix Floorplans)","sources":[{"node":"step-classic"},{"node":"step-units"},{"node":"input-rent_roll.floorplan"},{"node":"input-unit_mix.floorplans"}]},{"id":"step-value1","label":"Group sum using Classic","kind":"step","rule":"Sum by group(if if Classic, then if Occupied, then true, otherwise false, otherwise false, then Units, otherwise 0, Rent Roll Floorplan, Unit Mix Floorplans)","sources":[{"node":"step-classic"},{"node":"step-occupied"},{"node":"step-units"},{"node":"input-rent_roll.floorplan"},{"node":"input-unit_mix.floorplans"}]},{"id":"output-classic","kind":"output","label":"Classic","rule":"Classic","sources":[{"node":"step-classic"}]},{"id":"output-classic_occupied","kind":"output","label":"Classic Occupied","rule":"Sum(if if Classic, then if Occupied, then true, otherwise false, otherwise false, then Units, otherwise 0)","sources":[{"node":"step-classic"},{"node":"step-occupied"},{"node":"step-units"}]},{"id":"output-classic_rent","kind":"output","label":"Classic Rent","rule":"Sum(if if Classic, then if Occupied, then true, otherwise false, otherwise false, then Rent Roll Current Rent, otherwise 0)","sources":[{"node":"step-classic"},{"node":"step-occupied"},{"node":"input-rent_roll.current_rent"}]},{"id":"output-renovated_occupied","kind":"output","label":"Renovated Occupied","rule":"Sum(if if (Rent Roll Renovation Status = “renovated”), then if Occupied, then true, otherwise false, otherwise false, then Units, otherwise 0)","sources":[{"node":"step-value4"},{"node":"step-occupied"},{"node":"step-units"}]},{"id":"output-renovated_premium","kind":"output","label":"Renovated Premium","rule":"Sum(((Unit Mix Rent Renovated − Unit Mix Rent Market) × (Sum by group(if (Rent Roll Renovation Status = “renovated”), then Units, otherwise 0, Rent Roll Floorplan, Unit Mix Floorplans) ÷ 1)))","sources":[{"node":"input-unit_mix.rent_renovated"},{"node":"input-unit_mix.rent_market"},{"node":"step-value4"},{"node":"step-units"},{"node":"input-rent_roll.floorplan"},{"node":"input-unit_mix.floorplans"}]},{"id":"output-renovated_rent","kind":"output","label":"Renovated Rent","rule":"Sum(if if (Rent Roll Renovation Status = “renovated”), then if Occupied, then true, otherwise false, otherwise false, then Rent Roll Current Rent, otherwise 0)","sources":[{"node":"step-value4"},{"node":"step-occupied"},{"node":"input-rent_roll.current_rent"}]},{"id":"output-renovated_units","kind":"output","label":"Renovated Units","rule":"Sum(if (Rent Roll Renovation Status = “renovated”), then Units, otherwise 0)","sources":[{"node":"step-value4"},{"node":"step-units"}]},{"id":"step-occupied_units","label":"Occupied Units","kind":"step","rule":"Sum(if Occupied, then Units, otherwise 0)","sources":[{"node":"step-value3"}]},{"id":"output-rent_in_place","kind":"output","label":"Rent In Place","rule":"(Sum by group(if Occupied, then Rent Roll Current Rent, otherwise 0, Rent Roll Floorplan, Unit Mix Floorplans) ÷ (Sum by group(if Occupied, then Units, otherwise 0, Rent Roll Floorplan, Unit Mix Floorplans) ÷ 1), or 0 when the divisor is 0)","sources":[{"node":"step-value2"},{"node":"input-rent_roll.floorplan"},{"node":"input-unit_mix.floorplans"},{"node":"step-value3"}]},{"id":"output-classic_count","kind":"output","label":"Classic Count","rule":"Classic Count","sources":[{"node":"step-classic_count"}]},{"id":"step-value0","label":"Difference using Capex Interior Eligible By Type","kind":"step","rule":"(Capex Interior Eligible By Type − Lower of Capex Interior Eligible By Type and (Classic Count − Group sum using Classic))","sources":[{"node":"input-capex.interior.eligible_by_type"},{"node":"step-classic_count"},{"node":"step-value1"}]},{"id":"output-in_place_rent","kind":"output","label":"In Place Rent","rule":"(Sum(if Occupied, then Rent Roll Current Rent, otherwise 0) ÷ (Occupied Units ÷ 1), or 0 when the divisor is 0)","sources":[{"node":"step-value2"},{"node":"step-occupied_units"}]},{"id":"output-occupied_units","kind":"output","label":"Occupied Units","rule":"Occupied Units","sources":[{"node":"step-occupied_units"}]},{"id":"output-vacant_units","kind":"output","label":"Vacant Units","rule":"(Sum(Units) − Occupied Units)","sources":[{"node":"step-units"},{"node":"step-occupied_units"}]},{"id":"output-eligible_occupied","kind":"output","label":"Eligible Occupied","rule":"Sum(Difference using Capex Interior Eligible By Type)","sources":[{"node":"step-value0"}]},{"id":"output-eligible_rent","kind":"output","label":"Eligible Rent","rule":"Sum(((Sum by group(if if Classic, then if Occupied, then true, otherwise false, otherwise false, then Rent Roll Current Rent, otherwise 0, Rent Roll Floorplan, Unit Mix Floorplans) ÷ (Group sum using Classic ÷ 1), or 0 when the divisor is 0) × (Difference using Capex Interior Eligible By Type ÷ 1)))","sources":[{"node":"step-classic"},{"node":"step-occupied"},{"node":"input-rent_roll.current_rent"},{"node":"input-rent_roll.floorplan"},{"node":"input-unit_mix.floorplans"},{"node":"step-value1"},{"node":"step-value0"}]}],"topics":[{"label":"Opening Inventory","results":["output-classic","output-classic_count","output-classic_occupied","output-classic_rent","output-count","output-delinquent_total","output-eligible_occupied","output-eligible_rent","output-in_place_rent","output-occupied","output-occupied_units","output-renovated_occupied","output-renovated_premium","output-renovated_rent","output-renovated_units","output-rent_in_place","output-units","output-vacant_units"]}]},"usedBy":[{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"}]}
