{"ref":{"kind":"component","id":"condo_closeout","key":"sha256:d543fc031b494f15532cc95d98023c415e4d039a5f0e3086d9a409f29c34c368"},"label":"Inventory closeout","description":"Value residual inventory by unit type after escalation, discounts and closeout costs.","inputs":[{"label":"Bulk Sale Recovery Pct","name":"bulk_sale_recovery_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Closeout Cost Pct","name":"closeout_cost_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Closeout Month","name":"closeout_month","valueType":{"axes":[],"dtype":"f64","unit":"mo"}},{"label":"Condo Price Escalation Pct","name":"condo_price_escalation_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Inventory Discount Pct","name":"inventory_discount_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Parking Sales Value","name":"parking_sales_value","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Price Escalation Convention","name":"price_escalation_convention","valueType":{"axes":[],"dtype":"str","unit":"text"}},{"label":"Program Units","name":"program_units","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}},{"label":"Storage Sales Value","name":"storage_sales_value","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Total Units","name":"total_units","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Unit Type Base Condo Inventory Value","name":"unit_type_base_condo_inventory_value","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Unit Type Units Remaining","name":"unit_type_units_remaining","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}}],"outputs":[{"label":"Bulk Sale Recovery","name":"bulk_sale_recovery","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Closeout Costs","name":"closeout_costs","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Discounted Unsold Value","name":"discounted_unsold_value","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Gross Inventory Value","name":"gross_inventory_value","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Gross Unsold Value","name":"gross_unsold_value","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Inventory Discount","name":"inventory_discount","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Net Unsold Value","name":"net_unsold_value","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Unit Type Bulk Sale Recovery","name":"unit_type_bulk_sale_recovery","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Unit Type Closeout Costs","name":"unit_type_closeout_costs","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Unit Type Discounted Unsold Value","name":"unit_type_discounted_unsold_value","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Unit Type Gross Condo Inventory Value","name":"unit_type_gross_condo_inventory_value","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Unit Type Gross Unsold Value","name":"unit_type_gross_unsold_value","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Unit Type Inventory Discount","name":"unit_type_inventory_discount","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Unit Type Net Unsold Value","name":"unit_type_net_unsold_value","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$"}}],"dependencies":[],"libraries":["condo_development"],"notes":{},"calculation":{"nodes":[{"id":"input-bulk_sale_recovery_pct","label":"Bulk Sale Recovery Pct","kind":"input"},{"id":"input-closeout_cost_pct","label":"Closeout Cost Pct","kind":"input"},{"id":"input-closeout_month","label":"Closeout Month","kind":"input"},{"id":"input-condo_price_escalation_pct","label":"Condo Price Escalation Pct","kind":"input"},{"id":"input-inventory_discount_pct","label":"Inventory Discount Pct","kind":"input"},{"id":"input-parking_sales_value","label":"Parking Sales Value","kind":"input"},{"id":"input-price_escalation_convention","label":"Price Escalation Convention","kind":"input"},{"id":"input-program_units","label":"Program Units","kind":"input"},{"id":"input-storage_sales_value","label":"Storage Sales Value","kind":"input"},{"id":"input-total_units","label":"Total Units","kind":"input"},{"id":"input-unit_type_base_condo_inventory_value","label":"Unit Type Base Condo Inventory Value","kind":"input"},{"id":"input-unit_type_units_remaining","label":"Unit Type Units Remaining","kind":"input"},{"id":"step-closeout_escalation","label":"Closeout escalation","kind":"step","rule":"Value at index(((1 + Condo Price Escalation Pct) ^ if (Price Escalation Convention = “annual_step”), then fixed schedule of 121 values (month), otherwise fixed schedule of 121 values (month)), Closeout Month)","sources":[{"node":"input-condo_price_escalation_pct"},{"node":"input-price_escalation_convention"},{"node":"input-closeout_month"}],"calls":[{"function":"percent_multiple","label":"Percent multiple","bindings":[{"name":"rate","label":"Rate","value":"Condo Price Escalation Pct"}],"rule":"Condo Price Escalation Pct"}]},{"id":"step-unit_type_unsold_share","label":"Unit type unsold share","kind":"step","rule":"(Unit Type Units Remaining ÷ Total Units, or 0 when the divisor is 0)","sources":[{"node":"input-total_units"},{"node":"input-unit_type_units_remaining"}],"calls":[{"function":"divide_condo_unit_type_counts","label":"Divide condo unit type counts","bindings":[{"name":"total_units","label":"Total units","value":"Total Units"},{"name":"units","label":"Units","value":"Unit Type Units Remaining"}],"rule":"(Unit Type Units Remaining ÷ Total Units, or 0 when the divisor is 0)"}]},{"id":"step-unit_type_gross_condo_inventory_value","label":"Unit Type Gross Condo Inventory Value","kind":"step","rule":"(Unit Type Base Condo Inventory Value × Closeout escalation)","sources":[{"node":"input-unit_type_base_condo_inventory_value"},{"node":"step-closeout_escalation"}]},{"id":"step-gross_condo_inventory_value","label":"Gross condo inventory value","kind":"step","rule":"Sum(Unit Type Gross Condo Inventory Value)","sources":[{"node":"step-unit_type_gross_condo_inventory_value"}]},{"id":"step-unit_type_gross_unsold_value","label":"Unit Type Gross Unsold Value","kind":"step","rule":"((Unit Type Gross Condo Inventory Value × (Unit Type Units Remaining ÷ Program Units, or 0 when the divisor is 0)) + ((Storage Sales Value + Parking Sales Value) × Unit type unsold share))","sources":[{"node":"step-unit_type_gross_condo_inventory_value"},{"node":"input-program_units"},{"node":"input-unit_type_units_remaining"},{"node":"input-storage_sales_value"},{"node":"input-parking_sales_value"},{"node":"step-unit_type_unsold_share"}],"calls":[{"function":"divide_condo_unit_type_inventory","label":"Divide condo unit type inventory","bindings":[{"name":"inventory","label":"Inventory","value":"Program Units"},{"name":"units","label":"Units","value":"Unit Type Units Remaining"}],"rule":"(Unit Type Units Remaining ÷ Program Units, or 0 when the divisor is 0)"}]},{"id":"output-unit_type_gross_condo_inventory_value","kind":"output","label":"Unit Type Gross Condo Inventory Value","rule":"Unit Type Gross Condo Inventory Value","sources":[{"node":"step-unit_type_gross_condo_inventory_value"}]},{"id":"step-gross_inventory_value","label":"Gross Inventory Value","kind":"step","rule":"((Gross condo inventory value + Storage Sales Value) + Parking Sales Value)","sources":[{"node":"step-gross_condo_inventory_value"},{"node":"input-storage_sales_value"},{"node":"input-parking_sales_value"}]},{"id":"step-gross_unsold_value","label":"Gross Unsold Value","kind":"step","rule":"Sum(Unit Type Gross Unsold Value)","sources":[{"node":"step-unit_type_gross_unsold_value"}]},{"id":"step-unit_type_closeout_costs","label":"Unit Type Closeout Costs","kind":"step","rule":"(Unit Type Gross Unsold Value × Closeout Cost Pct)","sources":[{"node":"step-unit_type_gross_unsold_value"},{"node":"input-closeout_cost_pct"}]},{"id":"step-unit_type_inventory_discount","label":"Unit Type Inventory Discount","kind":"step","rule":"(Unit Type Gross Unsold Value × Inventory Discount Pct)","sources":[{"node":"step-unit_type_gross_unsold_value"},{"node":"input-inventory_discount_pct"}]},{"id":"output-unit_type_gross_unsold_value","kind":"output","label":"Unit Type Gross Unsold Value","rule":"Unit Type Gross Unsold Value","sources":[{"node":"step-unit_type_gross_unsold_value"}]},{"id":"output-gross_inventory_value","kind":"output","label":"Gross Inventory Value","rule":"Gross Inventory Value","sources":[{"node":"step-gross_inventory_value"}]},{"id":"output-gross_unsold_value","kind":"output","label":"Gross Unsold Value","rule":"Gross Unsold Value","sources":[{"node":"step-gross_unsold_value"}]},{"id":"step-closeout_costs","label":"Closeout Costs","kind":"step","rule":"Sum(Unit Type Closeout Costs)","sources":[{"node":"step-unit_type_closeout_costs"}]},{"id":"output-unit_type_closeout_costs","kind":"output","label":"Unit Type Closeout Costs","rule":"Unit Type Closeout Costs","sources":[{"node":"step-unit_type_closeout_costs"}]},{"id":"step-inventory_discount","label":"Inventory Discount","kind":"step","rule":"Sum(Unit Type Inventory Discount)","sources":[{"node":"step-unit_type_inventory_discount"}]},{"id":"step-unit_type_discounted_unsold_value","label":"Unit Type Discounted Unsold Value","kind":"step","rule":"Higher of (Unit Type Gross Unsold Value − Unit Type Inventory Discount) and 0","sources":[{"node":"step-unit_type_gross_unsold_value"},{"node":"step-unit_type_inventory_discount"}]},{"id":"output-unit_type_inventory_discount","kind":"output","label":"Unit Type Inventory Discount","rule":"Unit Type Inventory Discount","sources":[{"node":"step-unit_type_inventory_discount"}]},{"id":"output-closeout_costs","kind":"output","label":"Closeout Costs","rule":"Closeout Costs","sources":[{"node":"step-closeout_costs"}]},{"id":"output-inventory_discount","kind":"output","label":"Inventory Discount","rule":"Inventory Discount","sources":[{"node":"step-inventory_discount"}]},{"id":"step-discounted_unsold_value","label":"Discounted Unsold Value","kind":"step","rule":"Sum(Unit Type Discounted Unsold Value)","sources":[{"node":"step-unit_type_discounted_unsold_value"}]},{"id":"step-unit_type_bulk_sale_recovery","label":"Unit Type Bulk Sale Recovery","kind":"step","rule":"(Unit Type Discounted Unsold Value × Bulk Sale Recovery Pct)","sources":[{"node":"step-unit_type_discounted_unsold_value"},{"node":"input-bulk_sale_recovery_pct"}]},{"id":"output-unit_type_discounted_unsold_value","kind":"output","label":"Unit Type Discounted Unsold Value","rule":"Unit Type Discounted Unsold Value","sources":[{"node":"step-unit_type_discounted_unsold_value"}]},{"id":"output-discounted_unsold_value","kind":"output","label":"Discounted Unsold Value","rule":"Discounted Unsold Value","sources":[{"node":"step-discounted_unsold_value"}]},{"id":"step-bulk_sale_recovery","label":"Bulk Sale Recovery","kind":"step","rule":"Sum(Unit Type Bulk Sale Recovery)","sources":[{"node":"step-unit_type_bulk_sale_recovery"}]},{"id":"step-unit_type_net_unsold_value","label":"Unit Type Net Unsold Value","kind":"step","rule":"Higher of (Unit Type Bulk Sale Recovery − Unit Type Closeout Costs) and 0","sources":[{"node":"step-unit_type_bulk_sale_recovery"},{"node":"step-unit_type_closeout_costs"}]},{"id":"output-unit_type_bulk_sale_recovery","kind":"output","label":"Unit Type Bulk Sale Recovery","rule":"Unit Type Bulk Sale Recovery","sources":[{"node":"step-unit_type_bulk_sale_recovery"}]},{"id":"output-bulk_sale_recovery","kind":"output","label":"Bulk Sale Recovery","rule":"Bulk Sale Recovery","sources":[{"node":"step-bulk_sale_recovery"}]},{"id":"step-net_unsold_value","label":"Net Unsold Value","kind":"step","rule":"Sum(Unit Type Net Unsold Value)","sources":[{"node":"step-unit_type_net_unsold_value"}]},{"id":"output-unit_type_net_unsold_value","kind":"output","label":"Unit Type Net Unsold Value","rule":"Unit Type Net Unsold Value","sources":[{"node":"step-unit_type_net_unsold_value"}]},{"id":"output-net_unsold_value","kind":"output","label":"Net Unsold Value","rule":"Net Unsold Value","sources":[{"node":"step-net_unsold_value"}]}],"topics":[{"label":"Inventory closeout","results":["output-bulk_sale_recovery","output-closeout_costs","output-discounted_unsold_value","output-gross_inventory_value","output-gross_unsold_value","output-inventory_discount","output-net_unsold_value","output-unit_type_bulk_sale_recovery","output-unit_type_closeout_costs","output-unit_type_discounted_unsold_value","output-unit_type_gross_condo_inventory_value","output-unit_type_gross_unsold_value","output-unit_type_inventory_discount","output-unit_type_net_unsold_value"]}]},"usedBy":[{"kind":"recipe","id":"condo_development","key":"sha256:e1e317fbad79babd19d06f30b451bf1b5fc74bf415bd554eb16205d31d5a7996"}]}
