|
@@ -176,7 +176,7 @@ public class VppBaselineServiceImpl implements VppBaselineService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
- * 查询站点响应申报容量。
|
|
|
|
|
|
|
+ * 查询站点响应申报容量和预估响应容量。
|
|
|
*
|
|
*
|
|
|
* <p>公式:响应时段内同时间段历史负荷均值 × 修正系数 K × 执行时段小时数 / 2。</p>
|
|
* <p>公式:响应时段内同时间段历史负荷均值 × 修正系数 K × 执行时段小时数 / 2。</p>
|
|
|
* <p>典型历史日、修正系数 K 计算规则与基线管理一致;历史均值仅取响应开始至结束时段。</p>
|
|
* <p>典型历史日、修正系数 K 计算规则与基线管理一致;历史均值仅取响应开始至结束时段。</p>
|
|
@@ -245,6 +245,7 @@ public class VppBaselineServiceImpl implements VppBaselineService {
|
|
|
result.setCorrectionFactorK(correctionFactorK);
|
|
result.setCorrectionFactorK(correctionFactorK);
|
|
|
result.setDeclaredCapacityKw(VppBaselineHelper.calculateDeclaredCapacityKw(
|
|
result.setDeclaredCapacityKw(VppBaselineHelper.calculateDeclaredCapacityKw(
|
|
|
historicalAvgByTime, startTime, endTime, correctionFactorK));
|
|
historicalAvgByTime, startTime, endTime, correctionFactorK));
|
|
|
|
|
+ result.setEstimatedResponseCapacityKw(VppBaselineHelper.calculateEstimatedResponseCapacityKw(todayActualByTime, startTime, endTime));
|
|
|
result.setPoints(VppBaselineHelper.buildDeclaredCapacityPoints(
|
|
result.setPoints(VppBaselineHelper.buildDeclaredCapacityPoints(
|
|
|
historicalAvgByTime, startTime, endTime, correctionFactorK));
|
|
historicalAvgByTime, startTime, endTime, correctionFactorK));
|
|
|
result.setDataSource("tsdb");
|
|
result.setDataSource("tsdb");
|