tangxu
2024-12-29 f7ec23b2fe6e8e48bbb32b8c9321b64529622406
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace DPumpHydr.WinFrmUI.Volute.ViewModel
{
    public class GeomBaseInfo
    {
        //D3min=D3max=D3=0.0;
        //b3min=b3max=b3=0.0;
        //FAI0=FAI0min=FAI0max=0.0;
        //K3=0.0;
        public double D3 { get;set;}
        public double D3_Min { get; set; }
        public double D3_Max { get; set; }
 
        public double B3 { get; set; }
        public double B3_Min { get; set; }
        public double B3_Max { get; set; }
 
        public double FAI0 { get; set; }//隔舌安放角
        public double FAI0_Min { get; set; }
        public double FAI0_Max { get; set; }
 
        public double K3 { get; set; }
        /// <summary>
        /// 比转速
        /// </summary>
        public double ns { get; set; }
        /// <summary>
        /// 连接的悬挂体最大处直径
        /// </summary>
        public double XgtBodyMaxDia { get; set; }
 
        /// <summary>
        /// 1. 隔舌切于基圆   0 采用正常切面
        /// </summary>
        public bool IsQieYuJiYuan { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="base_info"></param>
        public void Calc(HdrBaseInfo base_info)
        {
            this.ns = base_info.ns;
            //计算并设置K3
            if (base_info.ns < 170)
                K3 = Math.Round((69.1549 - 0.446605 * base_info.ns + 0.0014497 * base_info.ns * base_info.ns) / 100,3);
            else
                K3 = 0.35;//0.347;
 
            if (base_info.ShapeType == 2)
                K3 = Math.Round(K3 * 0.9,3);//0.8 环形
 
            //自己添加的,防止双吸泵截面过小
            if (base_info.IsSXB)
                K3 = Math.Round(K3 * 0.85,3);// 双吸泵
                               //排污泵
                               //if (DesignMode == YSSnxOpen::DesignMode::AssPawuQnshQw1)
                               //{
                               //    K3 = K3 * 0.75;
                               //}
 
            this.D3 = Math.Round(Math.Max(1.05 * base_info.D2, XgtBodyMaxDia) + 2);
 
 
            //计算并设置b3
            if (base_info.B2 <= 7)
                this.B3 = base_info.B2 * 3;
            if (base_info.B2 <= 32 && base_info.B2 > 7)
                this.B3 = base_info.B2 * 2;
            if (base_info.B2 > 32 && base_info.B2 <= 60)
                this.B3 = base_info.B2 * 1.5;
            if (base_info.B2 > 60)
                this.B3 = base_info.B2 * 1.2;
            this.B3_Min = base_info.B2 * 1.1;
            this.B3_Max = base_info.B2 * 3.5;
 
 
            //计算并设置FAIO
            if (base_info.ns < 100)
            {
                this.FAI0 = 25 + Math.Round(base_info.ns / 20,1);
                this.FAI0_Min = 25.0;
                this.FAI0_Max = 30.0;
            }
            if (base_info.ns >= 100 && base_info.ns < 200)
            {
                this.FAI0 = 30 + Math.Round((base_info.ns - 100) / 12.5, 1);
                this.FAI0_Min = 30.0;
                this.FAI0_Max = 38.0;
            }
            if (base_info.ns >= 200 && base_info.ns < 300)
            {
                this.FAI0 = 38 + Math.Round((base_info.ns - 200) / 50, 1);
                this.FAI0_Min = 38.0;
                this.FAI0_Max = 40.0;
            }
            if (base_info.ns > 300)
            {
                this.FAI0 = 42;
                this.FAI0_Min = 40.0;
                this.FAI0_Max = 45.0;
            }
        }
    }
}