12 lines
320 B
Python
12 lines
320 B
Python
from typing import Any
|
|
|
|
from app.algorithms.valve_isolation import valve_isolation_analysis
|
|
|
|
|
|
def analyze_valve_isolation(
|
|
network: str,
|
|
accident_element: str | list[str],
|
|
disabled_valves: list[str] = None,
|
|
) -> dict[str, Any]:
|
|
return valve_isolation_analysis(network, accident_element, disabled_valves)
|