com.powsybl.openloadflow.lf.outerloop.AreaInterchangeControlContextData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of powsybl-open-loadflow Show documentation
Show all versions of powsybl-open-loadflow Show documentation
An open source loadflow based on PowSyBl
The newest version!
/**
* Copyright (c) 2024, Coreso SA (https://www.coreso.eu/) and TSCNET Services GmbH (https://www.tscnet.eu/)
* 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.openloadflow.lf.outerloop;
import com.powsybl.openloadflow.network.LfBus;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
/**
* @author Valentin Mouradian {@literal }
*/
public class AreaInterchangeControlContextData extends DistributedSlackContextData {
private final Set busesWithoutArea;
/**
* The part of the total slack active power mismatch that should be added to the Area's net interchange mismatch, ie the part of the slack that should be distributed in the Area.
*/
private final Map areaSlackDistributionParticipationFactor;
public AreaInterchangeControlContextData(Set busesWithoutArea, Map areaSlackDistributionParticipationFactor) {
super();
this.busesWithoutArea = new HashSet<>(busesWithoutArea);
this.areaSlackDistributionParticipationFactor = new HashMap<>(areaSlackDistributionParticipationFactor);
}
public Set getBusesWithoutArea() {
return busesWithoutArea;
}
public Map getAreaSlackDistributionParticipationFactor() {
return areaSlackDistributionParticipationFactor;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy