# STS Crane Outreach & Height Configurator

## Overview and intended use

Casper, Phillips & Associates (CP&A) provides this preliminary geometric planning tool to compare selected ship-to-shore crane dimensions with illustrative vessel and berth geometry. It is not structural analysis, verified vessel design, stability assessment, or proof of crane/vessel compatibility.

The application is static HTML with embedded CSS, JavaScript, and SVG rendering. It works offline when the page and its relative branding assets are available locally. Header/footer styles and the company logo are shared from `../assets/`; no build process, database, framework, or runtime third-party dependency is required. All model dimensions are stored internally in metres. Display units can be switched to feet using 0.3048 m/ft; counts remain unitless, and portal clear height and the illustrative vessel beam readout remain in metres. Save diagram exports a standalone SVG with embedded diagram styling.

## Engineering Definitions & Assumptions

The backstay clears the forward 11 m of the 15 m machinery-house projection, including its 1.07 m roof railing. The rear 4 m electrical-room projection is assumed to be laterally offset, so the backstay may cross its projected outline. This preliminary drawing does not verify actual three-dimensional clearances, internal arrangements, connection details, maintenance access, or structural adequacy; verify these during detailed design.

Dual-Trolley STS is one illustrative baseline. The lower runway shares the portal centerline (portal clear height plus half the existing 2.50 m beam depth). Its waterside travel limit is 10.668 m from the landside rail; default lower backreach is 26 m, adjustable from 10–40 m, with a 2 m rear runway allowance. The lower trolley is fixed halfway along its landside backreach. Principal supports join the waterside portal node to the landside upper-girder centerline, then to a lower-runway node 4 m inward from the physical landside girder end. These simplified connections follow the reference arrangement; member sizing, equipment clearances, dynamic loads, transfer operations, three-dimensional interference and structural adequacy are not verified. Vessel reach and lift results apply only to the upper trolley. Optional dual-trolley K-bracing uses the midpoint between lower and upper portal connections; the inverted chevron follows the conventional lower-V pattern. Both share their landside bracing node with a support to that same 4 m-inboard lower-runway node. These are illustrative structural arrangements, not verified designs. Optional secondary braces beneath the portal beam are pictorial only; they do not verify stiffness, strength, vehicle clearance, or suitability for automated operation.

## Coordinate system and reference datums

- The waterside rail centerline is horizontal coordinate x = 0; positive x points toward the vessel. The landside rail is at x = −rail gauge.
- Rail elevation is vertical coordinate y = 0. Heights increase upward. The quay surface is schematically drawn at this same elevation; there is no independent quay-surface elevation input.
- Water elevation relative to rail is `tide − rail`, where `rail` is the rail elevation above reference water and `tide` is the water-level offset from that reference.
- Calculations use positive waterside coordinates, but the drawing mirrors x so the ship appears on the left. Text remains upright. Horizontal and vertical drawing scales are equal.
- Gantry travel runs parallel to the quay, perpendicular to this cross-dock elevation. Wheels and rail heads are shown end-on; multiple wheels arranged along a rail overlap in this projection. Bogie symbols do not indicate wheel count or a transverse wheel train.

## Crane geometry and definitions

**Outreach** is measured from the waterside rail centerline to the maximum spreader centerline. The structural boom tip extends 6.5 m beyond this trolley travel limit.

**Lift height** is the maximum elevation of the spreader underside (container top) above rail. The schematic girder underside is drawn 7 m above the maximum spreader elevation solely to show rigging space. Lift height does not independently define actual boom elevation.

**Rail gauge** is the distance between the waterside and landside rail centerlines; the rails are at x = 0 and x = −gauge. Changing portal clear height does not change rail positions.

**Backreach** is the usable trolley/spreader-center travel beyond the landside rail. The rear travel limit is `trolleyMin = −gauge − backreach`. The rear girder extends 10 m beyond the nominal loaded trolley travel limit: `girderRear = trolleyMin − 10`. Its total extension behind the landside rail is `backreach + 10`. Minimum trolley backreach is 8 m to retain room for the fixed machinery house and rear pin post. This is a model control limit, not a verification of the full lifted-load collision envelope, which requires a separate check.

**Machinery house** stays 14 m long and 5.5 m high, with 2 m separation from the landside leg. Its waterside end is `−gauge − 2`; its rear end is another 14 m landside. Its base is 3.5 m above the girder underside; roof railing is 1.2 m above the house roof.

**Apex and backstay.** The apex stays 32 m above the girder underside, giving 95 m above rail at the default 56 m lift height. A vertical post raises the rear backstay pin only when required for 0.0508 m (2 in) schematic clearance between the pipe surface and house roof railing. As backreach shortens, the pin follows the same diagonal line until supported by the post. The reference angle is retained unless house clearance or a longer girder requires a shallower stay. These proportions illustrate geometry, not structural sizing.

The actual implemented backstay calculation is:

```text
beam = lift + 7
peak = beam + 32
stayAnchor = girderRear + 1
stayBase = beam + 3.8
stayWidth = 0.85
houseEnd = −gauge − 2
houseStart = houseEnd − 14
houseBase = beam + 3.5
houseTop = houseBase + 5.5
distance = −houseStart
radius = stayWidth / 2
drop = peak − houseTop − 1.2 − 0.0508
clearanceSlope = (drop × distance − radius × sqrt(distance² + drop² − radius²))
                 / (distance² − radius²)
referenceSlope = (32 − 3.8) / (35 + 20 + 10 − 1)
staySlope = min(referenceSlope, clearanceSlope, (peak − stayBase) / (−stayAnchor))
stayPin = peak − staySlope × (−stayAnchor)
postHeight = max(0, stayPin − stayBase)
```

**Portal clear height** is measured from rail elevation to the underside of the 2.5 m deep schematic portal beam. The control is 10.0–20.0 m in 0.5 m increments, default 12.0 m. The drawing uses centerline `portalClear + 2.5 / 2`, so the underside remains at the selected clearance and the top is 2.5 m higher. Its existing horizontal extent is from the landside leg to 0.5 m landside of the waterside rail. It is a visualization parameter, displayed in metres, and does not change outreach or lift reserves. The dimension starts at rail datum, not an independently modeled quay elevation.

Default crane dimensions are outreach 74 m, lift 56 m, gauge 35 m, portal clear height 12 m, and backreach 20 m. Crane control ranges are outreach 30–90 m, lift 20–65 m, gauge 15–40 m, and backreach 8–50 m, all in 0.5 m increments.

## Vessel geometry and assumptions

Container rows are the primary vessel-width parameter. Illustrative vessel beam is:

```text
beam = rows × row pitch + class-specific total beam allowance
bank width = (rows − 1) × row pitch + container width
near hull side = setback + ship gap
bank start = near hull side + (beam − bank width) / 2
row center[i] = bank start + i × row pitch + container width / 2
```

Here `i` is zero-based. The total beam allowance is 0.64 m for Panamax and 1.0 m for other classes and Custom. This allowance is shared equally outside the nominal row-pitch envelope and is an illustrative assumption, not a vessel-design standard. The actual container bank is centered within the calculated beam. This vessel-width allowance is separate from outreach/lift reserves; there are no user-entered horizontal or vertical reserve allowances.

All rows have the same on-deck tier count. Container width is 2.438 m. Container type sets height to 2.896 m (high cube, 9 ft 6 in) or 2.591 m (standard, 8 ft 6 in), as stored in the implementation. Row pitch includes the gap between container rows. Deck elevation is approximated by moulded depth minus draft, adjusted for water level. Hatch-cover thickness, camber, lashing bridges, trim, list, and uneven stacks are omitted.

```text
water = tide − rail elevation above reference water
deck = moulded depth − draft + water
stack top above rail = deck + tiers × container height
keel elevation = water − draft
```

The hull has a schematic curved bilge using `min(5 m, beam × 0.1, depth × 0.25)`; this is not a hull-form calculation.

Vessel controls permit 4–30 rows (integer), 0–14 tiers (integer), moulded depth 8–36 m (0.1 m), draft 3–18 m (0.1 m), and row pitch 2.440–2.650 m (0.001 m). Zero on-deck tiers is supported.

## Berth geometry

- **Waterside rail setback:** rail centerline to quay face; default 3.5 m, range 1–12 m.
- **Ship-to-quay gap:** quay face to the near hull side; default 2.6 m, range 0.5–5 m.
- **Rail above reference water:** default 4.5 m, range 1–10 m.
- **Water level/tide offset:** default 0 m, range −3 to +4 m. Positive offset raises vessel and stack relative to rail.

These controls increment by 0.1 m. Higher draft lowers the modeled deck and stack. The gap, rail setback, vessel width allowance, container dimensions, and lifted-container height are retained physical or geometric assumptions.

## Outreach and lift height calculations

The equations formerly displayed in the interface are preserved here:

```text
Required outreach = setback + ship gap + (beam − bank width) / 2
                    + (rows − 1) × row pitch + container width / 2
Stack top above rail = depth − draft + tide − rail elevation above reference water
                       + tiers × container height
Required lift height = stack top above rail + one lifted container height
Outreach reserve = selected crane outreach − required outreach
Lift height reserve = selected crane lift height − required lift height
```

Required outreach is the farthest row center, not the hull side or outer container edge. Required lift represents lifting an additional container over the full stack. No additional user-adjustable clearance terms are added. Positive reserve indicates available geometric capacity; negative reserve indicates a shortfall and is not clamped to zero.

**Rows within reach** counts row centers satisfying `center >= trolleyMin` and `center <= outreach + 1e−8`. Reserves and displayed dimensions are rounded to one decimal place in the selected units. Metric colors treat reserves at least −1e−8 as nonnegative; the envelope badge uses strict reserve comparisons against zero.

At the default Megamax-24 configuration, beam is 61.0 m, required outreach is 65.35 m, stack top is 47.452 m above rail, required lift is 50.348 m, outreach reserve is 8.65 m, and lift reserve is 5.652 m.

### Trolley position, row targeting, and loaded-container position

The main slider follows the drawing: left is waterside and right is landside. Slider position is measured from the waterside rail, negative waterside and positive landside. The engineering calculations retain the original opposite sign convention (positive waterside). Rendering converts between these signs; crane and vessel sizing equations are unchanged.

Slider limits are `−outreach` and `gauge + backreach`, excluding the structural boom tip and rear girder extensions. Default travel is −74 to +55 m, totaling **129 m** (74 + 35 + 20), not 94 m. Rail markers are at 0 m and +gauge. Pointer travel is continuous; keyboard arrows move 0.5 m, and Home/End select the travel endpoints. Units change the readout, while positions remain internally in metres. Crane edits clamp free positions to the nearest valid limit. When the rear-limit control is active, it follows that limit as crane dimensions change.

The row selector or clicking a visible container targets its calculated center. Row targets follow vessel/berth geometry edits, but dragging the slider switches to free travel without snapping to rows. Preset selection targets the final row. The actual row number and orange row highlight appear only when the trolley aligns with a modeled row center (within 1e−6 m); between rows or over the quay, no actual row is reported. An unreachable row target is clamped at outreach, with the existing forward-travel warning retained. The row selector identifies the requested target; the position readout reports the actual position.

Rear trolley limit moves to the rear endpoint; toggling it again restores the prior free position or row target, subject to current limits. Reset restores the default final-row target and Max lift mode.

