Engineering

How we schedule 4,000 passes a day without double booking a dish

Every satellite pass is a short, fixed window. Here's how Perigee fits thousands of them onto 62 antennas, and what we learned when the weather fought back.

JT
Jonas Tveit
Scheduling teamNovember 18, 20268 min read
Solver · run 88213
4,112 passes placed
0 conflicts1.8 s

A ground station pass is a strange kind of meeting. It starts when your satellite rises over the horizon and ends when it sets, usually eight to twelve minutes later. You can't move it. You can only choose which antenna listens.

When we had six customers, a greedy scheduler was fine. At 180 satellites it started leaving passes on the table. This post walks through what we replaced it with.

The problem, stated plainly

Each day we get a list of candidate passes: every moment any customer satellite is in view of any of our stations. A single pass might be visible from three antennas at once. We have to pick at most one antenna per pass, and no antenna can do two things at the same time.

  • Every pass has a value: how much data it carries and how much the customer needs it.
  • Antennas need a few minutes between passes to slew and reconfigure.
  • Some passes are mandatory, like a satellite's first contact after launch.

Why greedy stopped working

The old scheduler took passes in time order and grabbed the first free antenna. It never looked ahead, so an early, low-value pass could block a high-value one an hour later.

The best antenna for a pass is the one nobody else needs in the next twenty minutes.

What we built instead

We model the day as a graph and solve it as a weighted interval problem per antenna, then stitch the answers together. The core call looks like this:

plan = solver.place(
  passes=candidates,
  antennas=network.available(day),
  slew_buffer=180,  # seconds
)

It runs in under two seconds for a full day, so we can rerun it every time a forecast changes.

Passes completed per day
Greedy3,240
New solver4,112
Same antennas, same satellites, one week in October.
Try it: the sandbox runs the same solver against simulated satellites, so you can see your own schedule before you book a real pass.

When the weather fights back

Rain fades X-band and Ka-band signals. We pull forecasts every 15 minutes and rerun the plan for the next six hours. If a pass is at risk, it moves to a drier station and the customer gets a webhook with the new time. Most never notice.

JT
Jonas Tveit

Jonas leads scheduling at Perigee. Before that he planned contacts for a weather satellite fleet in Tromsø.