验收四路模型并优化拓扑求解性能

This commit is contained in:
huojiarong committed 2026-08-12 11:57:42 +00:00
1 parent caca32a513
commit 456c29b3b6
20 files changed
+1085 -137

No files matched your search

@@ -1,5 +1,6 @@
from __future__ import annotations
from functools import lru_cache
from collections.abc import Mapping
from math import isclose, log, sqrt, tanh
@@ -277,6 +278,7 @@ class AmesimPnor001(AlgebraicComponent):
)
)
@lru_cache(maxsize=32768)
def _one_way_flow_characteristics(
self,
*,