setFillColor(computeColorOnPercentage(myPowerPS.getPowerProducerDefinition().getAveragePercentageFull()));
float percentage = myPowerPS.getPowerProducerDefinition().getAveragePercentageFull(); myLogger.debug("percentage is " + percentage); setFillColor(computeColorOnPercentage(percentage));
	public void refresh() {		PowerPSNode powerPSNode = (PowerPSNode)getOwner();		PowerPS myPowerPS = (PowerPS)powerPSNode.getSimBioModule();		setFillColor(computeColorOnPercentage(myPowerPS.getPowerProducerDefinition().getAveragePercentageFull()));	}