개정판 a3da2d97
issue #1048 화면/메뉴/툴바 개발
Change-Id: Ia30bc2f9f359eb5778cfdb1c2356f20761673322
HYTOS/HYTOS/Calculation.py | ||
---|---|---|
1927 | 1927 |
dp_stat = self.dp_stat[no] if no in self.dp_stat else 0 |
1928 | 1928 |
length = self.length[no] if no in self.length else 0 |
1929 | 1929 |
fric_result = fric_result + total_length - dp_stat * length |
1930 |
|
|
1931 |
#fric_result = fric_result + self.total_length[no] - self.dp_stat[no] * self.length[no] |
|
1932 | 1930 |
else: |
1933 | 1931 |
total_length = self.total_length[no] if no in self.total_length else 0 |
1934 | 1932 |
fric_result = fric_result + total_length |
1935 | 1933 |
|
1936 |
#fric_result = fric_result + self.total_length[no] |
|
1937 |
|
|
1938 | 1934 |
values['Pressure_Drop_Friction'] = round(fric_result, 3) |
1939 | 1935 |
values['Pressure_Drop_Static'] = round(stat_result, 3) |
1940 | 1936 |
values['Velocity'] = self.homo_vel[1] |
내보내기 Unified diff