User Tools

Site Tools


public:i-700-abms-08-1:simulation_version_1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:i-700-abms-08-1:simulation_version_1 [2008/03/06 18:16] ivarpublic:i-700-abms-08-1:simulation_version_1 [2024/04/29 13:33] (current) – external edit 127.0.0.1
Line 12: Line 12:
 These industries will be waiting for the "sold" response from the market. They are waiting for someone to catch their offer. These industries will be waiting for the "sold" response from the market. They are waiting for someone to catch their offer.
  
-If the Market receives a "buy" message and the "offers" array is not empty it will immediately scan this list to look for an offer that fit this bid.+If the Market receives a "buy" message and the "offers" array is not empty it will immediately scan this list to look for an offer that fits this bid:
  
 ''if offer number N has enough units AND the price is lower than my max price'' ''if offer number N has enough units AND the price is lower than my max price''
-that industry will get the carbon quotas it asked for.+ 
 +..that industry will get the carbon quotas it asked for.
  
 If the Market gets a "buy" message but NO offers are in the list then a response will be immediately given. The content will contain the field "bought" set to "No". If the Market gets a "buy" message but NO offers are in the list then a response will be immediately given. The content will contain the field "bought" set to "No".
 +
 So that industry will go back to calculate its stuff (e.g. "how much is my amount right now? what do I have to do? buy or sell?..") So that industry will go back to calculate its stuff (e.g. "how much is my amount right now? what do I have to do? buy or sell?..")
- 
---to be completed 
- 
- 
  
 ====== Industry ====== ====== Industry ======
Line 35: Line 33:
 And they listen to all messages from the market of the form:\\ And they listen to all messages from the market of the form:\\
    * carbon.quota.response    * carbon.quota.response
-      * There they are only interested in the messages that have the sentTo with their name in it. If there is some other name there they ignore that message.+      * There they are only interested in the messages that have the sentTo with their name in it. Otherwise it gets ignored.
  
 In this first version the industries are able to get the initial values from the psySpec file. They can decide upon if they want to sell or buy carbon quotas.\\  In this first version the industries are able to get the initial values from the psySpec file. They can decide upon if they want to sell or buy carbon quotas.\\ 
/var/www/cadia.ru.is/wiki/data/attic/public/i-700-abms-08-1/simulation_version_1.1204827417.txt.gz · Last modified: 2024/04/29 13:32 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki