fix(investigation): allow autonomous model baseline recovery
This commit is contained in:
@@ -116,6 +116,15 @@ async def calculate_replay_burst_location(
|
||||
)
|
||||
|
||||
|
||||
async def calculate_replay_hydraulic_scenario(name: str, args: BaseModel, *, network: str, username: str) -> dict[str, Any]:
|
||||
"""Evaluate model-based hydraulic alternatives without live SCADA substitution."""
|
||||
return await bounded_calculation(
|
||||
calculate_scenario, name,
|
||||
args.model_dump(exclude={"context_handle", "timeout_seconds"}, exclude_none=True),
|
||||
network=network, username=username, model_only=True,
|
||||
)
|
||||
|
||||
|
||||
async def calculate_replay_burst_simulation(args: BaseModel, *, network: str, username: str) -> dict[str, Any]:
|
||||
"""An independent current-model scenario, with no live SCADA substitution."""
|
||||
return await bounded_calculation(
|
||||
|
||||
Reference in New Issue
Block a user