Modelling energy storage from cell to site - STEER OpenCell Design
Project description
steer-materials
Material definitions for the STEER (Storage Technology for Energy and Economic Research) simulation framework. This package provides base classes for representing physical materials — metals, solvents, and other substances — with built-in unit conversion, validation, and cost tracking.
steer-materials is a support package within the broader STEER ecosystem.
Installation
pip install steer-materials
For development:
git clone https://github.com/stanford-developers/steer-materials.git
cd steer-materials
pip install -e ".[dev]"
Quick Start
from steer_materials.Base import Metal, Solvent
# Create a metal material (density in g/cm³, cost in $/kg)
aluminum = Metal(name="Aluminum", density=2.7, specific_cost=2.50, color="silver")
print(aluminum.density) # 2.7 g/cm³
print(aluminum.specific_cost) # 2.50 $/kg
# Create a solvent
water = Solvent(name="Water", density=1.0, specific_cost=0.01, color="clear")
Testing
pip install -e ".[test]"
pytest
With coverage:
pytest --cov=steer_materials
Documentation
Full documentation for the STEER ecosystem is available at the STEER documentation site.
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
License
This project is dual-licensed:
- Open source — GNU Affero General Public License v3.0 (AGPL-3.0)
- Commercial — A separate commercial license is available for use without AGPL-3.0 copyleft requirements. Contact nsiemons@stanford.edu for details.
See LICENCE.txt for full terms.
Citation
If you use this software in your research, please cite it using the metadata in CITATION.cff.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file steer_materials-0.1.38.tar.gz.
File metadata
- Download URL: steer_materials-0.1.38.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30d2ab0ba7f86710402489bbf53da7e718debd6b3da1992c82f10c8d542d4374
|
|
| MD5 |
cb07815428837bdb2e8ea0c86022117f
|
|
| BLAKE2b-256 |
2eb5b98032fb20885778d7c6df2cc6ce49fb617dce2dc80770763061de23e67d
|
File details
Details for the file steer_materials-0.1.38-py3-none-any.whl.
File metadata
- Download URL: steer_materials-0.1.38-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abbef36cce195d1eabd5358929195218c1e21ed5adffd4e2a1f25efa2e33081d
|
|
| MD5 |
5663c37db762c7f11c85f445908c44a7
|
|
| BLAKE2b-256 |
123a65f30937102bdac98a4c46ce243f3bbc2a2a3854f349d454777f093dc0e1
|