统一scheme_name命名规则

This commit is contained in:
2026-02-05 10:47:38 +08:00
parent 4c208abe55
commit 2794114000
9 changed files with 215 additions and 126 deletions

View File

@@ -4,6 +4,8 @@ from app.algorithms.valve_isolation import valve_isolation_analysis
def analyze_valve_isolation(
network: str, accident_element: str | list[str]
network: str,
accident_element: str | list[str],
disabled_valves: list[str] = None,
) -> dict[str, Any]:
return valve_isolation_analysis(network, accident_element)
return valve_isolation_analysis(network, accident_element, disabled_valves)