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

com.powsybl.metrix.mapping.timeseries.MappedEquipments Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
/*
 * 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/.
 * SPDX-License-Identifier: MPL-2.0
 */
package com.powsybl.metrix.mapping.timeseries;

import com.powsybl.iidm.network.Identifiable;

import java.util.HashSet;
import java.util.Objects;
import java.util.Set;

/**
 * @author Valentin Berthault {@literal }
 */
public class MappedEquipments {
    private final double timeSeriesValue;

    private final Set> identifiables;

    private final Set scalingDownPowerChange = new HashSet<>();

    private final Set scalingDownLimitViolation = new HashSet<>();

    public MappedEquipments(double timeSeriesValue, Set> identifiables) {
        this.timeSeriesValue = timeSeriesValue;
        this.identifiables = Objects.requireNonNull(identifiables);
    }

    public double getTimeSeriesValue() {
        return timeSeriesValue;
    }

    public Set> getIdentifiables() {
        return identifiables;
    }

    public Set getScalingDownPowerChange() {
        return scalingDownPowerChange;
    }

    public Set getScalingDownLimitViolation() {
        return scalingDownLimitViolation;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy