{"ref":{"kind":"component","id":"hotel_guestroom_renovation","key":"sha256:de7093bef6aa8703d6a33a152bf066dfe85c50e2c735cd83f1590b4d6c1f0a14"},"label":"Hotel Guestroom Renovation","description":"Retain the floor-by-floor guestroom renovation and inventory checks.","inputs":[{"label":"ADR Lift Pct","name":"adr_lift_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Disposition Year","name":"disposition_year","valueType":{"axes":[],"dtype":"f64","unit":"yr"}},{"label":"Floors","name":"floors","valueType":{"axes":[],"dtype":"f64","unit":"floors"}},{"label":"Keys","name":"keys","valueType":{"axes":[],"dtype":"f64","unit":"u"}},{"label":"Linked Budget","name":"linked_budget","valueType":{"axes":[],"dtype":"f64","unit":"$"}},{"label":"Occupancy Lift Pct","name":"occupancy_lift_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Pace","name":"pace","valueType":{"axes":[],"dtype":"f64","unit":"floors/mo"}},{"label":"Rooms","name":"rooms","valueType":{"axes":[],"dtype":"f64","unit":"u"}},{"label":"Start","name":"start","valueType":{"axes":[],"dtype":"f64","unit":"mo"}}],"outputs":[{"label":"Capital Scope Error","name":"capital_scope_error","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Completion Share","name":"completion_share","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"%"}},{"label":"Cumulative Floors","name":"cumulative_floors","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"floors"}},{"label":"Floors In Progress","name":"floors_in_progress","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"floors"}},{"label":"Inventory Error","name":"inventory_error","valueType":{"axes":[{"extent":2,"name":"inventory_check","variable":false},{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Lift Scope Error","name":"lift_scope_error","valueType":{"axes":[],"dtype":"f64","unit":"1"}},{"label":"Program Inventory Error","name":"program_inventory_error","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Rooms Available","name":"rooms_available","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Rooms Completed","name":"rooms_completed","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Rooms Eligible For Lift","name":"rooms_eligible_for_lift","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Rooms Not Started","name":"rooms_not_started","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Rooms Offline","name":"rooms_offline","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}},{"label":"Total Inventory Error","name":"total_inventory_error","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"u"}}],"dependencies":[],"libraries":["hotel_business_plan"],"notes":{},"calculation":{"nodes":[{"id":"input-adr_lift_pct","label":"ADR Lift Pct","kind":"input"},{"id":"input-disposition_year","label":"Disposition Year","kind":"input"},{"id":"input-floors","label":"Floors","kind":"input"},{"id":"input-keys","label":"Keys","kind":"input"},{"id":"input-linked_budget","label":"Linked Budget","kind":"input"},{"id":"input-occupancy_lift_pct","label":"Occupancy Lift Pct","kind":"input"},{"id":"input-pace","label":"Pace","kind":"input"},{"id":"input-rooms","label":"Rooms","kind":"input"},{"id":"input-start","label":"Start","kind":"input"},{"id":"step-plan_month","label":"Plan month","kind":"step","rule":"Lower of consecutive values from 0 to 120 and (Disposition Year × 12)","sources":[{"node":"input-disposition_year"}],"calls":[{"function":"year_to_month","label":"Year to month","bindings":[{"name":"months_per_year","label":"Months per year","value":"12"},{"name":"years","label":"Years","value":"Disposition Year"}],"rule":"(Disposition Year × 12)"}]},{"id":"step-linked_capital_enabled","label":"Linked capital enabled","kind":"step","rule":"if (Linked Budget > 0), then 1, otherwise 0","sources":[{"node":"input-linked_budget"}]},{"id":"step-schedule_enabled","label":"Schedule enabled","kind":"step","rule":"if (Rooms > 0), then 1, otherwise 0","sources":[{"node":"input-rooms"}]},{"id":"step-active","label":"Active","kind":"step","rule":"(Plan month ≥ Start)","sources":[{"node":"step-plan_month"},{"node":"input-start"}]},{"id":"step-elapsed_months","label":"Elapsed months","kind":"step","rule":"Higher of (Plan month − Start) and 0","sources":[{"node":"step-plan_month"},{"node":"input-start"}]},{"id":"step-capital_scope_error","label":"Capital Scope Error","kind":"step","rule":"(Schedule enabled − Linked capital enabled)","sources":[{"node":"step-schedule_enabled"},{"node":"step-linked_capital_enabled"}]},{"id":"step-lift_scope_error","label":"Lift Scope Error","kind":"step","rule":"(if ((Occupancy Lift Pct + ADR Lift Pct) > 0), then 1, otherwise 0 × (1 − (Schedule enabled × Linked capital enabled)))","sources":[{"node":"input-occupancy_lift_pct"},{"node":"input-adr_lift_pct"},{"node":"step-schedule_enabled"},{"node":"step-linked_capital_enabled"}]},{"id":"step-cumulative_floors","label":"Cumulative Floors","kind":"step","rule":"(Lower of ((Elapsed months + 1) × Pace) and Floors × Active)","sources":[{"node":"step-elapsed_months"},{"node":"input-pace"},{"node":"input-floors"},{"node":"step-active"}]},{"id":"step-value0","label":"(Lower of (Elapsed months × Pace) and Floors × Active)","kind":"step","rule":"(Lower of (Elapsed months × Pace) and Floors × Active)","sources":[{"node":"step-elapsed_months"},{"node":"input-pace"},{"node":"input-floors"},{"node":"step-active"}]},{"id":"output-capital_scope_error","kind":"output","label":"Capital Scope Error","rule":"Capital Scope Error","sources":[{"node":"step-capital_scope_error"}]},{"id":"output-lift_scope_error","kind":"output","label":"Lift Scope Error","rule":"Lift Scope Error","sources":[{"node":"step-lift_scope_error"}]},{"id":"output-cumulative_floors","kind":"output","label":"Cumulative Floors","rule":"Cumulative Floors","sources":[{"node":"step-cumulative_floors"}]},{"id":"step-floors_in_progress","label":"Floors In Progress","kind":"step","rule":"(Cumulative Floors − (Lower of (Elapsed months × Pace) and Floors × Active))","sources":[{"node":"step-cumulative_floors"},{"node":"step-value0"}]},{"id":"step-rooms_completed","label":"Rooms Completed","kind":"step","rule":"((Rooms × (Lower of (Elapsed months × Pace) and Floors × Active)) ÷ Floors, or 0 when the divisor is 0)","sources":[{"node":"step-value0"},{"node":"input-rooms"},{"node":"input-floors"}],"calls":[{"function":"hotel_key_floors","label":"Hotel key floors","bindings":[{"name":"floors","label":"Floors","value":"(Lower of (Elapsed months × Pace) and Floors × Active)"},{"name":"keys","label":"Keys","value":"Rooms"}],"rule":"(Rooms × (Lower of (Elapsed months × Pace) and Floors × Active))"},{"function":"hotel_keys_from_floors","label":"Hotel keys from floors","bindings":[{"name":"key_floors","label":"Key floors","value":"(Rooms × (Lower of (Elapsed months × Pace) and Floors × Active))"},{"name":"total_floors","label":"Total floors","value":"Floors"}],"rule":"((Rooms × (Lower of (Elapsed months × Pace) and Floors × Active)) ÷ Floors, or 0 when the divisor is 0)"}]},{"id":"step-rooms_offline","label":"Rooms Offline","kind":"step","rule":"((Rooms × Floors In Progress) ÷ Floors, or 0 when the divisor is 0)","sources":[{"node":"step-floors_in_progress"},{"node":"input-rooms"},{"node":"input-floors"}],"calls":[{"function":"hotel_key_floors","label":"Hotel key floors","bindings":[{"name":"floors","label":"Floors","value":"Floors In Progress"},{"name":"keys","label":"Keys","value":"Rooms"}],"rule":"(Rooms × Floors In Progress)"},{"function":"hotel_keys_from_floors","label":"Hotel keys from floors","bindings":[{"name":"key_floors","label":"Key floors","value":"(Rooms × Floors In Progress)"},{"name":"total_floors","label":"Total floors","value":"Floors"}],"rule":"((Rooms × Floors In Progress) ÷ Floors, or 0 when the divisor is 0)"}]},{"id":"output-floors_in_progress","kind":"output","label":"Floors In Progress","rule":"Floors In Progress","sources":[{"node":"step-floors_in_progress"}]},{"id":"step-rooms_eligible_for_lift","label":"Rooms Eligible For Lift","kind":"step","rule":"(Rooms Completed × Linked capital enabled)","sources":[{"node":"step-rooms_completed"},{"node":"step-linked_capital_enabled"}]},{"id":"output-rooms_completed","kind":"output","label":"Rooms Completed","rule":"Rooms Completed","sources":[{"node":"step-rooms_completed"}]},{"id":"step-rooms_available","label":"Rooms Available","kind":"step","rule":"(Keys − Rooms Offline)","sources":[{"node":"input-keys"},{"node":"step-rooms_offline"}]},{"id":"step-rooms_not_started","label":"Rooms Not Started","kind":"step","rule":"Higher of ((Rooms − Rooms Offline) − Rooms Completed) and 0","sources":[{"node":"input-rooms"},{"node":"step-rooms_offline"},{"node":"step-rooms_completed"}]},{"id":"output-rooms_offline","kind":"output","label":"Rooms Offline","rule":"Rooms Offline","sources":[{"node":"step-rooms_offline"}]},{"id":"step-completion_share","label":"Completion Share","kind":"step","rule":"Lower of (Rooms Eligible For Lift ÷ Keys, or 0 when the divisor is 0) and 1","sources":[{"node":"step-rooms_eligible_for_lift"},{"node":"input-keys"}],"calls":[{"function":"hotel_key_share","label":"Hotel key share","bindings":[{"name":"keys","label":"Keys","value":"Rooms Eligible For Lift"},{"name":"total_keys","label":"Total keys","value":"Keys"}],"rule":"(Rooms Eligible For Lift ÷ Keys, or 0 when the divisor is 0)"}]},{"id":"output-rooms_eligible_for_lift","kind":"output","label":"Rooms Eligible For Lift","rule":"Rooms Eligible For Lift","sources":[{"node":"step-rooms_eligible_for_lift"}]},{"id":"step-total_inventory_error","label":"Total Inventory Error","kind":"step","rule":"((Rooms Available + Rooms Offline) − Keys)","sources":[{"node":"step-rooms_available"},{"node":"step-rooms_offline"},{"node":"input-keys"}]},{"id":"output-rooms_available","kind":"output","label":"Rooms Available","rule":"Rooms Available","sources":[{"node":"step-rooms_available"}]},{"id":"step-program_inventory_error","label":"Program Inventory Error","kind":"step","rule":"(((Rooms Not Started + Rooms Offline) + Rooms Completed) − Rooms)","sources":[{"node":"step-rooms_not_started"},{"node":"step-rooms_offline"},{"node":"step-rooms_completed"},{"node":"input-rooms"}]},{"id":"output-rooms_not_started","kind":"output","label":"Rooms Not Started","rule":"Rooms Not Started","sources":[{"node":"step-rooms_not_started"}]},{"id":"output-completion_share","kind":"output","label":"Completion Share","rule":"Completion Share","sources":[{"node":"step-completion_share"}]},{"id":"output-total_inventory_error","kind":"output","label":"Total Inventory Error","rule":"Total Inventory Error","sources":[{"node":"step-total_inventory_error"}]},{"id":"output-inventory_error","kind":"output","label":"Inventory Error","rule":"Stack along axis(Program Inventory Error, Total Inventory Error, Inventory check)","sources":[{"node":"step-program_inventory_error"},{"node":"step-total_inventory_error"}]},{"id":"output-program_inventory_error","kind":"output","label":"Program Inventory Error","rule":"Program Inventory Error","sources":[{"node":"step-program_inventory_error"}]}],"topics":[{"label":"Hotel Guestroom Renovation","results":["output-capital_scope_error","output-completion_share","output-cumulative_floors","output-floors_in_progress","output-inventory_error","output-lift_scope_error","output-program_inventory_error","output-rooms_available","output-rooms_completed","output-rooms_eligible_for_lift","output-rooms_not_started","output-rooms_offline","output-total_inventory_error"]}]},"usedBy":[{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"}]}
