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

com.powsybl.action.simulator.loadflow.DefaultLoadFlowActionSimulatorObserver Maven / Gradle / Ivy

There is a newer version: 6.2.4
Show newest version
/**
 * Copyright (c) 2017-2018, 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.action.simulator.loadflow;

import com.powsybl.action.dsl.Rule;
import com.powsybl.security.LimitViolation;

import java.util.List;
import java.util.Map;

/**
 * @author Geoffroy Jamgotchian 
 */
public class DefaultLoadFlowActionSimulatorObserver implements LoadFlowActionSimulatorObserver {
    @Override
    public void beforePreContingencyAnalysis(RunningContext runningContext) {
        // empty default implementation
    }

    @Override
    public void afterPreContingencyAnalysis() {
        // empty default implementation
    }

    @Override
    public void beforePostContingencyAnalysis(RunningContext runningContext) {
        // empty default implementation
    }

    @Override
    public void postContingencyAnalysisNetworkLoaded(RunningContext runningContext) {
        // empty default implementation
    }

    @Override
    public void roundBegin(RunningContext runningContext) {
        // empty default implementation
    }

    @Override
    public void roundEnd(RunningContext runningContext) {
        // empty default implementation
    }

    @Override
    public void loadFlowDiverged(RunningContext runningContext) {
        // empty default implementation
    }

    @Override
    public void loadFlowConverged(RunningContext runningContext, List violations) {
        // empty default implementation
    }

    @Override
    public void ruleChecked(RunningContext runningContext, Rule rule, RuleEvaluationStatus status, Map variables, Map actions) {
        // empty default implementation
    }

    @Override
    public void beforeAction(RunningContext runningContext, String actionId) {
        // empty default implementation
    }

    @Override
    public void beforeTest(RunningContext runningContext, String actionId) {
        // empty default implementation
    }

    @Override
    public void afterAction(RunningContext runningContext, String actionId) {
        // empty default implementation
    }

    @Override
    public void afterTest(RunningContext runningContext, String actionId) {
        // empty default implementation
    }

    @Override
    public void violationsAfterTest(String actionId, List violations) {
        // empty default implementation
    }

    @Override
    public void divergedAfterTest(String actionId) {
        // empty default implementation
    }

    @Override
    public void noMoreViolations(RunningContext runningContext) {
        // empty default implementation
    }

    @Override
    public void noMoreViolationsAfterTest(RunningContext runningContext, String actionId) {
        // empty default implementation
    }

    @Override
    public void beforeApplyTest(RunningContext runningContext, String actionId) {
        // empty default implementation
    }

    @Override
    public void afterApplyTest(RunningContext runningContext, String actionId) {
        // empty default implementation
    }

    @Override
    public void violationsAnymoreAndNoRulesMatch(RunningContext runningContext) {
        // empty default implementation
    }

    @Override
    public void afterPostContingencyAnalysis() {
        // empty default implementation
    }

    @Override
    public void maxIterationsReached(RunningContext runningContext) {
        // empty default implementation
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy