for (i=0;i<10; i++) myBioDriver.advanceOneTick();
myBioDriver.advanceOneTick();
	public void runSim(){		int i;		try { 	fw = new FileWriter(OutFile) ; }		catch (IOException e) {}		pw = new PrintWriter(fw, true) ;		myBioDriver = BioHolder.getBioDriver();		//myBioDriver.setFullLogging(true);		myBioDriver.spawnSimulation();		CrewGroup myCrew = (CrewGroup)BioHolder.getBioModule(BioHolder.crewName);		System.out.println("starting run...");		crewO2integral = 0;		crewCO2integral = 0;		plantO2integral = 0;		plantCO2integral = 0;		//		CrewO2Level = ((GenericSensor)(BioHolder.getBioModule(BioHolder.myCrewEnvironmentO2AirConcentrationSensorName))).getValue();		//		CrewCO2Level = ((GenericSensor)(BioHolder.getBioModule(BioHolder.myCrewEnvironmentCO2AirConcentrationSensorName))).getValue();		//		PlantO2Level = ((GenericSensor)(BioHolder.getBioModule(BioHolder.myPlantEnvironmentO2AirConcentrationSensorName))).getValue();		//		PlantCO2Level = ((GenericSensor)(BioHolder.getBioModule(BioHolder.myPlantEnvironmentCO2AirConcentrationSensorName))).getValue(); ;		while (!myCrew.isDead()) {			// advance 10 ticks			for (i=0;i<10; i++) myBioDriver.advanceOneTick();			// collect data on the states, using the sensors			System.out.println("Checking Sensors...");			setSimState();			// change actuator settings in reponse			setActuators();		}		System.out.println("crew dead at "+myBioDriver.getTicks()+" ticks");	try {fw.close();} catch (IOException e) {}	}