- **Max lift:** spreader underside/container top is at the entered crane lift height throughout travel.
- **At stack:** within the modeled container-bank horizontal extent, the container top is `min(lift, stack top + container height)`. With sufficient lift, the bottom sits on the full stack, including between row centers.
- **At quay / At rail datum:** outside that bank, the container top is `min(lift, container height)`. With sufficient lift, the bottom sits at rail elevation. The label is At quay for positions on the quay side of the face, and At rail datum otherwise; this is not a modeled water-surface landing operation.

The lower lift mode retains the previous stack/rear landing elevations and lift-height cap, now choosing between them by actual trolley position rather than the old rear-only flag. Negative lift reserve may show a container overlapping the stack; the application displays the shortfall rather than increasing crane dimensions. Trolley, spreader, lifted container, and hoist-line x positions use the same clamped coordinate.

## Vessel presets and dimensional validation

Vessel presets represent illustrative geometries for preliminary crane and terminal planning. Actual vessel dimensions, loading conditions, container stowage, stability, and cargo securing must be verified using vessel-specific information. Presets are editable examples, not a vessel database.

| Preset | Rows | On-deck tiers | Row pitch (m) | Draft (m) | Depth (m) | Total beam allowance (m) | Calculated beam (m) | Advisory tier threshold |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
| Small Feeder | 8 | 4 | 2.500 | 7 | 12 | 1.00 | 21.00 | 6 |
| Feedermax | 12 | 5 | 2.500 | 10 | 16.5 | 1.00 | 31.00 | 7 |
| Panamax | 13 | 6 | 2.440 | 11.8 | 19.3 | 0.64 | 32.36 | 8 |
| Post-Panamax | 17 | 7 | 2.500 | 14 | 24.6 | 1.00 | 43.50 | 9 |
| Neo-Panamax | 19 | 9 | 2.500 | 14.5 | 27.2 | 1.00 | 48.50 | 11 |
| Large ULCV | 23 | 10 | 2.500 | 15.5 | 30.2 | 1.00 | 58.50 | 12 |
| Megamax-24 (default) | 24 | 12 | 2.500 | 16 | 33.2 | 1.00 | 61.00 | 14 |
| Future Ultra-Large (26 Rows) | 26 | 12 | 2.500 | 16 | 33 | 1.00 | 66.00 | 14 |

The future preset is a conceptual 26-row configuration for future STS crane and terminal planning, not a specific verified vessel design. It and all configurations over 24 rows display future-planning information. This alone does not cause a geometric error or a crane shortfall.

Changing preset vessel inputs or container height marks the preset **Modified**. Its class-specific beam allowance remains active. Restore preset restores vessel defaults and the container type recorded when the preset was selected, without resetting crane or berth settings. Custom retains entered vessel values and uses the 1.0 m total beam allowance. Reset restores the default configuration, last-row target, and Max lift mode; the current unit preference is retained.

### Advisory methodology

1. The row-width reference is the first class in the table whose row count is at least the entered row count. Above 26 rows, the widest reference is used, including for Custom.
2. A uniform stack exceeding that reference's advisory tier threshold triggers an unusually high stack warning. The thresholds are separate from preset tier defaults and are planning heuristics, not structural or regulatory limits. They do not assess stability or cargo securing.
3. When the selected class is Panamax, calculated beam exceeding `32.36 m + 1e−8` triggers a transit-classification advisory, not a stability assessment. The one-decimal beam readout rounds 32.36 m to 32.4 m; the check uses the unrounded dimension.
4. Draft at or above moulded depth triggers a geometric error because the deck is modeled at or below water. Entered values are retained; the application does not redesign the vessel.
5. Custom, Modified, and future configurations receive explanatory information. More serious warnings/errors take precedence in the status styling while retaining relevant messages.

The main envelope badge additionally checks `bank <= beam`, `draft < depth`, and `water < 0`. Invalid geometry gives “Review input geometry”; valid inputs with both reserves nonnegative give “Envelope fits inputs”; otherwise it gives “Envelope shortfall.” Vessel advisories are independent of this badge and crane reserves. “Fits” expresses only the implemented geometry.

Concise runtime warnings also report water at/above rail, a container bank extending across the quay face, the selected row beyond forward trolley travel, and insufficient lift to carry a container above the full stack.

## Visualization conventions

The crane structure, boom depth, rigging headroom, portal, and hull shape are illustrative. Solid red box members, diagonal portal brace, peaked upper frame, cream machinery house, and boom ties depict the geometry schematically. The diagonal portal brace follows the selected portal beam; no transverse member joins the two rails at truck height. Sill members along each rail project locally at the legs.

The girder is 3 m deep. Inner boom tie attachment follows 46% of outreach; the outer tie is 12 m inboard of the structural boom tip. These are drawing proportions, not capacity checks. Loaded trolley travel remains inside the structural boom/girder ends.

The drawing retains horizontal bounds x = −122 to +110 m and lower bound y = −42 m. Its upper bound is `max(100, apex elevation + 4) + 4` m, retaining the 100 m reference and space above the apex rail. A 20 px top margin and top-aligned plot replace the former 46 px margin and vertical centering. One common x/y scale preserves physical proportions; responsive panel heights are reduced by 30–50 px. Labels remain screen-sized. Mobile rendering simplifies annotations and ladder details. The portal dimension label is repositioned to avoid existing dimensions, crane/house annotations, and the drawing boundaries. Dimensions show outreach, backreach, lift height, required lift, portal clear height, rail gauge, and vessel beam. Required lift/selected row use orange, trolley limits/max spreader height use blue, and shortfalls use red. Containers beyond forward outreach are tinted red; the selected row is outlined orange. These conventions do not indicate structural adequacy.

### Portal bracing configuration

The Crane tab provides drawing-only Single diagonal, K-brace, and Inverted chevron options. These selections are separate from engineering input state and do not affect calculations, reserves, suitability status, trolley travel, or vessel/berth geometry. Reset restores Single diagonal, Top waterside to bottom landside, and the stored K direction Points waterside. Inactive direction controls are hidden and disabled; changing families preserves their selections.

The existing main-diagonal attachment nodes are reused: x = −gauge + 1 m at the landside leg, x = −1 m at the waterside leg, with lower elevation at portal-beam centerline + 1 m and upper elevation at girder underside − 1 m. Both points fall within the schematic leg/member envelopes. Single diagonal connects these nodes in either orientation, retaining the original 1.45 m schematic member width and default appearance.

For K-brace, two 1.45 m diagonals run from the opposite leg's upper/lower nodes to a shared node halfway up the selected leg, forming the K with the opposite existing leg as its vertical stem. “Points waterside” refers to the waterside leg, displayed on the left; “Points landside” reverses the arrangement.

The option labeled Inverted chevron follows the supplied engineering reference: two 1.1 m lower members form a **V**, descending from opposite leg nodes at an intermediate horizontal pipe to a shared central node near the portal beam. The lower center is 0.55 m above the portal beam top (`portal centerline + 2.5 / 2 + 0.55`). The 0.85 m pipe is 35% of the available height from that lower center to the existing upper attachment elevation (`girder underside − 1 m`). These proportional positions approximate the reference; they are schematic assumptions, not extracted design dimensions.

The 1.45 m main diagonal connects one intermediate pipe/leg node to the opposite upper leg node, entirely above the pipe. Bottom waterside to top landside matches the reference after accounting for the configurator's mirrored view; the opposite selection mirrors only this upper diagonal. The lower V and horizontal pipe remain unchanged. All members follow portal elevation, rail gauge, and the existing girder elevation without changing them. Connection details, out-of-plane offsets, pipe cross sections, sizing, and load paths are not modeled.

The configurator title, Back to tools link, and action buttons use a CSS-only sticky toolbar. The company logo and subtitle scroll normally. Mobile buttons wrap beneath the title; scroll offsets leave room for focused controls below the toolbar. No scrolling-state JavaScript or geometry changes are introduced.

