Revision 876, 1.5 kB
(checked in by prikryl, 14 years ago)
|
Additional parameters for AimsunDS.
|
Rev | Line | |
---|
[820] | 1 | agents = ( |
---|
| 2 | { // agent 1 |
---|
[819] | 3 | class = "BaseTrafficAgent"; |
---|
[820] | 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 |
---|
[816] | 18 | { |
---|
[842] | 19 | name = "601_DVAa"; |
---|
[819] | 20 | distance = 100; |
---|
[836] | 21 | to_sg = ("VC","VD"); |
---|
[816] | 22 | }, |
---|
| 23 | { |
---|
[840] | 24 | name = "601_DVA"; |
---|
[819] | 25 | distance = 100; |
---|
[836] | 26 | to_sg = ("VC","VD"); |
---|
[816] | 27 | } |
---|
[820] | 28 | ); |
---|
| 29 | output = ( // |
---|
[816] | 30 | { |
---|
[842] | 31 | detectors = ("495_DVC"); |
---|
[816] | 32 | to = "601"; |
---|
| 33 | } |
---|
[820] | 34 | ); |
---|
[816] | 35 | |
---|
| 36 | offset = 40; //s |
---|
[836] | 37 | moje_special=14; |
---|
[816] | 38 | }, |
---|
[820] | 39 | { //agent 2 |
---|
[819] | 40 | class = "BaseTrafficAgent"; |
---|
[816] | 41 | name = "601"; |
---|
[820] | 42 | sg = ( |
---|
[816] | 43 | { name = "VA"; |
---|
[820] | 44 | detectors = ( |
---|
[840] | 45 | { name = "DVA"; distance = 10; }, |
---|
| 46 | {name = "DVAa"; distance = 20; } |
---|
[820] | 47 | ); |
---|
[816] | 48 | }, |
---|
| 49 | { name = "VB"; |
---|
[820] | 50 | detectors = (); |
---|
[816] | 51 | } |
---|
[820] | 52 | ); |
---|
[816] | 53 | |
---|
| 54 | offset = 60; //s |
---|
[820] | 55 | input = (); |
---|
[842] | 56 | output = ({to="495"; detectors=("601_DVAa","601_DVA");}); |
---|
[816] | 57 | } |
---|
[842] | 58 | ); |
---|
[876] | 59 | |
---|
| 60 | logger = {class="memlog"; filename = "zlicin"; maxlen = 1000;}; |
---|
| 61 | |
---|
| 62 | // CSV file with input intensities for simulation |
---|
| 63 | // original .........: entrances = "zlicin_20071212_495_601.csv"; |
---|
| 64 | // constant entrances: entrances = "zlicin_const01_495_601.csv"; |
---|
| 65 | // entrances = "zlicin_const02_495_601.csv"; |
---|
| 66 | entrances = "zlicin_const02_495_601.csv"; |
---|
| 67 | |
---|
| 68 | // Simulation length. Due to design of the Aimsun simulator, |
---|
| 69 | // simulation in our case starts always at 00:00:00. Default simulation |
---|
| 70 | // length is 24 hours (24:00:00). |
---|
| 71 | stop_time = "01:00:00"; |
---|