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

com.farao_community.farao.ra_optimisation.PreContingencyResult Maven / Gradle / Ivy

There is a newer version: 2.1.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.farao_community.farao.ra_optimisation;

import java.beans.ConstructorProperties;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Sebastien Murgey {@literal }
 */
public class PreContingencyResult {
    private final List monitoredBranchResults;
    private final List remedialActionResults;

    public PreContingencyResult() {
        this.monitoredBranchResults = new ArrayList<>();
        this.remedialActionResults = new ArrayList<>();
    }

    public PreContingencyResult(
            final List monitoredBranchResults) {
        this.monitoredBranchResults = monitoredBranchResults;
        this.remedialActionResults = new ArrayList<>();
    }

    @ConstructorProperties({"monitoredBranchResults", "remedialActionResults"})
    public PreContingencyResult(
            final List monitoredBranchResults,
            final List remedialActionResults) {
        this.monitoredBranchResults = monitoredBranchResults;
        this.remedialActionResults = remedialActionResults;
    }

    public List getMonitoredBranchResults() {
        return monitoredBranchResults;
    }

    public List getRemedialActionResults() {
        return remedialActionResults;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy