{% load otree_tags staticfiles %}

Overview of calculations

REVENUES:

1. Case - The {{ Constants.p1 }} agrees on the "common wholesale price":

{{ Constants.p1 }}: revenue = common wholesale price × {{ Constants.units }} units - {{ Constants.production_cost }} × {{ Constants.units }} units

{{ Constants.p2 }}: revenue = {{ Constants.market_price }} × ({{ Constants.units }} ÷ 2) units - common wholesale price × ({{ Constants.units }} ÷ 2) units

{{ Constants.p3 }}: revenue = {{ Constants.market_price }} × ({{ Constants.units }} ÷ 2) units - common wholesale price × ({{ Constants.units }} ÷ 2) units

!Note: If "common agreement" holds, the market demand is equally split between the supermarkets!

2. Case - The {{ Constants.p1 }} decides to propose different wholesale prices:

2.1 Case - agreement between the {{ Constants.p1 }} and {{ Constants.p2 }}:

{{ Constants.p1 }}: revenue = wholesale price × {{ Constants.units }} ÷ 2) units - {{ Constants.production_cost }} × {{ Constants.units }} units

{{ Constants.p2 }}: revenue = {{ Constants.market_price }} × {{ Constants.units }} units - wholesale price × {{ Constants.units }} units

{{ Constants.p3 }}: revenue = {{ Constants.payoff_if_rejected }}

2.2 Case - agreement between the {{ Constants.p1 }} and {{ Constants.p3 }}:

{{ Constants.p1 }}: revenue = wholesale price × {{ Constants.units }} ÷ 2) units - {{ Constants.production_cost }} × {{ Constants.units }} units

{{ Constants.p2 }}: revenue = {{ Constants.payoff_if_rejected }}

{{ Constants.p3 }}: revenue = {{ Constants.market_price }} × {{ Constants.units }} units - wholesale price × {{ Constants.units }} units

3. Case - The {{ Constants.p1 }} decided to propose different wholesale prices, but both supermarkets rejected the vintners offer:

{{ Constants.p1 }}: revenue = common wholesale price × {{ Constants.units }} units - {{ Constants.production_cost }} × {{ Constants.units }} units

{{ Constants.p2 }}: revenue = {{ Constants.market_price }} × ({{ Constants.units }} ÷ 2) units - common wholesale price × ({{ Constants.units }} ÷ 2) units

{{ Constants.p3 }}: revenue = {{ Constants.market_price }} × ({{ Constants.units }} ÷ 2) units - common wholesale price × ({{ Constants.units }} ÷ 2) units

!Note: This case is treated as the first case. The vintner is forced to sell at the "common wholesale" and the market demand is equally split between the two retailer.


REAL PAYOFFS:

payoff = revenue × 0.02 + #bonus for participating in the experiment