개정판 3b44b5a7
issue #1254 : Diameter Estimation (Line Sizing) - Liquid
Change-Id: I50873f466ef00c22273c4ebe8da86cf4b1af94bd
HYTOS/HYTOS/DiameterEstimation_Liquid.py | ||
---|---|---|
111 | 111 |
sys.exc_info()[-1].tb_lineno) |
112 | 112 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
113 | 113 |
|
114 |
def get_std_nd(self, mass, density, goal): |
|
115 |
std_nd = 0 |
|
116 |
d125 = mass / density |
|
117 |
b125 = (d125 / math.pi * (std_nd / 2 * 0.0254) ** 2) / 3600 |
|
114 |
def f(self, inner_dia): |
|
115 |
try: |
|
116 |
e = 680 # Density |
|
117 |
j = inner_dia |
|
118 |
l = 0.000046 # Roughness |
|
119 |
k = 0.7 # Viscosity |
|
120 |
i = 123456 # Flowrate_Mass |
|
121 |
d = i / e |
|
122 |
b = (d / (math.pi * (j / 2 * 0.0254) ** 2)) / 3600 |
|
123 |
f = b * 0.0254 * j * e / (k * 0.001) |
|
124 |
g = ((l / (j * 0.0254)) ** 1.1098) / 2.8257 + (7.149 / f) ** 0.8981 |
|
125 |
h = (2 * math.log(l / (j * 0.0254) / 3.7065 - 5.0452 * math.log(g) / f) * (-1)) ** (-2) |
|
126 |
|
|
127 |
return (h / (j * 0.0254) * b ** 2 / 2 / 9.8066 * e / 10000) * 100 |
|
128 |
|
|
129 |
except Exception as ex: |
|
130 |
from App import App |
|
131 |
from AppDocData import MessageType |
|
132 |
|
|
133 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, |
|
134 |
sys.exc_info()[-1].tb_lineno) |
|
135 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
|
136 |
|
|
137 |
def get_std_nd(self, goal): |
|
138 |
try: |
|
139 |
from WhatIfAnalysis import GoalSeek |
|
140 |
|
|
141 |
# (ii) Define the goal (result) |
|
118 | 142 |
|
119 |
return 0 |
|
143 |
# (iii) Define a starting point |
|
144 |
x0 = 0.5 |
|
145 |
|
|
146 |
inner_dia = GoalSeek(self.f, goal, x0) |
|
147 |
|
|
148 |
return inner_dia |
|
149 |
except Exception as ex: |
|
150 |
from App import App |
|
151 |
from AppDocData import MessageType |
|
152 |
|
|
153 |
message = 'error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, |
|
154 |
sys.exc_info()[-1].tb_lineno) |
|
155 |
App.mainWnd().addMessage.emit(MessageType.Error, message) |
|
120 | 156 |
|
121 | 157 |
def calc_pde_l2(self, mass, density, viscosity, volume): |
122 | 158 |
try: |
... | ... | |
163 | 199 |
elif roughness_unit == 'mm': |
164 | 200 |
rough = roughness * 0.001 |
165 | 201 |
|
166 |
pass |
|
167 |
# ToDo.. |
|
168 | 202 |
# 기준 Dia를 구해야함 |
169 | 203 |
# *********************** 2. 목표값 찾기 (기준 Dia 구함) *********************** |
170 | 204 |
# 기준 Dia 구함 (in) |
171 |
std_nd = self.get_std_nd(mass, density, goal)
|
|
205 |
std_nd = self.get_std_nd(goal) |
|
172 | 206 |
nd_unit = self.units['Pipe_Diameter'] |
173 | 207 |
row_id = self.get_row_id(std_nd, nd_unit) |
174 | 208 |
|
209 |
if not std_nd: |
|
210 |
return |
|
211 |
|
|
175 | 212 |
if std_nd > 36: |
176 | 213 |
selected_nd = math.ceil(std_nd) |
177 | 214 |
else: |
HYTOS/HYTOS/DiameterEstimation_Vapor_UI.py | ||
---|---|---|
13 | 13 |
class Ui_Dialog(object): |
14 | 14 |
def setupUi(self, Dialog): |
15 | 15 |
Dialog.setObjectName("Dialog") |
16 |
Dialog.resize(564, 544)
|
|
16 |
Dialog.resize(656, 488)
|
|
17 | 17 |
font = QtGui.QFont() |
18 | 18 |
font.setFamily("굴림") |
19 | 19 |
Dialog.setFont(font) |
... | ... | |
24 | 24 |
self.gridLayout.setObjectName("gridLayout") |
25 | 25 |
self.verticalLayout = QtWidgets.QVBoxLayout() |
26 | 26 |
self.verticalLayout.setObjectName("verticalLayout") |
27 |
self.horizontalLayout_8 = QtWidgets.QHBoxLayout() |
|
28 |
self.horizontalLayout_8.setObjectName("horizontalLayout_8") |
|
27 | 29 |
self.groupBox_4 = QtWidgets.QGroupBox(Dialog) |
30 |
self.groupBox_4.setMinimumSize(QtCore.QSize(300, 150)) |
|
31 |
self.groupBox_4.setMaximumSize(QtCore.QSize(300, 150)) |
|
28 | 32 |
font = QtGui.QFont() |
29 | 33 |
font.setFamily("굴림") |
30 | 34 |
font.setBold(True) |
... | ... | |
33 | 37 |
self.groupBox_4.setObjectName("groupBox_4") |
34 | 38 |
self.gridLayout_5 = QtWidgets.QGridLayout(self.groupBox_4) |
35 | 39 |
self.gridLayout_5.setObjectName("gridLayout_5") |
36 |
self.horizontalLayout_7 = QtWidgets.QHBoxLayout() |
|
37 |
self.horizontalLayout_7.setObjectName("horizontalLayout_7") |
|
38 | 40 |
self.label_6 = QtWidgets.QLabel(self.groupBox_4) |
39 |
self.label_6.setMinimumSize(QtCore.QSize(210, 0))
|
|
40 |
self.label_6.setMaximumSize(QtCore.QSize(210, 16777215))
|
|
41 |
self.label_6.setMinimumSize(QtCore.QSize(0, 0)) |
|
42 |
self.label_6.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
|
41 | 43 |
font = QtGui.QFont() |
42 | 44 |
font.setBold(False) |
43 | 45 |
font.setWeight(50) |
44 | 46 |
self.label_6.setFont(font) |
45 | 47 |
self.label_6.setObjectName("label_6") |
46 |
self.horizontalLayout_7.addWidget(self.label_6)
|
|
47 |
self.label_5 = QtWidgets.QLabel(self.groupBox_4)
|
|
48 |
self.label_5.setMinimumSize(QtCore.QSize(150, 0))
|
|
49 |
self.label_5.setMaximumSize(QtCore.QSize(150, 16777215))
|
|
48 |
self.gridLayout_5.addWidget(self.label_6, 0, 0, 1, 1)
|
|
49 |
self.label_Outlet_Pressure_Unit = QtWidgets.QLabel(self.groupBox_4)
|
|
50 |
self.label_Outlet_Pressure_Unit.setMinimumSize(QtCore.QSize(98, 0))
|
|
51 |
self.label_Outlet_Pressure_Unit.setMaximumSize(QtCore.QSize(98, 16777215))
|
|
50 | 52 |
font = QtGui.QFont() |
51 | 53 |
font.setBold(False) |
52 | 54 |
font.setWeight(50) |
53 |
self.label_5.setFont(font) |
|
54 |
self.label_5.setObjectName("label_5") |
|
55 |
self.horizontalLayout_7.addWidget(self.label_5) |
|
56 |
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
57 |
self.horizontalLayout_7.addItem(spacerItem) |
|
58 |
self.gridLayout_5.addLayout(self.horizontalLayout_7, 0, 0, 1, 1) |
|
59 |
self.horizontalLayout_6 = QtWidgets.QHBoxLayout() |
|
60 |
self.horizontalLayout_6.setObjectName("horizontalLayout_6") |
|
61 |
self.lineEdit_Inlet_Pressure = QtWidgets.QLineEdit(self.groupBox_4) |
|
62 |
self.lineEdit_Inlet_Pressure.setMinimumSize(QtCore.QSize(100, 0)) |
|
63 |
self.lineEdit_Inlet_Pressure.setMaximumSize(QtCore.QSize(100, 16777215)) |
|
55 |
self.label_Outlet_Pressure_Unit.setFont(font) |
|
56 |
self.label_Outlet_Pressure_Unit.setAlignment(QtCore.Qt.AlignCenter) |
|
57 |
self.label_Outlet_Pressure_Unit.setObjectName("label_Outlet_Pressure_Unit") |
|
58 |
self.gridLayout_5.addWidget(self.label_Outlet_Pressure_Unit, 3, 2, 1, 1) |
|
59 |
self.label_5 = QtWidgets.QLabel(self.groupBox_4) |
|
60 |
self.label_5.setMinimumSize(QtCore.QSize(0, 0)) |
|
61 |
self.label_5.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
|
64 | 62 |
font = QtGui.QFont() |
65 | 63 |
font.setBold(False) |
66 | 64 |
font.setWeight(50) |
67 |
self.lineEdit_Inlet_Pressure.setFont(font) |
|
68 |
self.lineEdit_Inlet_Pressure.setAlignment(QtCore.Qt.AlignCenter) |
|
69 |
self.lineEdit_Inlet_Pressure.setReadOnly(False) |
|
70 |
self.lineEdit_Inlet_Pressure.setObjectName("lineEdit_Inlet_Pressure") |
|
71 |
self.horizontalLayout_6.addWidget(self.lineEdit_Inlet_Pressure) |
|
72 |
self.label_Inlet_Pressure_Unit = QtWidgets.QLabel(self.groupBox_4) |
|
73 |
self.label_Inlet_Pressure_Unit.setMinimumSize(QtCore.QSize(80, 0)) |
|
74 |
self.label_Inlet_Pressure_Unit.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
65 |
self.label_5.setFont(font) |
|
66 |
self.label_5.setObjectName("label_5") |
|
67 |
self.gridLayout_5.addWidget(self.label_5, 0, 2, 1, 1) |
|
68 |
self.pushButton_Apply = QtWidgets.QPushButton(self.groupBox_4) |
|
75 | 69 |
font = QtGui.QFont() |
76 | 70 |
font.setBold(False) |
77 | 71 |
font.setWeight(50) |
78 |
self.label_Inlet_Pressure_Unit.setFont(font)
|
|
79 |
self.label_Inlet_Pressure_Unit.setObjectName("label_Inlet_Pressure_Unit")
|
|
80 |
self.horizontalLayout_6.addWidget(self.label_Inlet_Pressure_Unit)
|
|
72 |
self.pushButton_Apply.setFont(font)
|
|
73 |
self.pushButton_Apply.setObjectName("pushButton_Apply")
|
|
74 |
self.gridLayout_5.addWidget(self.pushButton_Apply, 2, 1, 1, 1)
|
|
81 | 75 |
self.lineEdit_Outlet_Pressure = QtWidgets.QLineEdit(self.groupBox_4) |
82 | 76 |
self.lineEdit_Outlet_Pressure.setMinimumSize(QtCore.QSize(100, 0)) |
83 | 77 |
self.lineEdit_Outlet_Pressure.setMaximumSize(QtCore.QSize(100, 16777215)) |
... | ... | |
88 | 82 |
self.lineEdit_Outlet_Pressure.setAlignment(QtCore.Qt.AlignCenter) |
89 | 83 |
self.lineEdit_Outlet_Pressure.setReadOnly(False) |
90 | 84 |
self.lineEdit_Outlet_Pressure.setObjectName("lineEdit_Outlet_Pressure") |
91 |
self.horizontalLayout_6.addWidget(self.lineEdit_Outlet_Pressure) |
|
92 |
self.label_Outlet_Pressure_Unit = QtWidgets.QLabel(self.groupBox_4) |
|
93 |
self.label_Outlet_Pressure_Unit.setMinimumSize(QtCore.QSize(80, 0)) |
|
94 |
self.label_Outlet_Pressure_Unit.setMaximumSize(QtCore.QSize(80, 16777215)) |
|
85 |
self.gridLayout_5.addWidget(self.lineEdit_Outlet_Pressure, 2, 2, 1, 1) |
|
86 |
self.label_7 = QtWidgets.QLabel(self.groupBox_4) |
|
87 |
self.label_7.setObjectName("label_7") |
|
88 |
self.gridLayout_5.addWidget(self.label_7, 1, 0, 1, 3) |
|
89 |
self.lineEdit_Inlet_Pressure = QtWidgets.QLineEdit(self.groupBox_4) |
|
90 |
self.lineEdit_Inlet_Pressure.setMinimumSize(QtCore.QSize(100, 0)) |
|
91 |
self.lineEdit_Inlet_Pressure.setMaximumSize(QtCore.QSize(100, 16777215)) |
|
95 | 92 |
font = QtGui.QFont() |
96 | 93 |
font.setBold(False) |
97 | 94 |
font.setWeight(50) |
98 |
self.label_Outlet_Pressure_Unit.setFont(font) |
|
99 |
self.label_Outlet_Pressure_Unit.setObjectName("label_Outlet_Pressure_Unit") |
|
100 |
self.horizontalLayout_6.addWidget(self.label_Outlet_Pressure_Unit) |
|
101 |
self.pushButton_Apply = QtWidgets.QPushButton(self.groupBox_4) |
|
95 |
self.lineEdit_Inlet_Pressure.setFont(font) |
|
96 |
self.lineEdit_Inlet_Pressure.setAlignment(QtCore.Qt.AlignCenter) |
|
97 |
self.lineEdit_Inlet_Pressure.setReadOnly(False) |
|
98 |
self.lineEdit_Inlet_Pressure.setObjectName("lineEdit_Inlet_Pressure") |
|
99 |
self.gridLayout_5.addWidget(self.lineEdit_Inlet_Pressure, 2, 0, 1, 1) |
|
100 |
self.label_Inlet_Pressure_Unit = QtWidgets.QLabel(self.groupBox_4) |
|
101 |
self.label_Inlet_Pressure_Unit.setMinimumSize(QtCore.QSize(98, 0)) |
|
102 |
self.label_Inlet_Pressure_Unit.setMaximumSize(QtCore.QSize(98, 16777215)) |
|
102 | 103 |
font = QtGui.QFont() |
103 | 104 |
font.setBold(False) |
104 | 105 |
font.setWeight(50) |
105 |
self.pushButton_Apply.setFont(font) |
|
106 |
self.pushButton_Apply.setObjectName("pushButton_Apply") |
|
107 |
self.horizontalLayout_6.addWidget(self.pushButton_Apply) |
|
108 |
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
109 |
self.horizontalLayout_6.addItem(spacerItem1) |
|
110 |
self.gridLayout_5.addLayout(self.horizontalLayout_6, 2, 0, 1, 1) |
|
111 |
self.label_7 = QtWidgets.QLabel(self.groupBox_4) |
|
112 |
self.label_7.setObjectName("label_7") |
|
113 |
self.gridLayout_5.addWidget(self.label_7, 1, 0, 1, 1) |
|
114 |
self.verticalLayout.addWidget(self.groupBox_4) |
|
106 |
self.label_Inlet_Pressure_Unit.setFont(font) |
|
107 |
self.label_Inlet_Pressure_Unit.setAlignment(QtCore.Qt.AlignCenter) |
|
108 |
self.label_Inlet_Pressure_Unit.setObjectName("label_Inlet_Pressure_Unit") |
|
109 |
self.gridLayout_5.addWidget(self.label_Inlet_Pressure_Unit, 3, 0, 1, 1) |
|
110 |
self.horizontalLayout_8.addWidget(self.groupBox_4) |
|
115 | 111 |
self.groupBox_3 = QtWidgets.QGroupBox(Dialog) |
116 | 112 |
font = QtGui.QFont() |
117 | 113 |
font.setFamily("굴림") |
... | ... | |
121 | 117 |
self.groupBox_3.setObjectName("groupBox_3") |
122 | 118 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_3) |
123 | 119 |
self.gridLayout_4.setObjectName("gridLayout_4") |
120 |
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
121 |
self.gridLayout_4.addItem(spacerItem, 0, 0, 1, 1) |
|
124 | 122 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout() |
125 | 123 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
126 | 124 |
self.label_3 = QtWidgets.QLabel(self.groupBox_3) |
... | ... | |
150 | 148 |
self.label_Flowrate_Volume_Unit.setFont(font) |
151 | 149 |
self.label_Flowrate_Volume_Unit.setObjectName("label_Flowrate_Volume_Unit") |
152 | 150 |
self.horizontalLayout_4.addWidget(self.label_Flowrate_Volume_Unit) |
153 |
self.gridLayout_4.addLayout(self.horizontalLayout_4, 1, 0, 1, 1)
|
|
151 |
self.gridLayout_4.addLayout(self.horizontalLayout_4, 2, 0, 1, 1)
|
|
154 | 152 |
self.horizontalLayout_5 = QtWidgets.QHBoxLayout() |
155 | 153 |
self.horizontalLayout_5.setObjectName("horizontalLayout_5") |
156 | 154 |
self.label_4 = QtWidgets.QLabel(self.groupBox_3) |
... | ... | |
180 | 178 |
self.label_Density_Unit.setFont(font) |
181 | 179 |
self.label_Density_Unit.setObjectName("label_Density_Unit") |
182 | 180 |
self.horizontalLayout_5.addWidget(self.label_Density_Unit) |
183 |
self.gridLayout_4.addLayout(self.horizontalLayout_5, 0, 0, 1, 1) |
|
184 |
self.verticalLayout.addWidget(self.groupBox_3) |
|
181 |
self.gridLayout_4.addLayout(self.horizontalLayout_5, 1, 0, 1, 1) |
|
182 |
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
|
183 |
self.gridLayout_4.addItem(spacerItem1, 3, 0, 1, 1) |
|
184 |
self.horizontalLayout_8.addWidget(self.groupBox_3) |
|
185 |
self.verticalLayout.addLayout(self.horizontalLayout_8) |
|
185 | 186 |
self.groupBox = QtWidgets.QGroupBox(Dialog) |
186 | 187 |
font = QtGui.QFont() |
187 | 188 |
font.setFamily("굴림") |
... | ... | |
295 | 296 |
_translate = QtCore.QCoreApplication.translate |
296 | 297 |
Dialog.setWindowTitle(_translate("Dialog", "Pipe Diameter Estimation")) |
297 | 298 |
self.groupBox_4.setTitle(_translate("Dialog", "Reference Pressure")) |
298 |
self.label_6.setText(_translate("Dialog", " Inlet P.")) |
|
299 |
self.label_5.setText(_translate("Dialog", "Outlet P.")) |
|
300 |
self.label_Inlet_Pressure_Unit.setText(_translate("Dialog", "-")) |
|
299 |
self.label_6.setText(_translate("Dialog", " Inlet P.")) |
|
301 | 300 |
self.label_Outlet_Pressure_Unit.setText(_translate("Dialog", "-")) |
301 |
self.label_5.setText(_translate("Dialog", " Outlet P.")) |
|
302 | 302 |
self.pushButton_Apply.setText(_translate("Dialog", "Apply")) |
303 | 303 |
self.label_7.setText(_translate("Dialog", "<html><head/><body><p><img src=\":/images/S_Out.png\"/></p></body></html>")) |
304 |
self.label_Inlet_Pressure_Unit.setText(_translate("Dialog", "-")) |
|
304 | 305 |
self.groupBox_3.setTitle(_translate("Dialog", "Calculated Property")) |
305 | 306 |
self.label_3.setText(_translate("Dialog", "- Normal Volume Flowrate")) |
306 | 307 |
self.label_Flowrate_Volume_Unit.setText(_translate("Dialog", "-")) |
HYTOS/HYTOS/UI/DiameterEstimation_Vapor.ui | ||
---|---|---|
6 | 6 |
<rect> |
7 | 7 |
<x>0</x> |
8 | 8 |
<y>0</y> |
9 |
<width>564</width>
|
|
10 |
<height>544</height>
|
|
9 |
<width>656</width>
|
|
10 |
<height>488</height>
|
|
11 | 11 |
</rect> |
12 | 12 |
</property> |
13 | 13 |
<property name="font"> |
... | ... | |
26 | 26 |
<item row="0" column="0"> |
27 | 27 |
<layout class="QVBoxLayout" name="verticalLayout"> |
28 | 28 |
<item> |
29 |
<widget class="QGroupBox" name="groupBox_4"> |
|
30 |
<property name="font"> |
|
31 |
<font> |
|
32 |
<family>굴림</family> |
|
33 |
<weight>75</weight> |
|
34 |
<bold>true</bold> |
|
35 |
</font> |
|
36 |
</property> |
|
37 |
<property name="title"> |
|
38 |
<string>Reference Pressure</string> |
|
39 |
</property> |
|
40 |
<layout class="QGridLayout" name="gridLayout_5"> |
|
41 |
<item row="0" column="0"> |
|
42 |
<layout class="QHBoxLayout" name="horizontalLayout_7"> |
|
43 |
<item> |
|
29 |
<layout class="QHBoxLayout" name="horizontalLayout_8"> |
|
30 |
<item> |
|
31 |
<widget class="QGroupBox" name="groupBox_4"> |
|
32 |
<property name="minimumSize"> |
|
33 |
<size> |
|
34 |
<width>300</width> |
|
35 |
<height>150</height> |
|
36 |
</size> |
|
37 |
</property> |
|
38 |
<property name="maximumSize"> |
|
39 |
<size> |
|
40 |
<width>300</width> |
|
41 |
<height>150</height> |
|
42 |
</size> |
|
43 |
</property> |
|
44 |
<property name="font"> |
|
45 |
<font> |
|
46 |
<family>굴림</family> |
|
47 |
<weight>75</weight> |
|
48 |
<bold>true</bold> |
|
49 |
</font> |
|
50 |
</property> |
|
51 |
<property name="title"> |
|
52 |
<string>Reference Pressure</string> |
|
53 |
</property> |
|
54 |
<layout class="QGridLayout" name="gridLayout_5"> |
|
55 |
<item row="0" column="0"> |
|
44 | 56 |
<widget class="QLabel" name="label_6"> |
45 | 57 |
<property name="minimumSize"> |
46 | 58 |
<size> |
47 |
<width>210</width>
|
|
59 |
<width>0</width> |
|
48 | 60 |
<height>0</height> |
49 | 61 |
</size> |
50 | 62 |
</property> |
51 | 63 |
<property name="maximumSize"> |
52 | 64 |
<size> |
53 |
<width>210</width>
|
|
65 |
<width>16777215</width>
|
|
54 | 66 |
<height>16777215</height> |
55 | 67 |
</size> |
56 | 68 |
</property> |
... | ... | |
61 | 73 |
</font> |
62 | 74 |
</property> |
63 | 75 |
<property name="text"> |
64 |
<string> Inlet P.</string>
|
|
76 |
<string> Inlet P.</string> |
|
65 | 77 |
</property> |
66 | 78 |
</widget> |
67 | 79 |
</item> |
68 |
<item> |
|
69 |
<widget class="QLabel" name="label_5">
|
|
80 |
<item row="3" column="2">
|
|
81 |
<widget class="QLabel" name="label_Outlet_Pressure_Unit">
|
|
70 | 82 |
<property name="minimumSize"> |
71 | 83 |
<size> |
72 |
<width>150</width>
|
|
84 |
<width>98</width>
|
|
73 | 85 |
<height>0</height> |
74 | 86 |
</size> |
75 | 87 |
</property> |
76 | 88 |
<property name="maximumSize"> |
77 | 89 |
<size> |
78 |
<width>150</width>
|
|
90 |
<width>98</width>
|
|
79 | 91 |
<height>16777215</height> |
80 | 92 |
</size> |
81 | 93 |
</property> |
... | ... | |
86 | 98 |
</font> |
87 | 99 |
</property> |
88 | 100 |
<property name="text"> |
89 |
<string>Outlet P.</string> |
|
90 |
</property> |
|
91 |
</widget> |
|
92 |
</item> |
|
93 |
<item> |
|
94 |
<spacer name="horizontalSpacer"> |
|
95 |
<property name="orientation"> |
|
96 |
<enum>Qt::Horizontal</enum> |
|
101 |
<string>-</string> |
|
97 | 102 |
</property> |
98 |
<property name="sizeHint" stdset="0"> |
|
99 |
<size> |
|
100 |
<width>40</width> |
|
101 |
<height>20</height> |
|
102 |
</size> |
|
103 |
<property name="alignment"> |
|
104 |
<set>Qt::AlignCenter</set> |
|
103 | 105 |
</property> |
104 |
</spacer>
|
|
106 |
</widget>
|
|
105 | 107 |
</item> |
106 |
</layout> |
|
107 |
</item> |
|
108 |
<item row="2" column="0"> |
|
109 |
<layout class="QHBoxLayout" name="horizontalLayout_6"> |
|
110 |
<item> |
|
111 |
<widget class="QLineEdit" name="lineEdit_Inlet_Pressure"> |
|
108 |
<item row="0" column="2"> |
|
109 |
<widget class="QLabel" name="label_5"> |
|
112 | 110 |
<property name="minimumSize"> |
113 | 111 |
<size> |
114 |
<width>100</width>
|
|
112 |
<width>0</width> |
|
115 | 113 |
<height>0</height> |
116 | 114 |
</size> |
117 | 115 |
</property> |
118 | 116 |
<property name="maximumSize"> |
119 | 117 |
<size> |
120 |
<width>100</width>
|
|
118 |
<width>16777215</width>
|
|
121 | 119 |
<height>16777215</height> |
122 | 120 |
</size> |
123 | 121 |
</property> |
... | ... | |
127 | 125 |
<bold>false</bold> |
128 | 126 |
</font> |
129 | 127 |
</property> |
130 |
<property name="alignment"> |
|
131 |
<set>Qt::AlignCenter</set> |
|
132 |
</property> |
|
133 |
<property name="readOnly"> |
|
134 |
<bool>false</bool> |
|
128 |
<property name="text"> |
|
129 |
<string> Outlet P.</string> |
|
135 | 130 |
</property> |
136 | 131 |
</widget> |
137 | 132 |
</item> |
138 |
<item> |
|
139 |
<widget class="QLabel" name="label_Inlet_Pressure_Unit"> |
|
140 |
<property name="minimumSize"> |
|
141 |
<size> |
|
142 |
<width>80</width> |
|
143 |
<height>0</height> |
|
144 |
</size> |
|
145 |
</property> |
|
146 |
<property name="maximumSize"> |
|
147 |
<size> |
|
148 |
<width>80</width> |
|
149 |
<height>16777215</height> |
|
150 |
</size> |
|
151 |
</property> |
|
133 |
<item row="2" column="1"> |
|
134 |
<widget class="QPushButton" name="pushButton_Apply"> |
|
152 | 135 |
<property name="font"> |
153 | 136 |
<font> |
154 | 137 |
<weight>50</weight> |
... | ... | |
156 | 139 |
</font> |
157 | 140 |
</property> |
158 | 141 |
<property name="text"> |
159 |
<string>-</string>
|
|
142 |
<string>Apply</string>
|
|
160 | 143 |
</property> |
161 | 144 |
</widget> |
162 | 145 |
</item> |
163 |
<item> |
|
146 |
<item row="2" column="2">
|
|
164 | 147 |
<widget class="QLineEdit" name="lineEdit_Outlet_Pressure"> |
165 | 148 |
<property name="minimumSize"> |
166 | 149 |
<size> |
... | ... | |
188 | 171 |
</property> |
189 | 172 |
</widget> |
190 | 173 |
</item> |
191 |
<item> |
|
192 |
<widget class="QLabel" name="label_Outlet_Pressure_Unit"> |
|
193 |
<property name="minimumSize"> |
|
194 |
<size> |
|
195 |
<width>80</width> |
|
196 |
<height>0</height> |
|
197 |
</size> |
|
198 |
</property> |
|
199 |
<property name="maximumSize"> |
|
200 |
<size> |
|
201 |
<width>80</width> |
|
202 |
<height>16777215</height> |
|
203 |
</size> |
|
204 |
</property> |
|
205 |
<property name="font"> |
|
206 |
<font> |
|
207 |
<weight>50</weight> |
|
208 |
<bold>false</bold> |
|
209 |
</font> |
|
210 |
</property> |
|
211 |
<property name="text"> |
|
212 |
<string>-</string> |
|
213 |
</property> |
|
214 |
</widget> |
|
215 |
</item> |
|
216 |
<item> |
|
217 |
<widget class="QPushButton" name="pushButton_Apply"> |
|
218 |
<property name="font"> |
|
219 |
<font> |
|
220 |
<weight>50</weight> |
|
221 |
<bold>false</bold> |
|
222 |
</font> |
|
223 |
</property> |
|
224 |
<property name="text"> |
|
225 |
<string>Apply</string> |
|
226 |
</property> |
|
227 |
</widget> |
|
228 |
</item> |
|
229 |
<item> |
|
230 |
<spacer name="horizontalSpacer_2"> |
|
231 |
<property name="orientation"> |
|
232 |
<enum>Qt::Horizontal</enum> |
|
233 |
</property> |
|
234 |
<property name="sizeHint" stdset="0"> |
|
235 |
<size> |
|
236 |
<width>40</width> |
|
237 |
<height>20</height> |
|
238 |
</size> |
|
239 |
</property> |
|
240 |
</spacer> |
|
241 |
</item> |
|
242 |
</layout> |
|
243 |
</item> |
|
244 |
<item row="1" column="0"> |
|
245 |
<widget class="QLabel" name="label_7"> |
|
246 |
<property name="text"> |
|
247 |
<string><html><head/><body><p><img src=":/images/S_Out.png"/></p></body></html></string> |
|
248 |
</property> |
|
249 |
</widget> |
|
250 |
</item> |
|
251 |
</layout> |
|
252 |
</widget> |
|
253 |
</item> |
|
254 |
<item> |
|
255 |
<widget class="QGroupBox" name="groupBox_3"> |
|
256 |
<property name="font"> |
|
257 |
<font> |
|
258 |
<family>굴림</family> |
|
259 |
<weight>75</weight> |
|
260 |
<bold>true</bold> |
|
261 |
</font> |
|
262 |
</property> |
|
263 |
<property name="title"> |
|
264 |
<string>Calculated Property</string> |
|
265 |
</property> |
|
266 |
<layout class="QGridLayout" name="gridLayout_4"> |
|
267 |
<item row="1" column="0"> |
|
268 |
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
269 |
<item> |
|
270 |
<widget class="QLabel" name="label_3"> |
|
271 |
<property name="minimumSize"> |
|
272 |
<size> |
|
273 |
<width>150</width> |
|
274 |
<height>0</height> |
|
275 |
</size> |
|
276 |
</property> |
|
277 |
<property name="maximumSize"> |
|
278 |
<size> |
|
279 |
<width>150</width> |
|
280 |
<height>16777215</height> |
|
281 |
</size> |
|
282 |
</property> |
|
283 |
<property name="font"> |
|
284 |
<font> |
|
285 |
<weight>50</weight> |
|
286 |
<bold>false</bold> |
|
287 |
</font> |
|
288 |
</property> |
|
174 |
<item row="1" column="0" colspan="3"> |
|
175 |
<widget class="QLabel" name="label_7"> |
|
289 | 176 |
<property name="text"> |
290 |
<string>- Normal Volume Flowrate</string>
|
|
177 |
<string><html><head/><body><p><img src=":/images/S_Out.png"/></p></body></html></string>
|
|
291 | 178 |
</property> |
292 | 179 |
</widget> |
293 | 180 |
</item> |
294 |
<item> |
|
295 |
<widget class="QLineEdit" name="lineEdit_Flowrate_Volume">
|
|
181 |
<item row="2" column="0">
|
|
182 |
<widget class="QLineEdit" name="lineEdit_Inlet_Pressure">
|
|
296 | 183 |
<property name="minimumSize"> |
297 | 184 |
<size> |
298 | 185 |
<width>100</width> |
... | ... | |
315 | 202 |
<set>Qt::AlignCenter</set> |
316 | 203 |
</property> |
317 | 204 |
<property name="readOnly"> |
318 |
<bool>true</bool> |
|
319 |
</property> |
|
320 |
</widget> |
|
321 |
</item> |
|
322 |
<item> |
|
323 |
<widget class="QLabel" name="label_Flowrate_Volume_Unit"> |
|
324 |
<property name="font"> |
|
325 |
<font> |
|
326 |
<weight>50</weight> |
|
327 |
<bold>false</bold> |
|
328 |
</font> |
|
329 |
</property> |
|
330 |
<property name="text"> |
|
331 |
<string>-</string> |
|
205 |
<bool>false</bool> |
|
332 | 206 |
</property> |
333 | 207 |
</widget> |
334 | 208 |
</item> |
335 |
</layout> |
|
336 |
</item> |
|
337 |
<item row="0" column="0"> |
|
338 |
<layout class="QHBoxLayout" name="horizontalLayout_5"> |
|
339 |
<item> |
|
340 |
<widget class="QLabel" name="label_4"> |
|
209 |
<item row="3" column="0"> |
|
210 |
<widget class="QLabel" name="label_Inlet_Pressure_Unit"> |
|
341 | 211 |
<property name="minimumSize"> |
342 | 212 |
<size> |
343 |
<width>150</width>
|
|
213 |
<width>98</width>
|
|
344 | 214 |
<height>0</height> |
345 | 215 |
</size> |
346 | 216 |
</property> |
347 | 217 |
<property name="maximumSize"> |
348 | 218 |
<size> |
349 |
<width>150</width>
|
|
219 |
<width>98</width>
|
|
350 | 220 |
<height>16777215</height> |
351 | 221 |
</size> |
352 | 222 |
</property> |
... | ... | |
357 | 227 |
</font> |
358 | 228 |
</property> |
359 | 229 |
<property name="text"> |
360 |
<string>- Density</string> |
|
230 |
<string>-</string> |
|
231 |
</property> |
|
232 |
<property name="alignment"> |
|
233 |
<set>Qt::AlignCenter</set> |
|
361 | 234 |
</property> |
362 | 235 |
</widget> |
363 | 236 |
</item> |
364 |
<item> |
|
365 |
<widget class="QLineEdit" name="lineEdit_Density"> |
|
366 |
<property name="minimumSize"> |
|
367 |
<size> |
|
368 |
<width>100</width> |
|
369 |
<height>0</height> |
|
370 |
</size> |
|
237 |
</layout> |
|
238 |
</widget> |
|
239 |
</item> |
|
240 |
<item> |
|
241 |
<widget class="QGroupBox" name="groupBox_3"> |
|
242 |
<property name="font"> |
|
243 |
<font> |
|
244 |
<family>굴림</family> |
|
245 |
<weight>75</weight> |
|
246 |
<bold>true</bold> |
|
247 |
</font> |
|
248 |
</property> |
|
249 |
<property name="title"> |
|
250 |
<string>Calculated Property</string> |
|
251 |
</property> |
|
252 |
<layout class="QGridLayout" name="gridLayout_4"> |
|
253 |
<item row="0" column="0"> |
|
254 |
<spacer name="verticalSpacer"> |
|
255 |
<property name="orientation"> |
|
256 |
<enum>Qt::Vertical</enum> |
|
371 | 257 |
</property> |
372 |
<property name="maximumSize">
|
|
258 |
<property name="sizeHint" stdset="0">
|
|
373 | 259 |
<size> |
374 |
<width>100</width>
|
|
375 |
<height>16777215</height>
|
|
260 |
<width>20</width>
|
|
261 |
<height>40</height>
|
|
376 | 262 |
</size> |
377 | 263 |
</property> |
378 |
<property name="font"> |
|
379 |
<font> |
|
380 |
<weight>50</weight> |
|
381 |
<bold>false</bold> |
|
382 |
</font> |
|
383 |
</property> |
|
384 |
<property name="alignment"> |
|
385 |
<set>Qt::AlignCenter</set> |
|
386 |
</property> |
|
387 |
<property name="readOnly"> |
|
388 |
<bool>true</bool> |
|
389 |
</property> |
|
390 |
</widget> |
|
264 |
</spacer> |
|
391 | 265 |
</item> |
392 |
<item> |
|
393 |
<widget class="QLabel" name="label_Density_Unit"> |
|
394 |
<property name="font"> |
|
395 |
<font> |
|
396 |
<weight>50</weight> |
|
397 |
<bold>false</bold> |
|
398 |
</font> |
|
266 |
<item row="2" column="0"> |
|
267 |
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
268 |
<item> |
|
269 |
<widget class="QLabel" name="label_3"> |
|
270 |
<property name="minimumSize"> |
|
271 |
<size> |
|
272 |
<width>150</width> |
|
273 |
<height>0</height> |
|
274 |
</size> |
|
275 |
</property> |
|
276 |
<property name="maximumSize"> |
|
277 |
<size> |
|
278 |
<width>150</width> |
|
279 |
<height>16777215</height> |
|
280 |
</size> |
|
281 |
</property> |
|
282 |
<property name="font"> |
|
283 |
<font> |
|
284 |
<weight>50</weight> |
|
285 |
<bold>false</bold> |
|
286 |
</font> |
|
287 |
</property> |
|
288 |
<property name="text"> |
|
289 |
<string>- Normal Volume Flowrate</string> |
|
290 |
</property> |
|
291 |
</widget> |
|
292 |
</item> |
|
293 |
<item> |
|
294 |
<widget class="QLineEdit" name="lineEdit_Flowrate_Volume"> |
|
295 |
<property name="minimumSize"> |
|
296 |
<size> |
|
297 |
<width>100</width> |
|
298 |
<height>0</height> |
|
299 |
</size> |
|
300 |
</property> |
|
301 |
<property name="maximumSize"> |
|
302 |
<size> |
|
303 |
<width>100</width> |
|
304 |
<height>16777215</height> |
|
305 |
</size> |
|
306 |
</property> |
|
307 |
<property name="font"> |
|
308 |
<font> |
|
309 |
<weight>50</weight> |
|
310 |
<bold>false</bold> |
|
311 |
</font> |
|
312 |
</property> |
|
313 |
<property name="alignment"> |
|
314 |
<set>Qt::AlignCenter</set> |
|
315 |
</property> |
|
316 |
<property name="readOnly"> |
|
317 |
<bool>true</bool> |
|
318 |
</property> |
|
319 |
</widget> |
|
320 |
</item> |
|
321 |
<item> |
|
322 |
<widget class="QLabel" name="label_Flowrate_Volume_Unit"> |
|
323 |
<property name="font"> |
|
324 |
<font> |
|
325 |
<weight>50</weight> |
|
326 |
<bold>false</bold> |
|
327 |
</font> |
|
328 |
</property> |
|
329 |
<property name="text"> |
|
330 |
<string>-</string> |
|
331 |
</property> |
|
332 |
</widget> |
|
333 |
</item> |
|
334 |
</layout> |
|
335 |
</item> |
|
336 |
<item row="1" column="0"> |
|
337 |
<layout class="QHBoxLayout" name="horizontalLayout_5"> |
|
338 |
<item> |
|
339 |
<widget class="QLabel" name="label_4"> |
|
340 |
<property name="minimumSize"> |
|
341 |
<size> |
|
342 |
<width>150</width> |
|
343 |
<height>0</height> |
|
344 |
</size> |
|
345 |
</property> |
|
346 |
<property name="maximumSize"> |
|
347 |
<size> |
|
348 |
<width>150</width> |
|
349 |
<height>16777215</height> |
|
350 |
</size> |
|
351 |
</property> |
|
352 |
<property name="font"> |
|
353 |
<font> |
|
354 |
<weight>50</weight> |
|
355 |
<bold>false</bold> |
|
356 |
</font> |
|
357 |
</property> |
|
358 |
<property name="text"> |
|
359 |
<string>- Density</string> |
|
360 |
</property> |
|
361 |
</widget> |
|
362 |
</item> |
|
363 |
<item> |
|
364 |
<widget class="QLineEdit" name="lineEdit_Density"> |
|
365 |
<property name="minimumSize"> |
|
366 |
<size> |
|
367 |
<width>100</width> |
|
368 |
<height>0</height> |
|
369 |
</size> |
|
370 |
</property> |
|
371 |
<property name="maximumSize"> |
|
372 |
<size> |
|
373 |
<width>100</width> |
|
374 |
<height>16777215</height> |
|
375 |
</size> |
|
376 |
</property> |
|
377 |
<property name="font"> |
|
378 |
<font> |
|
379 |
<weight>50</weight> |
|
380 |
<bold>false</bold> |
|
381 |
</font> |
|
382 |
</property> |
|
383 |
<property name="alignment"> |
|
384 |
<set>Qt::AlignCenter</set> |
|
385 |
</property> |
|
386 |
<property name="readOnly"> |
|
387 |
<bool>true</bool> |
|
388 |
</property> |
|
389 |
</widget> |
|
390 |
</item> |
|
391 |
<item> |
|
392 |
<widget class="QLabel" name="label_Density_Unit"> |
|
393 |
<property name="font"> |
|
394 |
<font> |
|
395 |
<weight>50</weight> |
|
396 |
<bold>false</bold> |
|
397 |
</font> |
|
398 |
</property> |
|
399 |
<property name="text"> |
|
400 |
<string>-</string> |
|
401 |
</property> |
|
402 |
</widget> |
|
403 |
</item> |
|
404 |
</layout> |
|
405 |
</item> |
|
406 |
<item row="3" column="0"> |
|
407 |
<spacer name="verticalSpacer_2"> |
|
408 |
<property name="orientation"> |
|
409 |
<enum>Qt::Vertical</enum> |
|
399 | 410 |
</property> |
400 |
<property name="text"> |
|
401 |
<string>-</string> |
|
411 |
<property name="sizeHint" stdset="0"> |
|
412 |
<size> |
|
413 |
<width>20</width> |
|
414 |
<height>40</height> |
|
415 |
</size> |
|
402 | 416 |
</property> |
403 |
</widget>
|
|
417 |
</spacer>
|
|
404 | 418 |
</item> |
405 | 419 |
</layout> |
406 |
</item>
|
|
407 |
</layout>
|
|
408 |
</widget>
|
|
420 |
</widget>
|
|
421 |
</item>
|
|
422 |
</layout>
|
|
409 | 423 |
</item> |
410 | 424 |
<item> |
411 | 425 |
<widget class="QGroupBox" name="groupBox"> |
내보내기 Unified diff