Revision 941, 1.2 kB
(checked in by ondrak, 14 years ago)
|
greenwave agents sending and receiving some expectations
very basic expected_output counting in Lane_Handler
|
Line | |
---|
1 | agents = ( |
---|
2 | { // agent 1 |
---|
3 | class = "GreenWaveTrafficAgent"; |
---|
4 | name = "495"; |
---|
5 | lanes = ( |
---|
6 | { sg="VA"; inputs = ("495_DVA1","495_DVB"); outputs= ("601_DVA"); alpha= [1.0 ]; queue="495_Q1";}, |
---|
7 | { sg="VB"; inputs = ("495_DVA1","495_DVB"); outputs= ("601_DVA"); alpha= [1.0 ]; queue="495_Q2";} |
---|
8 | ); |
---|
9 | neighbours = ("601"); |
---|
10 | offset = 40; //s |
---|
11 | sgs=("VA","VB","VC","VD","VE","VF"); |
---|
12 | moje_special=14; |
---|
13 | }, |
---|
14 | { //agent 2 |
---|
15 | class = "GreenWaveTrafficAgent"; |
---|
16 | name = "601"; |
---|
17 | neighbours = ("495"); |
---|
18 | sgs=("VA","VB","VC","VD","VE"); |
---|
19 | } |
---|
20 | |
---|
21 | ); |
---|
22 | |
---|
23 | logger = {class="memlog"; filename = "zlicin"; maxlen = 1000;}; |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | system = { |
---|
29 | class = "AimsunDS"; |
---|
30 | // CSV file with input intensities for simulation |
---|
31 | // original .........: entrances = "zlicin_20071212_495_601.csv"; |
---|
32 | // constant entrances: entrances = "zlicin_const01_495_601.csv"; |
---|
33 | // entrances = "zlicin_const02_495_601.csv"; |
---|
34 | entrances = "zlicin_const02_495_601.csv"; |
---|
35 | |
---|
36 | // Simulation length. Due to design of the Aimsun simulator, |
---|
37 | // simulation in our case starts always at 00:00:00. Default simulation |
---|
38 | // length is 24 hours (24:00:00). |
---|
39 | stop_time = "00:05:00"; |
---|
40 | |
---|
41 | }; |
---|
42 | |
---|
43 | //Number of recieve/broadcast calls before end of negotitaion |
---|
44 | negotiation_cycles = 5; |
---|