Abstraction layer over the COM HYSYS interface using Python. Allows for the use of functions without having to step to COM level, which is sometimes esoteric. Maintains the whole functionality of the COM objects, since these are loaded as attributes of the superclass.
As of now, it is checked to work with Aspen HYSYS V11
, Aspen HYSYS V12
, and Aspen HYSYS V14
.
Install the latest version of this repository to your machine following one of the options below accordingly to your preferences:
- users with git:
git clone https://github.com/DanielVazVaz/PySIS.git cd PySIS pip install -e .
- users without git:
Browser to https://github.com/DanielVazVaz/PySIS, click on theCode
button and selectDownload ZIP
. Unzip the files from your Download folder to the desired one. Open a terminal inside the folder you just unzipped (make sure this is the folder containing thesetup.py
file). Run the following command in the terminal:
pip install -e .
- contributors:
git clone https://github.com/DanielVazVaz/PySIS.git cd PySIS pip install -e .[dev]
Right now, it looks like for Python 3.8. there are problems with the win32api
package. This worked for me:
pip install pywin32==225
If this still does not work, make sure that you do not have other pywin32
in your environment, e.g., some version installed with conda
.