## Engineering limitations

Vessel trim and list are not included in this geometric model. Additional outreach and lift-height allowances may be required to accommodate vessel attitude and operating conditions. Verify all dimensions and clearances against project-specific requirements.

Boom/vessel air-draft clearance, collision envelopes, full lifted-load envelopes, lifting capacity, loads, deflection, wind, seismic effects, under-keel clearance, and operational limits require separate checks. The model does not establish crane or vessel compatibility, verify stability, or assess cargo securing. Rail-datum portal clearance does not establish clearance from an independently elevated quay or vehicle surface. The 8 m backreach minimum and house/backstay schematic clearance are geometric conventions rather than verified structural or operational limits.

### Documentation clarification

The original interface described At stack/At quay as placing the container bottom on the stack/rail. The actual implementation caps the container top at the selected lift height. Those bottom positions therefore apply only when sufficient lift exists; otherwise overlap is possible. This README states that qualification explicitly. No calculation was changed. The former description of rigging space refers to the main girder underside, distinct from the adjustable portal beam.

## References

These existing references provide container dimensions and crane specification terminology. They do not validate the illustrative vessel presets, class beam allowances, tier thresholds, or drawing proportions.

- [Triton external container dimensions](https://tools.tritoncontainer.com/tritoncontainer/unitSpecs/fleet)
- [Liebherr STS crane specification terminology](https://www.liebherr.com/en-us/maritime-cranes/products/port-equipment/ship-to-shore-container-cranes-4433170)

The README is authoritative project documentation. The public interface does not assume this repository or README is publicly accessible.


## Container transfer method

The collapsed Crane-tab disclosure selects Terminal tractor + bomb cart (default), Straddle carrier, or Automated guided vehicle (AGV), and Between crane legs (default) or Landside backreach. The straddle-only stacking selector defaults to 1-over-1. Reset restores these choices. An enlarged SVG thumbnail reuses the selected silhouette inside the controls for recognition on mobile. Transfer settings are separate from crane/vessel/berth input state; no outreach, lift, reserve, row reach, bracing, or trolley calculation is changed.

### Representative equipment data

Dimensions are organized in `transferEquipment` in the HTML script, in metres. These are original schematic drawings, not manufacturer artwork or exact product models.

| Equipment/configuration | Overall height | End-elevation overall width | Basis |
| --- | --- | --- | --- |
| Terminal tractor + bomb cart | max(3.2, 1.4 + container height) | 3.0 m | Illustrative cab height, deck elevation, and overall transport width |
| AGV | 1.2 + container height | 3.2 m | Illustrative deck elevation and overall platform width |
| Straddle 1 high (1-over-0) | 7.5 m | 4.87 m | CP&A-provided planning height; width retained as an illustrative assumption |
| Straddle 1-over-1 | 10.4 m | 4.87 m | CP&A-provided planning height; width retained as an illustrative assumption |
| Straddle 1-over-2 | 13.2 m | 4.87 m | CP&A-provided planning height; width retained as an illustrative assumption |
| Straddle 1-over-3 | 16.0 m | 4.87 m | CP&A-provided planning height; width retained as an illustrative assumption |

The four overall straddle-carrier heights are CP&A-provided planning values, not verified manufacturer specifications. The 4.87 m width is retained as an illustrative assumption. Verify actual equipment dimensions; these silhouettes are not exact product models. Heights are not lifting heights and are not calculated from container tier counts.

The visible container end face is 2.438 m wide, using the existing selected standard/high-cube height. Its long axis extends into/out of the screen; no container length is displayed horizontally. For the straddle it is carried with its bottom 1.0 m above the surface, below the upper frame. Machinery, cab, frame members, wheel profiles, and container position are illustrative proportions. The tractor is ahead of the bomb cart along its direction of travel and is mostly hidden by the container in the rear end-on projection; mirrors remain visible. The straddle frame uses a representative 3.47 m inner opening, with separate side sills and tyres, while the AGV is a cabless low platform. Carrier overall height remains fixed for each selected class. Tractor/cart and AGV overall loaded heights change with the selected container height; all their vehicle dimensions are assumptions requiring verification.

Stacking labels describe handling above an existing stack: 1-over-0 handles one container without stacking over another; 1-over-1, 1-over-2, and 1-over-3 handle it above one, two, and three existing containers respectively. They are capability classifications, not direct measurements of overall height.

### Projection and interchange locations

The container transfer equipment is illustrated in an end-on projection, representing equipment traveling parallel to the quay and perpendicular to the crane cross-sectional drawing. Overall equipment width and height use the same equal physical scale as the crane; the groups are rebuilt orthographic end elevations, not rotated side views. The enlarged control thumbnail reuses the same proportions for recognition without stretching the main drawing. This schematic does not represent a complete vehicle swept-path or traffic-lane analysis. Drive-lane requirements, turning radius, traffic compatibility, and maneuvering clearance need separate assessment.

Between-legs positioning centers the insert between the local bogie projections: x = −gauge + 1.5 to −1.5 m. Backreach positioning centers it between x = −gauge − backreach and −gauge − 1.5 m, inside usable rear trolley travel rather than the extra 10 m structural girder extension. The 1.5 m exclusions correspond to the drawn bogies, not an operational clearance allowance. Horizontal fit now compares **overall equipment width**, rather than the former side-profile length, against that interval. Insufficient horizontal room can cause the full-size illustration to overlap a leg or travel boundary; crane dimensions are unchanged. This is not a drive-lane-width check. Width changes do not affect equipment height or the portal reserve formula.

### Datum and clearance assumptions

The on-page transfer-equipment clearance panel and thumbnail explanation have been removed. Their equipment assumptions, formulas, and limitations are retained here. Equipment and interchange selections, scaled illustrations, and SVG export remain available; the underlying geometry is unchanged. No drive-lane, swept-path, traffic, structural-capacity, or operational-suitability assessment is performed. For dual-trolley cranes, lower-runway, trolley, support-member, and transfer-operation clearances are not evaluated.

The existing quay surface is explicitly drawn at **rail datum 0.0 m**. The model has no separate quay-surface elevation input. Equipment wheels rest on that modeled surface, and it must not be used to infer clearance at a site where quay and rail top differ. The berth's rail-above-water and tide settings move water/vessel elevations, not this quay surface.

For between-legs interchange:

```text
highest point above rail = modeled quay surface elevation + overall equipment height
available vertical clearance above surface = portalClear − modeled quay surface elevation
clearance reserve = portalClear − highest point above rail
```

The portal beam underside is `portalClear`, in rail coordinates. Negative reserve indicates geometric interference; zero gives no geometric reserve; positive means only preliminary geometric reserve, without operational adequacy. The model never increases portal height automatically. Actual site elevation differences, suspension, load sway, dynamic motion, protrusions, attachments, deflection, manufacturing tolerances, and project allowances require verification. The check concerns the selected static silhouette and portal underside only; it is not a complete crane/vehicle collision assessment.

For backreach interchange, portal clearance is **not applied**. Overhead clearance is explicitly not evaluated; the operating path and any applicable crane members need separate assessment. Transfer advisories do not alter the existing vessel envelope badge or sizing results.

The portal control now spans **10.0–20.0 m**, with default 12.0 m and 0.5 m increment, remaining rail-to-beam-underside clearance. Portal beam depth and bracing retain their existing definitions. SVG export includes the selected original equipment illustration and an accessible title with height/location and clearance limitations.

### Manufacturer references

- [Konecranes typical straddle-carrier technical specifications (2021)](https://www.konecranes.com/sites/default/files/2021-12/SC%20Typical%20Tech%20Spec.pdf) — useful background; not the source of the CP&A-provided planning heights.
- [Konecranes Noell technical information (2024)](https://www.konecranes.com/system/files/2024-06/7583_konecranes_noell_straddle_carrier_technical_document_new_brand_v6.pdf) — background reference for representative overall dimensions; implemented heights are CP&A-provided planning values.
- [Kalmar straddle carriers](https://www.kalmarglobal.com/equipment/straddle-carriers/) — terminology and equipment background; not a numeric dimension source for this model.
- [Triton container specifications](https://tools.tritoncontainer.com/tritoncontainer/unitSpecs/fleet) — container dimensions, also used by the existing vessel model.


## Optional usage analytics

The configurator supports consent-required or approved automatic aggregate usage analytics through a write-only Cloudflare Pages Function and Workers Analytics Engine. Collection requires explicit production configuration. Permitted page openings on the homepage and configurator may include server-derived country/subdivision categories; detailed interactions never include geography. See [ANALYTICS.md](ANALYTICS.md) for the consent policy, event schema, environment isolation, dashboard setup, tests, limitations, and SQL reports. Engineering use and SVG export work without analytics consent or service availability.

## Estimated individual wheel loads (account-enabled environments)

Signed-in users see four individual-wheel load ranges in metric tons/wheel, based
on a gantry with eight wheels per corner. The server
calculates the estimates; browser files and this README contain no wheel-load
equations or model coefficients. Private model documentation is maintained with
the Functions libraries, and source/test download paths return 404.

The Stowed wind speed category defaults to Low for new configurations. The signed-in
Crane-tab selector and Wheel Loads modal share the same value, preserved on opening. It selects the existing
Low or High overload pair from the six server results without recalculation or a
new request. Operating rows do not change. CP&A confirmed these source categories
refer to stowed wind speed and the gantry basis means eight wheels per corner.
The geometry summary follows the table. Retained overload source lift heights
are 30–54 m for Low and 50–56 m for High. The range check is retained, with
applicability limits explained in the assumptions accordion rather than the modal.

Selected planning allowances are ±50 kN for landside operating, ±45 kN for waterside
operating, ±70 kN for landside overload and ±100 kN for waterside overload. Allowances
are applied in the source kN units, then both range endpoints are divided by 9.81
on the server before rounding to whole metric tons for display. These are preliminary planning
ranges, not guaranteed limits or statistically calibrated prediction intervals.
The model does not account for crane type or lower-trolley equipment. See the
repository's account setup guide for isolated environment configuration and acceptance checks.

The compact header keeps All tools and account access in a slim navigation row,
with Reset, Export SVG and Wheel loads beside the title on desktop and wrapped below
it on smaller screens. The configuration heading follows the active Crane,
Vessel or Berth tab. An accessible m/ft selector beside that heading uses the
existing length conversion logic and preserves physical geometry and the selected
units across tab changes and Reset. The existing portal-clear-height input remains
in metres; wheel-load results remain in metric tons independently of length units.

The collapsed wheel-load assumptions panel is directly below Engineering
considerations. The public FAQ describes estimation, influencing factors and
limitations for quay/wharf design, without exposing formulas or numerical results.
The model uses four geometry inputs and six named cases; crane dead weight and
project-specific wind or lifted loads are not separately calculated. The documented
eight-wheels-per-corner assumption describes the model basis, not an additional wheel-count divisor.


## Account-saved configurations

Save configuration and My configurations are separate from Export SVG. They use
completed CP&A accounts and private database records. Dimensions remain full-precision
metres; each record restores its own length units and wind category. Account-level
units apply on a fresh visit unless local edits or a named restoration take precedence.
Crane, vessel/preset, berth, bracing, transfer, colours and trolley settings are saved;
derived results and protected wheel-load outputs are recalculated, never stored.
Guests retain the public controls and SVG export. Dual-trolley wheel loads remain
an authenticated contact-information experience, without conventional calculations.
Migration, RLS, serialized schema, tests and staged Production rollout are documented
in the repository's `supabase/README.md`; database provisioning is separate from deployment.
