aeromaps.models.air_transport.air_traffic.price_elasticity_logistic_income¶
price_elasticity_logistic_income¶
Module for computing air traffic (RPK) with a generalised logistic income trend adjusted for price effects.
Adapted from the original (hard-coded short/medium/long range) model so it works
with the generic market structure: the global per-capita demand is unchanged,
only the per-segment split now iterates over the registry's passenger markets.
Selected via global.demand.model: logistic_income in markets.yaml.
RPKLogisticIncomePriceElasticity ¶
RPKLogisticIncomePriceElasticity(name, passenger_market_ids, *args, **kwargs)
Bases: AeroMAPSModel
Compute Revenue Passenger Kilometers (RPK) per capita using a generalised logistic function of GDP per capita (income trend), adjusted for price effects via a price index.
The global per-capita demand is split across the registry's passenger markets by
<mid>_rpk_share_last_historical_year and multiplied by each market's rpk_<mid>_measures_impact.
It reads doc_net_energy_per_rpk_mean to close the cost <-> demand MDA cycle and
aggregates the per-market reference trajectories into the total rpk_reference.
Unlike the traffic/efficiency models (one discipline instance per market), this is a single discipline spanning all passenger markets: the income trend and the price <-> demand MDA coupling are global, so per-market instances would duplicate the same global cycle N times.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Discipline name. |
required |
passenger_market_ids
|
list of str
|
Ordered list of passenger market ids. |
required |
Source code in aeromaps/models/air_transport/air_traffic/price_elasticity_logistic_income.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | |
compute ¶
compute(input_data)
Compute prospective RPK using a generalised logistic income trend adjusted for price.
The global per-capita income trend is multiplied by the price index; the result is
split across passenger markets by their last-historical-year RPK share, multiplied
by each market's measures impact and summed into the total rpk. Historic years
are pinned to the exogenous rpk_init split.
Source code in aeromaps/models/air_transport/air_traffic/price_elasticity_logistic_income.py
245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 | |