engratepy is Engrate’s Python SDK for Cost of Energy.
Use it to:
- calculate tariff cost from your own time-series data
- discover which input datasets a tariff needs
- embed tariff cost into optimisation models (HiGHS and Gurobi)
Install
Authenticate
Create a client with your API key:Calculate Cost
Run a cost calculation over a period:Discover Required Input Datasets
Before calculating or optimising, you can ask the SDK which datasets are required:Use in Optimisation Models
engratepy can add tariff cost directly to solver models:
add_to_highs_model(...)add_to_gurobi_model(...)
License
engratepy is available under an evaluation license.
You are welcome to use it for internal evaluation, testing, learning, and prototyping in non-production environments.
Production or commercial use requires a separate signed commercial license with Engrate. To discuss commercial licensing, contact support@engrate.io.