|
|
@@ -71,45 +71,40 @@ public class OptimizationApplication {
|
|
|
public FeederMetricsResponse getFeederMetrics(String feederId) {
|
|
|
String json = "{\n" +
|
|
|
" \"operationIssue\": {\n" +
|
|
|
- " \"operationIssueScore\": 0.00,\n" +
|
|
|
- " \"currentLineLoadRate\": 0.00,\n" +
|
|
|
+ " \"operationIssueScore\": 90.16,\n" +
|
|
|
+ " \"currentLineLoadRate\": 31.25,\n" +
|
|
|
" \"currentOverlimitSegmentCount\": 0,\n" +
|
|
|
" \"voltageViolationNodeCount\": 0,\n" +
|
|
|
" \"insufficientTransferCapacityLineCount\": 0,\n" +
|
|
|
- " \"lineN1Check\": false\n" +
|
|
|
+ " \"lineN1Check\": true\n" +
|
|
|
" },\n" +
|
|
|
" \"reliability\": {\n" +
|
|
|
- " \"reliabilityScore\": 0.00,\n" +
|
|
|
- " \"lineStatus\": \"Status_b\",\n" +
|
|
|
- " \"outageTransformerCount\": 0.00,\n" +
|
|
|
- " \"theoreticalReliability\": 0.00,\n" +
|
|
|
+ " \"reliabilityScore\": 85.63,\n" +
|
|
|
+ " \"lineStatus\": \"正常运行\",\n" +
|
|
|
+ " \"outageTransformerCount\": 0,\n" +
|
|
|
+ " \"theoreticalReliability\": 100,\n" +
|
|
|
" \"affectedLowVoltageUserCount\": 0,\n" +
|
|
|
" \"importantSensitiveUserLossCount\": 0\n" +
|
|
|
" },\n" +
|
|
|
" \"networkLossImpact\": {\n" +
|
|
|
- " \"networkLossImpactScore\": 0.00,\n" +
|
|
|
- " \"activePowerLoss\": 0.00,\n" +
|
|
|
- " \"lossRate\": 0.00,\n" +
|
|
|
+ " \"networkLossImpactScore\": 91.00,\n" +
|
|
|
+ " \"activePowerLoss\": 12.12,\n" +
|
|
|
+ " \"lossRate\": 1.03,\n" +
|
|
|
" \"exportPowerFactor\": 0.00\n" +
|
|
|
" },\n" +
|
|
|
" \"networkStructureIssue\": {\n" +
|
|
|
" \"networkStructureIssueScore\": 0.00,\n" +
|
|
|
- " \"lineConnectionType\": \"Type_f\",\n" +
|
|
|
- " \"lineContactSwitchCount\": 0,\n" +
|
|
|
- " \"totalInstalledCapacity\": 0.00,\n" +
|
|
|
+ " \"lineConnectionType\": \"架空多分段单联络\",\n" +
|
|
|
+ " \"lineContactSwitchCount\": 1,\n" +
|
|
|
+ " \"totalInstalledCapacity\": 8430.00,\n" +
|
|
|
" \"lineUserCount\": 0,\n" +
|
|
|
" \"abnormalLoadGroupCount\": \"Count_b\",\n" +
|
|
|
" \"loadGroupSegmentCount\": 0,\n" +
|
|
|
" \"largeBranchCount\": 0,\n" +
|
|
|
- " \"linePowerSupplyRadius\": 0.00\n" +
|
|
|
+ " \"linePowerSupplyRadius\": 23.41\n" +
|
|
|
" }\n" +
|
|
|
"}";
|
|
|
FeederMetricsResponse feederMetrics = JSON.parseObject(json, FeederMetricsResponse.class);
|
|
|
- //1.获取当前线路的断面数据
|
|
|
- this.getFeederSectionData("15DKX-5800",new Date());
|
|
|
- //查询线路的出线开关
|
|
|
-
|
|
|
-
|
|
|
|
|
|
return feederMetrics;
|
|
|
}
|