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

com.powsybl.simulation.ImpactAnalysis Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
/**
 * Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium)
 * 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.simulation;

import com.powsybl.commons.Versionable;

import java.util.Map;
import java.util.Set;
import java.util.concurrent.CompletableFuture;

/**
 * This is intended to become the base class for all dynamic simulator integrated
 * in the platform.
 * TODO: extend the API with simulation result querying
 *
 * @author Geoffroy Jamgotchian 
 */
public interface ImpactAnalysis extends Versionable {

    void init(SimulationParameters parameters, Map context) throws Exception;

    ImpactAnalysisResult run(SimulationState state) throws Exception;

    ImpactAnalysisResult run(SimulationState state, Set contingencyIds) throws Exception;

    CompletableFuture runAsync(SimulationState state, Set contingencyIds, ImpactAnalysisProgressListener listener);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy