liurunyu
5 天以前 44eb64bef08ce231ac95d5ee482b046014dc8afa
pipIrr-platform/pipIrr-web/pipIrr-web-model/src/main/java/com/dy/pipIrrModel/modelCalculate/Hargreaves.java
@@ -108,7 +108,7 @@
     * @return
     */
    public static Double ET0(Double kc, Double maxT, Double minT, Double zenithRadiation){
        Expression expression = new ExpressionBuilder("x * (0.0023 * (((a + b) / 2) + 17.8) * ((a + b)^(1/2)) * c * 0.408)")
        Expression expression = new ExpressionBuilder("x * (0.0023 * (((a + b) / 2) + 17.8) * ((a - b)^(1/2)) * c * 0.408)")
                .variables("x", "a", "b", "c")
                .build();
        // 设置变量值
@@ -144,7 +144,7 @@
        System.out.println("天顶辐射:" + zenithRadiation);
        Double et0 = ET0(kc, maxT, minT, zenithRadiation);
        System.out.println(et0);
        System.out.println("蒸散量:" + et0);
    }
}