개정판 3dbdd69f
issue #1058 계산 후 결과 표시
Change-Id: I05b6296878e881214b339cbe1d4a37f2a05a1af3
HYTOS/HYTOS/Commands/HydroCalculationCommand.py | ||
---|---|---|
330 | 330 |
for loop in self.loops: |
331 | 331 |
indices = [index for index in range(len(loop.items)) if |
332 | 332 |
str(loop.items[index])[:3] == 'R_K' or str(loop.items[index])[:3] == 'L_K'] |
333 |
attribute = {} |
|
333 |
|
|
334 | 334 |
if indices: |
335 | 335 |
for i in range(len(indices)): |
336 | 336 |
tag_no = loop.items[indices[i]].parent.tag_no |
... | ... | |
346 | 346 |
density = loop.density_elevations[loop.items[indices[i] - 1]] |
347 | 347 |
hhp = self.comp_hydp_hy(flowrate_mass, density, round(diff_p, 3)) |
348 | 348 |
|
349 |
attribute = {} |
|
349 | 350 |
attribute['Tag_No'] = tag_no |
350 | 351 |
attribute['Suct.P'] = suct_p |
351 | 352 |
attribute['Disc.P'] = disc_p |
내보내기 Unified diff