rameshmoorthy's picture
Upload 3 files
3f9d5ac verified
---
title: Meridia Frontier TRS Simulator
emoji: 🚒
colorFrom: blue
colorTo: blue
sdk: streamlit
sdk_version: 1.32.0
app_file: app.py
pinned: false
license: mit
---
# The Meridia Frontier β€” TRS Simulator
A gamified Time Release Study (TRS) simulator for customs policy analysis.
## Features
- πŸ—Ί **Isometric Port View** β€” Live Phaser.js game canvas showing Azure Port, Vortex Air Terminal & Stone Pass
- πŸ“Š **Japan-style TRS Charts** β€” Stacked bar breakdown of release time segments
- πŸ“‹ **Audit Ledger** β€” Full CSV export of every simulated Bill of Entry
- βš™ **Policy Levers** β€” Advance Filing, RMS Facilitation, AEO Enrollment, PGA Single Window, Deferred Duty, Auto-OOC
## How to use
1. Adjust policy sliders in the sidebar
2. Click **RUN SIMULATION**
3. Watch cargo dots appear on the isometric port map
4. Switch to **TRS REPORT** tab for the stacked bar chart
5. Download the **Audit Ledger CSV** for full data
## Tech Stack
- `SimPy` β€” Discrete event simulation engine
- `Streamlit` β€” Web framework
- `Phaser.js 3` β€” Isometric game rendering (via st.components)
- `Plotly` β€” TRS analytics charts
- `Pandas` β€” CSV export