engratepy is Engrate’s Python SDK for Cost of Energy.
- 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)
Authenticate
Create a client with your API key:Discover Required Input Datasets
Before calculating or optimising, you can ask the SDK which datasets the tariff requires for the calculation period:Calculate Cost
Run a cost calculation over a period:Use in Optimisation Models
engratepy can even add tariff costs directly to solver models:
Cookbook
For full working examples, take a look at our cookbook.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.