개정판 e1794d4f
issue #00 : Bar, Mpa 단위 계산 오류 수정
Change-Id: I3d275a34a5db5f66de613636cceff9c93d7b025a
HYTOS/HYTOS/Shapes/EngineeringLoopItem.py | ||
---|---|---|
1840 | 1840 |
elif pressure_unit == 'atm': |
1841 | 1841 |
vapor_pressure = round(press2 / 1.033, 3) |
1842 | 1842 |
elif pressure_unit == 'bar': |
1843 |
vapor_pressure = round(press2 / 1.033 * 1.033, 3)
|
|
1843 |
vapor_pressure = round(press2 / 1.033 * 1.013, 3)
|
|
1844 | 1844 |
elif pressure_unit == 'mmHg': |
1845 |
vapor_pressure = round(press2 / 1.033 * 760) |
|
1845 |
vapor_pressure = round(press2 / 1.033 * 760, 3)
|
|
1846 | 1846 |
elif pressure_unit == 'kPa': |
1847 | 1847 |
vapor_pressure = round(press2 / 1.033 * 101.325, 3) |
1848 | 1848 |
elif pressure_unit == 'MPa': |
1849 |
vapor_pressure = round(press2 / 10.33 * 0.101325, 3)
|
|
1849 |
vapor_pressure = round(press2 / 1.033 * 0.101325, 3)
|
|
1850 | 1850 |
|
1851 | 1851 |
velocity_unit = self.units['Velocity'] |
1852 | 1852 |
if velocity_unit == 'm/s': |
... | ... | |
1938 | 1938 |
elif pressure_unit == 'kPa': |
1939 | 1939 |
self.pressure_drops[self.items[i]] = (press2 - press1) / 1.033 * 101.325 |
1940 | 1940 |
elif pressure_unit == 'MPa': |
1941 |
self.pressure_drops[self.items[i]] = (press2 - press1) / 10.33 * 0.101325
|
|
1941 |
self.pressure_drops[self.items[i]] = (press2 - press1) / 1.033 * 0.101325
|
|
1942 | 1942 |
|
1943 | 1943 |
# Vapor DB에 입력 |
1944 | 1944 |
vapor_pressure_gradient = [] |
... | ... | |
1956 | 1956 |
elif pressure_unit == 'kPa': |
1957 | 1957 |
vapor_pressure = round(press2 / 1.033 * 101.325, 3) |
1958 | 1958 |
elif pressure_unit == 'MPa': |
1959 |
vapor_pressure = round(press2 / 10.33 * 0.101325, 3)
|
|
1959 |
vapor_pressure = round(press2 / 1.033 * 0.101325, 3)
|
|
1960 | 1960 |
|
1961 | 1961 |
velocity_unit = self.units['Velocity'] |
1962 | 1962 |
if velocity_unit == 'm/s': |
내보내기 Unified diff