{"ref":{"kind":"component","id":"hotel_acquisition","key":"sha256:4cb690db1d077bae513ada73d6efa441da8a5bd7b95abb543e888371cfa1eb47"},"label":"Hotel Acquisition","description":"Retain hotel purchase price and transaction costs paid at closing.","inputs":[{"label":"Acquisition Fee Pct","name":"acquisition_fee_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Buyside Broker Pct","name":"buyside_broker_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Franchise Application Fee Per Key","name":"franchise_application_fee_per_key","valueType":{"axes":[],"dtype":"f64","unit":"$/u"}},{"label":"Keys","name":"keys","valueType":{"axes":[],"dtype":"f64","unit":"u"}},{"label":"Legal Title Due Diligence Pct","name":"legal_title_due_diligence_pct","valueType":{"axes":[],"dtype":"f64","unit":"%"}},{"label":"Price","name":"price","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"outputs":[{"label":"Buyside Broker CF","name":"buyside_broker_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"CF","name":"cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Fee CF","name":"fee_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Franchise Application Fee CF","name":"franchise_application_fee_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Legal Title Due Diligence CF","name":"legal_title_due_diligence_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Price CF","name":"price_cf","valueType":{"axes":[{"extent":121,"name":"month","variable":false}],"dtype":"f64","unit":"$"}},{"label":"Price Per Key","name":"price_per_key","valueType":{"axes":[],"dtype":"f64","unit":"$/u"}},{"label":"Uses","name":"uses","valueType":{"axes":[],"dtype":"f64","unit":"$"}}],"dependencies":[{"id":"acquisition_basis","key":"sha256:911474f0912079b02f840187719a8fb4dff0b49925b0cd3948ebb55bf23d958c","kind":"component"}],"libraries":["hotel_business_plan"],"notes":{},"calculation":{"nodes":[{"id":"input-acquisition_fee_pct","label":"Acquisition Fee Pct","kind":"input"},{"id":"input-buyside_broker_pct","label":"Buyside Broker Pct","kind":"input"},{"id":"input-franchise_application_fee_per_key","label":"Franchise Application Fee Per Key","kind":"input"},{"id":"input-keys","label":"Keys","kind":"input"},{"id":"input-legal_title_due_diligence_pct","label":"Legal Title Due Diligence Pct","kind":"input"},{"id":"input-price","label":"Price","kind":"input"},{"id":"step-value2","label":"(Keys × Franchise Application Fee Per Key)","kind":"step","rule":"(Keys × Franchise Application Fee Per Key)","sources":[{"node":"input-keys"},{"node":"input-franchise_application_fee_per_key"}]},{"id":"step-price_cf","label":"Price CF","kind":"step","rule":"((Price × -1) × fixed schedule of 121 values (month))","sources":[{"node":"input-price"}]},{"id":"step-value0","label":"(Price × Buyside Broker Pct)","kind":"step","rule":"(Price × Buyside Broker Pct)","sources":[{"node":"input-price"},{"node":"input-buyside_broker_pct"}]},{"id":"step-value1","label":"(Price × Legal Title Due Diligence Pct)","kind":"step","rule":"(Price × Legal Title Due Diligence Pct)","sources":[{"node":"input-price"},{"node":"input-legal_title_due_diligence_pct"}]},{"id":"step-value3","label":"(Price × Acquisition Fee Pct)","kind":"step","rule":"(Price × Acquisition Fee Pct)","sources":[{"node":"input-price"},{"node":"input-acquisition_fee_pct"}]},{"id":"output-price_per_key","kind":"output","label":"Price Per Key","rule":"(Price ÷ Keys, or 0 when the divisor is 0)","sources":[{"node":"input-price"},{"node":"input-keys"}],"calls":[{"function":"hotel_money_per_key","label":"Hotel money per key","bindings":[{"name":"amount","label":"Amount","value":"Price"},{"name":"keys","label":"Keys","value":"Keys"}],"rule":"(Price ÷ Keys, or 0 when the divisor is 0)"}]},{"id":"step-franchise_application_fee_cf","label":"Franchise Application Fee CF","kind":"step","rule":"(((Keys × Franchise Application Fee Per Key) × -1) × fixed schedule of 121 values (month))","sources":[{"node":"step-value2"}]},{"id":"output-price_cf","kind":"output","label":"Price CF","rule":"Price CF","sources":[{"node":"step-price_cf"}]},{"id":"step-buyside_broker_cf","label":"Buyside Broker CF","kind":"step","rule":"(((Price × Buyside Broker Pct) × -1) × fixed schedule of 121 values (month))","sources":[{"node":"step-value0"}]},{"id":"step-legal_title_due_diligence_cf","label":"Legal Title Due Diligence CF","kind":"step","rule":"(((Price × Legal Title Due Diligence Pct) × -1) × fixed schedule of 121 values (month))","sources":[{"node":"step-value1"}]},{"id":"step-basis","label":"Basis","kind":"step","rule":"Result of Acquisition basis","sources":[{"node":"step-value3"},{"node":"step-value1"},{"node":"step-value2"},{"node":"step-value0"},{"node":"input-price"}],"calls":[{"component":"acquisition_basis","purpose":"Derive gross and net acquisition basis from transaction components.","label":"Acquisition basis","bindings":[{"name":"acquisition_fee","label":"Acquisition Fee","value":"(Price × Acquisition Fee Pct)"},{"name":"basis_adjustments","label":"Basis Adjustments","value":"0"},{"name":"closing_costs","label":"Closing Costs","value":"((Price × Legal Title Due Diligence Pct) + (Keys × Franchise Application Fee Per Key))"},{"name":"other_transaction_costs","label":"Other Transaction Costs","value":"(Price × Buyside Broker Pct)"},{"name":"purchase_price","label":"Purchase Price","value":"Price"},{"name":"seller_credits","label":"Seller Credits","value":"0"}]}]},{"id":"step-fee_cf","label":"Fee CF","kind":"step","rule":"(((Price × Acquisition Fee Pct) × -1) × fixed schedule of 121 values (month))","sources":[{"node":"step-value3"}]},{"id":"output-franchise_application_fee_cf","kind":"output","label":"Franchise Application Fee CF","rule":"Franchise Application Fee CF","sources":[{"node":"step-franchise_application_fee_cf"}]},{"id":"output-buyside_broker_cf","kind":"output","label":"Buyside Broker CF","rule":"Buyside Broker CF","sources":[{"node":"step-buyside_broker_cf"}]},{"id":"output-legal_title_due_diligence_cf","kind":"output","label":"Legal Title Due Diligence CF","rule":"Legal Title Due Diligence CF","sources":[{"node":"step-legal_title_due_diligence_cf"}]},{"id":"step-uses","label":"Uses","kind":"step","rule":"(Basis · Gross Purchase Basis + 0)","sources":[{"node":"step-basis","field":"gross_purchase_basis","fieldLabel":"Gross Purchase Basis","url":"/catalog/components/acquisition_basis/#output-gross_purchase_basis"}]},{"id":"step-cf","label":"CF","kind":"step","rule":"((((Price CF + Legal Title Due Diligence CF) + Franchise Application Fee CF) + Buyside Broker CF) + Fee CF)","sources":[{"node":"step-price_cf"},{"node":"step-legal_title_due_diligence_cf"},{"node":"step-franchise_application_fee_cf"},{"node":"step-buyside_broker_cf"},{"node":"step-fee_cf"}]},{"id":"output-fee_cf","kind":"output","label":"Fee CF","rule":"Fee CF","sources":[{"node":"step-fee_cf"}]},{"id":"output-uses","kind":"output","label":"Uses","rule":"Uses","sources":[{"node":"step-uses"}]},{"id":"output-cf","kind":"output","label":"CF","rule":"CF","sources":[{"node":"step-cf"}]}],"topics":[{"label":"Hotel Acquisition","results":["output-buyside_broker_cf","output-cf","output-fee_cf","output-franchise_application_fee_cf","output-legal_title_due_diligence_cf","output-price_cf","output-price_per_key","output-uses"]}]},"usedBy":[{"kind":"recipe","id":"hotel","key":"sha256:bf0956eceaed37e652044e718371c50f6d742ef9dc4b93edf968a748eda841c3"}]}
