root/applications/doprava/Zlicin.cfg @ 1026

Revision 1026, 1.5 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 = "BaseTrafficAgent";
4        name = "495";
5        lanes = (
6                        { sg="VA"; inputs = ("495_DVA1","495_DVB");  outputs= ("601_DVA"); input_distances=[30,30]; output_distances=[200]; alpha= [1.0 ]; queue="495_Q1";},
7                        { sg="VB"; inputs = ("495_DVA1","495_DVB");  outputs= ("601_DVB"); input_distances=[30,30]; output_distances=[200]; alpha= [1.0 ]; queue="495_Q2";}
8        );
9        neighbours = ("601");
10        offset = 10; //s
11        moje_special=14;
12},
13{ //agent 2
14        class = "BaseTrafficAgent";
15        name = "601";
16        lanes = (
17                        { sg="VA"; inputs = ("601_DVA","601_DVB");  outputs= ("495_DVA"); input_distances=[30,30]; output_distances=[200]; alpha= [1.0 ]; queue="601_Q1";},
18                        { sg="VB"; inputs = ("601_DVC","601_DVD");  outputs= ("495_DVB"); input_distances=[30,30]; output_distances=[200]; alpha= [1.0 ]; queue="601_Q2";}
19        ); 
20        neighbours = ("495");
21        offset = 40;
22
23}
24
25);
26
27logger = {class="memlog"; filename = "mujlog"; maxlen = 1000;};
28
29
30
31
32system = {
33        class = "AimsunDS";
34        // CSV file with input intensities for simulation
35        // original .........: entrances = "zlicin_20071212_495_601.csv";
36        // constant entrances: entrances = "zlicin_const01_495_601.csv";
37        //                     entrances = "zlicin_const02_495_601.csv";
38        entrances = "zlicin_const02_495_601.csv";
39
40        // Simulation length. Due to design of the Aimsun simulator,
41        // simulation in our case starts always at 00:00:00. Default simulation
42        // length is 24 hours (24:00:00).
43        stop_time = "01:00:00";
44       
45};
46
47//Number of recieve/broadcast calls before end of negotiation
48negotiation_cycles = 5;
Note: See TracBrowser for help on using the browser.