root/applications/doprava/Zlicingw.cfg @ 1056

Revision 1026, 3.0 kB (checked in by ondrak, 14 years ago)

zlicin.cfg now compatible with BaseTrafficAgent?.
main_loop shows warning, if reaches max number of negotiation cycles
step_time and cycle_time renamed to step_length and cycle_length
GreenWaveTrafficAgent? works, but queues are not from Aimsun yet.

Line 
1agents = (
2        { // agent 1
3        class = "GreenWaveTrafficAgent";
4        name = "495";
5        lanes = (
6                        { sg="VA"; inputs = ("495_DVA1");  outputs= (""); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="495_Q1";},
7                        { sg="VB"; inputs = ("495_DVB1");  outputs= ("601_DVA","601_DVAa"); input_distances=[30]; output_distances=[200,200]; alpha= [0.5,0.5 ]; queue="495_Q2";},
8                        { sg="VC"; inputs = ("495_DVC");  outputs= (""); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="495_Q1";},
9                        { sg="VD"; inputs = ("495_DVD");  outputs= (""); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="495_Q2";},
10                        { sg="VE"; inputs = ("495_DVE");  outputs= ("601_DVA","601_DVAa"); input_distances=[30]; output_distances=[200,200]; alpha= [0.5,0.5 ]; queue="495_Q1";},
11                        { sg="VF"; inputs = ("495_DVF1");  outputs= (""); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="495_Q2";}
12        );
13        neighbours = ("601");
14        offset = 10; //s
15        sgs=("VA","VB","VC","VD","VE","VF");
16        green_starts=[72,4,5,35,36,71];
17        moje_special=14;
18},
19{ //agent 2
20        class = "GreenWaveTrafficAgent";
21        name = "601";
22        lanes = (
23                        { sg="VA"; inputs = ("601_DVA");  outputs= (""); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="601_Q1";},
24                        { sg="VA"; inputs = ("601_DVAa");  outputs= (""); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="601_Q2";},
25                        { sg="VB"; inputs = ("601_DVB1");  outputs= ("495_DVC","495_DVD"); input_distances=[30]; output_distances=[200,200]; alpha= [0.5,0.5 ]; queue="601_Q1";},
26                        { sg="VB"; inputs = ("601_DVB1");  outputs= (""); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="601_Q2";},
27                        { sg="VC"; inputs = ("601_DVC");  outputs= ("495_DVC","495_DVD"); input_distances=[30]; output_distances=[200,200]; alpha= [1.0 ]; queue="601_Q1";},
28                        { sg="VD"; inputs = ("601_DVD1");  outputs= (""); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="601_Q2";},
29                        { sg="SE"; inputs = ("601_DSE1");  outputs= (""); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="601_Q1";},
30                        { sg="VE"; inputs = ("601_DVE1");  outputs= ("495_DVC","495_DVD"); input_distances=[30]; output_distances=[200,200]; alpha= [0.5,0.5 ]; queue="601_Q2";}
31        ); 
32        neighbours = ("495");
33        offset = 40;
34        sgs=("VA","VB","VC","VD","VE","SE");
35        green_starts=[54,9,26,25,9,9];
36}
37
38);
39
40logger = {class="memlog"; filename = "mujzlicin"; maxlen = 1000;};
41
42
43
44
45system = {
46        class = "AimsunDS";
47        // CSV file with input intensities for simulation
48        // original .........: entrances = "zlicin_20071212_495_601.csv";
49        // constant entrances: entrances = "zlicin_const01_495_601.csv";
50        //                     entrances = "zlicin_const02_495_601.csv";
51        entrances = "zlicin_const02_495_601.csv";
52
53        // Simulation length. Due to design of the Aimsun simulator,
54        // simulation in our case starts always at 00:00:00. Default simulation
55        // length is 24 hours (24:00:00).
56        stop_time = "00:30:00";
57       
58};
59
60//Number of recieve/broadcast calls before end of negotiation
61negotiation_cycles = 15;
Note: See TracBrowser for help on using the browser.