*/
protected void saveData(String filename, SimModel model) throws IOException
{
PrintWriter out=new PrintWriter(new FileWriter(new File(filename)));
out.println("# Data exported by Green Light District"); out.println("#");
Infrastructure infra = model.getInfrastructure();
out.println("# Infrastructure: \"" + infra.getTitle() + "\" by " + infra.getAuthor());
out.println("# Simulation: \"" + model.getSimName() + "\"");
out.println("# Tracking data: \"" + getDescription() + "\"");
out.println("# Measured: " + getYLabel()); out.println("#");
String fieldsDesc = "";
for(int i=0; i<MAX_TRACK; i++)