This is the repository with examples for the OpenCLSim package.
The package documentation can be found here.
The benefit of OpenCLSim is the generic set-up. This set-up allows the creation of complex logistical flows. A number of examples are presented in the notebooks folder. You can run them locally or as an Azure notebook.
Check the information on how to get started either way.
If you wish to use the notebooks on your local drive, use the following code to get started.
# Download the package
git clone https://github.com/TUDelft-CITG/OpenCLSim-Notebooks
# Go to the correct folder
cd OpenCLSim-Notebooks
# Install package
pip install -r requirements.txt
# Go to the notebooks foldeer
cd notebooks
# Start jupyter notebooks
jupyter notebook
If you wish to run the notebooks using Microsoft Azure, use the following set-up to get started.
- Create a Microsoft account.
- Go to the following Azure Notebooks website.
- Clone the project, see information on cloning by Microsoft.
- Start the notebook server.
- Wait a short while before you run any of the notebooks, the environment takes some time to initialize with the additional packages (such as OpenCLSim and SimPy).