Default Model Library

Purpose

LOFT-Sim includes common strategic, tactical, and contingency models so users can compose reproducible baselines in operation_strategy.xml. These concepts remain separate:

  • demand input defines when and where requests arrive;
  • the default model library defines operational behavior;
  • the optional operation-strategy XML selects and parameterizes that behavior;
  • ACI can observe and override the resolved behavior during a run.

ACI is not a model-library member and requires no XML selection.

Strategic Models

Model Role
4d_volume Priority-aware preflight route and departure scheduling with 4D resource reservations
4d_volume_opt The same reservation constraints with seeded local-search optimization of request order
capacity_limited_departure Online ground-hold and release metering by route, origin, or network-resource capacity
element_centric_dcb Project requests over route elements and admit them against time-bucket capacity envelopes
element_centric_dcb_opt Batch (announced-ahead) element-centric DCB with the same order optimizer as 4d_volume_opt

Omitting the <strategic> section selects no strategic operation. Requests then proceed without a built-in admission/DCB model, subject to tactical resource management and hard safety checks.

poisson is an arrival process configured in the demand input, not a strategic model. Legacy strategic aliases are rejected; use ACI directly for runtime control and 4d_volume for the preflight 4D scheduler.

4D Reservation Models

4d_volume constructs a non-overlapping route/departure schedule before execution. Parameters include planning_horizon, separation_time, node_separation_time, departure_search_step, max_departure_delay, and max_flights; see the Strategic Parameter Reference.

The demand input remains authoritative for request count. max_flights caps how many requests the strategic model admits; it does not truncate demand. All excess requests remain visible in the request ledger with an explicit internal decline. planning_horizon similarly limits planner visibility, not demand generation: preflight scheduling declines requests outside its window explicitly, and rolling scheduling leaves future requests pending until they become visible.

4d_volume_opt preserves the same feasibility rules while optimizing request order. Use fourd_optimize_iterations and fourd_optimize_patience to bound the seeded search. fourd_rolling selects how 4d_volume_opt plans: with the rolling-horizon planner (the default, replanning every fourd_replan_interval with requests announced fourd_announce_lead ahead and optionally frozen inside fourd_commit_horizon) or with one optimized preflight schedule (false). fourd_rolling applies to 4d_volume_opt only; 4d_volume always builds one schedule before the run.

Capacity-Limited Departure

capacity_limited_departure places arrived requests into a departure queue and releases them when the selected route/origin/resource meter has capacity. It is an airspace-entry metering model, not a complete pad, charging, or passenger terminal model. Relevant settings include capacity_scope, queue_policy, default_capacity_per_hour, burst_window, max_ground_delay, max_flights, and scope-specific capacity rate maps (route_capacity_per_hour, origin_capacity_per_hour, destination_capacity_per_hour, corridor_capacity_per_hour, node_capacity_per_hour); the complete key list with defaults is in the Strategic Parameter Reference. When the admission cap is reached, every additional due request is still registered and receives an explicit internal decline; same-step requests are never silently dropped.

Element-Centric DCB

element_centric_dcb estimates route-element entry times and accepts a request only when every constrained time bucket remains within its capacity envelope. A blocked request is shifted by dcb_release_step until it fits or exhausts max_departure_delay. With dcb_capacity_per_hour=auto, corridor capacity is derived from effective speed/headway and controlled-junction capacity from its active sequencing windows. A fixed positive value applies one corridor rate; x<scale> scales analytic corridor envelopes, while svc<scale> scales controlled-node and vertiport service envelopes without changing en-route corridor capacity. When set, max_flights applies the same explicit, request-ledger-visible admission cap used by the other strategic models.

element_centric_dcb_opt is the batch counterpart: all demand is treated as announced before operations, and the request booking ORDER is optimized with the same seeded local search (and the same fourd_optimize_iterations / fourd_optimize_patience budget) as 4d_volume_opt, while admission remains the rolling entry-count quota — no flight-level reservations are created. The capacity envelope is calibrated by the same code path as element_centric_dcb, so the online and batch variants can never diverge in capacity semantics.

Tactical Models

Scope Model Role
Corridor/terminal path newell Delayed-leader following with safety-constrained headway
Corridor/terminal path idm Intelligent Driver Model-style longitudinal following
Corridor/terminal path constant_speed Nominal open-loop target subject to hard safety constraints
Controlled junction fcfs Stop-line queueing and first-come, first-served protected-zone access
Controlled junction uncontrolled No operational sequencing rule; hard safety constraints still apply

Terminal-path following is derived from route endpoints and 3D geometry; no special corridor tag is required.

Contingency Models

Model Role
threshold_closure Close degraded resources after consecutive environment/CNS threshold violations
disabled No network-level contingency resource-closure model

The built-in default is disabled. Vehicle dynamics and separation safety are independent of this operation-layer setting and remain active.

Select Models

Every element is attribute-style, as in the shipped example/scenarios/*/config/operation_strategy.xml files: nesting only groups, and a value is always an XML attribute.

<operation_strategy strategy_id="dcb_idm_threshold_v2" schema_version="2.0">
  <strategic model="element_centric_dcb">
    <parameters dcb_capacity_per_hour="auto" dcb_capacity_window="300" dcb_horizon="900"/>
  </strategic>
  <tactical>
    <defaults corridor_model="idm" vertiport_model="newell" intersection_model="fcfs"/>
  </tactical>
  <contingency model="threshold_closure">
    <parameters contingency_count_threshold="3"/>
  </contingency>
</operation_strategy>

See Operation Strategy Configuration for the complete schema, class defaults, element overrides, and resolution order.

Inspect the Resolved Configuration

from loft import aci

aci.start(config_file="example/scenarios/default/config/simulation_config.xml", gui=False)
try:
    resolved = aci.simulation.getResolvedConfiguration()
    print(resolved)
finally:
    aci.close()

There is no separate public model domain. Resolved configuration belongs to the simulation domain; live rule sources are also reported by the relevant corridor, junction, and vertiport domains.

Extending the Library

New ideas can be prototyped first as an ACI controller by composing request, vehicle, and element operations. A mature, reusable model can then be added to the internal library with a named schema, deterministic parameters, tests, and documentation. Rolling-horizon 4D planning already ships this way (fourd_rolling of 4d_volume_opt, on by default). Candidate extensions include priority admission, reservation-based junction control, speed harmonization, and dedicated vertiport pad scheduling.