Revision 921, 1.5 kB
(checked in by ondrak, 15 years ago)
|
new (empty) green wave agent
|
Rev | Line | |
---|
[921] | 1 | agents = ( |
---|
| 2 | { // agent 1 |
---|
| 3 | class = "GreenWaveTrafficAgent"; |
---|
| 4 | name = "495"; |
---|
| 5 | sg = ( |
---|
| 6 | { name = "VA"; |
---|
| 7 | detectors = ( |
---|
| 8 | { name = "DVA1"; distance = 10;}, |
---|
| 9 | {name = "DVA"; distance = 20; } |
---|
| 10 | ); |
---|
| 11 | }, |
---|
| 12 | { name = "VB"; |
---|
| 13 | detectors = (); |
---|
| 14 | input = {}; |
---|
| 15 | output = {}; |
---|
| 16 | }); |
---|
| 17 | input = ( // remote detectors |
---|
| 18 | { |
---|
| 19 | name = "601_DVAa"; |
---|
| 20 | distance = 100; |
---|
| 21 | to_sg = ("VC","VD"); |
---|
| 22 | }, |
---|
| 23 | { |
---|
| 24 | name = "601_DVA"; |
---|
| 25 | distance = 100; |
---|
| 26 | to_sg = ("VC","VD"); |
---|
| 27 | } |
---|
| 28 | ); |
---|
| 29 | output = ( // |
---|
| 30 | { |
---|
| 31 | detectors = ("495_DVC"); |
---|
| 32 | to = "601"; |
---|
| 33 | } |
---|
| 34 | ); |
---|
| 35 | |
---|
| 36 | offset = 40; //s |
---|
| 37 | moje_special=14; |
---|
| 38 | }, |
---|
| 39 | { //agent 2 |
---|
| 40 | class = "GreenWaveTrafficAgent"; |
---|
| 41 | name = "601"; |
---|
| 42 | sg = ( |
---|
| 43 | { name = "VA"; |
---|
| 44 | detectors = ( |
---|
| 45 | { name = "DVA"; distance = 10; }, |
---|
| 46 | {name = "DVAa"; distance = 20; } |
---|
| 47 | ); |
---|
| 48 | }, |
---|
| 49 | { name = "VB"; |
---|
| 50 | detectors = (); |
---|
| 51 | } |
---|
| 52 | ); |
---|
| 53 | |
---|
| 54 | offset = 60; //s |
---|
| 55 | input = (); |
---|
| 56 | output = ({to="495"; detectors=("601_DVAa","601_DVA");}); |
---|
| 57 | } |
---|
| 58 | ); |
---|
| 59 | |
---|
| 60 | logger = {class="memlog"; filename = "zlicin"; maxlen = 1000;}; |
---|
| 61 | |
---|
| 62 | system = { |
---|
| 63 | class = "AimsunDS"; |
---|
| 64 | // CSV file with input intensities for simulation |
---|
| 65 | // original .........: entrances = "zlicin_20071212_495_601.csv"; |
---|
| 66 | // constant entrances: entrances = "zlicin_const01_495_601.csv"; |
---|
| 67 | // entrances = "zlicin_const02_495_601.csv"; |
---|
| 68 | entrances = "zlicin_const02_495_601.csv"; |
---|
| 69 | |
---|
| 70 | // Simulation length. Due to design of the Aimsun simulator, |
---|
| 71 | // simulation in our case starts always at 00:00:00. Default simulation |
---|
| 72 | // length is 24 hours (24:00:00). |
---|
| 73 | stop_time = "01:00:00"; |
---|
| 74 | }; |
---|