com.powsybl.iidm.network.Network.getStaticVarCompensators()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(116)

本文整理了Java中com.powsybl.iidm.network.Network.getStaticVarCompensators()方法的一些代码示例,展示了Network.getStaticVarCompensators()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Network.getStaticVarCompensators()方法的具体详情如下:
包路径:com.powsybl.iidm.network.Network
类名称:Network
方法名:getStaticVarCompensators

Network.getStaticVarCompensators介绍

[英]Get all static var compensators.
[中]获取所有静态无功补偿器。

代码示例

代码示例来源:origin: itesla/ipst

for (StaticVarCompensator svc : Identifiables.sort(network.getStaticVarCompensators())) {

代码示例来源:origin: itesla/ipst

Set<String> generatorIds = Identifiables.sort(network.getGenerators()).stream().map(Generator::getId).collect(Collectors.toSet());
Set<String> shuntIds = Identifiables.sort(network.getShunts()).stream().map(ShuntCompensator::getId).collect(Collectors.toSet());
Set<String> svcIds = Identifiables.sort(network.getStaticVarCompensators()).stream().map(StaticVarCompensator::getId).collect(Collectors.toSet());
Set<String> converterStationsIds = Identifiables.sort(network.getVscConverterStations()).stream().map(VscConverterStation::getId).collect(Collectors.toSet());

代码示例来源:origin: itesla/ipst

private void createStaticVarCompensators(EsgNetwork esgNetwork) {
  for (StaticVarCompensator svc : Identifiables.sort(network.getStaticVarCompensators())) {

代码示例来源:origin: com.powsybl/powsybl-ampl-converter

new Column(REACTIVE_POWER))) {
List<String> skipped = new ArrayList<>();
for (StaticVarCompensator svc : network.getStaticVarCompensators()) {

相关文章