Resource Center : Demo

Resource Center

2016-11-30
  • Demo model
  • Power Systems

Python API Example

​To use this Python API Example open a command prompt and go to the directory where you saved this model.
Then start the example by entering:

> set PATH=%PATH%;C:\OPAL-RT\HYPERSIM\hypersim_version\Windows\bin;C:\OPAL-RT\HYPERSIM\hypersim_version\Windows\HyApi\C\lib
> set HYPERSIM_DIR=C:\OPAL-RT\HYPERSIM\hypersim_version\
> C:\OPAL-RT\HYPERSIM\hypersim_version\Windows\Python27\python.exe apiExample.py
by replacing hypersim-version by the version your are currently using.