Additional Configuration

Purpose

additional.xml is the ONE optional file for scenario-level additions to a network. A simulation configuration points at it through input.additional_file:

<input>
  <network_file value="../network/airspace_network_enriched.osm"/>
  <demand_file value="demand_config.xml"/>
  <additional_file value="additional.xml"/>
</input>

It carries two independent sections, both optional:

Section Shape Carries
<network_smoothing .../> singleton, attribute-style Corridor-geometry smoothing for the whole network
<corridor_overrides> container of <corridor .../> rows Measured per-corridor CNS support

Every element is attribute-style: nesting only groups and a value is always an XML attribute. Keys carry no unit suffix; SI base units are implicit and each table below names the unit of every key.

A complete file wraps the sections in an <additional> root element:

<?xml version="1.0" encoding="utf-8"?>
<additional>
  <network_smoothing enabled="true" method="catmull_rom" resolution="10.0"/>
  <corridor_overrides>
    <corridor corridor_id="c3" comm_quality="0.9" nav_quality="0.85"/>
  </corridor_overrides>
</additional>

The loader does not check the root element’s name, and schema/additional.xsd declares both <additional> and <additional_config>, the two spellings the shipped files use.

There is no separate vehicle-profile file. The retired vehicle.profile_file input and the <vehicle_profiles> XML/JSON format it expected are gone; a configuration that still names them fails strict validation.

Several Additional Files

input.additional_file accepts one filename or a comma-separated list of them, matching SUMO’s --additional-files (whose documentation is explicit that “the files must be divided using ‘,’”). Splitting the sections across files is the normal way to keep each one readable: smoothing in one file, corridor overrides in another. Whitespace around the separator is trimmed, so a list can be written for readability:

<additional_file value="smoothing.xml, corridor_overrides.xml"/>

Merge order is document order: the files are read left to right, exactly as SUMO reads the option.

Collision rule: a collision is an error naming both files, never last-one-wins.

  • A singleton section (<network_smoothing>) declared in two files is rejected. Last-wins would silently discard a whole block you wrote, and a field-by-field merge is not available either: an unset field in an additional document means “take the default”, not “keep the other file’s value”, so merging field-wise would invent a configuration neither file describes.
  • A row container (<corridor_overrides>) is unioned: splitting rows across files is the entire reason to accept several. But two files with a row for the same corridor_id are rejected, because the premise of splitting the list is that the parts describe different objects. Repeating a row inside ONE file is still allowed: that is a deliberate sequence in one document, not two files disagreeing. The later row replaces the earlier one entirely; their fields are not merged.

Every failure names the offending file, including a parse error and a missing file, because with several files in play an error that does not name one is nearly useless. example/tutorials/cases/config_vehicle_type_override.xml is the shipped demonstration: smoothing in additional_smoothing.xml, per-corridor CNS support in additional_corridor_overrides.xml, both listed and both applied.

Network smoothing

<network_smoothing enabled="true"
                   method="catmull_rom"
                   resolution="10.0"
                   chaikin_iterations="2"
                   tension="0.0"
                   parameterization="centripetal"
                   smooth_z="true"
                   clamp_smoothed_altitude="true"
                   way_types="all"
                   preserve_vertiport_interfaces="true"
                   blend_endpoint_tangents="false" />

Shape and resolution are separate concerns. method, tension, parameterization, chaikin_iterations, and the per-node NURBS smoothing_weight / smoothing_anchor tags choose the SHAPE of the curve. resolution alone sets how finely that curve is sampled.

Attribute Unit Default Meaning
enabled boolean false Run the smoothing pass at load time
method name catmull_rom One of catmull_rom, bspline, nurbs, chaikin. Historical aliases are rejected
resolution metres 10.0 Target spacing of the output polyline. The single resolution knob for every method
chaikin_iterations count 2 Corner-cutting passes for chaikin. A shape knob: it sets how much the corners are cut, not the output spacing
tension ratio 0.0 Catmull-Rom tension. Tangents scale with 1 - tension, so a HIGHER value hugs the drawn polyline and RAISES peak curvature
parameterization name centripetal Catmull-Rom knot spacing: centripetal or uniform. uniform is legacy only
smooth_z boolean false Smooth XYZ; otherwise smooth XY and restore altitude by source arc length
clamp_smoothed_altitude boolean true With smooth_z, hold each altitude inside the band of the two drawn waypoints on either side of it
way_types list all Restrict smoothing to these way_type structural classes (corridor, vertiport_terminal)
preserve_vertiport_interfaces boolean true Skip ways whose way_type is vertiport_terminal
blend_endpoint_tangents boolean false Take the Catmull-Rom endpoint tangent across a shared node from the neighbouring corridor
legacy_samples_per_segment count unset LEGACY PIN, catmull_rom only. Reproduces the removed per-segment sample count and skips arc-length resampling

Removed attributes

num_points, samples_per_segment and corridor_types are rejected with a message naming the replacement: resolution for the first two, way_types for the third. Removed Smoothing Attributes explains why each one went.

resolution

resolution is the target spacing in metres of the returned polyline. Internal curve sampling is derived from it and the local segment length, and the result is then resampled by ARC LENGTH, so:

  • output spacing is bounded by resolution on every method;
  • doubling a corridor’s length doubles its point count instead of thinning it;
  • corridor length, ETA, and the DCB capacity estimates that depend on them stop carrying the systematic bias that parameter-uniform sampling introduced.

