Installation Guide¶
OpenSMC provides multiple installation options for both Python and MATLAB.
Python Installation¶
The easiest way to install OpenSMC is through pip.
Basic Installation¶
For core control features:
With Extras¶
Depending on your needs, you can install additional extras:
- RL Extras (Gymnasium environments):
- Viz Extras (Advanced plotting):
- Full Installation (All features):
From Source¶
To install from the GitHub repository:
MATLAB Installation¶
The MATLAB version of OpenSMC is organized using the + package namespace system.
- Clone the Repository:
- Add to Path: In MATLAB, navigate to the root directory of the repository and run:
- Verify: Try calling a constructor:
Requirements¶
Python¶
- Python 3.8 or higher
numpyscipymatplotlibgymnasium(optional, for RL environments)
MATLAB¶
- MATLAB R2021b or higher
- Control System Toolbox (recommended)
- Symbolic Math Toolbox (optional, for custom derivations)