{"ref":{"kind":"component","id":"hotel_room_revenue","key":"sha256:9c6bf1522b431979718e91eaa61f04baba568c64cc1f8b9ab46c2317d7a6d18f"},"label":"Room Revenue","description":"Calculate room revenue and separate occupancy, rate and workstream effects.","inputs":[{"label":"ADR","name":"adr","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$/u"}},{"label":"Pricing · ADR","name":"priced.adr","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$/u"}},{"label":"Pricing · ADR factor","name":"priced.adr_factor","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"x"}},{"label":"Pricing · Contract occupied room nights","name":"priced.contract_occupied_rooms","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Pricing · Effective contract ADR","name":"priced.effective_contract_adr","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$/u"}},{"label":"Pricing · Effective group ADR","name":"priced.effective_group_adr","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$/u"}},{"label":"Pricing · Effective transient ADR","name":"priced.effective_transient_adr","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$/u"}},{"label":"Pricing · Effective unsegmented ADR","name":"priced.effective_unsegmented_adr","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$/u"}},{"label":"Pricing · Group occupied room nights","name":"priced.group_occupied_rooms","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Pricing · Organic ADR","name":"priced.organic_adr","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$/u"}},{"label":"Pricing · PIP ADR factor","name":"priced.pip_adr_factor","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Priced Segment Enabled","name":"priced.segment_enabled","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"flag"}},{"label":"Pricing · Transient occupied room nights","name":"priced.transient_occupied_rooms","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Pricing · Unsegmented occupied room nights","name":"priced.unsegmented_occupied_rooms","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Inventory · Baseline available room nights","name":"stock.baseline_available_rooms","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Inventory · Occupied room nights","name":"stock.occupied_rooms","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Inventory · Occupied room nights before workstreams","name":"stock.occupied_rooms_before_workstreams","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Inventory · Organic occupied room nights","name":"stock.organic_occupied_rooms","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Workstreams Disruption","name":"workstreams.disruption","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Workstreams Lift","name":"workstreams.lift","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}}],"outputs":[{"label":"Contract Rooms Revenue","name":"contract_rooms_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Group Rooms Revenue","name":"group_rooms_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Organic RevPAR","name":"organic_revpar","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$/u"}},{"label":"Organic Rooms Revenue","name":"organic_rooms_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"PIP ADR lift","name":"pip_adr_lift","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$/u"}},{"label":"PIP ADR rooms revenue","name":"pip_adr_rooms_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"PIP occupancy rooms revenue","name":"pip_occupancy_rooms_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"PIP RevPAR lift","name":"pip_revpar_lift","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"x"}},{"label":"PIP rooms revenue","name":"pip_rooms_revenue","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":"Rooms Revenue Before Workstreams","name":"rooms_revenue_before_workstreams","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Transient Rooms Revenue","name":"transient_rooms_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Unsegmented Rooms Revenue","name":"unsegmented_rooms_revenue","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"hotel_room_sales","key":"sha256:2db610cc5f43f44fd7fed41208d0dc3c34b532a00dc442ede692ff01c84e2673","kind":"component"},{"id":"hotel_room_revenue_attribution","key":"sha256:2787c610c1114af9904deb41e552318ceb132b9f71bf1f3092615004e58c2289","kind":"component"},{"id":"hotel_room_revenue_effects","key":"sha256:d2be21e8cbc3e47beeafb9a5b602a921d8b0333c78fdcdf2d671795ae452ab41","kind":"component"}],"libraries":["hotel_operating"],"notes":{},"calculation":{"nodes":[{"id":"input-adr","label":"ADR","kind":"input"},{"id":"input-priced.adr","label":"Pricing · ADR","kind":"input"},{"id":"input-priced.adr_factor","label":"Pricing · ADR factor","kind":"input"},{"id":"input-priced.contract_occupied_rooms","label":"Pricing · Contract occupied room nights","kind":"input"},{"id":"input-priced.effective_contract_adr","label":"Pricing · Effective contract ADR","kind":"input"},{"id":"input-priced.effective_group_adr","label":"Pricing · Effective group ADR","kind":"input"},{"id":"input-priced.effective_transient_adr","label":"Pricing · Effective transient ADR","kind":"input"},{"id":"input-priced.effective_unsegmented_adr","label":"Pricing · Effective unsegmented ADR","kind":"input"},{"id":"input-priced.group_occupied_rooms","label":"Pricing · Group occupied room nights","kind":"input"},{"id":"input-priced.organic_adr","label":"Pricing · Organic ADR","kind":"input"},{"id":"input-priced.pip_adr_factor","label":"Pricing · PIP ADR factor","kind":"input"},{"id":"input-priced.segment_enabled","label":"Priced Segment Enabled","kind":"input"},{"id":"input-priced.transient_occupied_rooms","label":"Pricing · Transient occupied room nights","kind":"input"},{"id":"input-priced.unsegmented_occupied_rooms","label":"Pricing · Unsegmented occupied room nights","kind":"input"},{"id":"input-stock.baseline_available_rooms","label":"Inventory · Baseline available room nights","kind":"input"},{"id":"input-stock.occupied_rooms","label":"Inventory · Occupied room nights","kind":"input"},{"id":"input-stock.occupied_rooms_before_workstreams","label":"Inventory · Occupied room nights before workstreams","kind":"input"},{"id":"input-stock.organic_occupied_rooms","label":"Inventory · Organic occupied room nights","kind":"input"},{"id":"input-workstreams.disruption","label":"Workstreams Disruption","kind":"input"},{"id":"input-workstreams.lift","label":"Workstreams Lift","kind":"input"},{"id":"step-sales","label":"Sales","kind":"step","rule":"Result of Room Sales","sources":[{"node":"input-adr"},{"node":"input-stock.occupied_rooms"},{"node":"input-priced.adr_factor"},{"node":"input-priced.contract_occupied_rooms"},{"node":"input-priced.effective_contract_adr"},{"node":"input-priced.effective_group_adr"},{"node":"input-priced.effective_transient_adr"},{"node":"input-priced.effective_unsegmented_adr"},{"node":"input-priced.group_occupied_rooms"},{"node":"input-priced.pip_adr_factor"},{"node":"input-priced.segment_enabled"},{"node":"input-priced.transient_occupied_rooms"},{"node":"input-priced.unsegmented_occupied_rooms"}],"calls":[{"component":"hotel_room_sales","purpose":"Extend segment volumes and rates, with the blended-rate fallback when segments are inactive.","label":"Room Sales","bindings":[{"name":"adr","label":"ADR","value":"ADR"},{"name":"occupied","label":"Occupied room nights","value":"Inventory · Occupied room nights"},{"name":"priced.adr_factor","label":"Pricing · ADR factor","value":"Pricing · ADR factor"},{"name":"priced.contract_occupied_rooms","label":"Pricing · Contract occupied room nights","value":"Pricing · Contract occupied room nights"},{"name":"priced.effective_contract_adr","label":"Pricing · Effective contract ADR","value":"Pricing · Effective contract ADR"},{"name":"priced.effective_group_adr","label":"Pricing · Effective group ADR","value":"Pricing · Effective group ADR"},{"name":"priced.effective_transient_adr","label":"Pricing · Effective transient ADR","value":"Pricing · Effective transient ADR"},{"name":"priced.effective_unsegmented_adr","label":"Pricing · Effective unsegmented ADR","value":"Pricing · Effective unsegmented ADR"},{"name":"priced.group_occupied_rooms","label":"Pricing · Group occupied room nights","value":"Pricing · Group occupied room nights"},{"name":"priced.pip_adr_factor","label":"Pricing · PIP ADR factor","value":"Pricing · PIP ADR factor"},{"name":"priced.segment_enabled","label":"Priced Segment Enabled","value":"Priced Segment Enabled"},{"name":"priced.transient_occupied_rooms","label":"Pricing · Transient occupied room nights","value":"Pricing · Transient occupied room nights"},{"name":"priced.unsegmented_occupied_rooms","label":"Pricing · Unsegmented occupied room nights","value":"Pricing · Unsegmented occupied room nights"}]}]},{"id":"step-attribution","label":"Attribution","kind":"step","rule":"Result of Room Revenue Attribution","sources":[{"node":"input-priced.adr"},{"node":"input-priced.organic_adr"},{"node":"input-priced.pip_adr_factor"},{"node":"step-sales","field":"rooms_revenue_before_direct_effects","fieldLabel":"Rooms Revenue Before Direct Effects","url":"/catalog/components/hotel_room_sales/#output-rooms_revenue_before_direct_effects"},{"node":"input-stock.baseline_available_rooms"},{"node":"input-stock.occupied_rooms"},{"node":"input-stock.occupied_rooms_before_workstreams"},{"node":"input-stock.organic_occupied_rooms"}],"calls":[{"component":"hotel_room_revenue_attribution","purpose":"Separate organic room revenue from renovation occupancy and ADR contributions.","label":"Room Revenue Attribution","bindings":[{"name":"priced.adr","label":"Pricing · ADR","value":"Pricing · ADR"},{"name":"priced.organic_adr","label":"Pricing · Organic ADR","value":"Pricing · Organic ADR"},{"name":"priced.pip_adr_factor","label":"Pricing · PIP ADR factor","value":"Pricing · PIP ADR factor"},{"name":"rooms_revenue_before_direct_effects","label":"Rooms Revenue Before Direct Effects","value":"Sales · Rooms Revenue Before Direct Effects"},{"name":"stock.baseline_available_rooms","label":"Inventory · Baseline available room nights","value":"Inventory · Baseline available room nights"},{"name":"stock.occupied_rooms","label":"Inventory · Occupied room nights","value":"Inventory · Occupied room nights"},{"name":"stock.occupied_rooms_before_workstreams","label":"Inventory · Occupied room nights before workstreams","value":"Inventory · Occupied room nights before workstreams"},{"name":"stock.organic_occupied_rooms","label":"Inventory · Organic occupied room nights","value":"Inventory · Organic occupied room nights"}]}]},{"id":"step-effects","label":"Effects","kind":"step","rule":"Result of Room Revenue Effects","sources":[{"node":"step-sales","field":"contract_revenue","fieldLabel":"Contract Revenue","url":"/catalog/components/hotel_room_sales/#output-contract_revenue"},{"node":"step-sales","field":"group_revenue","fieldLabel":"Group Revenue","url":"/catalog/components/hotel_room_sales/#output-group_revenue"},{"node":"step-sales","field":"rooms_revenue_before_direct_effects","fieldLabel":"Rooms Revenue Before Direct Effects","url":"/catalog/components/hotel_room_sales/#output-rooms_revenue_before_direct_effects"},{"node":"step-sales","field":"transient_revenue","fieldLabel":"Transient Revenue","url":"/catalog/components/hotel_room_sales/#output-transient_revenue"},{"node":"step-sales","field":"unsegmented_revenue","fieldLabel":"Unsegmented Revenue","url":"/catalog/components/hotel_room_sales/#output-unsegmented_revenue"},{"node":"input-workstreams.disruption"},{"node":"input-workstreams.lift"}],"calls":[{"component":"hotel_room_revenue_effects","purpose":"Apply direct workstream disruption and lift to total and segment room revenue.","label":"Room Revenue Effects","bindings":[{"name":"sales.contract_revenue","label":"Sales Contract Revenue","value":"Sales · Contract Revenue"},{"name":"sales.group_revenue","label":"Sales Group Revenue","value":"Sales · Group Revenue"},{"name":"sales.rooms_revenue_before_direct_effects","label":"Sales Rooms Revenue Before Direct Effects","value":"Sales · Rooms Revenue Before Direct Effects"},{"name":"sales.transient_revenue","label":"Sales Transient Revenue","value":"Sales · Transient Revenue"},{"name":"sales.unsegmented_revenue","label":"Sales Unsegmented Revenue","value":"Sales · Unsegmented Revenue"},{"name":"workstreams.disruption","label":"Workstreams Disruption","value":"Workstreams Disruption"},{"name":"workstreams.lift","label":"Workstreams Lift","value":"Workstreams Lift"}]}]},{"id":"output-organic_revpar","kind":"output","label":"Organic RevPAR","rule":"Attribution · Organic RevPAR","sources":[{"node":"step-attribution","field":"organic_revpar","fieldLabel":"Organic RevPAR","url":"/catalog/components/hotel_room_revenue_attribution/#output-organic_revpar"}]},{"id":"output-organic_rooms_revenue","kind":"output","label":"Organic Rooms Revenue","rule":"Attribution · Organic Rooms Revenue","sources":[{"node":"step-attribution","field":"organic_rooms_revenue","fieldLabel":"Organic Rooms Revenue","url":"/catalog/components/hotel_room_revenue_attribution/#output-organic_rooms_revenue"}]},{"id":"output-pip_adr_lift","kind":"output","label":"PIP ADR lift","rule":"Attribution · PIP ADR lift","sources":[{"node":"step-attribution","field":"pip_adr_lift","fieldLabel":"PIP ADR lift","url":"/catalog/components/hotel_room_revenue_attribution/#output-pip_adr_lift"}]},{"id":"output-pip_adr_rooms_revenue","kind":"output","label":"PIP ADR rooms revenue","rule":"Attribution · PIP ADR rooms revenue","sources":[{"node":"step-attribution","field":"pip_adr_rooms_revenue","fieldLabel":"PIP ADR rooms revenue","url":"/catalog/components/hotel_room_revenue_attribution/#output-pip_adr_rooms_revenue"}]},{"id":"output-pip_occupancy_rooms_revenue","kind":"output","label":"PIP occupancy rooms revenue","rule":"Attribution · PIP occupancy rooms revenue","sources":[{"node":"step-attribution","field":"pip_occupancy_rooms_revenue","fieldLabel":"PIP occupancy rooms revenue","url":"/catalog/components/hotel_room_revenue_attribution/#output-pip_occupancy_rooms_revenue"}]},{"id":"output-pip_revpar_lift","kind":"output","label":"PIP RevPAR lift","rule":"Attribution · PIP RevPAR lift","sources":[{"node":"step-attribution","field":"pip_revpar_lift","fieldLabel":"PIP RevPAR lift","url":"/catalog/components/hotel_room_revenue_attribution/#output-pip_revpar_lift"}]},{"id":"output-pip_rooms_revenue","kind":"output","label":"PIP rooms revenue","rule":"Attribution · PIP rooms revenue","sources":[{"node":"step-attribution","field":"pip_rooms_revenue","fieldLabel":"PIP rooms revenue","url":"/catalog/components/hotel_room_revenue_attribution/#output-pip_rooms_revenue"}]},{"id":"output-rooms_revenue_before_workstreams","kind":"output","label":"Rooms Revenue Before Workstreams","rule":"Attribution · Rooms Revenue Before Workstreams","sources":[{"node":"step-attribution","field":"rooms_revenue_before_workstreams","fieldLabel":"Rooms Revenue Before Workstreams","url":"/catalog/components/hotel_room_revenue_attribution/#output-rooms_revenue_before_workstreams"}]},{"id":"output-contract_rooms_revenue","kind":"output","label":"Contract Rooms Revenue","rule":"Effects · Contract Rooms Revenue","sources":[{"node":"step-effects","field":"contract_rooms_revenue","fieldLabel":"Contract Rooms Revenue","url":"/catalog/components/hotel_room_revenue_effects/#output-contract_rooms_revenue"}]},{"id":"output-group_rooms_revenue","kind":"output","label":"Group Rooms Revenue","rule":"Effects · Group Rooms Revenue","sources":[{"node":"step-effects","field":"group_rooms_revenue","fieldLabel":"Group Rooms Revenue","url":"/catalog/components/hotel_room_revenue_effects/#output-group_rooms_revenue"}]},{"id":"output-rooms_revenue","kind":"output","label":"Rooms Revenue","rule":"Effects · Rooms Revenue","sources":[{"node":"step-effects","field":"rooms_revenue","fieldLabel":"Rooms Revenue","url":"/catalog/components/hotel_room_revenue_effects/#output-rooms_revenue"}]},{"id":"output-transient_rooms_revenue","kind":"output","label":"Transient Rooms Revenue","rule":"Effects · Transient Rooms Revenue","sources":[{"node":"step-effects","field":"transient_rooms_revenue","fieldLabel":"Transient Rooms Revenue","url":"/catalog/components/hotel_room_revenue_effects/#output-transient_rooms_revenue"}]},{"id":"output-unsegmented_rooms_revenue","kind":"output","label":"Unsegmented Rooms Revenue","rule":"Effects · Unsegmented Rooms Revenue","sources":[{"node":"step-effects","field":"unsegmented_rooms_revenue","fieldLabel":"Unsegmented Rooms Revenue","url":"/catalog/components/hotel_room_revenue_effects/#output-unsegmented_rooms_revenue"}]}],"topics":[{"label":"Room Revenue Effects","results":["output-contract_rooms_revenue","output-group_rooms_revenue","output-rooms_revenue","output-transient_rooms_revenue","output-unsegmented_rooms_revenue"]},{"label":"Room Revenue Attribution","results":["output-organic_revpar","output-organic_rooms_revenue","output-pip_adr_lift","output-pip_adr_rooms_revenue","output-pip_occupancy_rooms_revenue","output-pip_revpar_lift","output-pip_rooms_revenue","output-rooms_revenue_before_workstreams"]}]},"usedBy":[{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"}]}
