Metadata-Version: 2.4
Name: eris-echo
Version: 2.3.0
Summary: The Energy and Commodity Holistic Optimiser (ECHO).
Author: Ruth Kravis, Johannes Hendriks, Anna Skobleva, Dora He, Benjamin Weise, Josh Vote, Antoine Desmet
Author-email: Michael Thomas <michael.thomas@anu.edu.au>, Mike Turner <mike.turner@anu.edu.au>
Maintainer-email: Michael Thomas <michael.thomas@anu.edu.au>, Mike Turner <mike.turner@anu.edu.au>
Project-URL: Homepage, https://pypi.org/project/eris-echo
Project-URL: Documentation, https://bsgip.github.io/echo/
Project-URL: Repository, https://github.com/bsip/echo
Project-URL: Issues, https://github.com/bsgip/echo/issues
Project-URL: Changelog, https://github.com/bsgip/echo/blob/main/CHANGELOG.md
Keywords: energy,commodity,modelling,optimization
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: deprecated<2,>=1.3.1
Requires-Dist: matplotlib<4,>=3.11.2
Requires-Dist: networkx<4,>=3.7
Requires-Dist: numpy<3,>=2.5.2
Requires-Dist: orjson<4,>=3.13
Requires-Dist: pandas<3,>=2.3
Requires-Dist: plotly<6,>=5.24
Requires-Dist: pyomo<7,>=6.10
Requires-Dist: scikit-learn<2,>=1.9
Requires-Dist: seaborn<1,>=0.13
Requires-Dist: shortuuid<2,>=1.0.13
Requires-Dist: typing-extensions<5,>=4.16
Requires-Dist: scipy<2,>=1.18.1
Requires-Dist: attrs>=26.1.0
Dynamic: license-file

# echo (energy and commodity holistic optimiser)

`echo` is a python-based multi-commodity energy system optimisation tool designed to answer grid integration questions.

This project is developed and maintained by the [Centre for Energy Systems](https://energysystems.anu.edu.au/) at the Australian National University.

## Installation

`echo` requires requires python 3.11-3.14.

To install this package you need to:

1. Clone this repo:
   `git clone git@github.com:bsgip/echo.git`

2. Change to the echo directory:
   `cd echo`

3. Install using `uv` (recommended):

   `uv sync --python 3.13 --all-extras`

   or `pip`:

   `pip install --group all`

NOTE: This package is not on pypi - **`pip install echo` will NOT install this package**. It will install a different package with the same name.

## Solver

Different solvers can be used within echo. Solvers are installed separately; see below for links to install instructions.

There are three prerequisites to using a solver in `echo`:

1. The solver must be installed.
2. The solver's executable must be in the `PATH` or equivalent. For example:
   `PATH="/opt/cplex:$PATH`
   in `~/.bashrc` for linux systems using bash.
3. `echo` needs to know which solver to use. There are two ways of doing this:

- Exporting the `OPTIMISER_ENGINE` environment variable, eg. `export OPTIMISER_ENGINE=cplex` in a terminal. Defaults to `cplex`.
- Setting `echo.models.scenario.EngineSettings.engine`. Defaults to `"cplex"`

The following solvers can be used.

| Solver | Testing Status  | License                                        | Installation                                                                                           | Known as in `echo` |
| ------ | --------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ------------------ |
| CPLEX  | Most tested     | Commercial, free for academic use with licence | [All OSs](https://www.ibm.com/products/ilog-cplex-optimization-studio)                                 | cplex              |
| GUROBI | Minimal testing | Commercial, free for academic use with licence | [Linux](https:/./www.gurobi.com/documentation/9.5/remoteservices/linux_installation.html)              | gurobi             |
| CBC    | Minimal testing | Open source                                    | [All OSs](https://github.com/coin-or/cbc#download)                                                     | cbc                |
| GLPK   | No testing      | Open source                                    | [Linux](https://www.gnu.org/software/glpk/#TOCdownloading)                                             | glpk               |
| Xpress | No testing      | Commercial, free for academic use with licence | [All OSs](https://www.fico.com/fico-xpress-optimization/docs/latest/installguide/dhtml/chapinst1.html) | xpress             |

## Documentation

### Building the documentation

Make sure you have the documentation dependencies installed

1. Generate the documentation for the echo package (from docstrings)
   `sphinx-apidoc --force --implicit-namespaces --module-first --no-toc --separate -o docs/source/_reference src/echo`
   The auto-generated documentation can be found in `docs/source/_reference`

2. Build the documentation (as html)
   `sphinx-build -b html docs/source docs/_build`
   The built documentation can be found in `docs/_build`. Warnings about duplicated labels can be safely ignored.

### Design (under creation)

Please see the design file [here](https://github.com/bsgip/echo/blob/V1/design.md).

## Issues

Please log any issues in the [issue tracker](https://github.com/bsgip/echo/issues).

## Roadmap

| Item                               | Status      | Reference                                  | Completion Date |
| ---------------------------------- | ----------- | ------------------------------------------ | --------------- |
| Add ruff and uv                    | Complete    |                                            | Jun 2026        |
| Add ty                             | Planning    |                                            | Aug 2026        |
| Documentation update               | Underway    |                                            | Sep 2026        |
| Examples update                    | Underway    |                                            | Sep 2026        |
| Standardise data injection process | Planning    | <https://github.com/bsgip/echo/issues/103> | Sep 2026        |
| Migrate from Pydantic to Attrs     | Complete    | <https://github.com/bsgip/echo/issues/101> | Oct 2026        |
| Add linopy as parser option        | Planning    | <https://github.com/bsgip/echo/issues/102> | Dec 2026        |
