agents = (
	{ // agent 1
	class = "BaseTrafficAgent";
	  name = "495";
	  sg = (
	    { name = "VA";
	      detectors = (
			{ name = "DVA1";  distance = 10;}, 
	      {name = "DVA";  distance = 20; }
	      );
	    }, 
	    { name = "VB";
	      detectors = ();
	      input = {};
	      output = {};
	    });
  input = ( // remote detectors 
    {
      name = "601_DVAa";
		distance = 100;
      to_sg = ("VC","VD");
    },
    {
      name = "601_DVA";
		distance = 100;
      to_sg = ("VC","VD");
    }
  );
  output = ( // 
     {
		detectors = ("495_DVC");
      to = "601";
      }
  );

  offset = 40; //s
  moje_special=14;
},
{ //agent 2
	class = "BaseTrafficAgent";
  name = "601";
  sg = (
    { name = "VA";
      detectors = (
		{ name = "DVA"; distance = 10; }, 
		 {name = "DVAa"; distance = 20; }
      );
    }, 
    { name = "VB";
      detectors = ();
    }
  );
  
  offset = 60; //s
	input = ();
	output = ({to="495"; detectors=("601_DVAa","601_DVA");});
}
);

logger = {class="memlog"; filename = "zlicin"; maxlen = 1000;};

// CSV file with input intensities for simulation
// original .........: entrances = "zlicin_20071212_495_601.csv";
// constant entrances: entrances = "zlicin_const01_495_601.csv";
//                     entrances = "zlicin_const02_495_601.csv";
entrances = "zlicin_const02_495_601.csv";

// Simulation length. Due to design of the Aimsun simulator,
// simulation in our case starts always at 00:00:00. Default simulation
// length is 24 hours (24:00:00).
stop_time = "01:00:00";
