14 releases (2 stable)

1.0.1 Jul 18, 2025
0.2.3 May 26, 2024
0.2.1 Apr 17, 2024
0.1.7 Mar 25, 2024
0.1.0 Aug 1, 2023

#468 in Encoding

Download history 247/week @ 2025-07-16 15/week @ 2025-07-23 8/week @ 2025-08-20

746 downloads per month

BSD-3-Clause

1MB
18K SLoC

Crate containing models for second-by-second fuel and energy consumption of simulation of locomotive consists comprising collections of individual locomotives, which comprise various powertrain components (engine, generator/alternator, battery, and electric drivetrain) -- all connected to a detailed train model including drag, grade, curvature, bearing, and rolling resistances.

Helpful Tips

Every struct in this crate implements methods for serializing/deserializing itself to/from a handful of standard data formats as strings or file read/write operations using traits::SerdeAPI.

Feature Flags


altrios-core

Altrios Logo

homepage rust-tests Documentation GitHub

This crate is primarily intended to be used as a backend for the ALTRIOS PyPI package, but it can also function as a dependency for other crates.

Dependencies

~53–88MB
~1.5M SLoC