class GeneratorScalable extends AbstractInjectionScalable {

    @Override
    public void filterInjections(Network n, List<Injection> injections, List<String> notFoundInjections) {
        Objects.requireNonNull(n);
        Objects.requireNonNull(injections);

        Generator generator = n.getGenerator(id);
        if (generator != null) {
            injections.add(generator);
        } else if (notFoundInjections != null) {
            notFoundInjections.add(id);
        }
    }

      GeneratorScalable(String id);
      GeneratorScalable(String id, double minValue, double maxValue);

}