Skip to main content

NREL's Transportation Technology Total Cost of Ownership tool

Project description

t3co_logo

homepage github documentation PyPI - Version GitHub License PyPI - Python Version

T3CO : Transportation Technology Total Cost of Ownership Tool

Description

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

Usage

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.

Installation

Installing From PyPI

T3CO can be easily installed from PyPI. This is the preferred method when using T3CO as a dependency for a project. To install the latest release:

pip install t3co

To install a specific version (for example T3CO v1.0.8):

pip install t3co==1.0.8

From GitHub

T3CO can also be installed directly from the GitHub repository for accessing demo input files and running T3CO using the Command Line Interface.

First, clone the repository from GitHub:

git clone https://github.com/NREL/T3CO.git T3CO

From within the Python environment Navigate to the parent directory containing the T3CO repository e.g. cd github/T3CO/ and run:

pip install -e .

This installs the local version of the T3CO clone along with all its dependencies.

Demo

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=0

Using Command Line Arguments

cd t3co
python sweep.py --skip_all_opt --selections  [1,2,3,4,5] --dst_dir .t3co_results/demodata

using optimiztion in sweep module see

Acknowledgements

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

To cite T3CO

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

t3co-1.0.9.tar.gz (6.2 MB view details)

Uploaded Source

Built Distribution

t3co-1.0.9-py3-none-any.whl (6.1 MB view details)

Uploaded Python 3

File details

Details for the file t3co-1.0.9.tar.gz.

File metadata

  • Download URL: t3co-1.0.9.tar.gz
  • Upload date:
  • Size: 6.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for t3co-1.0.9.tar.gz
Algorithm Hash digest
SHA256 1a0faedc673e7aa13c94b24bcefd63b18e2fc2f13068e9398851502306079918
MD5 e5d7cf2d06c8e6bd34474091f4863019
BLAKE2b-256 338a16be41d939f9e939bde18f177e76d630d9268a273ab576f353511db74b33

See more details on using hashes here.

File details

Details for the file t3co-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: t3co-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 6.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for t3co-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0796b21992c737b65273658306eb2e02866227012f63b276cfe806696b73bf31
MD5 b27b8c34564cc99e6273040ac887ac94
BLAKE2b-256 cd48851ccb98698863c1a9aa93dd8979fc23d1c527ec69bd24013a05a0b40f50

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page