Download Simulator Development - Annual Report Year 3

Transcript
CHAPTER 2. SIMULATOR REFINEMENT
15
resource bundle base units. Like in the service market configuration, the same initial resource market price s has to be configured along with the initial minimum and
maximum prices for buyers and seller, which trade this product and hard upper and
lower limit prices. The lower limit price is the minimum price a resource provider
is willing to sell this product and the hard upper limit price is the budget of the resource consumer. Finally, each resource provider reads the list of possible resource
products (arb.itemids) and decides according to his available resource items, if he
is able to provide this resource product.
< resource
< resource
...
< resource
< resource
< resource
< resource
< resource
< resource
< resource
product id > .resourceids =< resource1 > ... < resourcen >
product id > .baseunit. < resource1 >=< int >
product
product
product
product
product
product
product
id > .baseunit. < resourcen >=< int >
id > .seller.minP rice =< double >
id > .seller.maxP rice =< double >
id > .buyer.minP rice =< double >
id > .buyer.maxP rice =< double >
id > .hard.lower.limit =< double >
id > .hard.upper.limit =< double >
arb.itemids =< resourcep roducti d1 > ... < resourcep roducti dn >
An example of one resource product is shown below. The resource bundle consists
of three base resources. Multiples of 1 ram unit, 2 cpu units and 1 storage unit are
tradeable. Both, resource buyer and resource seller start with the same initial price
range. The budget of the buyer is set to 50 and the seller’s minimum price is 20.
There is only one product tradeable on the resource market. The resource providers
check, if they are able to provide resource bundle r1.
r1.resourceids = ram cpu storage
r1.baseunit.ram = 1
r1.baseunit.cpu = 2
r1.baseunit.storage = 1
r1.seller.minPrice = 25
r1.seller.maxPrice = 40
r1.buyer.minPrice = 25
r1.buyer.maxPrice = 40
r1.hard.lower.limit = 20
r1.hard.upper.limit = 50
arb.itemids = r1