{"ref":{"kind":"component","id":"condo_retail","key":"sha256:4f00b231bd90849c6b6c2b573794e61a0bb1718ea717c0397a19f20d04335928"},"label":"Retail sales","description":"Apply realized closing rates and discounts to retail proceeds by unit type.","inputs":[{"label":"Broker Commission Pct","name":"broker_commission_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Buyer Default Pct","name":"buyer_default_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Closing Cost Pct","name":"closing_cost_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Closing Pace Pct","name":"closing_pace_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Monthly Parking Sales Value","name":"monthly_parking_sales_value","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Monthly Storage Sales Value","name":"monthly_storage_sales_value","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Price Discount Pct","name":"price_discount_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Total Units","name":"total_units","valueType":{"axes":[],"dtype":"f64","unit":"units"}},{"label":"Unit Type Monthly Condo Gross Sales Value","name":"unit_type_monthly_condo_gross_sales_value","valueType":{"axes":[{"extent":null,"name":"unit","variable":true},{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Unit Type Scheduled Monthly Closing Units","name":"unit_type_scheduled_monthly_closing_units","valueType":{"axes":[{"extent":null,"name":"unit","variable":true},{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"units"}}],"outputs":[{"label":"Discounted Sales Proceeds","name":"discounted_sales_proceeds","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Gross Sold Value","name":"gross_sold_value","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Monthly Closing Units","name":"monthly_closing_units","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"units"}},{"label":"Monthly Gross Sales Proceeds","name":"monthly_gross_sales_proceeds","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Monthly Net Sales Proceeds","name":"monthly_net_sales_proceeds","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Monthly Selling Costs","name":"monthly_selling_costs","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Sales Discount","name":"sales_discount","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Unit Type Gross Sold Value","name":"unit_type_gross_sold_value","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Unit Type Monthly Closing Units","name":"unit_type_monthly_closing_units","valueType":{"axes":[{"extent":null,"name":"unit","variable":true},{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"units"}},{"label":"Unit Type Units Sold","name":"unit_type_units_sold","valueType":{"axes":[{"extent":null,"name":"unit","variable":true}],"dtype":"f64","unit":"units"}},{"label":"Units Sold","name":"units_sold","valueType":{"axes":[],"dtype":"f64","unit":"units"}}],"dependencies":[],"libraries":["condo_development"],"notes":{},"calculation":{"nodes":[{"id":"input-broker_commission_pct","label":"Broker Commission Pct","kind":"input"},{"id":"input-buyer_default_pct","label":"Buyer Default Pct","kind":"input"},{"id":"input-closing_cost_pct","label":"Closing Cost Pct","kind":"input"},{"id":"input-closing_pace_pct","label":"Closing Pace Pct","kind":"input"},{"id":"input-monthly_parking_sales_value","label":"Monthly Parking Sales Value","kind":"input"},{"id":"input-monthly_storage_sales_value","label":"Monthly Storage Sales Value","kind":"input"},{"id":"input-price_discount_pct","label":"Price Discount Pct","kind":"input"},{"id":"input-total_units","label":"Total Units","kind":"input"},{"id":"input-unit_type_monthly_condo_gross_sales_value","label":"Unit Type Monthly Condo Gross Sales Value","kind":"input"},{"id":"input-unit_type_scheduled_monthly_closing_units","label":"Unit Type Scheduled Monthly Closing Units","kind":"input"},{"id":"step-realization_rate","label":"Realization rate","kind":"step","rule":"Limit to range((Closing Pace Pct × (1 − Buyer Default Pct)), 0, 1)","sources":[{"node":"input-closing_pace_pct"},{"node":"input-buyer_default_pct"}],"calls":[{"function":"complement_percent","label":"Complement percent","bindings":[{"name":"one","label":"One","value":"1"},{"name":"rate","label":"Rate","value":"Buyer Default Pct"}],"rule":"(1 − Buyer Default Pct)"},{"function":"percent_multiple","label":"Percent multiple","bindings":[{"name":"rate","label":"Rate","value":"(Closing Pace Pct × (1 − Buyer Default Pct))"}],"rule":"(Closing Pace Pct × (1 − Buyer Default Pct))"}]},{"id":"step-unit_type_gross_sold_value","label":"Unit Type Gross Sold Value","kind":"step","rule":"Sum along axis(Transpose((Unit Type Monthly Condo Gross Sales Value × Realization rate)), Month)","sources":[{"node":"input-unit_type_monthly_condo_gross_sales_value"},{"node":"step-realization_rate"}]},{"id":"step-unit_type_monthly_closing_units","label":"Unit Type Monthly Closing Units","kind":"step","rule":"(Unit Type Scheduled Monthly Closing Units × Realization rate)","sources":[{"node":"input-unit_type_scheduled_monthly_closing_units"},{"node":"step-realization_rate"}]},{"id":"step-unit_type_monthly_realized_condo_proceeds","label":"Unit type monthly realized condo proceeds","kind":"step","rule":"((Unit Type Monthly Condo Gross Sales Value × Realization rate) × (1 − Price Discount Pct))","sources":[{"node":"input-unit_type_monthly_condo_gross_sales_value"},{"node":"step-realization_rate"},{"node":"input-price_discount_pct"}],"calls":[{"function":"complement_percent","label":"Complement percent","bindings":[{"name":"one","label":"One","value":"1"},{"name":"rate","label":"Rate","value":"Price Discount Pct"}],"rule":"(1 − Price Discount Pct)"}]},{"id":"step-gross_sold_value","label":"Gross Sold Value","kind":"step","rule":"Sum(Unit Type Gross Sold Value)","sources":[{"node":"step-unit_type_gross_sold_value"}]},{"id":"output-unit_type_gross_sold_value","kind":"output","label":"Unit Type Gross Sold Value","rule":"Unit Type Gross Sold Value","sources":[{"node":"step-unit_type_gross_sold_value"}]},{"id":"step-monthly_closing_units","label":"Monthly Closing Units","kind":"step","rule":"Sum along axis(Unit Type Monthly Closing Units, Unit)","sources":[{"node":"step-unit_type_monthly_closing_units"}]},{"id":"step-unit_type_units_sold","label":"Unit Type Units Sold","kind":"step","rule":"Sum along axis(Transpose(Unit Type Monthly Closing Units), Month)","sources":[{"node":"step-unit_type_monthly_closing_units"}]},{"id":"output-unit_type_monthly_closing_units","kind":"output","label":"Unit Type Monthly Closing Units","rule":"Unit Type Monthly Closing Units","sources":[{"node":"step-unit_type_monthly_closing_units"}]},{"id":"step-monthly_realized_condo_proceeds","label":"Monthly realized condo proceeds","kind":"step","rule":"Sum along axis(Unit type monthly realized condo proceeds, Unit)","sources":[{"node":"step-unit_type_monthly_realized_condo_proceeds"}]},{"id":"output-gross_sold_value","kind":"output","label":"Gross Sold Value","rule":"Gross Sold Value","sources":[{"node":"step-gross_sold_value"}]},{"id":"output-sales_discount","kind":"output","label":"Sales Discount","rule":"(Gross Sold Value × Price Discount Pct)","sources":[{"node":"step-gross_sold_value"},{"node":"input-price_discount_pct"}]},{"id":"output-monthly_closing_units","kind":"output","label":"Monthly Closing Units","rule":"Monthly Closing Units","sources":[{"node":"step-monthly_closing_units"}]},{"id":"step-units_sold","label":"Units Sold","kind":"step","rule":"Sum(Unit Type Units Sold)","sources":[{"node":"step-unit_type_units_sold"}]},{"id":"output-unit_type_units_sold","kind":"output","label":"Unit Type Units Sold","rule":"Unit Type Units Sold","sources":[{"node":"step-unit_type_units_sold"}]},{"id":"step-sold_share","label":"Sold share","kind":"step","rule":"(Units Sold ÷ Total Units, or 0 when the divisor is 0)","sources":[{"node":"input-total_units"},{"node":"step-units_sold"}],"calls":[{"function":"divide_unit_counts","label":"Divide unit counts","bindings":[{"name":"total_units","label":"Total units","value":"Total Units"},{"name":"units","label":"Units","value":"Units Sold"}],"rule":"(Units Sold ÷ Total Units, or 0 when the divisor is 0)"}]},{"id":"output-units_sold","kind":"output","label":"Units Sold","rule":"Units Sold","sources":[{"node":"step-units_sold"}]},{"id":"step-monthly_gross_sales_proceeds","label":"Monthly Gross Sales Proceeds","kind":"step","rule":"((Monthly realized condo proceeds + (Monthly Storage Sales Value × Sold share)) + (Monthly Parking Sales Value × Sold share))","sources":[{"node":"step-monthly_realized_condo_proceeds"},{"node":"input-monthly_storage_sales_value"},{"node":"step-sold_share"},{"node":"input-monthly_parking_sales_value"}]},{"id":"step-discounted_sales_proceeds","label":"Discounted Sales Proceeds","kind":"step","rule":"Sum(Monthly Gross Sales Proceeds)","sources":[{"node":"step-monthly_gross_sales_proceeds"}]},{"id":"step-monthly_selling_costs","label":"Monthly Selling Costs","kind":"step","rule":"(Monthly Gross Sales Proceeds × (Broker Commission Pct + Closing Cost Pct))","sources":[{"node":"step-monthly_gross_sales_proceeds"},{"node":"input-broker_commission_pct"},{"node":"input-closing_cost_pct"}]},{"id":"output-monthly_gross_sales_proceeds","kind":"output","label":"Monthly Gross Sales Proceeds","rule":"Monthly Gross Sales Proceeds","sources":[{"node":"step-monthly_gross_sales_proceeds"}]},{"id":"output-discounted_sales_proceeds","kind":"output","label":"Discounted Sales Proceeds","rule":"Discounted Sales Proceeds","sources":[{"node":"step-discounted_sales_proceeds"}]},{"id":"output-monthly_net_sales_proceeds","kind":"output","label":"Monthly Net Sales Proceeds","rule":"(Monthly Gross Sales Proceeds − Monthly Selling Costs)","sources":[{"node":"step-monthly_gross_sales_proceeds"},{"node":"step-monthly_selling_costs"}]},{"id":"output-monthly_selling_costs","kind":"output","label":"Monthly Selling Costs","rule":"Monthly Selling Costs","sources":[{"node":"step-monthly_selling_costs"}]}],"topics":[{"label":"Retail sales","results":["output-discounted_sales_proceeds","output-gross_sold_value","output-monthly_closing_units","output-monthly_gross_sales_proceeds","output-monthly_net_sales_proceeds","output-monthly_selling_costs","output-sales_discount","output-unit_type_gross_sold_value","output-unit_type_monthly_closing_units","output-unit_type_units_sold","output-units_sold"]}]},"usedBy":[{"kind":"recipe","id":"condo_development","key":"sha256:e1e317fbad79babd19d06f30b451bf1b5fc74bf415bd554eb16205d31d5a7996"}]}
