Commit 43b09807 authored by ZWT's avatar ZWT

feat(零碳): 长庆

1.修改极短期间开预测定时任务逻辑,解决优化后部分优化结果时间段过短问题;
2.修改心知天气气象数据获取及接收定时任务,解决天气数据通过邮件下载后,部分数据精度丢失问题;
3.修改首页各个接口逻辑,对小数类型字段进行处理,修改首页接口,增加小时保留两位四舍五入逻辑,同时解决线路详情接口部分查询逻辑报错问题;
4.能耗分析模块,能耗概览接口修改,修改查询逻辑,修改数据获取逻辑及绿电占比计算逻辑;
5.能耗分析模块,消纳曲线用电趋势接口修改,修改查询逻辑,修改数据获取逻辑及绿电占比计算逻辑;
6.能耗分析模块,用电详情接口修改,修改查询逻辑,修改数据获取逻辑及绿电占比计算逻辑;
7.修改首页先导实验井间开制度模块接口查询逻辑,解决极短期间开优化修改后没有第一次开井时间标识导致数据查询不出来问题;
8.基础间开制度新增修改接口逻辑修改,删除防冻堵对井口处理逻辑;
9.极短期间开优化算法修改,增加防冻堵井开井时间优化逻辑;
10.提供长庆通过日期获取当日间开优化结果接口开发,完成接口冒烟测试并添加线上接口文档;
11.提供长庆1天光伏出力预测结果接口开发,完成接口冒烟测试并添加线上接口文档;
12.提供长庆15天光伏出力预测结果接口开发,完成接口冒烟测试并添加线上接口文档;
13.修改极短期间开优化算法,优化防冻堵策略;
14.开发第三方历史天气导入功能;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent af0d6433
......@@ -127,6 +127,13 @@
<version>R8</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>3.3.4</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
......
package pps.core.base.service.data.third_weather_data;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import xstartup.annotation.XText;
import java.math.BigDecimal;
/**
* 第三方气象数据
*
* @author ZWT
* @date 2024/04/23
*/
@Data
@ExcelIgnoreUnannotated
public class ThirdApiWeatherExcelData {
@ExcelProperty(value = "dni")
@XText("太阳直接辐射[W/m2]")
private BigDecimal dni;
@ExcelProperty(value = "ghi")
@XText("太阳总辐射(水平面)[W/m2]")
private BigDecimal ghi;
@ExcelProperty(value = "dhi")
@XText("太阳散射辐射(水平面)[W/m2]")
private BigDecimal dhi;
@ExcelProperty(value = "time")
@XText("预报时间")
@JSONField(name = "time")
private String time;
@ExcelProperty(value = "tem")
@XText("气温 [C]")
private BigDecimal tem;
@ExcelProperty(value = "rhu")
@XText("相对湿度 [%]")
private BigDecimal rhu;
@ExcelProperty(value = "wns")
@XText("风速(地面10米)[m/s]")
private BigDecimal wns;
@ExcelProperty(value = "wnd")
@XText("风向角度(地面10米)[degree]")
private Integer wnd;
@ExcelProperty(value = "wns_grd")
@XText("风力等级(地面10米)")
@JSONField(name = "wns_grd")
private Integer wnsGrd;
@ExcelProperty(value = "gust")
@XText("阵风风速(地面10米)[m/s]")
private BigDecimal gust;
@ExcelProperty(value = "pre")
@XText("降水量(1小时累计)[mm]")
private BigDecimal pre;
@ExcelProperty(value = "prs_qfe")
@XText("地面气压 [hPa]")
@JSONField(name = "prs_qfe")
private BigDecimal prsQfe;
@ExcelProperty(value = "vis")
@XText("能见度 [km]")
private BigDecimal vis;
@ExcelProperty(value = "clo")
@XText("云量 [%]")
private BigDecimal clo;
@ExcelProperty(value = "uvb")
@XText("紫外线UV辐照度(1小时累计)[kWh/m2]")
private BigDecimal uvb;
@ExcelProperty(value = "uvi")
@XText("紫外线UV辐照指数")
private Integer uvi;
@ExcelProperty(value = "phs")
@XText("降水相态:(0无降水, 1雨, 3冻雨, 5雪, 6湿雪, 7雨夹雪, 8冰雹)")
private Integer phs;
@ExcelProperty(value = "wep")
@XText("天气现象代码")
private Integer wep;
@ExcelProperty(value = "wnd_100m")
@XText("风向角度(地面100米)[degree]")
@JSONField(name = "wnd_100m")
private Integer wnd100m;
@ExcelProperty(value = "wns_100m")
@XText("风速(地面100米)[m/s]")
@JSONField(name = "wns_100m")
private BigDecimal wns100m;
@ExcelProperty(value = "wns_grd_100m")
@XText("风力等级(地面100米)")
@JSONField(name = "wns_grd_100m")
private Integer wnsGrd100m;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment