public double getScopeValue(int x) {
        switch (x) {
            case Scope.VAL_IB:
                return ib;
            case Scope.VAL_IC:
                return ic;
            case Scope.VAL_IE:
                return ie;
            case Scope.VAL_VBE:
                return volts[0] - volts[2];
            case Scope.VAL_VBC:
                return volts[0] - volts[1];
            case Scope.VAL_VCE:
                return volts[1] - volts[2];
        }
        return 0;
    }