作者 kgy

修改

... ... @@ -634,7 +634,14 @@ public class ProjectServiceImpl implements ProjectService {
Double num1 = Double.valueOf(df.format(windAh * synthesizeNo26ServiceById.getNo21() / 10));
synthesize_no_3_6.setNo37(num1);
no_3_1_1_1Dto.setInvestmentEstimation(format.apply(new BigDecimal(num1)));
Double num2 = Double.valueOf(df.format(windAh * synthesizeNo26ServiceById.getNo124() * synthesize_no_2_5.getElectricitySellingPrice() / 10000));
Double fd = windAh * synthesizeNo26ServiceById.getNo124();
Double num2 = 0d;
if(fd>electricityAll){
num2 = Double.valueOf(df.format(electricityAll * synthesize_no_2_5.getElectricitySellingPrice() / 10000));
}else{
num2 = Double.valueOf(df.format(fd * synthesize_no_2_5.getElectricitySellingPrice() / 10000));
}
synthesize_no_3_6.setNo25(num2);
no_3_1_1_1Dto.setProjectEarnings(format.apply(new BigDecimal(num2)));
Double num3 = Double.valueOf(df.format(windAh * synthesizeNo26ServiceById.getNo22() * 1000 / 10000));
... ... @@ -1779,18 +1786,18 @@ public class ProjectServiceImpl implements ProjectService {
* 节约标煤=(光伏发电量+风电发电量+年需热量/(空气源热泵能效比-1)/0.9+年需供热量/(1-电锅炉热效率)+年需供热量/(1-燃气锅炉热效率)+年需热量/(多联机空调能效比-1)+年蓄热量/3+年需冷量/
* (空气源热泵能效比-1)+年需供冷量/(冷水机组能效比-1)+年需冷量/(多联机空调能效比-1)+年蓄冷量/3+[4.2*年总需热水热量/0.9*(0.6+0.4/(空气源热泵(热水型)COP-1)])*0.404/1000
*/
double savingStandardCoal = ((synthesize_no_3_6.getNo51() + synthesize_no_3_6.getNo52() + Double.parseDouble(format) / (synthesizeNo26ServiceById.getNo26() - 1) / 0.9 + synthesize_no_3_6.getNo55() /
double savingStandardCoal = (((synthesize_no_3_6.getNo51() + synthesize_no_3_6.getNo52() + Double.parseDouble(format) / (synthesizeNo26ServiceById.getNo26() - 1) / 0.9 + synthesize_no_3_6.getNo55() /
(1 - synthesizeNo26ServiceById.getNo23()) + synthesize_no_3_6.getNo57() / (1 - synthesizeNo26ServiceById.getNo35()) + Double.parseDouble(format) / (synthesizeNo26ServiceById.getNo100() - 1) + synthesize_no_3_6.getNo233() / 3 + Double.parseDouble(format2)
/ (synthesizeNo26ServiceById.getNo38() - 1) + synthesize_no_3_6.getNo58() / (synthesizeNo26ServiceById.getNo47() - 1) + Double.parseDouble(format2) /
(synthesizeNo26ServiceById.getNo101() - 1) + synthesize_no_3_6.getNo234() / 3 + (4.2 * synthesize_no_3_6.getNo62() / 0.9 * (0.6 + 0.4 / (synthesizeNo26ServiceById.getNo53() - 1))) * 0.404 / 1000));
(synthesizeNo26ServiceById.getNo101() - 1) + synthesize_no_3_6.getNo234() / 3 + (4.2 * synthesize_no_3_6.getNo62() / 0.9 * (0.6 + 0.4 / (synthesizeNo26ServiceById.getNo53() - 1)))) * 0.404 / 1000));
/**
* @description 二氧化碳减排 =(光伏发电量+风电发电量+[4.2*年总需热水热量/0.9*(0.6+0.4*(空气源热泵(热水型)COP-1)])*0.03/1000
* 节约标煤=(光伏发电量+风电发电量+年需热量/(热泵能效比-1)/0.9+年需供热量/(1-电锅炉热效率)+年需供热量/(1-燃气锅炉热效率)+年需热量/(多联机空调能效比-1)+年蓄热量/3+年需冷量/(空气源热泵能效比-1)+年需供冷量/(冷水机组能效比-1)+年需冷量/(多联机空调能效比-1)+年蓄冷量/3+[4.2*年总需热水热量/0.9*(0.6+0.4/(空气源热泵(热水型)COP-1)])*0.03/1000
*/
double co2Reduction = ((synthesize_no_3_6.getNo51() + synthesize_no_3_6.getNo52() + Double.parseDouble(format) / (synthesizeNo26ServiceById.getNo26() - 1) / 0.9 + synthesize_no_3_6.getNo54() / (1 - synthesizeNo26ServiceById.getNo23()) +
double co2Reduction = (((synthesize_no_3_6.getNo51() + synthesize_no_3_6.getNo52() + Double.parseDouble(format) / (synthesizeNo26ServiceById.getNo26() - 1) / 0.9 + synthesize_no_3_6.getNo54() / (1 - synthesizeNo26ServiceById.getNo23()) +
synthesize_no_3_6.getNo57() / (1 - synthesizeNo26ServiceById.getNo35()) + Double.parseDouble(format) / (synthesizeNo26ServiceById.getNo100() - 1) + synthesize_no_3_6.getNo233() / 3 +
Double.parseDouble(format2) / (synthesizeNo26ServiceById.getNo47() - 1) + synthesize_no_3_6.getNo59() / (synthesizeNo26ServiceById.getNo38() - 1) + Double.parseDouble(format2) / (synthesizeNo26ServiceById.getNo101() - 1)
+ synthesize_no_3_6.getNo234() / 3 + (4.2 * synthesize_no_3_6.getNo62() / 0.9 * (0.6 + 0.4 / (synthesizeNo26ServiceById.getNo53() - 1))) * 0.03 / 1000));
+ synthesize_no_3_6.getNo234() / 3 + (4.2 * synthesize_no_3_6.getNo62() / 0.9 * (0.6 + 0.4 / (synthesizeNo26ServiceById.getNo53() - 1)))) * 0.997 / 1000));
Map<String, Object> map = new HashMap<>(2);
if (savingStandardCoal == 0) {
map.put("num1", 0 + "吨");
... ...