altrios-core 0.1.7

ALTRIOS Core model for train simulation
Documentation
pub use crate::consist::locomotive::powertrain::electric_drivetrain::{
    ElectricDrivetrain, ElectricDrivetrainState, ElectricDrivetrainStateHistoryVec,
};
pub use crate::consist::locomotive::powertrain::fuel_converter::{
    FuelConverter, FuelConverterState, FuelConverterStateHistoryVec,
};
pub use crate::consist::locomotive::powertrain::generator::{
    Generator, GeneratorState, GeneratorStateHistoryVec,
};
pub use crate::consist::locomotive::powertrain::reversible_energy_storage::{
    ReversibleEnergyStorage, ReversibleEnergyStorageState, ReversibleEnergyStorageStateHistoryVec,
};

pub use crate::consist::locomotive::loco_sim::{LocomotiveSimulation, PowerTrace};
pub use crate::consist::locomotive::{
    BatteryElectricLoco, ConventionalLoco, DummyLoco, HybridLoco, LocoParams, Locomotive,
    LocomotiveState, LocomotiveStateHistoryVec,
};

pub use crate::consist::locomotive::powertrain::powertrain_traits::*;

pub use crate::consist::consist_sim::ConsistSimulation;
pub use crate::consist::{Consist, ConsistState, ConsistStateHistoryVec};

pub use crate::utils::{Pyo3Vec2Wrapper, Pyo3Vec3Wrapper, Pyo3VecBoolWrapper, Pyo3VecWrapper};

#[cfg(feature = "pyo3")]
pub use crate::meet_pass::{
    dispatch::run_dispatch_py, est_times::check_od_pair_valid, est_times::make_est_times_py,
};
#[cfg(feature = "pyo3")]
pub use crate::track::{import_locations_py, import_network_py};
#[cfg(feature = "pyo3")]
pub use crate::train::{
    build_speed_limit_train_sims, import_rail_vehicles_py, run_speed_limit_train_sims,
};

pub use crate::meet_pass::est_times::{make_est_times, EstTimeNet};

pub use crate::train::{
    InitTrainState, LinkIdxTime, RailVehicle, RailVehicleMap, SetSpeedTrainSim, SpeedLimitTrainSim,
    SpeedLimitTrainSimVec, SpeedTrace, TimedLinkPath, TrainConfig, TrainSimBuilder, TrainState,
    TrainStateHistoryVec,
};

pub use crate::track::{
    Link, LinkIdx, LinkPath, LinkPoint, Location, Network, TrainParams, TrainType,
};