maximum()

in src/rules/output/NodeOutputRules.js [109:119]


  maximum() {
    if (this.input.locationType === 'REGIONAL') {
      return this.currentMax - (this.currentMax % 3);
    } else if (this.input.locationType === 'MULTI_ZONAL') {
      return (
        this.currentMax -
        (this.currentMax % (Number.parseInt(this.input.extraZones) + 1))
      );
    }
    return this.currentMax;
  }