本文整理了Java中com.powsybl.iidm.network.Network.getShuntCompensators()
方法的一些代码示例,展示了Network.getShuntCompensators()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Network.getShuntCompensators()
方法的具体详情如下:
包路径:com.powsybl.iidm.network.Network
类名称:Network
方法名:getShuntCompensators
[英]Get all compensator shunts.
[中]
代码示例来源:origin: com.powsybl/powsybl-iidm-api
/**
* @deprecated Use {@link #getShuntCompensators)} instead.
*/
@Deprecated
default Iterable<ShuntCompensator> getShunts() {
return getShuntCompensators();
}
代码示例来源:origin: com.powsybl/powsybl-iidm-api
private static void addShuntCompensators(Network network, ConnectedPower balanceMainCC, ConnectedPower balanceOtherCC) {
for (ShuntCompensator sc : network.getShuntCompensators()) {
Terminal.BusBreakerView view = sc.getTerminal().getBusBreakerView();
double q = sc.getCurrentB() * Math.pow(sc.getTerminal().getVoltageLevel().getNominalV(), 2);
if (view.getBus() != null) {
addConnectedShunt(view, q, sc.getId(), balanceMainCC, balanceOtherCC);
} else {
addDisonnectedShunt(view, q, sc.getId(), balanceMainCC, balanceOtherCC);
}
}
}
代码示例来源:origin: com.powsybl/powsybl-ampl-converter
new Column("sections count"))) {
List<String> skipped = new ArrayList<>();
for (ShuntCompensator sc : network.getShuntCompensators()) {
Terminal t = sc.getTerminal();
Bus bus = AmplUtil.getBus(t);
代码示例来源:origin: com.powsybl/powsybl-cgmes-conversion
powerFlows.add(createPowerFlowProperties(cgmes, g.getTerminal()));
for (ShuntCompensator s : n.getShuntCompensators()) {
powerFlows.add(createPowerFlowProperties(cgmes, s.getTerminal()));
for (ShuntCompensator s : n.getShuntCompensators()) {
PropertyBag p = new PropertyBag(SV_SHUNTCOMPENSATORSECTIONS_PROPERTIES);
p.put("continuousSections", is(s.getCurrentSectionCount()));
内容来源于网络,如有侵权,请联系作者删除!