Operation Strategy Configuration
Purpose
The optional operation-strategy XML describes the built-in operational baseline for one simulation run. It is separate from both the Digital Airspace Network and demand:
| Input | Owns |
|---|---|
Network (.osm) |
Stable element identity, 3D geometry, topology, nominal physical/resource attributes, and vehicle eligibility |
Demand (.xml) |
Request-arrival processes and request attributes |
Operation strategy (.xml) |
Strategic model selection, element-local tactical rules, and contingency model selection |
| Simulation configuration | File references, time, random seed, vehicle/environment settings, physical constraints, and output paths |
This separation lets the same demand and network be evaluated under several operation strategies without modifying the simulator or retagging the map. The network must not contain operation-policy tags.
Bind the Optional Input
Reference the file from simulation_config.xml:
<simulation_config>
<input>
<network_file value="../network/airspace_network.osm"/>
<demand_file value="demand_config.xml"/>
<operation_strategy_file value="operation_strategy.xml"/>
</input>
</simulation_config>
The path is resolved relative to the simulation configuration. An empty or
omitted input.operation_strategy_file is valid and means:
- no strategic operation model;
- Newell following for corridors and terminal paths;
- first-come, first-served (FCFS) sequencing at controlled junctions;
- no network-level contingency model.
Hard physical and safety constraints remain active even when no operation strategy is supplied.
Complete V2 Example
Every element is attribute-style: nesting only groups, and a value is always an
XML attribute. Keys carry no unit suffix - seconds, metres, metres per second
and metres per second squared are implicit, and a key spells out its unit only
when it is not the base unit (*_capacity_per_hour).
<?xml version="1.0" encoding="utf-8"?>
<operation_strategy strategy_id="dcb_fcfs_following_v2" schema_version="2.0">
<strategic model="element_centric_dcb">
<parameters dcb_capacity_per_hour="auto"
dcb_capacity_window="300"
dcb_horizon="900"
max_departure_delay="900" />
</strategic>
<tactical>
<defaults corridor_model="newell" vertiport_model="newell" intersection_model="fcfs" />
<class_defaults>
<class name="corridor" control_rule="newell"
min_headway="50" queue_gap="50" reservation_buffer="45" />
<class name="intersection" sequencing_rule="fcfs"
node_occupancy_time="2" node_window="10" />
</class_defaults>
<element_overrides>
<element element_id="corridor_001" min_headway="80" />
</element_overrides>
</tactical>
<contingency model="threshold_closure">
<parameters evaluation_interval="5"
contingency_count_threshold="3"
closure_duration="60"
nav_quality_min="0.45"
comm_quality_min="0.45"
wind_speed_max="15" />
</contingency>
</operation_strategy>
Use example/scenarios/default/config/operation_strategy.xml as a starting
point and assign a distinct strategy_id for experiment provenance.
Root Contract
| Field | Required | Meaning |
|---|---|---|
strategy_id |
Yes | Non-empty identity propagated into runtime metadata and supporting outputs. An attribute of <operation_strategy> |
schema_version |
Yes | 2.0 (the short spelling 2 is also accepted). An attribute of <operation_strategy> |
strategic |
No | One internal strategic model and its parameters; empty/omitted means no strategic model |
tactical |
No | Module defaults, class defaults, and exact element overrides |
contingency |
No | One contingency model and its parameters; empty/omitted means disabled |
Unknown sections, parameters, models, and legacy names are rejected. New files must use the V2 hierarchy rather than flat aliases.
Strategic Layer
The strategic layer decides how requests are admitted, delayed, assigned, or scheduled. It does not generate demand. Arrival processes belong exclusively to the demand input.
<strategic model="..."> names one of the built-in models: 4d_volume,
4d_volume_opt, capacity_limited_departure, element_centric_dcb or
element_centric_dcb_opt. What each one does is described under
Strategic Models in the
Default Model Library.
There is no none model name. Omit <strategic> (or leave it empty) to select
no strategic operation. poisson is a demand-arrival model, not a strategic
model. ACI is a runtime interface and is not a strategic model either.
Model parameters belong below <strategic><parameters>. Only the keys listed
in the Strategic Parameter Reference below
are accepted; anything else is rejected while loading the file.
max_flights is a strategic admission cap, not a demand-generation limit.
Every request from the demand input is still created in the request ledger;
requests beyond the cap receive an explicit internal decline decision that
ACI can inspect or override. Likewise, planning_horizon controls which
requests the 4D planner can consider, but never deletes future demand. The
preflight model records out-of-window requests as explicit declines, while the
rolling model keeps them pending until they enter its visibility window.
For element_centric_dcb, dcb_capacity_per_hour accepts a positive fixed
rate, auto, x<positive-scale> for an analytic corridor-capacity scale, or
svc<positive-scale> for a service-resource scale. Invalid, zero, negative,
NaN, and infinite values are rejected.
For capacity_limited_departure, queue_policy is either fifo or
priority_fifo. capacity_scope is one of origin, route,
route_bottleneck, or resource_path. Other spellings are rejected rather
than silently falling back to another policy or scope.
Strategic Parameter Reference
All keys accepted below <strategic><parameters>, grouped by scope. Values
must be finite; the loader rejects out-of-range, NaN, and infinite values with
an explicit message.
General admission and scheduling. Not every model reads every key; the Applies to column names the models that do.
| Key | Unit | Default | Applies to | Meaning |
|---|---|---|---|---|
planning_horizon |
s | unset | 4d_volume, 4d_volume_opt, element_centric_dcb_opt |
How far ahead of its scheduled departure a request becomes visible to the planner; positive |
separation_time |
s | 45 |
4d_volume, 4d_volume_opt, element_centric_dcb_opt |
Required time separation between scheduled flights sharing a volume |
node_separation_time |
s | 10 |
4d_volume, 4d_volume_opt, element_centric_dcb_opt |
Required time separation at shared nodes |
departure_search_step |
s | 1 |
4d_volume, 4d_volume_opt |
Search step when sliding a departure to a feasible time; at least 0.1, the floor the search loop enforces. element_centric_dcb_opt searches with dcb_release_step instead |
max_departure_delay |
s | 900 |
every strategic model | Maximum scheduled ground delay before the 4D and DCB models decline a request. It is also how long a confirmed request from the demand file may keep waiting for a feasible release. capacity_limited_departure meters its queue with max_ground_delay instead |
max_flights |
count | unset | every strategic model | Strategic admission cap (see above); nonnegative integer, and 0 declines every request |
priority_node_ids |
list | unset | 4d_volume, 4d_volume_opt, element_centric_dcb_opt |
Comma-separated node node_id list; requests touching any of them rank as priority in scheduling |
medical_priority_od_node_ids |
list | unset | every strategic model | Comma-separated origin/destination pair; requests matching exactly this OD rank as medical priority (takes precedence over priority_node_ids) |
vehicle_type |
name | simulation vehicle.vehicle_type |
every strategic model | Vehicle profile assumed by strategic planning (quadrotor, fixed_wing, hybrid, or a registered custom profile) |
regular_vehicle_type |
name | vehicle_type |
every strategic model | Profile assigned to regular missions |
priority_vehicle_type |
name | "" (falls back to hybrid, not to vehicle_type) |
every strategic model | Profile assigned to priority missions |
The priority and vehicle-type keys above (priority_node_ids,
medical_priority_od_node_ids, vehicle_type, regular_vehicle_type and
priority_vehicle_type) do not change the <flow> rows of
demand_config.xml. The loader gives every flow priority_rank 0 and
vehicle_type hybrid unless the row sets them, and these keys only fill a
rank or a vehicle type that is left unset. To give a flow priority or another
vehicle, set priority_rank or vehicle_type on its <flow> row. The
vehicle-type keys do apply to an ACI request.submit() call that names no
vehicle_type.
Capacity metering (capacity_limited_departure):
| Key | Unit | Default | Meaning |
|---|---|---|---|
capacity_scope |
name | route_bottleneck |
origin, route, route_bottleneck, or resource_path |
queue_policy |
name | priority_fifo |
fifo or priority_fifo |
default_capacity_per_hour |
1/h | 60 |
Capacity rate applied where no explicit per-scope rate is given |
burst_window |
s | 60 |
Width of the release burst permitted; the token bucket’s window and initial fill. Releases are evaluated every simulation step, so this is not a cadence: raising it permits BIGGER bursts, not smoother ones. At least 0.2 |
max_ground_delay |
s | 600 |
Maximum time a request may wait in the meter queue |
reject_after_max_delay |
boolean | true |
Decline requests that exceed max_ground_delay instead of holding them forever |
initial_bucket_fill |
boolean | true |
Start capacity buckets full so the first flights release immediately |
route_capacity_per_hour |
1/h map | unset | Per-route rate map, e.g. route_a:30,route_b:45 |
origin_capacity_per_hour |
1/h map | unset | Per-origin-vertiport rate map |
destination_capacity_per_hour |
1/h map | unset | Per-destination-vertiport rate map |
corridor_capacity_per_hour |
1/h map | unset | Per-corridor rate map. resource_path meters every corridor on the path, at default_capacity_per_hour where the map names none; route_bottleneck meters only the corridors named here. Not used by origin or route |
node_capacity_per_hour |
1/h map | unset | Per-node rate map. route_bottleneck and resource_path meter only the path nodes named here: there is no default node rate. Not used by origin or route |
Demand-capacity balancing (element_centric_dcb):
| Key | Unit | Default | Meaning |
|---|---|---|---|
dcb_capacity_per_hour |
1/h or keyword | auto |
Positive fixed rate, auto, x<scale> (analytic corridor-capacity scale), or svc<scale> (service-resource scale) |
dcb_capacity_window |
s | 300 |
Width of the rolling window over which each element’s capacity envelope is counted; at least 1. (The retired dcb_bucket is rejected with this replacement named) |
dcb_horizon |
s | 900 |
How far ahead feasible release times are searched; at least 1. Every element on a request’s path is checked, however far along it sits (the retired dcb_backpressure_horizon is rejected) |
dcb_release_step |
s | 1 |
Step when searching for the next feasible release time; at least 1, the floor the release loop enforces |
dcb_metering_interval |
s | 5 |
Interval between DCB metering evaluations; at least 0.5 |
dcb_default_speed |
m/s | 10 |
Speed assumed for element transit-time projection when no corridor speed applies; at least 0.5 |
dcb_opt_smoothing_weight |
delay-s per unit utilization^2 | 0 |
(element_centric_dcb_opt) weight of the flow-smoothing term in the order-search objective. 0 keeps the objective identical to the 4D optimizer (rejections, then total ground delay); positive values additionally prefer orders that leave fewer rolling windows quota-saturated. Legality is unchanged either way – the quota stays a hard admission constraint |
dcb_opt_spread_target |
fraction | 0 |
(element_centric_dcb_opt) target entry spacing as a fraction of an element’s ideal uniform headway W_e / q_e. 1 asks that every entry sit a full uniform headway from its nearest committed neighbour; 0 disables spreading. Values above 1 ask for spacing stricter than uniform and are allowed |
dcb_opt_spread_tolerance |
s | 240 |
(element_centric_dcb_opt) budget for spreading: the delay the rule may ADD on top of what the quota already requires. Not a rejection threshold – a request that exhausts it is still admitted, just less evenly spaced. Has no effect unless dcb_opt_spread_target is positive |
4D optimized scheduling (4d_volume_opt; the two fourd_optimize_* keys also
apply to element_centric_dcb_opt). 4d_volume always builds one schedule
before the run and reads none of these keys:
| Key | Unit | Default | Meaning |
|---|---|---|---|
fourd_rolling |
boolean | true |
true runs the rolling-horizon planner that replans during the run; false builds one optimized schedule before the run |
fourd_replan_interval |
s | 60 |
Rolling planner replan interval (fourd_rolling=true only) |
fourd_announce_lead |
s | 300 |
How far before departure a request is announced to the rolling planner (fourd_rolling=true only) |
fourd_commit_horizon |
s | 0 |
Once scheduled within this horizon a departure is frozen; 0 disables freezing (fourd_rolling=true only) |
fourd_optimize_iterations |
count | 240 |
(4d_volume_opt, element_centric_dcb_opt) local-search iteration budget over the booking order; 0 disables the order search and books in the sequential FCFS order |
fourd_optimize_patience |
count | 60 |
(4d_volume_opt, element_centric_dcb_opt) iterations without improvement before stopping early |
Tactical Layer
Tactical behavior is resolved locally for each airspace element.
Module Defaults
Place module-wide choices in the attribute-style <tactical><defaults .../>
element:
| Key | Unit | Default | Supported values |
|---|---|---|---|
corridor_model |
name | newell |
newell, idm, constant_speed |
vertiport_model |
name | newell |
newell, idm, constant_speed |
intersection_model |
name | fcfs |
fcfs, uncontrolled |
idm_time_headway |
s | 1.5 |
Positive IDM desired time headway |
idm_min_gap |
m | 25 |
Nonnegative IDM minimum gap; consumed directly by the IDM model |
idm_accel |
m/s^2 | 2 |
Positive IDM comfortable acceleration |
idm_decel |
m/s^2 | 3 |
Positive IDM comfortable deceleration |
idm_delta |
ratio | 4 |
IDM acceleration exponent, at least 1 |
Class Defaults and Element Overrides
class_defaults targets element classes as the network tags them. Corridor keys match the
canonical structural way_type (corridor, vertiport_terminal); no label
ever selects a class. Controlled-node
keys include intersection, vertiport, diverging_point, and waypoint. element_overrides targets exactly one
element by its semantic ID - an element_id attribute whose value is the
element’s node_id or corridor_id from the network file. The retired
shared-ID spelling is rejected with a rename hint. Because corridors are pre-split and fully
independent, an override on one split segment (for example corridor_001) never
affects another segment (corridor_002). The IDs do not encode a parent/sibling
relationship. The one exception is a way the network loader splits for you: if
a way still has an interior boundary node, the loader names its pieces <id>,
<id>__s2, <id>__s3, …, and an override on <id> applies to the first
piece only, without a message. Add rows for the __sN pieces as well, or run
Auto-Split Corridors in LOFT-Edit so that every piece has its own ID in the
file.
<class_defaults> and <element_overrides> are both containers of
attribute-style rows. A <class> row is keyed by name; an <element> row is
keyed by element_id.
<tactical>
<class_defaults>
<class name="corridor" min_headway="60" />
</class_defaults>
<element_overrides>
<element element_id="intersection_001" sequencing_rule="fcfs" />
</element_overrides>
</tactical>
A <class> row without a name, and a duplicate name, are hard errors.
Supported local fields are:
| Target | Field | Unit |
|---|---|---|
| Corridor-like element | control_rule |
name |
| Corridor-like element | min_headway |
m |
| Corridor-like element | queue_gap |
m |
| Corridor-like element | reservation_buffer |
s |
| Controlled node | sequencing_rule |
name |
| Controlled node | node_occupancy_time |
s |
| Controlled node | node_window |
s |
| Controlled node | protected_exit_distance |
m |
| Controlled node | protected_zone_timeout |
s |
| Controlled node | queue_capture_distance |
m |
| Vertiport | The node fields above plus control_rule (name) for its derived terminal zones |
All distances, durations, rates, and thresholds must be finite. Local
headways, queue gaps, node windows, occupancy times, capture distances,
protected exit distances, and protected-zone timeouts must be positive;
reservation_buffer may be zero.
Quality thresholds such as nav_quality_min and comm_quality_min must be in
[0, 1]. Invalid values are rejected while loading the strategy instead of
being clamped at runtime.
Resolution order is:
ACI runtime override
-> exact element override
-> class default
-> tactical module default
-> built-in default
An ACI override is temporary runtime state; it does not modify this XML file.
Contingency Layer
threshold_closure is the built-in network contingency model. At its
evaluation interval it observes environmental/CNS conditions and can close
affected resources after a configured number of degraded samples. Its
parameters belong below <contingency><parameters>.
| Parameter | Unit | Default | Meaning |
|---|---|---|---|
evaluation_interval |
s | 5 |
Time between checks; greater than 0 |
contingency_count_threshold |
count | 3 |
Consecutive degraded samples required; integer, at least 1 |
closure_duration |
s | 60 |
Temporary closure duration; greater than 0 |
nav_quality_min, comm_quality_min |
ratio | 0.45 each |
Minimum acceptable CNS quality, in [0, 1] |
wind_speed_max, vertical_wind_max |
m/s | 15, 2 |
Wind limits; nonnegative |
temperature_max |
degC | 45 |
Temperature limit |
Use <contingency model="disabled" /> or omit the contingency section for no
network-level contingency strategy. Hard vehicle and separation safety remains
active. There is no enabled parameter: the model selects whether the layer
runs, and <parameters enabled="..."/> is rejected.
ACI Relationship
Do not add an ACI declaration to this file. A controller attaches later from a Python run script. It can inspect an internal model’s default decision and apply a request, vehicle, or element override. When no ACI command is active, the XML/internal result remains in force. See the ACI Reference.
Migrating Old Files
An operating_policy.xml file from an older version, and its old element and
model names, must be converted once;
Upgrading Older Scenarios maps each of them
to its current form. A file that still writes values as element text loads with
the same values for now, but prints one warning per file, and
schema/operation_strategy.xsd rejects it.
The network loader ignores operation tags in an OSM network, with one warning
per affected element, and rejects a two-dimensional network whose corridor
nodes carry no altitude. scripts/migrate_legacy_network.py moves the
supported tags into this file and writes the explicit 3D path; see
Migrate an Older Network. The
simulator does not infer an operation strategy or silently insert vertical
geometry at runtime.
Validate
loft-sim validate -c example/scenarios/default/config/simulation_config.xml
loft-sim run -c example/scenarios/default/config/simulation_config.xml --nogui
Validation rejects unsupported schema versions, unknown keys, legacy model
aliases, and model parameters placed at the wrong hierarchy. When the strategy
is bound to the loaded network at the start of a run, an element_id override
that matches no element is an error. A <class name> that matches no element
class applies to nothing and is not reported, so check class names for typos.
See Simulation Configuration for runtime settings and the LOFT-Edit manual for the static network tag reference.