Skip to main content

Energy inference and EV charging ETA utilities (SoC-based).

Project description

stroomer

Utilities for appliance inference and EV charging ETA (SoC-based).

Usage

Appliance inference

from stroomer import StroomerPredictor
p = StroomerPredictor()
p.set_appliances({"Lampu":10, "Kipas":50, "TV":100, "Kulkas":150, "AC":1000})
print(p.predict(voltage=220, current=6, power_factor=0.9, power=1200))
# -> {"AC": 0.8, "Kulkas": 0.2}

Charging ETA (SoC-based)

from stroomer import ChargingTimePredictor
eta = ChargingTimePredictor(capacity_kwh=50, target_soc=90, efficiency=0.92)
print(eta.predict(power=8000, SoC=30))
# -> {"FinishDuration":"03:14","FinishTime":"2025-08-18T13:25:00+00:00"}

Dev

pip install -U build twine pytest
pip install -e .
pytest -q
python -m build

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

stroomer-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

stroomer-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file stroomer-0.1.0.tar.gz.

File metadata

  • Download URL: stroomer-0.1.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for stroomer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 01a14867bcfa42855c77cd42ce5386452df37d716764ddbe88148b728e63747f
MD5 1c74a99838c3b9e011c9e0de6dfb2da1
BLAKE2b-256 ff814bae3dd23d728bb0f1db43e7577c27060f862742c73217e9bfaafe28ccd6

See more details on using hashes here.

File details

Details for the file stroomer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: stroomer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.3

File hashes

Hashes for stroomer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae5f6fef29a2d72b3189b6e8c7e446d550fc5eb437c536fee21ce4c9c057ac09
MD5 b4e91751ef42f69f0dc06055828f6809
BLAKE2b-256 4866df30b8cb9b9c6417e359e776e25d8661a6b0297fd74dbe3a8b716c477b84

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