{"ref":{"kind":"component","id":"available_renovation_mix_period","key":"sha256:b7105e0794f86598bd8d6da1b295428ab67bffbb831bbffd2f8b997f3d4f6dfd"},"label":"Available Renovation Mix Period","description":"Allocate one month's starts within retained plan and availability.","inputs":[{"label":"Availability Enforced","name":"availability_enforced","valueType":{"axes":[],"dtype":"f64","unit":"flag"}},{"label":"Cumulative Availability By Type","name":"cumulative_availability_by_type","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}},{"label":"Cumulative Starts By Type","name":"cumulative_starts_by_type","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}},{"label":"Month","name":"month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Monthly Starts","name":"monthly_starts","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Plan By Type","name":"plan_by_type","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}}],"outputs":[{"label":"Cumulative Starts By Type","name":"cumulative_starts_by_type","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}},{"label":"Starts By Type","name":"starts_by_type","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}}],"dependencies":[],"libraries":["multifamily_value_add_rent"],"notes":{},"calculation":{"nodes":[{"id":"input-availability_enforced","label":"Availability Enforced","kind":"input"},{"id":"input-cumulative_availability_by_type","label":"Cumulative Availability By Type","kind":"input"},{"id":"input-cumulative_starts_by_type","label":"Cumulative Starts By Type","kind":"input"},{"id":"input-month","label":"Month","kind":"input"},{"id":"input-monthly_starts","label":"Monthly Starts","kind":"input"},{"id":"input-plan_by_type","label":"Plan By Type","kind":"input"},{"id":"step-remaining_availability","label":"Remaining availability","kind":"step","rule":"Higher of (Cumulative Availability By Type − Cumulative Starts By Type) and 0","sources":[{"node":"input-cumulative_availability_by_type"},{"node":"input-cumulative_starts_by_type"}]},{"id":"step-remaining_plan","label":"Remaining plan","kind":"step","rule":"Higher of (Plan By Type − Cumulative Starts By Type) and 0","sources":[{"node":"input-plan_by_type"},{"node":"input-cumulative_starts_by_type"}]},{"id":"step-capacity","label":"Capacity","kind":"step","rule":"if Availability Enforced, then Lower of Remaining plan and Remaining availability, otherwise Remaining plan","sources":[{"node":"input-availability_enforced"},{"node":"step-remaining_plan"},{"node":"step-remaining_availability"}]},{"id":"step-total_capacity","label":"Total capacity","kind":"step","rule":"Sum(Capacity)","sources":[{"node":"step-capacity"}]},{"id":"step-active","label":"Active","kind":"step","rule":"((Month > 0) × (Total capacity > 0))","sources":[{"node":"input-month"},{"node":"step-total_capacity"}]},{"id":"step-tranche","label":"Tranche","kind":"step","rule":"Lower of Higher of Monthly Starts and 0 and Total capacity","sources":[{"node":"input-monthly_starts"},{"node":"step-total_capacity"}]},{"id":"step-divisor","label":"Divisor","kind":"step","rule":"if Active, then Total capacity, otherwise 1","sources":[{"node":"step-active"},{"node":"step-total_capacity"}]},{"id":"step-starts_by_type","label":"Starts By Type","kind":"step","rule":"if Active, then (Capacity × (Tranche ÷ Divisor)), otherwise (Capacity × 0)","sources":[{"node":"step-active"},{"node":"step-capacity"},{"node":"step-tranche"},{"node":"step-divisor"}]},{"id":"output-cumulative_starts_by_type","kind":"output","label":"Cumulative Starts By Type","rule":"(Cumulative Starts By Type + Starts By Type)","sources":[{"node":"input-cumulative_starts_by_type"},{"node":"step-starts_by_type"}]},{"id":"output-starts_by_type","kind":"output","label":"Starts By Type","rule":"Starts By Type","sources":[{"node":"step-starts_by_type"}]}],"topics":[{"label":"Available Renovation Mix Period","results":["output-cumulative_starts_by_type","output-starts_by_type"]}]},"usedBy":[{"kind":"recipe","id":"multifamily","key":"sha256:397eeb7b5a8b1a4584c66bc4c75f1a85494dbe812871f2e39c9192beb8a51f18"}]}
