} else { if (myAirInputs[0].getTotalMoles() <= 0) return 0f; else return (myAirInputs[0].getCO2Moles() / myAirInputs[0] .getTotalMoles());
    private float getCO2Ratio() {        SimEnvironment[] myAirInputs = myCurrentCrewGroup                .getAirConsumerDefinition().getEnvironments();        if (myAirInputs.length < 1) {            return 0f;        } else {            if (myAirInputs[0].getTotalMoles() <= 0)                return 0f;            else                return (myAirInputs[0].getCO2Moles() / myAirInputs[0]                        .getTotalMoles());        }    }