NatLabRockies / NatLabRockies/fastsim

Allow different independent variables (apart from time) for drive cycles

Open
#305 1 comment 0 reactions 1 assignee View on GitHub

@kylecarow is already working on this.

Since Jul 20, 2026.

enhancement
Dominant language
Rust
Stars
60
Forks
19
Avg merge
10d 2h
Merged PRs (30d)
2

Description

In Altoona bus testing, the prescribed speed consists of open-throttle accelerations to a cruise speed with stops designated at certain distances.

CBD/Arterial/Commuter (fuel economy testing):

  • Based on on Transit Coach Operating Duty Cycle (ADB Cycle) Fuel Economy Measurement Test (Engineering Type) For Trucks and Buses: SAE 1376 July 82
  • “Mile” = 5042 ft / 1 lap – adjusted cruise distance and speed to compensate
  • CBD:
    • 2 miles, 7 stops/mile, cruise 20mph
  • Arterial:
    • 2 miles, 2 stops/mile, cruise 40mph
  • Commuter:
    • 4 miles, 1 stop (at end), cruise 40mph
  • “full throttle acceleration to cruise speed”

This is difficult to model with FASTSim's current setup where time is the independent varaible, so we should implement some kind of way to have the distance (i.e. achieved distance) be the independent variable. Would make sense to have this be extensible to the rest of the drive cycle parameters.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.