Electric School Bus Depot Charging Scheduler

Introduction

This calculator gives school districts, fleet managers, utilities, and consultants a quick planning check for one of the hardest parts of bus electrification: getting every bus ready by morning without creating an unmanageable peak at the depot. Electric school buses tend to return in a narrow afternoon band, and they often leave again in a narrow morning band. That makes depot charging different from a workplace lot or a public fast-charging site. You are not just asking whether one vehicle can charge. You are asking whether an entire fleet can recover its daily energy within a fixed window while sharing ports, staying under a site limit, and still leaving a reasonable operational buffer.

The scheduler is intentionally simple enough for scenario testing. It does not try to replace a full dispatch model or utility engineering study. Instead, it translates your fleet assumptions into energy needed per bus, charger-hours for the fleet, estimated simultaneous load, a simplified cost estimate, and a plain-language indication of whether you have slack or a shortfall. That makes it useful early in planning, during grant applications, during board discussions, and whenever you need to compare options such as adding more ports, extending the charging window, or negotiating a higher demand limit.

What the scheduler checks

The first question is energy. A bus comes back with some state of charge, and it needs to leave with a higher state of charge. The difference between those two points, multiplied by battery capacity, gives a baseline charging need. The calculator also compares that baseline with the daily route energy plus the operational reserve you entered. Using the larger of those two values makes the estimate more conservative, which is usually better for planning than relying on the most optimistic case.

The second question is time. Even if the depot has enough total power on paper, the fleet still needs enough charger-hours to rotate every bus through the available ports. A long overnight window can make a modest charger fleet workable. A short overnight window can make the same hardware look tight very quickly. The calculator therefore estimates hours on charger per bus, then scales that up across the fleet to see whether the depot has unused room in the window or whether the schedule spills beyond morning dispatch.

The third question is site load. Charger nameplate power tells only part of the story. The actual depot may be constrained by a transformer, feeder, utility agreement, or internal operating rule that caps how many kilowatts the site should draw at once. The scheduler compares charger capability with the site demand limit and reports where that cap starts to matter. The final output is a simplified overnight cost estimate that uses the entered off-peak and on-peak energy rates plus a demand-charge exposure term when the recommended peak load goes above the stated limit.

Understanding the inputs

Use average or representative fleet values rather than a rare worst-case day unless your goal is stress testing. If your district expects winter HVAC loads, route growth, or a higher reliability margin, reflect that directly in route energy, target state of charge, or the operational buffer rather than trying to mentally adjust the result afterward. The calculator is most helpful when the inputs describe a believable operating night rather than a best-case fantasy or a once-a-year emergency.

  • Number of buses returning to depot is the count of vehicles that must recharge in the same overnight cycle.
  • Battery capacity per bus is the usable battery size in kilowatt-hours, not simply a brochure headline if part of the pack is unavailable.
  • Daily route energy per bus is the approximate energy each bus spends in a normal operating day, including climate loads when relevant.
  • State of charge on return is the average battery percentage when buses arrive back at the yard.
  • Target departure state of charge is the level you want available before morning dispatch begins.
  • Number of active charger ports is the number of connectors that can actually charge buses at the same time during the window.
  • Power per charger is the expected charging power in kilowatts. Real charging curves taper near high state of charge, so this is a planning simplification.
  • Available charging window is the usable time between the first realistic plug-in moment and the last dispatch-ready moment, not the time between midnight and sunrise unless that is truly your operating window.
  • Site demand limit is the planning cap on simultaneous charging load. If you do not want the calculator to impose that cap, you can use zero.
  • Off-peak and on-peak rates provide a simplified energy-cost comparison for overnight charging scenarios.
  • Demand charge above limit estimates the cost consequence of pushing beyond the stated cap.
  • Operational buffer adds a margin for uncertainty such as weather, detours, route variation, or a bus that needs to leave with more reserve than usual.

Once the inputs are set, the result is best read as a conversation starter. If the window shows healthy slack, the depot likely has room for schedule variation. If the window is negative, something fundamental has to change: more ports, more power, more time, lower energy need, or a different operating plan. That is why the tool reports several intermediate quantities rather than only a yes-or-no answer. In real planning, the reason a plan fails matters just as much as the fact that it fails.

Key formulas behind the scheduler

The calculator first converts the state-of-charge change into energy. The MathML formula below is preserved because it expresses the basic relationship directly and remains accessible to browsers and assistive technology that understand MathML:

E=Bร— ( SoCtarget โˆ’ SoCreturn 100 )

Here, E is the charging energy implied by the desired state-of-charge increase, B is battery capacity, and the two state-of-charge terms are percentages. The script then compares that value with the route-energy estimate plus reserve and uses the larger number for planning. In simplified form:

Ebus = max ( E , Rร—(1+b) )

In that expression, R is daily route energy and b is the operational buffer expressed as a decimal. This matters because a bus that arrives with more charge than expected can still need substantial replenishment if its route energy and reserve target are high.

Next, the scheduler converts energy need into charger time. That step is often where depot plans succeed or fail, because it reveals how long each bus needs a port rather than only how much electricity the site might consume over the whole night:

tbus = Ebus Pcharger

Once the calculator knows the hours per bus, it scales the result across the fleet and divides by the number of available ports to estimate the effective charging window required:

trequired = Nร—tbus C

The site-level feasibility check is based on how much energy the depot can deliver inside the window without exceeding its allowed power:

Emax = Pallowed ร— t

In plain language, Pallowed is the smaller of total charger capability and the demand limit, while t is the charging window in hours. The cost estimate is intentionally simplified too. Energy that fits inside the overnight charging capacity is priced with the off-peak rate, and any remaining unmet or spillover energy is priced with the on-peak rate as a rough penalty signal. If the recommended peak load goes above the site limit, the calculator adds a demand-charge exposure term using your entered dollars per kilowatt:

Cost= Eoffร—roff + Eonร—ron + max(Ppeakโˆ’Plimit,0) ร—d

These formulas are still only approximations. The calculator assumes relatively steady charging power, average fleet behavior, and workable bus rotation. Even so, they capture the core planning logic extremely well. A depot must satisfy an energy requirement, do it within time, and do it without causing a peak that is physically or financially unacceptable.

How to interpret the result

The most important line is the total energy required across the fleet. That value lets you sense-check your operating assumptions. If total overnight energy looks much larger than expected, revisit route energy, reserve, and the return versus target state-of-charge gap. A district with frequent cold mornings or long deadhead miles may need a larger reserve than a district with shorter routes and milder weather.

The charger utilization line tells you how much time one bus needs on a charger and how many charger-hours the entire fleet consumes. That is often where planning surprises happen. A depot may have enough theoretical kilowatts but still run short because too few ports are available to rotate buses in time. When the window coverage line shows negative slack, think in operational terms: how many more ports, how much more time, or how much less energy per bus would move the result back into positive territory?

The demand exposure line helps separate a physically workable plan from an economically comfortable one. A depot can sometimes recharge the fleet only by pushing hard enough to create demand-charge risk. In that case, the calculator is telling you that the schedule may work electrically but may need managed charging, a flatter load profile, or tariff changes to work financially. The energy-cost estimate should be treated as directional rather than bill-ready, but it is very useful for comparing one scenario against another.

A good reading habit is to compare the outputs in sequence. First ask, โ€œIs the energy per bus reasonable?โ€ Then ask, โ€œDo the charger-hours fit in the available window?โ€ Finally ask, โ€œDoes the peak load stay under a practical site limit?โ€ That order mirrors real depot design. If you begin with tariffs before checking physical feasibility, it is easy to spend time optimizing a plan that cannot reliably dispatch buses on time.

Worked example

Suppose a district has 48 buses, each with a 210 kWh battery, and the average bus uses 145 kWh on its route. The fleet returns at roughly 35% state of charge and should leave at 90%. The depot has 18 active charger ports rated at 60 kW, a 12-hour charging window, a 900 kW site demand limit, an off-peak rate of $0.08 per kWh, an on-peak rate of $0.18 per kWh, a demand-charge exposure of $12 per kW above the limit, and a 10% operational buffer.

The pure state-of-charge calculation adds about 115.5 kWh per bus, but the route-energy-plus-buffer check is larger at 159.5 kWh per bus. Because the calculator uses the larger value, the fleet energy need is about 7,656 kWh. At 60 kW, each bus needs about 2.66 hours on a charger. Across 48 buses, that is roughly 127.6 charger-hours. Spread across 18 active ports, the required charging time is about 7.1 hours, so the 12-hour window still has meaningful slack.

The peak-load question is different. Eighteen 60 kW chargers could theoretically draw 1,080 kW, but the stated site demand limit is 900 kW, so the depot should plan around that lower number. In this example the schedule is feasible, and the result would show positive slack, manageable peak exposure, and a mostly off-peak energy cost estimate. If the window were cut from 12 hours to 8 hours or if the buses returned with much lower state of charge, the slack would shrink fast and the demand cap would start to feel much tighter.

Quick planning patterns
Scenario When it tends to work What usually breaks first
Long window, moderate power Depots with 12 to 14 overnight hours and enough port access for most buses Unexpectedly low return state of charge or an overly aggressive reserve
Short window, high power Depots that rely on faster chargers to recover energy in 8 to 10 hours Demand limit, service capacity, or energy-cost spikes
Growing fleet at an existing yard Early electrification phases where a few chargers serve a modest bus count Charger-hours and queuing as bus count rises faster than port count

A practical way to use the tool is to run a baseline scenario, then change only one variable at a time. Increase charger count. Then increase charger power. Then stretch the window. Then change the demand limit. That sequence makes it much easier to see which constraint is doing the most damage and which capital improvement buys the most flexibility. People often discover that a modest increase in ports solves more problems than a very large increase in power, especially when the fleet already has a reasonably long overnight dwell time.

Assumptions and practical next steps

This scheduler is meant for planning and screening, not final engineering design. It assumes buses are similar, chargers deliver roughly constant power, and vehicles can be rotated onto available ports as needed. Real fleets are messier. Charging power often tapers at high state of charge. Weather can raise route energy and lower charging efficiency. Drivers may return late. Maintenance may block certain buses or ports. Utility tariffs may have seasonal and ratchet clauses that are more complicated than a single dollars-per-kilowatt input.

Those limitations do not make the calculator unhelpful. They simply tell you how to use it well. If you expect winter heating loads, raise route energy or the operational buffer. If connector swaps are slow, reduce the effective window a little. If a subset of buses has longer routes, test a tougher scenario using a larger average route energy. If the result is only barely feasible, that is a useful warning sign even before detailed modeling begins.

When a plan comes back infeasible, there are only a few levers available. You can reduce the energy needed per bus, lower the target departure state of charge if operations allow, lengthen the charging window, add more ports, increase charger power, or raise the site demand limit through an infrastructure upgrade or utility agreement. The calculator helps you compare those levers in consistent units before money is committed.

For final decisions, pair this kind of quick planning tool with route-level scheduling, utility review, and vendor data. The best outcomes usually come from combining moderate charger power, enough port access, and deliberate load management rather than simply pushing every charger to maximum output all night. That same lesson appears in the mini-game below: smooth control is often more valuable than brute force.

One final practical note: if your result looks comfortable on paper, test at least one tougher scenario before relying on it. Lower the return state of charge, shorten the window by an hour, or add a little reserve. Depots do not operate under average conditions every single night. A schedule that remains feasible after a modest stress test is much more likely to perform well in the real world, where delays, cold weather, routing changes, and charger downtime are normal rather than exceptional.

Plan your depot

Enter representative fleet values below. The calculator keeps the math intentionally simple so you can test scenarios quickly and compare how charger count, power, time window, and demand limit interact.

Fleet, chargers, and tariff inputs
Provide fleet and charging window details to simulate an overnight schedule.

Optional mini-game: Peak Shave Night Shift

This short canvas game turns the same depot-planning tradeoff into a replayable night-shift challenge. It does not change the calculator result above. Instead, it lets you feel the tension between charger power, bus deadlines, and a hard site demand cap in a compressed overnight run.

Score 0 Time 75s Streak 0 Dispatched 0 Load 0 / 180 kW Best 0
Your browser does not support the depot charging mini game.

Peak Shave Night Shift

Tap a charger bay to cycle power between off, low, medium, and high. Fill each bus before its departure timer expires, but keep total depot load under the site's demand cap.

  • Tap or click any bay to change its kW setting.
  • Use keys 1 to 4 if you prefer keyboard controls.
  • Watch for utility alerts, late returns, and a cold-snap reserve bump.

Objective: dispatch as many buses as possible before the shift clock ends while avoiding breaker trips. Controls: tap or click a bay to cycle charger power, or press keys 1 to 4. The HUD tracks score, time left, streak, buses dispatched, current depot load versus the demand cap, and your best score saved on this device.

Educational takeaway: a depot often performs best when load is managed smoothly near the cap instead of pushing every charger at maximum power all night.

Embed this calculator

Copy and paste the HTML below to add the Electric School Bus Depot Charging Scheduler | Depot Load & Cost Planner to your website.