com.powsybl.openrao.raoapi.RaoProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of open-rao-rao-api Show documentation
Show all versions of open-rao-rao-api Show documentation
Interface of a RA optimisation task
/*
* Copyright (c) 2019, RTE (http://www.rte-france.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.powsybl.openrao.raoapi;
import com.powsybl.openrao.data.raoresultapi.RaoResult;
import com.powsybl.openrao.raoapi.parameters.RaoParameters;
import com.powsybl.commons.Versionable;
import java.time.Instant;
import java.util.concurrent.CompletableFuture;
/**
* @author Baptiste Seguinot {@literal }
*/
public interface RaoProvider extends Versionable {
/**
* @param raoInput: Data to optimize. Contains a Crac, a Network, the ID of the current network variant, and more
* @param parameters: RAO parameters.
* @return A completable future of a RaoComputationResult it gathers all the optimization results.
*/
CompletableFuture run(RaoInput raoInput, RaoParameters parameters);
CompletableFuture run(RaoInput raoInput, RaoParameters parameters, Instant targetEndInstant);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy