Skip to main content

Modelling energy storage from cell to site - STEER OpenCell Design

Project description

steer-materials

Tests Lint License: AGPL v3 Python 3.10+

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.

Citation

If you use this software in your research, please cite it using the metadata in CITATION.cff.

License

This project is dual-licensed:

  1. Open sourceGNU Affero General Public License v3.0 (AGPL-3.0-or-later)
  2. 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.

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

steer_materials-0.1.39.tar.gz (19.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

steer_materials-0.1.39-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file steer_materials-0.1.39.tar.gz.

File metadata

  • Download URL: steer_materials-0.1.39.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for steer_materials-0.1.39.tar.gz
Algorithm Hash digest
SHA256 3d7000ad56b3fcd31642b5685774c3b737d016933f9a0cebece64bde76774973
MD5 faf737d0fcb731de282c7b87291f8c0e
BLAKE2b-256 58b704e2dc34c04f23ba2ca5f600007a63fa5dfd8bc54ec4aba04ae12aa73df8

See more details on using hashes here.

File details

Details for the file steer_materials-0.1.39-py3-none-any.whl.

File metadata

File hashes

Hashes for steer_materials-0.1.39-py3-none-any.whl
Algorithm Hash digest
SHA256 8906d42ecf8f8722f53cb6d0e5e04a44b28caa3759c253c13f57c65607a0473b
MD5 292e64fe2b7cecb14b399b5b1bb7766c
BLAKE2b-256 6e36969a234cc6e98a884ee810b5a1f21f8d0026a3a7182bbb4ac24c48320b74

See more details on using hashes here.

Supported by

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