root/applications/doprava/Zlicingw.cfg @ 986

Revision 986, 1.7 kB (checked in by ondrak, 14 years ago)

added queues 601_Q1 and 601_Q2 to aimsun_ds.cpp
added function to count expected_density to LaneHandler?
added compulsory input_distances and output_distances to cfg
action_rv renamed to rv_action (to match convention)
some work on GreenWaveTrafficAgent?

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