This repo houses T3CO (Transportation Technology Total Cost of Ownership), software for modeling total cost of ownership for commercial vehicles with advanced powertrains.
To get started, read the Quick Start Guide
For information on the T3CO models, go to the Overview
T3CO is a general framework allowing a user to determine the total cost of ownership (TCO) of a FASTSim vehicle (paired with a FASTSim DriveCycle(s) for determining fuel efficiency). The user can also determine performance of gradability, acceleration, and range. In addition to straight TCO computation there is also the option to optimize a vehicle powertrain such that it meets performance optional targets while also optionally minimizing TCO.
From PyPI
pip install t3coFrom Github
First, clone the repository from NREL GitHub:
git clone https://github.com/NREL/T3CO.git T3CO
t3co depends on python 3.8 to 3.10. One way to satisfy this is to use conda:
conda create -n t3co python=3.10
conda activate t3co
After creating the environment, navigate to the parent directory containing the T3CO repository e.g. cd github/T3CO/ and run:
pip install -e .
from within the t3co python environment you created.
This will install T3CO with minimal dependencies such that t3co files can be editable. Developers will find the -e option handy since t3co will be installed in place from the installation location, and any updates will be propagated each time t3co is freshly imported.
Using the T3CO Config file
Create a new analysis_id on ./t3co/resources/T3COConfig.csv or update the existing rows and use them to run T3CO.
cd t3co
python sweep.py --analysis-id=0Using Command Line Arguments
cd t3co
python sweep.py --skip_all_opt --selections [1,2,3,4,5] --dst_dir .t3co_results/demodatausing optimiztion in sweep module see
This tool was developed with funding support from the US Department of Energy's Office of Energy Efficiency and Renewable Energy (EERE)'s Vehicle Technology Office.
DOE NREL Software Record: SWR-21-54
Lustbader, Jason, Panneer Selvam, Harish, Bennion, Kevin, Payne, Grant, Hunter, Chad, Penev, Michael, Brooker, Aaron, Baker, Chad, Birky, Alicia, Zhang, Chen, and Carow, Kyle. "T3CO (Transportation Technology Total Cost of Ownership) Open Source [SWR-21-54]." Computer software. September 16, 2024. https://github.com/NREL/T3CO. https://doi.org/10.11578/dc.20240806.4.