Skip to content

Add tourism: inbound/outbound services trade#33

Merged
speedcom merged 1 commit intomainfrom
feature/47-tourism
Mar 3, 2026
Merged

Add tourism: inbound/outbound services trade#33
speedcom merged 1 commit intomainfrom
feature/47-tourism

Conversation

@speedcom
Copy link
Contributor

@speedcom speedcom commented Mar 3, 2026

Summary

  • Inbound tourism (~5% GDP, GUS TSA 2023) and outbound tourism (~3% GDP, NBP BoP 2023) as direct deposit flows routed through OpenEconomy into BoP
  • Seasonal fluctuations (peak July, ±40% amplitude), ER sensitivity (elasticity 0.6), secular growth (3%/year), COVID-type demand shock capability
  • 10 env vars (TOURISM_ENABLED, _INBOUND_SHARE, _OUTBOUND_SHARE, _ER_ELASTICITY, _SEASONALITY, _PEAK_MONTH, _GROWTH_RATE, _SHOCK_MONTH, _SHOCK_SIZE, _SHOCK_RECOVERY)
  • 4 output columns (190–193): TourismExport, TourismImport, NetTourismBalance, TourismSeasonalFactor
  • SFC Identity 2 (bank deposits) + Identity 4 (NFA via tradeBalance) updated
  • Bonus: importedInterm.sumkahanSum in OpenEconomy for FP precision
  • 1192 tests pass (26 new in TourismSpec)

Test plan

  • sbt "testOnly *TourismSpec" — 26/26 green
  • sbt test — 1192/1192 green (0 failures)
  • TOURISM_ENABLED=true OPEN_ECON=true FIRM_SIZE_DIST=gus sbt "run 2000 30 test_tourism pln" — no SFC FAIL, columns 190–193 non-zero, seasonal oscillates 0.6–1.4

@speedcom speedcom changed the title Add tourism: inbound/outbound services trade (#47) Add tourism: inbound/outbound services trade Mar 3, 2026
@speedcom speedcom merged commit 7e9dbb2 into main Mar 3, 2026
2 checks passed
@speedcom speedcom deleted the feature/47-tourism branch March 3, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant