Examples#

End-to-end examples show how you can use PyOptiSLang. If PyOptiSLang is installed on your machine, you can download these examples as Python files or Jupyter notebooks and run them locally.

Note

Some examples require additional Python packages.

API usage examples#

These examples demonstrate how to use the explixit API to communicate with optiSLang.

Basic API queries

Basic API queries

Evaluate designs#

These examples demonstrate how to evaluate designs.

Ten bar truss

Ten bar truss

Raw optiSLang server communication#

These examples demonstrate how to use PyOptiSLang to perform raw communiction with the optiSLang server.

Basic server queries

Basic server queries

Raw communication with osl server

Raw communication with osl server

Run Python scripts#

These examples demonstrate how to run Python scripts.

Note

For more information on the Python files for these examples, see the Python files in the corresponding optiSLang tutorials.

Ten bar truss

Ten bar truss

Oscillator robustness

Oscillator robustness

Oscillator parametric system

Oscillator parametric system

Oscillator optimization using EA flow

Oscillator optimization using EA flow

Oscillator sensitivity and optimization on MOP

Oscillator sensitivity and optimization on MOP

Oscillator calibration systems

Oscillator calibration systems

ETK Abaqus

ETK Abaqus

Python node and help

Python node and help

Optimizer settings

Optimizer settings

Sensitivity settings

Sensitivity settings

Simple calculator

Simple calculator

Create workflow#

These examples demonstrate how to create workflow using pyOptiSLang.

Ten bar truss

Ten bar truss

Oscillator optimization using EA flow

Oscillator optimization using EA flow

Proxy solver

Proxy solver

Gallery generated by Sphinx-Gallery