duheng
2024-12-11 423b9511a9ce98fe36a235d5d2ab0d5a8e66238e
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/12-report/02-helper/SimulationWorkingReportHelper.cs
@@ -9,7 +9,6 @@
    /// </summary>
    public class SimulationWorkingReportHelper
    {
        //文字描述运行模式介绍    二)运行情况与能耗分析中 "全年:"后
        private string _run_mode = "*******************************************************************";
@@ -49,8 +48,6 @@
        //报告结尾 时间月
        private int _month = DateTime.Today.Month;
        /// <summary>
        /// 创建word
@@ -120,6 +117,8 @@
            SimulationWordReportHelper Text_left_15_black = new SimulationWordReportHelper(builder) { fontsize = 15, isblod = true };//一级标题
            SimulationWordReportHelper Text_left_12_black = new SimulationWordReportHelper(builder) { fontsize = 12 };
            SimulationWordReportHelper Text_reight_10_black = new SimulationWordReportHelper(builder) { fontalignment = ParagraphAlignment.Right, fontsize = 12 };
            SimulationWordReportHelper Text_left_13_black = new SimulationWordReportHelper(builder) { fontsize = 13 };
            SetWordHander(src, vm.Info.Name, vm.ReportType);
            SetWordFooter(src, vm.Info.Name, vm.ReportType);
@@ -135,9 +134,7 @@
            Text_center_25_black.structureText(string.Format("{0}{1}", vm.Info.Name, vm.ReportType));
            Text_left_15_black.structureText("一、系统概述");
            Text_left_15_black.AddBlankLine();
            Text_left_15_black.AddBlankLine();
            Text_left_12_black.structureText(string.Format("{0}", vm.Info.Description));
            Text_left_13_black.structureText(string.Format("{0}", vm.Info.Description));
            Text_left_12_black.structureText("1.1、设备基本配置");
            #region 设别基本配置表
@@ -585,10 +582,17 @@
            #endregion 实际能耗情况表
            Text_left_12_black.structureLeft20Text("2.3、高能耗分析");
            Text_left_12_black.structureTextAndImage(vm.Working.EnergyAnalyImagePath, 240, 400);
            Text_left_12_black.structureLeft20Text("通过对系统运行工况进行检测分析,认为该系统存在 “低效率、高能耗”现象。主要表现在以下方面:");
            Text_left_12_black.structureLeft20Text("1)水泵特性与管网特性不相匹配,造成水泵偏离设计工况运行,其实际运行效率下降,造成较多的无效能耗,处于不经济运行状态;而当前循环水工况又并非是系统的最佳状态,优化管网阻抗整合运行参数,将使本系统具有较大的节能空间。");
            Text_left_12_black.structureLeft20Text("2)水泵性能曲线和管网特性曲线不相匹配,在水系统在输送过程中存在闭阀调节阻力,增加了输送过程中的无效能耗,降低水系统的输送效率;需要重新对系统进行建模分析,降低系统阻力,优化水泵扬程。");
            Text_left_12_black.structureLeft20Text("3)缺乏技术手段对换热设备进行量化调节,流量过大存在浪费。通过调试并配置优化,对换热器定量分析,制定换热器运行合理方案,改换热器为定量控制,最终消除无效流量,使系统处在优良状态下运行。");
            Text_left_12_black.structureLeft20Text("2.4、损失曲线");
            Text_left_12_black.structureTextAndImage(vm.Working.LossCurveImagePath, 210, 400);
            Text_left_12_black.structureLeft20Text("2.5、损失统计");
            var pathList = new List<string>() { vm.Working.EnergyInputImagePath, vm.Working.EnergyLossImagePath };
            Text_left_12_black.structureImagesInRow(pathList, 110, 220);
            Text_left_12_black.structureTextAndImage(vm.Working.EnergyStatisticsImagePath, 50, 440);
            Text_left_15_black.structureText("三)\t节能技改方案与设计指标");
            Text_left_12_black.structureLeft20Text("3.1、设计依据");
@@ -598,15 +602,13 @@
            Text_left_12_black.structureLeft20Text("3.1.3 通过水泵性能曲线模拟,水泵运行在一定的工况下,其流量Q、扬程H、功率P、效率η相对应;实际性能与标准性能一般差异(主要为效率η指标)");
            Text_left_12_black.structureLeft20Text("3.1.4 管路系统压力降换算基本公式(i代表单位米长度管道上沿程阻力系数)");
            // 插入图片
            //  builder.Write("      ");
            Text_left_12_black.structureTextAndImage(Xhs.Core.Properties.Resources.Pressure_conversion_formula_big1_2, 30, 150);
            Text_left_12_black.structureTextAndImage("00-core\\Pressure_conversion_formula_big1.2.png", 30, 150);
            //  builder.Write("      ");
            Text_left_12_black.structureTextAndImage("00-core\\Pressure_conversion_formula_small1.2.png", 35, 220);
            Text_left_12_black.structureTextAndImage(Xhs.Core.Properties.Resources.Pressure_conversion_formula_small1_2, 35, 220);
            Text_left_12_black.structureLeft20Text("3.1.5 局部阻力计算公式");
            //      builder.Write("      ");
            Text_left_12_black.structureTextAndImage("00-core\\Local_resistance.png", 35, 60);
            Text_left_12_black.structureTextAndImage(Xhs.Core.Properties.Resources.Local_resistance, 35, 60);
            Text_left_12_black.structureLeft20Text("3.1.6 阀门开度与局部阻力系数关系(参考)");
            #region 阀门开度与局部阻力系数关系表
@@ -1279,7 +1281,5 @@
                builder.MoveToDocumentEnd();
            }
        }
    }
}
}