校准第二支路热流体能量与管路摩擦
This commit is contained in:
1 parent
0f73d5b568
commit
caca32a513
12 files changed
+336
-42
No files matched your search
@@ -183,9 +183,11 @@ class PressureFlowSolverInitializationTests(unittest.TestCase):
|
||||
first = system.rhs(0.0, state)
|
||||
second = system.rhs(0.0, state)
|
||||
|
||||
self.assertGreater(system.max_thermofluid_iterations, 1)
|
||||
# PN3NODE2 takes its pressure-flow temperature reference from port 2,
|
||||
# so that closure no longer depends on the flow-weighted energy mix.
|
||||
self.assertGreaterEqual(system.max_thermofluid_iterations, 1)
|
||||
for first_value, second_value in zip(first, second):
|
||||
self.assertAlmostEqual(first_value, second_value, places=10)
|
||||
self.assertAlmostEqual(first_value, second_value, delta=1.0e-8)
|
||||
|
||||
def test_current_storage_pressure_reseeds_stale_orifice_ports_and_flow(self) -> None:
|
||||
network, medium, high, low, valve = self._near_equal_pressure_network()
|
||||
|
||||
Reference in new issue
Block a user