1.pms专项分析算法调整

This commit is contained in:
2024-11-20 13:59:31 +08:00
parent 42c1faa5dc
commit 2e37cf5b21

View File

@@ -116,7 +116,7 @@ public class RMpInfluenceMServiceImpl extends MppServiceImpl<RMpInfluenceMMapper
//根据监测点进行分组
for (String key : lineBaseMap.keySet()) {
//rMpEmissionMS
//rMpEmissionMS r_mp_influence_m
rMpInfluenceAdd(jobParam, rMpInfluenceMS, deptGetChildrenMoreDTO, lineBaseMap, dataVDPOList, rStatLimitRateMS, key);
//rMpEmissionIMS
rMpInfluenceVAdd(jobParam, rMpInfluenceVMS, deptGetChildrenMoreDTO, lineBaseMap, rStatLimitRateMS, key);
@@ -290,7 +290,7 @@ public class RMpInfluenceMServiceImpl extends MppServiceImpl<RMpInfluenceMMapper
List<RStatDataVDPO> rStatDataVDPOS = dataVDPOList.stream().filter(x -> lineIds.contains(x.getLineId())).collect(Collectors.toList());
//获取负序电流不平衡度
if (CollUtil.isNotEmpty(rStatDataVDPOS)) {
double asDouble = rStatDataVDPOS.stream().filter(x -> x.getVNeg() != null).mapToDouble(RStatDataVDPO::getVNeg).max().getAsDouble();
double asDouble = rStatDataVDPOS.stream().filter(x -> x.getVNeg() != null).mapToDouble(RStatDataVDPO::getVUnbalance).max().getAsDouble();
rMpInfluenceM.setNegativeSequenceVoltageUnbalance(asDouble);
} else {
rMpInfluenceM.setNegativeSequenceVoltageUnbalance(0.0);