All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.powsybl.openrao.raoapi.RaoProvider Maven / Gradle / Ivy

There is a newer version: 6.2.1
Show newest version
/*
 * 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