개정판 c617f683
issue #1060 계산식
Change-Id: Ia086fe2ced5b84bf249b18d36595663f5fa6b615
HYTOS/HYTOS/Shapes/EngineeringLoopItem.py | ||
---|---|---|
1316 | 1316 |
|
1317 | 1317 |
try: |
1318 | 1318 |
self.pressures[self.items[i]] = self.pressures[self.items[i + 1]] + self.pressure_drops[self.items[i]] \ |
1319 |
if self.pressure_drops[self.items[i]] else 0 |
|
1319 |
if not self.pressure_drops[self.items[i]] is None else 0 |
|
1320 |
|
|
1320 | 1321 |
index = str(self.items[i - 2])[:3] |
1321 | 1322 |
if i > 0: |
1322 | 1323 |
self.pressures[self.items[i - 1]] = self.pressures[self.items[i]] + self.pressure_drops[ |
내보내기 Unified diff