◈ Simulation
Overview
Flight Plans
Calendar
ALL
AP124
AP126
AP127
AP129
Daily Flight Load
Avg flights/workday · cap = dashed · Priority: AP124→AP126→AP127→AP129
All Students Progress
Lessons done vs remaining, by batch
Batch Timeline — planned dates · solid = completed · faded = remaining
AP124
AP126
AP127
■ AP124■ AP126■ AP127■ AP129
Performance Filters
Historical view
Total Historical Flights
-
All completed flights
Total Historical Hours
-
Actual flown time
Business Days
-
Weekdays excluding holidays
Avg Flights / Day
-
Historical average
Peak Day
-
-
Median Flights / Day
-
Typical operating load
Avg Hours / Day
-
Daily intensity
Best Weekday
-
-
Top Batch Share
-
-
Daily Actual Flights & Hours
Bars = flights/day · line = hours/day
Recent Operating Days
Quick intensity scan
Monthly Actual Hours by Batch
Historical stacked hours contribution
Scheduler Parameters
Daily Flight Cap
Max total flights per day across all batches
25 /day
Cap Mode
How daily capacity is measured
Flights Hours
AP129 Start Date
13 students (fixed) · uses AP127 curriculum
Planning Horizon
Workdays to project forward from today
800 days
Weekend Cap
Max flights/day on Sat & Sun · 0 disables weekend flying
13 /day
Holiday Cap
Max flights/day on Thai public holidays · 0 disables holiday flying
13 /day
Additional Batches
All additional batches use the AP127 curriculum (101 lessons). Priority after AP129.
How the Simulation Works
Schedule start
Today (Bangkok time) — only future workdays are scheduled
Priority order
AP124AP126AP127AP129 → Extra batches (in added order)
Daily cap
Max N flights/day shared across all batches combined — higher-priority batches fill slots first
Student eligibility
Must wait 1 workday after a lesson < 120 min · 2 workdays after a lesson ≥ 120 min (2 hr+). Within a batch, the student furthest behind their plan fills next.
Workdays
Monday–Friday only · 14 Thai public holidays in 2026 excluded
Curriculum
AP124: 97 lessons · AP126 / AP127 / AP129 / Extra: 101 lessons (AP127 curriculum)
ETC basis
Projected finish = date of the last student's last planned lesson. "Months to go" counts from today to that date.
AP124 / AP126 / AP127
Actual flights already completed are locked in; only remaining lessons are scheduled forward from today
AP129 & Extra batches
Start from zero — all 101 lessons scheduled from the batch start date onward
Estimated Finish Dates
Click ▶ Run Simulation to see finish date projections.
Monthly Flight Capacity — avg flights/workday per batch
Stacked by batch · dashed = daily cap · run simulation to update
Students
-
Person
Curriculum
-
Lessons
Progress
-
Done vs Total
Total Hours
-
Actual / Total
Ahead / Behind
Ahead-
Behind-
-
Progress RankingAs of -
Rank Name CALL
SIGN
SE
TYPE
FI Progress HRS
DONE
LESSON
DONE
Last
Lesson
Last FLT IDLE
DAYS
DAY
Delta
HRS
Delta
Pace Bandsleader → lagger spread
Recent FlightLatest updates
Lesson CodesQuick legend
GL
General handling
IL / IF
Instrument phases
XV / XI
Cross-country
NL
Night flights
SP / PIC
Solo / SPIC
M
Multi-engine
Combined Progress vs Plan
Flight Timeline vs Progress-
Rows are sorted leader to lagger. Dots mark dates each student actually flew, colored by lesson phase. Red segments mark gaps > 7 days. Click any dot for details.
Actual vs PlannedAll 28 students with planned baseline
Solid lines are actual cumulative lessons to current date. Dashed line is planned target from curriculum dates.
Overall Progress Bar ViewAhead at top, lag at bottom
X-axis = lesson number, Y-axis = all 28 students.
Apps Script Relay — Live Data Connection

Google Sheets CSV cannot be fetched directly from a local HTML file (browser CORS policy). A Google Apps Script acts as a relay — it runs on Google's servers, fetches the sheet data, and returns it to this page with the correct headers. It's free and takes about 2 minutes to set up.

Step 1 — Copy this script
Step 2 — Go to script.google.com → New Project → paste the code → Save
Step 3 — Click Deploy → New deployment → Type: Web app → Execute as: Me → Access: Anyone → Deploy → Authorize
Step 4 — Copy the web app URL and paste below
No URL configured yet.
Debug Log
Scheduler Parameters
Daily Flight Cap
Max total flights per day across all batches.
25/day
AP129 Students
Number of students in AP129 batch.
AP129 Start Date
First flight date for AP129 batch.
Planning Horizon
Workdays to project forward.
800days
View Parameters
Recent Flights per Card
Completed lessons shown (most recent).
3
Upcoming per Card
Planned lessons shown per student card.
8
Card Height
Max height of lesson list in cards.
190px
Chart Height
Height of overview charts.
190px
Rest-Day Badge
"+r" on lessons after a 2h+ flight.
Enabled
Next Lesson Tag
Next lesson code shown in card footer.
Enabled
Dashboard Layout
▌▌
2 Column
Load + Progress side by side
Full Width
Each chart full row
▪▪▪
3 Batch Charts
Per-batch breakdown
No Batch Charts
Compact — overview only
-
-
Recent Completed Flights
Upcoming Planned Flights