Skip to content

Installation

Default (No External Tools)

pip install "openenv-core[core]>=0.2.2" numpy fastmcp

This gives you the full environment with internal physics models. No external tools needed.

With DWSIM (Thermodynamic Validation)

pip install pythonnet

Then install DWSIM from dwsim.org/downloads and set:

export DWSIM_PATH="/path/to/dwsim"   # Linux/Mac
set DWSIM_PATH=C:\path\to\DWSIM      # Windows

With Cantera (Kinetics Validation)

pip install cantera

Or via conda: conda install -c cantera cantera

With Azure Digital Twins

pip install azure-digitaltwins-core azure-identity
az login

Set your ADT endpoint:

export AZURE_DIGITAL_TWINS_URL=https://your-instance.api.eus.digitaltwins.azure.net

See the Azure Digital Twins guide for full setup.

Development

git clone https://github.com/Bhavneet1492/openenv-methanol-apc.git
cd openenv-methanol-apc
pip install "openenv-core[core]>=0.2.2" numpy fastmcp pytest
PYTHONPATH=. python -m pytest methanol_apc_env/tests/ -v