正在显示
1 个修改的文件
包含
16 行增加
和
9 行删除
@@ -494,6 +494,7 @@ public class ProjectServiceImpl implements ProjectService { | @@ -494,6 +494,7 @@ public class ProjectServiceImpl implements ProjectService { | ||
494 | * 储能装机容量 | 494 | * 储能装机容量 |
495 | */ | 495 | */ |
496 | double storedEnergyInstallCapacity = 0.0; | 496 | double storedEnergyInstallCapacity = 0.0; |
497 | + double storeItemListTotal= 0.0; | ||
497 | for (String string : strings) { | 498 | for (String string : strings) { |
498 | if ("1".equals(string)) { | 499 | if ("1".equals(string)) { |
499 | /** | 500 | /** |
@@ -511,6 +512,7 @@ public class ProjectServiceImpl implements ProjectService { | @@ -511,6 +512,7 @@ public class ProjectServiceImpl implements ProjectService { | ||
511 | photovoltaicInstall = synthesize_no_2_4.getPhotovoltaicArea() * synthesizeNo26ServiceById.getNo16() / 1000; | 512 | photovoltaicInstall = synthesize_no_2_4.getPhotovoltaicArea() * synthesizeNo26ServiceById.getNo16() / 1000; |
512 | } | 513 | } |
513 | photovoltaicAll = photovoltaicInstall * synthesizeNo26ServiceById.getNo123(); | 514 | photovoltaicAll = photovoltaicInstall * synthesizeNo26ServiceById.getNo123(); |
515 | + storeItemListTotal += photovoltaicAll; | ||
514 | synthesize_no_3_6.setNo51(photovoltaicAll); | 516 | synthesize_no_3_6.setNo51(photovoltaicAll); |
515 | } else if ("2".equals(string)) { | 517 | } else if ("2".equals(string)) { |
516 | /** | 518 | /** |
@@ -518,18 +520,21 @@ public class ProjectServiceImpl implements ProjectService { | @@ -518,18 +520,21 @@ public class ProjectServiceImpl implements ProjectService { | ||
518 | */ | 520 | */ |
519 | windAh = synthesize_no_2_4.getWindAh(); | 521 | windAh = synthesize_no_2_4.getWindAh(); |
520 | windAll = windAh * synthesizeNo26ServiceById.getNo124(); | 522 | windAll = windAh * synthesizeNo26ServiceById.getNo124(); |
523 | + storeItemListTotal += windAll; | ||
521 | synthesize_no_3_6.setNo52(windAll); | 524 | synthesize_no_3_6.setNo52(windAll); |
522 | } else if ("3".equals(string)) { | 525 | } else if ("3".equals(string)) { |
523 | /** | 526 | /** |
524 | * 持续供电策略 | 527 | * 持续供电策略 |
525 | */ | 528 | */ |
526 | storedEnergyAll = synthesize_no_2_3.getPowerSupplyEnergy() * synthesize_no_2_3.getHours(); | 529 | storedEnergyAll = synthesize_no_2_3.getPowerSupplyEnergy() * synthesize_no_2_3.getHours(); |
530 | + storeItemListTotal += storedEnergyAll; | ||
527 | } else if ("4".equals(string)) { | 531 | } else if ("4".equals(string)) { |
528 | /** | 532 | /** |
529 | * 一充一放策略 | 533 | * 一充一放策略 |
530 | */ | 534 | */ |
531 | storedEnergyAll = synthesize_no_2_3.getPowerSupplyEnergy() * synthesize_no_2_3.getHours(); | 535 | storedEnergyAll = synthesize_no_2_3.getPowerSupplyEnergy() * synthesize_no_2_3.getHours(); |
532 | - storedEnergyInstallCapacity = storedEnergyAll * 350 * 0.9; | 536 | + storedEnergyInstallCapacity = storedEnergyAll * 350 * 0.9;//0.9 放电深度 , |
537 | + storeItemListTotal += storedEnergyInstallCapacity * 0.93;//0.93放电效率 | ||
533 | synthesize_no_3_6.setNo53(storedEnergyInstallCapacity); | 538 | synthesize_no_3_6.setNo53(storedEnergyInstallCapacity); |
534 | } else if ("5".equals(string)) { | 539 | } else if ("5".equals(string)) { |
535 | /** | 540 | /** |
@@ -537,6 +542,7 @@ public class ProjectServiceImpl implements ProjectService { | @@ -537,6 +542,7 @@ public class ProjectServiceImpl implements ProjectService { | ||
537 | */ | 542 | */ |
538 | storedEnergyAll = synthesize_no_2_3.getPowerSupplyEnergy() * synthesize_no_2_3.getHours(); | 543 | storedEnergyAll = synthesize_no_2_3.getPowerSupplyEnergy() * synthesize_no_2_3.getHours(); |
539 | storedEnergyInstallCapacity = storedEnergyAll * 350 * 2 * 0.9; | 544 | storedEnergyInstallCapacity = storedEnergyAll * 350 * 2 * 0.9; |
545 | + storeItemListTotal += storedEnergyInstallCapacity * 0.93;//0.93放电效率; | ||
540 | synthesize_no_3_6.setNo53(storedEnergyInstallCapacity); | 546 | synthesize_no_3_6.setNo53(storedEnergyInstallCapacity); |
541 | } | 547 | } |
542 | } | 548 | } |
@@ -545,9 +551,10 @@ public class ProjectServiceImpl implements ProjectService { | @@ -545,9 +551,10 @@ public class ProjectServiceImpl implements ProjectService { | ||
545 | * 10 * 365 * architectureArea * electricity * 0.8 / 1000 | 551 | * 10 * 365 * architectureArea * electricity * 0.8 / 1000 |
546 | */ | 552 | */ |
547 | double electricityAll = 0.0; | 553 | double electricityAll = 0.0; |
548 | - for (CalculateLoad calculateLoad : list1) { | ||
549 | - electricityAll += calculateLoad.getNo11(); | ||
550 | - } | 554 | +// for (CalculateLoad calculateLoad : list1) { |
555 | +// electricityAll += calculateLoad.getNo11(); | ||
556 | +// } | ||
557 | + electricityAll = storeItemListTotal; | ||
551 | synthesize_no_3_6.setNo1(String.valueOf(Double.valueOf(df.format(electricityAll * synthesize_no_2_5.getElectricitySellingPrice())))); | 558 | synthesize_no_3_6.setNo1(String.valueOf(Double.valueOf(df.format(electricityAll * synthesize_no_2_5.getElectricitySellingPrice())))); |
552 | /** | 559 | /** |
553 | * 1供电 | 560 | * 1供电 |
@@ -661,7 +668,7 @@ public class ProjectServiceImpl implements ProjectService { | @@ -661,7 +668,7 @@ public class ProjectServiceImpl implements ProjectService { | ||
661 | synthesize_no_3_6.setNo38(num1); | 668 | synthesize_no_3_6.setNo38(num1); |
662 | no_3_1_1_1Dto.setInvestmentEstimation(format.apply(new BigDecimal(num1))); | 669 | no_3_1_1_1Dto.setInvestmentEstimation(format.apply(new BigDecimal(num1))); |
663 | no_3_1_1_1Dto.setProjectEarnings("0.00"); | 670 | no_3_1_1_1Dto.setProjectEarnings("0.00"); |
664 | - Double num3 = Double.valueOf(format.apply(new BigDecimal(synthesizeNo26ServiceById.getNo20() * storedEnergyAll * 1000 / 10000))); | 671 | + Double num3 = Double.valueOf(format.apply(new BigDecimal(synthesizeNo26ServiceById.getNo20() * storedEnergyAll / 0.93 * 1000 / 10000)));//0.93充电效率 |
665 | no_3_1_1_1Dto.setRemark(String.valueOf(num3)); | 672 | no_3_1_1_1Dto.setRemark(String.valueOf(num3)); |
666 | synthesize_no_3_6.setNo68(num3); | 673 | synthesize_no_3_6.setNo68(num3); |
667 | list2.add(no_3_1_1_1Dto); | 674 | list2.add(no_3_1_1_1Dto); |
@@ -680,7 +687,7 @@ public class ProjectServiceImpl implements ProjectService { | @@ -680,7 +687,7 @@ public class ProjectServiceImpl implements ProjectService { | ||
680 | synthesize_no_3_6.setNo38(num1); | 687 | synthesize_no_3_6.setNo38(num1); |
681 | Double num2 = Double.valueOf(df.format(storedEnergyAll * 365 * (synthesize_no_2_5.getElectricitySellingPrice() - end) / 10000)); | 688 | Double num2 = Double.valueOf(df.format(storedEnergyAll * 365 * (synthesize_no_2_5.getElectricitySellingPrice() - end) / 10000)); |
682 | synthesize_no_3_6.setNo26(num2); | 689 | synthesize_no_3_6.setNo26(num2); |
683 | - Double num3 = Double.valueOf(df.format((storedEnergyAll * 365 * end + storedEnergyAll * synthesizeNo26ServiceById.getNo20() * 1000) / 10000)); | 690 | + Double num3 = Double.valueOf(df.format((storedEnergyAll * 365 * end + storedEnergyAll * synthesizeNo26ServiceById.getNo20() / 0.93 * 1000) / 10000));//0.93充电效率 |
684 | /** | 691 | /** |
685 | * 储能供电收入=储能供电量*(售电价)/10000 | 692 | * 储能供电收入=储能供电量*(售电价)/10000 |
686 | */ | 693 | */ |
@@ -705,7 +712,7 @@ public class ProjectServiceImpl implements ProjectService { | @@ -705,7 +712,7 @@ public class ProjectServiceImpl implements ProjectService { | ||
705 | Double num2 = Double.valueOf(df.format(storedEnergyAll * 365 * 2 * (synthesize_no_2_5.getElectricitySellingPrice() - end) / 10000)); | 712 | Double num2 = Double.valueOf(df.format(storedEnergyAll * 365 * 2 * (synthesize_no_2_5.getElectricitySellingPrice() - end) / 10000)); |
706 | synthesize_no_3_6.setNo26(num2); | 713 | synthesize_no_3_6.setNo26(num2); |
707 | no_3_1_1_1Dto.setProjectEarnings(format.apply(new BigDecimal(storedEnergyAll * 368 * 2 * (synthesize_no_2_5.getElectricitySellingPrice()) / 10000))); | 714 | no_3_1_1_1Dto.setProjectEarnings(format.apply(new BigDecimal(storedEnergyAll * 368 * 2 * (synthesize_no_2_5.getElectricitySellingPrice()) / 10000))); |
708 | - Double num3 = Double.valueOf(df.format((storedEnergyAll * 365 * 2 * end + storedEnergyAll * synthesizeNo26ServiceById.getNo20() * 1000) / 10000)); | 715 | + Double num3 = Double.valueOf(df.format((storedEnergyAll * 365 * 2 * end + storedEnergyAll * synthesizeNo26ServiceById.getNo20() / 0.93 * 1000) / 10000));//0.93充电效率 |
709 | no_3_1_1_1Dto.setRemark(format.apply(new BigDecimal(num3))); | 716 | no_3_1_1_1Dto.setRemark(format.apply(new BigDecimal(num3))); |
710 | synthesize_no_3_6.setNo68(num3); | 717 | synthesize_no_3_6.setNo68(num3); |
711 | no_3_1Tall_dto.setEnergyStorageRemarks("注:两充两放"); | 718 | no_3_1Tall_dto.setEnergyStorageRemarks("注:两充两放"); |
@@ -4455,9 +4462,9 @@ public class ProjectServiceImpl implements ProjectService { | @@ -4455,9 +4462,9 @@ public class ProjectServiceImpl implements ProjectService { | ||
4455 | */ | 4462 | */ |
4456 | EquipmentCapacityDto equipmentCapacityDto = new EquipmentCapacityDto(); | 4463 | EquipmentCapacityDto equipmentCapacityDto = new EquipmentCapacityDto(); |
4457 | equipmentCapacityDto.setName("供电"); | 4464 | equipmentCapacityDto.setName("供电"); |
4458 | - equipmentCapacityDto.setData(format.apply(BigDecimal.valueOf(synthesize_no_3_6.getNo65() + synthesize_no_3_6.getNo66() + synthesize_no_3_6.getNo67() + synthesize_no_3_6.getNo68()))); | 4465 | + equipmentCapacityDto.setData(format.apply(BigDecimal.valueOf(/*synthesize_no_3_6.getNo65() + */synthesize_no_3_6.getNo66() + synthesize_no_3_6.getNo67() + synthesize_no_3_6.getNo68()))); |
4459 | equipmentCapacityDto.setType("1"); | 4466 | equipmentCapacityDto.setType("1"); |
4460 | - list.add(equipmentCapacityDto); | 4467 | + list.add(equipmentCapacityDto);//去掉 供电成本 |
4461 | } else if ("2".equals(s)) { | 4468 | } else if ("2".equals(s)) { |
4462 | /** | 4469 | /** |
4463 | * 供热 | 4470 | * 供热 |
-
请 注册 或 登录 后发表评论