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

com.powsybl.openrao.data.cracio.commons.ucte.UcteNetworkAnalyzerProperties Maven / Gradle / Ivy

/*
 * Copyright (c) 2021, 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.data.cracio.commons.ucte;

/**
 * Properties to customize UcteNetworkHelper behavior
 *
 * @author Peter Mitri {@literal }
 */
public class UcteNetworkAnalyzerProperties {

    // For Bus IDs with 7 characters, either complete them with white spaces or wildcards
    public enum BusIdMatchPolicy {
        COMPLETE_WITH_WHITESPACES,
        COMPLETE_WITH_WILDCARDS,
        REPLACE_8TH_CHARACTER_WITH_WILDCARD
    }

    private BusIdMatchPolicy busIdMatchPolicy;

    public UcteNetworkAnalyzerProperties(BusIdMatchPolicy busIdMatchPolicy) {
        this.busIdMatchPolicy = busIdMatchPolicy;
    }

    public BusIdMatchPolicy getBusIdMatchPolicy() {
        return busIdMatchPolicy;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy