{"ref":{"kind":"component","id":"hotel_operating_contribution","key":"sha256:3fbbf13b30cd023ada8056fd570c4ed49e8619f3d29c7762c0d38ed28d567ed7"},"label":"Hotel Operating Contribution","description":"Measure one incremental hotel operating contribution through NOI.","inputs":[{"label":"Available Rooms","name":"available_rooms","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Brand Fee Detail Enabled","name":"brand_fee_detail_enabled","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"flag"}},{"label":"Credit Card Commissions Pct","name":"credit_card_commissions_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Departmental Profit","name":"departmental_profit","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"F&B Revenue","name":"fb_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Fees Available Room Fee","name":"fees.available_room_fee","valueType":{"axes":[{"extent":null,"name":"brand_fee","variable":true}],"dtype":"f64","unit":"$/unit"}},{"label":"Fees Component","name":"fees.component","valueType":{"axes":[{"extent":null,"name":"brand_fee","variable":true}],"dtype":"str","unit":"text"}},{"label":"Fees Fixed Annual Fee","name":"fees.fixed_annual_fee","valueType":{"axes":[{"extent":null,"name":"brand_fee","variable":true}],"dtype":"f64","unit":"$"}},{"label":"Fees Occupied Room Fee","name":"fees.occupied_room_fee","valueType":{"axes":[{"extent":null,"name":"brand_fee","variable":true}],"dtype":"f64","unit":"$/unit"}},{"label":"Fees Revenue Basis","name":"fees.revenue_basis","valueType":{"axes":[{"extent":null,"name":"brand_fee","variable":true}],"dtype":"str","unit":"text"}},{"label":"Fees Revenue Fee Pct","name":"fees.revenue_fee_pct","valueType":{"axes":[{"extent":null,"name":"brand_fee","variable":true}],"dtype":"f64","unit":"%"}},{"label":"Franchise Fee Pct","name":"franchise_fee_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"General Admin Pct","name":"general_admin_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Management Fee Pct","name":"management_fee_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Occupied Rooms","name":"occupied_rooms","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Repairs Maintenance Pct","name":"repairs_maintenance_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Replacement Reserve Pct","name":"replacement_reserve_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Rooms Revenue","name":"rooms_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Sales Marketing Pct","name":"sales_marketing_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Semifixed Overhead Fixed Share Pct","name":"semifixed_overhead_fixed_share_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Total Revenue","name":"total_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Undistributed Detail Enabled","name":"undistributed_detail_enabled","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"flag"}},{"label":"Undistributed Expense Pct","name":"undistributed_expense_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Utilities Pct","name":"utilities_pct","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}}],"outputs":[{"label":"Departmental Profit","name":"departmental_profit","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"NOI","name":"noi","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Total Revenue","name":"total_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"hotel_brand_fee_row","key":"sha256:2bfd3e9957e44cbeadadca54769304036157f82585ef4b0c7eda9b45b469dafb","kind":"component"}],"libraries":["hotel_operating"],"notes":{},"calculation":{"nodes":[{"id":"input-available_rooms","label":"Available Rooms","kind":"input"},{"id":"input-brand_fee_detail_enabled","label":"Brand Fee Detail Enabled","kind":"input"},{"id":"input-credit_card_commissions_pct","label":"Credit Card Commissions Pct","kind":"input"},{"id":"input-departmental_profit","label":"Departmental Profit","kind":"input"},{"id":"input-fb_revenue","label":"F&B Revenue","kind":"input"},{"id":"input-fees.available_room_fee","label":"Fees Available Room Fee","kind":"input"},{"id":"input-fees.component","label":"Fees Component","kind":"input"},{"id":"input-fees.fixed_annual_fee","label":"Fees Fixed Annual Fee","kind":"input"},{"id":"input-fees.occupied_room_fee","label":"Fees Occupied Room Fee","kind":"input"},{"id":"input-fees.revenue_basis","label":"Fees Revenue Basis","kind":"input"},{"id":"input-fees.revenue_fee_pct","label":"Fees Revenue Fee Pct","kind":"input"},{"id":"input-franchise_fee_pct","label":"Franchise Fee Pct","kind":"input"},{"id":"input-general_admin_pct","label":"General Admin Pct","kind":"input"},{"id":"input-management_fee_pct","label":"Management Fee Pct","kind":"input"},{"id":"input-occupied_rooms","label":"Occupied Rooms","kind":"input"},{"id":"input-repairs_maintenance_pct","label":"Repairs Maintenance Pct","kind":"input"},{"id":"input-replacement_reserve_pct","label":"Replacement Reserve Pct","kind":"input"},{"id":"input-rooms_revenue","label":"Rooms Revenue","kind":"input"},{"id":"input-sales_marketing_pct","label":"Sales Marketing Pct","kind":"input"},{"id":"input-semifixed_overhead_fixed_share_pct","label":"Semifixed Overhead Fixed Share Pct","kind":"input"},{"id":"input-total_revenue","label":"Total Revenue","kind":"input"},{"id":"input-undistributed_detail_enabled","label":"Undistributed Detail Enabled","kind":"input"},{"id":"input-undistributed_expense_pct","label":"Undistributed Expense Pct","kind":"input"},{"id":"input-utilities_pct","label":"Utilities Pct","kind":"input"},{"id":"output-departmental_profit","kind":"output","label":"Departmental Profit","rule":"Departmental Profit","sources":[{"node":"input-departmental_profit"}]},{"id":"step-brand_fee_rows","label":"Brand fee rows","kind":"step","rule":"Run Hotel brand fee row for each brand fee. Carry the closing state into the next period.","sources":[{"node":"input-fees.available_room_fee"},{"node":"input-fees.fixed_annual_fee"},{"node":"input-fees.occupied_room_fee"},{"node":"input-fees.revenue_basis"},{"node":"input-fees.revenue_fee_pct"},{"node":"input-available_rooms"},{"node":"input-fb_revenue"},{"node":"input-occupied_rooms"},{"node":"input-rooms_revenue"},{"node":"input-total_revenue"}],"calls":[{"component":"hotel_brand_fee_row","label":"Hotel brand fee row","purpose":"Price one disclosed brand-fee row over monthly hotel economics.","bindings":[{"name":"available_room_fee","label":"Available Room Fee","value":"Fees Available Room Fee"},{"name":"fixed_annual_fee","label":"Fixed Annual Fee","value":"(Fees Fixed Annual Fee × 0)"},{"name":"occupied_room_fee","label":"Occupied Room Fee","value":"Fees Occupied Room Fee"},{"name":"revenue_basis","label":"Revenue Basis","value":"Fees Revenue Basis"},{"name":"revenue_fee_pct","label":"Revenue Fee Pct","value":"Fees Revenue Fee Pct"}],"carry":[{"input":"available_rooms","output":"available_rooms","label":"Available Rooms","initial":"Available Rooms"},{"input":"calendar_mix","output":"calendar_mix","label":"Calendar Mix","initial":"fixed schedule of 121 values (month)"},{"input":"food_and_beverage_revenue","output":"food_and_beverage_revenue","label":"Food And Beverage Revenue","initial":"F&B Revenue"},{"input":"occupied_rooms","output":"occupied_rooms","label":"Occupied Rooms","initial":"Occupied Rooms"},{"input":"rooms_revenue","output":"rooms_revenue","label":"Rooms Revenue","initial":"Rooms Revenue"},{"input":"total_revenue","output":"total_revenue","label":"Total Revenue","initial":"Total Revenue"}]}]},{"id":"output-total_revenue","kind":"output","label":"Total Revenue","rule":"Total Revenue","sources":[{"node":"input-total_revenue"}]},{"id":"step-general_admin_ratio","label":"General admin ratio","kind":"step","rule":"if Undistributed Detail Enabled, then General Admin Pct, otherwise Undistributed Expense Pct","sources":[{"node":"input-undistributed_detail_enabled"},{"node":"input-general_admin_pct"},{"node":"input-undistributed_expense_pct"}]},{"id":"step-brand_fee_component_total","label":"Brand fee component total","kind":"step","rule":"Sum along axis((Brand fee rows · Component × 1))","sources":[{"node":"step-brand_fee_rows","field":"component","fieldLabel":"Component","url":"/catalog/components/hotel_brand_fee_row/#output-component"}],"calls":[{"function":"hotel_brand_fee_sum","label":"Hotel brand fee sum","bindings":[{"name":"components","label":"Components","value":"(Brand fee rows · Component × 1)"}],"rule":"Sum along axis((Brand fee rows · Component × 1))"}]},{"id":"step-brand_fee","label":"Brand fee","kind":"step","rule":"if Brand Fee Detail Enabled, then Brand fee component total, otherwise ((Total Revenue × -1) × Franchise Fee Pct)","sources":[{"node":"input-brand_fee_detail_enabled"},{"node":"step-brand_fee_component_total"},{"node":"input-total_revenue"},{"node":"input-franchise_fee_pct"}]},{"id":"step-undistributed_expense","label":"Undistributed expense","kind":"step","rule":"(((Total Revenue × -1) × (((((General admin ratio + Sales Marketing Pct) + Utilities Pct) + Repairs Maintenance Pct) × (1 − Semifixed Overhead Fixed Share Pct)) + Credit Card Commissions Pct)) + Brand fee)","sources":[{"node":"input-total_revenue"},{"node":"step-general_admin_ratio"},{"node":"input-sales_marketing_pct"},{"node":"input-utilities_pct"},{"node":"input-repairs_maintenance_pct"},{"node":"input-semifixed_overhead_fixed_share_pct"},{"node":"input-credit_card_commissions_pct"},{"node":"step-brand_fee"}]},{"id":"step-noi","label":"NOI","kind":"step","rule":"(((Departmental Profit + Undistributed expense) − (Total Revenue × Management Fee Pct)) − (Total Revenue × Replacement Reserve Pct))","sources":[{"node":"input-departmental_profit"},{"node":"step-undistributed_expense"},{"node":"input-total_revenue"},{"node":"input-management_fee_pct"},{"node":"input-replacement_reserve_pct"}]},{"id":"output-noi","kind":"output","label":"NOI","rule":"NOI","sources":[{"node":"step-noi"}]}],"topics":[{"label":"Hotel Operating Contribution","results":["output-departmental_profit","output-noi","output-total_revenue"]}]},"usedBy":[{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"}]}