A resolution fine enough to push a corridor past the 20000-point ceiling is coarsened, and the corridor is named in a warning. It is never clamped silently.

Interpolating versus approximating methods

catmull_rom passes through every drawn waypoint. nurbs passes through the waypoints tagged smoothing_anchor and is pulled toward the others by smoothing_weight.

bspline and chaikin are APPROXIMATING: they pin the two endpoints but treat interior waypoints as control points only. A uniform cubic B-spline misses an interior waypoint by |P[i-1] + P[i+1] - 2*P[i]| / 6, which at a right-angle corner with equal legs of length L is 0.236 * L — 118 m on a 500 m leg, far outside a 40 m geofence buffer. That is fine where the waypoint is only a shape hint, and wrong where the waypoint was placed to skirt an obstacle. The loader computes this deviation and warns, naming the corridor, whenever it exceeds that corridor’s geofencing_buffer.

tension direction

tension = 0 gives the standard Catmull-Rom tangents. tension = 1 zeroes them, degenerating the curve back onto the drawn polyline. Peak curvature therefore RISES with tension: at 0.8 the minimum turn radius is roughly a fifth of what it is at 0. Values above about 0.2 produce a path that is harder to fly, not smoother.

Curvature feasibility

After smoothing, each corridor’s maximum plan-view curvature is compared against max_turn_rate / v at the corridor’s nominal speed. Exceeding it warns and names the corridor, the curvature, and the limit; it is never rejected. It matters because guidance answers an unflyable curve by cutting the corner, so the flown path leaves the centerline the geofence buffer is drawn around.

Parity with LOFT-Edit

preserve_vertiport_interfaces and blend_endpoint_tangents exist so LOFT-Edit’s smoothing preview equals the flown geometry. Both defaults match what LOFT-Edit’s Configure Corridor Smoothing dialog writes. The loft-edit write-additional command-line writer differs: it turns blend_endpoint_tangents on unless it is given --smoothing-no-blend-endpoint-tangents.

preserve_vertiport_interfaces keeps a terminal way exactly as drawn. Terminal ways carry the vertical departure/arrival legs, and smoothing them moves the vertical profile away from the pad.

blend_endpoint_tangents changes only where a Catmull-Rom curve’s endpoint tangent comes from, and therefore applies only to method="catmull_rom" (the Hermite family is the only one whose endpoint tangent is a free parameter). Off, each corridor fabricates its endpoint control point by mirroring its own first/last segment, so both curves arrive straight at a shared node and the joint shows a kink whenever the corridors meet at an angle. On, a corridor’s leading control point is the last interior waypoint of its unique upstream neighbour and its trailing control point is the first interior waypoint of its unique downstream neighbour — exactly the interior Catmull-Rom tangent, so the curve is C1-continuous across the corridor boundary. A blend needs an unambiguous neighbour: at a network end, or at a diverging/merging node with several candidates, that endpoint keeps its mirrored control point. Endpoints themselves stay pinned to the drawn waypoints in both cases, and the neighbour geometry is read before any corridor is rewritten, so the result does not depend on corridor order.

Measured corridor overrides

Measured per-corridor support is a table keyed by corridor_id, not a geographic object, so it stays in the additional configuration rather than moving to the CNS infrastructure layer. It may be used alongside (or instead of) an infrastructure file:

<corridor_overrides>
  <corridor corridor_id="c3" comm_quality="0.9" nav_quality="0.85"/>
</corridor_overrides>

All keys are optional per corridor. Only comm_quality and nav_quality change a run today: each sets the base quality of vehicles on that corridor (values outside [0, 1] are clamped). The other recognized keys, comm_latency_mean, comm_latency_std, comm_packet_loss_prob, comm_update_rate, nav_position_error_std, nav_velocity_error_std and nav_altitude_error_std, are accepted and stored on the corridor’s support record, but no model reads them yet. Quality values are measurements you supply: they take highest precedence for that corridor and are never degraded by other sites’ derivation (environment modifiers still apply at runtime — measurements are a baseline). A scenario with only corridor_overrides and no infrastructure file is valid (pure measured mode). Unknown corridor ids produce one warning and are skipped; unknown metric keys produce one warning and are ignored.

Overrides key on runtime corridor ids. If the loader auto-split a way at interior boundary nodes, the original id names segment 1 only; the simulator prints an informative note listing the __sN sibling segment ids so you can add entries for them if the whole way was measured.

Precedence

Per corridor and key (quality channel): measured corridor_overrides value > derived-from-sites value > global/base config (no-coverage fallback). The derived values are described under How Sites Become Corridor Support. For the network-aggregate uncertainty section: any key explicitly written in simulation_config.xml always keeps the value written there; derived values only fill keys left unset. With no infrastructure file and no corridor_overrides configured, nothing is derived and behavior is bit-identical to a run without infrastructure support.

Vehicle types are not here

They live in the demand configuration, beside the flows that reference them: <vTypes><vType vehicle_type="..." .../></vTypes> in demand_config.xml. See Demand Configuration. A <vehicle_types> section in an additional file is rejected with a message pointing there; see Vehicle Types Moved to the Demand File.