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

com.farao_community.farao.linear_rao.LinearRaoParameters Maven / Gradle / Ivy

/*
 * Copyright (c) 2020, 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.linear_rao;

import com.farao_community.farao.rao_api.RaoParameters;
import com.powsybl.commons.extensions.AbstractExtension;

import static com.farao_community.farao.rao_api.RaoParameters.DEFAULT_SECURITY_ANALYSIS_WITHOUT_RAO;

/**
 * @author Joris Mancini {@literal }
 */
public class LinearRaoParameters extends AbstractExtension {
    private boolean securityAnalysisWithoutRao = DEFAULT_SECURITY_ANALYSIS_WITHOUT_RAO;

    @Override
    public String getName() {
        return "LinearRaoParameters";
    }

    public LinearRaoParameters setSecurityAnalysisWithoutRao(boolean securityAnalysisWithoutRao) {
        this.securityAnalysisWithoutRao = securityAnalysisWithoutRao;
        return this;
    }

    public boolean isSecurityAnalysisWithoutRao() {
        return securityAnalysisWithoutRao;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy