Reorganize WNDB by responsibility and remove legacy scheme endpoints.\n\nRoute analysis and time-series access through project pools, preserve transactional realtime replacement, and refresh GIS materialized views after writes.\n\nAdd database architecture documentation, live pooling coverage, API contract updates, and executable container verification.\n\nBREAKING CHANGE: legacy scheme APIs and flat app.native.wndb module imports are removed.
20 lines
473 B
Python
20 lines
473 B
Python
"""Water-demand distribution algorithms."""
|
|
|
|
from .service import (
|
|
calculate_demand_to_network,
|
|
calculate_demand_to_nodes,
|
|
calculate_demand_to_region,
|
|
distribute_demand_to_nodes,
|
|
distribute_demand_to_region,
|
|
get_total_base_demand,
|
|
)
|
|
|
|
__all__ = [
|
|
"calculate_demand_to_network",
|
|
"calculate_demand_to_nodes",
|
|
"calculate_demand_to_region",
|
|
"distribute_demand_to_nodes",
|
|
"distribute_demand_to_region",
|
|
"get_total_base_demand",
|
|
]
|