Introduction
Calculates the Swiss approach fee with the following formula: UnitPrice * (MTOW * MtowFactor) ^ PonderationPower
- The UnitPrice and MTOW are given from the orderline and order.
- It is very similar to the MTOW exponential calculator, only the Configuration string UseFormulaAboveMtow is extra.
Configuration
-
MtowFactor(Default: 1)
A multiplier applied to the MTOW in tons before raising it to the PonderationPower. Used to adjust the calculation. The formula uses: (MTOW_in_tons × MtowFactor)^PonderationPower. -
PonderationPower(Default: 0.65)
The exponent used in the formula when the aircraft MTOW exceeds the threshold. The formula is: unitPrice × (MTOW_in_tons × MtowFactor)^PonderationPower. This adjusts how the charge scales with aircraft weight. -
UseFormulaAboveMtow(Default: 5000)
The MTOW threshold in kilograms. If the aircraft MTOW is less than or equal to this value, the unit price from the price agreement is used directly (no formula applied). For weights above this threshold, the formula with PonderationPower is applied. Weights below 5 tons (5000 kg) must be specified in individual price agreements for each ton.
Example
Scenario 2: Aircraft above threshold (default settings)
- MTOW: 89000 kg (89 tons)
- Unit price from price agreement: 1234
- Calculation: 1234 × (89 × 1.0)^0.65 = 1234 × 89^0.65 = 1234 × 9.43 ≈ 11641.53
- Result: Unit price ≈ 11641.53
Scenario 3: Aircraft above threshold (with MtowFactor)
- Settings: PonderationPower=0.50, MtowFactor=0.02
- MTOW: 89000 kg (89 tons)
- Unit price from price agreement: 1234
- Calculation: 1234 × (89 × 0.02)^0.50 = 1234 × 1.78^0.50 = 1234 × 1.33 ≈ 1646.36
-
Result: Unit price ≈ 1646.36
Notes
- This calculator is used for approach charges according to Swiss Federal Council rules, typically used in Zurich and possibly other Swiss stations.
- The quantity is always 1 (one approach).
- If no unit price is set in the price agreement, the calculation returns null and sets internal remarks to "No unit price is set".
- If the aircraft has no MTOW or no aircraft is set, the calculation returns null and sets appropriate internal remarks.
- The MTOW is retrieved from the order's aircraft registration and converted to tons for the calculation.
Comments
0 comments
Please sign in to leave a comment.