1.pms专项分析算法调整
This commit is contained in:
@@ -116,7 +116,7 @@ public class RMpInfluenceMServiceImpl extends MppServiceImpl<RMpInfluenceMMapper
|
|||||||
|
|
||||||
//根据监测点进行分组
|
//根据监测点进行分组
|
||||||
for (String key : lineBaseMap.keySet()) {
|
for (String key : lineBaseMap.keySet()) {
|
||||||
//rMpEmissionMS
|
//rMpEmissionMS r_mp_influence_m
|
||||||
rMpInfluenceAdd(jobParam, rMpInfluenceMS, deptGetChildrenMoreDTO, lineBaseMap, dataVDPOList, rStatLimitRateMS, key);
|
rMpInfluenceAdd(jobParam, rMpInfluenceMS, deptGetChildrenMoreDTO, lineBaseMap, dataVDPOList, rStatLimitRateMS, key);
|
||||||
//rMpEmissionIMS
|
//rMpEmissionIMS
|
||||||
rMpInfluenceVAdd(jobParam, rMpInfluenceVMS, deptGetChildrenMoreDTO, lineBaseMap, rStatLimitRateMS, key);
|
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());
|
List<RStatDataVDPO> rStatDataVDPOS = dataVDPOList.stream().filter(x -> lineIds.contains(x.getLineId())).collect(Collectors.toList());
|
||||||
//获取负序电流不平衡度
|
//获取负序电流不平衡度
|
||||||
if (CollUtil.isNotEmpty(rStatDataVDPOS)) {
|
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);
|
rMpInfluenceM.setNegativeSequenceVoltageUnbalance(asDouble);
|
||||||
} else {
|
} else {
|
||||||
rMpInfluenceM.setNegativeSequenceVoltageUnbalance(0.0);
|
rMpInfluenceM.setNegativeSequenceVoltageUnbalance(0.0);
|
||||||
|
|||||||
Reference in New Issue
Block a user