root/applications/doprava/Zlicinct.cfg @ 1269

Revision 1138, 4.1 kB (checked in by jabu, 14 years ago)
Line 
1agents = (
2        { // agent 1
3        class = "TrafficAgentCycleTime";
4        name = "495";
5        lanes = (
6                        { sg="VA"; inputs = ("495_DVA1");  outputs= ("DUMMY_DET"); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="495_QA"; beta=1;},
7                        { sg="VB"; inputs = ("495_DVB1");  outputs= ("601_DVA","601_DVAa"); input_distances=[30]; output_distances=[190,190]; alpha= [0.5,0.5 ]; queue="495_QB"; beta=1;},
8                        { sg="VC"; inputs = ("495_DVC");  outputs= ("DUMMY_DET"); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="495_QC"; beta=1;},
9                        { sg="VD"; inputs = ("495_DVD");  outputs= ("DUMMY_DET"); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="495_QD"; beta=1;},
10                        { sg="VE"; inputs = ("495_DVE");  outputs= ("601_DVA","601_DVAa"); input_distances=[30]; output_distances=[190,190]; alpha= [0.5,0.5 ]; queue="495_QE"; beta=1;},
11                        { sg="VF"; inputs = ("495_DVF1");  outputs= ("DUMMY_DET"); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="495_QF"; beta=1;}
12        );
13        // alfa - pomer odboceni
14        // beta (Kamil) jeho vlastni pomerna cast fronty
15        neighbours = ("601");
16        offset = 10; //s
17  green_names = ("495_VA","495_VB","495_VC","495_VD","495_VE","495_VF");
18  green_starts=[72,4,5,35,36,71];
19  green_times = [0.325,0.1375,0.65,0.275,0.1375,0.5125];// fractions of cycle_length
20  stage_names = ("495_F1","495_F2","495_F3");
21  stage_times = [30,30,20];
22 
23},
24{ //agent 2
25        class = "TrafficAgentCycleTime";
26        name = "601";
27        lanes = (
28                        { sg="VA"; inputs = ("601_DVA");   outputs= ("DUMMY_DET","DUMMY_DET"); input_distances=[30]; output_distances=[200,200]; alpha= [0.54, 0.46 ]; queue="601_QA2"; beta=1;},
29                        { sg="VA"; inputs = ("601_DVAa");  outputs= ("DUMMY_DET","DUMMY_DET"); input_distances=[30]; output_distances=[200,200]; alpha= [0.44,0.56]; queue="601_QA1"; beta=1;},
30                        { sg="VB"; inputs = ("601_DVB1");  outputs= ("DUMMY_DET","495_DVC","495_DVD"); input_distances=[30]; output_distances=[200,190,190]; alpha= [0.1,0.4,0.5 ]; queue="601_QB2"; beta=1;},
31                        { sg="VB"; inputs = ("601_DVB1");  outputs= ("DUMMY_DET"); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="601_QB1"; beta=1;},
32                        { sg="VC"; inputs = ("601_DVC");   outputs= ("495_DVC","495_DVD","DUMMY_DET"); input_distances=[30]; output_distances=[190,190,200]; alpha= [0.35,0.35,0.3 ]; queue="601_QC"; beta=1;},
33                        { sg="VD"; inputs = ("601_DVD1");  outputs= ("DUMMY_DET"); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="601_QD"; beta=1;},
34                        { sg="SE"; inputs = ("601_DSE1");  outputs= ("DUMMY_DET"); input_distances=[30]; output_distances=[200]; alpha= [1.0 ]; queue="601_QSE"; beta=1;},
35                        { sg="VE"; inputs = ("601_DVE1");  outputs= ("495_DVC","495_DVD"); input_distances=[30]; output_distances=[190,190]; alpha= [0.5,0.5 ]; queue="601_QE"; beta=1;}
36        ); 
37        neighbours = ("495");
38        offset = 40;
39        green_names = ("601_VA","601_VB","601_VC","601_VD","601_VE","601_SE");
40  green_starts=[72,4,5,35,36,71];
41  green_times = [0.325,0.1375,0.65,0.275,0.1375,0.5125];// ratios of green of 80s
42  stage_names = ("601_F1","601_F2","601_F3");
43  stage_times = [30,30,20];
44       
45       
46       
47 
48
49}
50
51);
52
53logger = {class="memlog"; filename = "mujlog"; maxlen = 1000;};
54
55system = {
56        class = "AimsunDS";
57        // CSV file with input intensities for simulation
58        // original .........: entrances = "zlicin_20071212_495_601.csv";
59        // constant entrances: entrances = "zlicin_const01_495_601.csv";
60        //                     entrances = "zlicin_const02_495_601.csv";
61        entrances = "zlicin_const02_495_601.csv";
62
63        // Simulation length. Due to design of the Aimsun simulator,
64        // simulation in our case starts always at 00:00:00. Default simulation
65        // length is 24 hours (24:00:00).
66        stop_time = "01:00:00";
67       
68        // Simulation length in number of cycles (one cycle = 90 s)
69        // If present, overwrites stop_time. Ensures corrent termination of simulation
70        // Example: 1 hour = 40 cycles, 6 hours = 240 cycles, 24 hours = 960
71        stop_cycle=80;
72       
73};
74
75//Number of recieve/broadcast calls before end of negotiation
76negotiation_cycles = 5;
77
78cycle_lenght=80;
79step_length=90; //simulator's step length   
Note: See TracBrowser for help on using the browser.