OrbUtils.startDebugNameServer(); OrbUtils.initializeServerForDebug();
OrbUtils.startStandaloneNameServer(); OrbUtils.initializeServerForStandalone();
	protected void setUp() throws Exception {		super.setUp();		OrbUtils.initializeLog();		OrbUtils.startDebugNameServer();		OrbUtils.initializeServerForDebug();		BiomassPSImpl biomassRSImpl = new BiomassPSImpl();				myBiomassPS = (new BiomassPSPOATie(biomassRSImpl))._this(OrbUtils.getORB());		myBiomassPS.createNewShelf(PlantType.WHEAT, 15, 0);		//initialize stores		mySimEnvironment = (new SimEnvironmentPOATie(new SimEnvironmentImpl()))._this(OrbUtils.getORB());		myPotableWaterStore = (new PotableWaterStorePOATie(new PotableWaterStoreImpl()))._this(OrbUtils.getORB());		myPotableWaterStore.setInitialCapacity(10000f);		myPotableWaterStore.setInitialLevel(10000f);		myGreyWaterStore = (new GreyWaterStorePOATie(new GreyWaterStoreImpl()))._this(OrbUtils.getORB());		myBiomassStore = (new BiomassStorePOATie(new BiomassStoreImpl()))._this(OrbUtils.getORB());		myDirtyWaterStore = (new DirtyWaterStorePOATie(new DirtyWaterStoreImpl()))._this(OrbUtils.getORB());		myPowerStore = (new PowerStorePOATie(new PowerStoreImpl()))._this(OrbUtils.getORB());		myPowerStore.setInitialCapacity(1000000000f);		myPowerStore.setInitialLevel(1000000000f);						myBiomassPS.getAirConsumerDefinition().setAirInputs(new SimEnvironment[] {mySimEnvironment}, new float[] {1000f}, new float[] {1000f});		myBiomassPS.getAirProducerDefinition().setAirOutputs(new SimEnvironment[] {mySimEnvironment}, new float[] {1000f}, new float[] {1000f});		myBiomassPS.getPotableWaterConsumerDefinition().setPotableWaterInputs(new PotableWaterStore[] {myPotableWaterStore}, new float[] {1000f}, new float[] {1000f});		myBiomassPS.getBiomassProducerDefinition().setBiomassOutputs(new BiomassStore[] {myBiomassStore}, new float[] {1000f}, new float[] {1000f});		myBiomassPS.getDirtyWaterProducerDefinition().setDirtyWaterOutputs(new DirtyWaterStore[] {myDirtyWaterStore}, new float[] {1000f}, new float[] {1000f});		myBiomassPS.getPowerConsumerDefinition().setPowerInputs(new PowerStore[] {myPowerStore}, new float[] {1000f}, new float[] {1000f});				myModules = new BioModule[7];		myModules[0] = myBiomassPS;		myModules[1] = mySimEnvironment;		myModules[2] = myPotableWaterStore;		myModules[3] = myGreyWaterStore;		myModules[4] = myBiomassStore;		myModules[5] = myDirtyWaterStore;		myModules[6] = myPowerStore;				for (BioModule currentModule : myModules)			currentModule.setTickLength(1);	}