Download & InstallationΒΆ

The oHySEM model is developed using Python 3.13.2 and Pyomo 6.9.2, with Gurobi 12.0.2 as the commercial solver. Free solvers like HiGHS, SCIP, GLPK, and CBC are also supported. List available Pyomo solvers by running:

pyomo help -s

Installing solvers:

  • Gurobi: conda install -c gurobi gurobi

  • HiGHS: pip install highspy

  • SCIP: conda install -c conda-forge pyscipopt

  • GLPK: conda install glpk

Installing oHySEM via pip:

pip install oHySEM

For the full setup guide, refer to the installation guide.

From GitHub:

  1. Clone the oHySEM repository

  2. Navigate to the folder: cd path_to_repository

  3. Install with: pip install .

Running oHySEM:

After installation, you can run the model via the command line:

oHySEM

or using the Python script:

python -m oHySEM --dir {path_to_input_data} --case {case_name} --solver {solver_name}

Running the API:

To run the Streamlit API, execute the following command in the terminal that should be located in the path where the API.py file is located:

streamlit run oHySEM_API.py

Solvers:

Additional requirements: