国网上送接口底层算法实现

This commit is contained in:
2023-12-13 17:36:17 +08:00
parent e49998797d
commit eaaa3b0efc
15 changed files with 698 additions and 71 deletions

View File

@@ -126,4 +126,6 @@ public class LineDataDto {
private Double v50;
private Double iNeg;
}

View File

@@ -209,6 +209,9 @@ public class RDimVoltageD {
@TableField(value = "v_50")
private Double v50;
@TableField(value = "i_neg")
private Double iNeg;
public RDimVoltageD() {
this.v = 3.1415926;
this.vUnbalance = 3.1415926;
@@ -264,6 +267,7 @@ public class RDimVoltageD {
this.v48 = 3.1415926;
this.v49 = 3.1415926;
this.v50 = 3.1415926;
this.iNeg = 3.1415926;
}
}

View File

@@ -215,6 +215,9 @@ public class RDimVoltageM {
@TableField(value = "v_50")
private Double v50;
@TableField(value = "i_neg")
private Double iNeg;
public RDimVoltageM() {
this.v = 3.1415926;
this.vUnbalance = 3.1415926;
@@ -270,6 +273,7 @@ public class RDimVoltageM {
this.v48 = 3.1415926;
this.v49 = 3.1415926;
this.v50 = 3.1415926;
this.iNeg = 3.1415926;
}

View File

@@ -215,6 +215,9 @@ public class RDimVoltageY {
@TableField(value = "v_50")
private Double v50;
@TableField(value = "i_neg")
private Double iNeg;
public RDimVoltageY() {
this.v = 3.14159;
this.vUnbalance = 3.14159;
@@ -270,6 +273,7 @@ public class RDimVoltageY {
this.v48 = 3.14159;
this.v49 = 3.14159;
this.v50 = 3.14159;
this.iNeg = 3.14159;
}

View File

@@ -0,0 +1,127 @@
package com.njcn.harmonic.pojo.po.upload;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;
/**
* <p>
* 电能质量基准水平评估数据-日表
* </p>
*
* @author xuyang
* @since 2023-12-12
*/
@Data
@TableName("r_upload_evaluation_data_d")
public class RUploadEvaluationDataD {
private static final long serialVersionUID = 1L;
/**
* uuid
*/
private String id;
/**
* 省级单位id
*/
@MppMultiId
private String provinceId;
/**
* 省级单位名称
*/
private String provinceName;
/**
* 市级单位id
*/
@MppMultiId
private String cityId;
/**
* 市级单位名称
*/
private String cityName;
/**
* 县级单位id
*/
@MppMultiId
private String countyId;
/**
* 县级单位名称
*/
private String countyName;
/**
* 谐波次数(次数应取2-50)
*/
@MppMultiId
private Integer harmonicNum;
/**
* 指标类型(01:电压 02:长时间闪变 03:三相电压不平衡 04:电压总谐波畸变率 05:各次谐波电压 06:负序电流)
*/
@MppMultiId
private String indexType;
/**
* 数据来源(01:仅在线监测 02:在线监测与现场测试)
*/
@MppMultiId
private String dataSources;
/**
* 监测母线数量
*/
private Integer monitorBusNum = 0;
/**
* 母线监测率(%)
*/
private Double monitorBusRate = 0.0d;
/**
* 在运母线数量
*/
private Integer onlineBusNum = 0;
/**
* 均值
*/
private Double avgValue;
/**
* 标准差
*/
private Double standardDeviation;
/**
* 统计日期
*/
@MppMultiId
private String statisticalDate;
/**
* 统计层级(3:省 4:市 5:县)
*/
@MppMultiId
private String statisticalLevel;
/**
* 统计类型(01:年 02:月 03:日)
*/
@MppMultiId
private String statisticalType;
/**
* 电压等级
*/
@MppMultiId
private String voltageLevel;
}