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

com.powsybl.ieeecdf.model.IeeeCdfModel Maven / Gradle / Ivy

The 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/.
 * SPDX-License-Identifier: MPL-2.0
 */
package com.powsybl.ieeecdf.model;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/**
 * @author Geoffroy Jamgotchian {@literal }
 */
public class IeeeCdfModel {

    private final IeeeCdfTitle title;

    private final List buses = new ArrayList<>();

    private final List branches = new ArrayList<>();

    private final List lossZones = new ArrayList<>();

    private final List interchangeData = new ArrayList<>();

    private final List tieLines = new ArrayList<>();

    public IeeeCdfModel(IeeeCdfTitle title) {
        this.title = Objects.requireNonNull(title);
    }

    public IeeeCdfTitle getTitle() {
        return title;
    }

    public List getBuses() {
        return buses;
    }

    public List getBranches() {
        return branches;
    }

    public List getLossZones() {
        return lossZones;
    }

    public List getInterchangeData() {
        return interchangeData;
    }

    public List getTieLines() {
        return tieLines;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy