11 releases

0.2.2 May 3, 2024
0.2.1 Apr 17, 2024
0.1.7 Mar 25, 2024
0.1.4 Feb 28, 2024
0.1.0 Aug 1, 2023

#40 in Simulation

Download history 13/week @ 2024-02-18 118/week @ 2024-02-25 14/week @ 2024-03-03 8/week @ 2024-03-10 1/week @ 2024-03-17 305/week @ 2024-03-24 180/week @ 2024-03-31 16/week @ 2024-04-07 144/week @ 2024-04-14 3/week @ 2024-04-21 113/week @ 2024-04-28 14/week @ 2024-05-05

275 downloads per month

BSD-3-Clause

605KB
14K SLoC

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.


lib.rs:

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.

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.

Features:

  • pyo3: enable this feature to expose ALTRIOS structs, methods, and functions to Python

Dependencies

~39–53MB
~1M SLoC