public static void initUrbanSimZoneWriter(Config config){
  UrbanSimParameterConfigModuleV3 module=(UrbanSimParameterConfigModuleV3)config.getModule(UrbanSimParameterConfigModuleV3.GROUP_NAME);
  try {
    log.info("Initializing UrbanSimParcelCSVWriter ...");
    parcelWriter=IOUtils.getBufferedWriter(module.getMATSim4OpusTemp() + FILE_NAME);
    log.info("Writing data into " + module.getMATSim4OpusTemp() + FILE_NAME+ " ...");
    parcelWriter.write(InternalConstants.PARCEL_ID + "," + ACCESSIBILITY_BY_FREESPEED+ ","+ ACCESSIBILITY_BY_CAR+ ","+ ACCESSIBILITY_BY_BIKE+ ","+ ACCESSIBILITY_BY_WALK+ ","+ ACCESSIBILITY_BY_PT);
    parcelWriter.newLine();
    log.info("... done!");
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

public static void initUrbanSimZoneWriter ( Config config ) { UrbanSimParameterConfigModuleV3 module = ( UrbanSimParameterConfigModuleV3 ) config . getModule ( UrbanSimParameterConfigModuleV3 . GROUP_NAME ) ; try { log . info ( "Initializing UrbanSimParcelCSVWriter ..." ) ; parcelWriter = IOUtils . getBufferedWriter ( module . getMATSim4OpusTemp ( ) + FILE_NAME ) ; log . info ( "Writing data into " + module . getMATSim4OpusTemp ( ) + FILE_NAME + " ..." ) ; parcelWriter . write ( InternalConstants . PARCEL_ID + "," + ACCESSIBILITY_BY_FREESPEED + "," + ACCESSIBILITY_BY_CAR + "," + ACCESSIBILITY_BY_BIKE + "," + ACCESSIBILITY_BY_WALK + "," + ACCESSIBILITY_BY_PT ) ; parcelWriter . newLine ( ) ; log . info ( "... done!" ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
writes the header for zones csv file
