com.powsybl.openloadflow.network.LfStaticVarCompensator 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) 2022, 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.openloadflow.network;
import java.util.Optional;
/**
* @author Geoffroy Jamgotchian {@literal }
*/
public interface LfStaticVarCompensator extends LfGenerator {
/**
* if the static var compensator has an automaton in stand by, this object must be field.
*/
class StandByAutomaton {
private final double highVoltageThreshold;
private final double lowVoltageThreshold;
private final double highTargetV;
private final double lowTargetV;
public StandByAutomaton(double highVoltageThreshold, double lowVoltageThreshold, double highTargetV, double lowTargetV) {
this.highVoltageThreshold = highVoltageThreshold;
this.lowVoltageThreshold = lowVoltageThreshold;
this.highTargetV = highTargetV;
this.lowTargetV = lowTargetV;
}
public double getLowTargetV() {
return lowTargetV;
}
public double getHighTargetV() {
return highTargetV;
}
public double getLowVoltageThreshold() {
return lowVoltageThreshold;
}
public double getHighVoltageThreshold() {
return highVoltageThreshold;
}
}
double getB0();
Optional getStandByAutomaton();
Optional getStandByAutomatonShunt();
void setStandByAutomatonShunt(LfShunt standByAutomatonShunt);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy