:orphan:
.. _ref_example_gallery:
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.
.. raw:: html
    
.. thumbnail-parent-div-open
.. thumbnail-parent-div-close
.. raw:: html
    
API usage examples
------------------
These examples demonstrate how to use the explixit API to communicate with optiSLang.
.. raw:: html
    
.. thumbnail-parent-div-open
.. raw:: html
    
.. only:: html
  .. image:: /examples/api/images/thumb/sphx_glr_01_basic_queries_thumb.png
    :alt:
  :ref:`sphx_glr_examples_api_01_basic_queries.py`
.. raw:: html
      
Basic API queries
    
.. thumbnail-parent-div-close
.. raw:: html
    
 
Evaluate designs
----------------
These examples demonstrate how to evaluate designs.
.. raw:: html
    
.. thumbnail-parent-div-open
.. raw:: html
    
.. only:: html
  .. image:: /examples/evaluate_design/images/thumb/sphx_glr_01_ten_bar_truss_thumb.png
    :alt:
  :ref:`sphx_glr_examples_evaluate_design_01_ten_bar_truss.py`
.. raw:: html
      
Ten bar truss
    
.. thumbnail-parent-div-close
.. raw:: html
    
 
Raw optiSLang server communication
----------------------------------
These examples demonstrate how to use PyOptiSLang to perform raw communiction with the optiSLang server.
.. raw:: html
    
.. thumbnail-parent-div-open
.. raw:: html
    
.. only:: html
  .. image:: /examples/osl_server/images/thumb/sphx_glr_01_basic_queries_thumb.png
    :alt:
  :ref:`sphx_glr_examples_osl_server_01_basic_queries.py`
.. raw:: html
      
Basic server queries
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/osl_server/images/thumb/sphx_glr_02_raw_communication_thumb.png
    :alt:
  :ref:`sphx_glr_examples_osl_server_02_raw_communication.py`
.. raw:: html
      
Raw communication with osl server
    
.. thumbnail-parent-div-close
.. raw:: html
    
 
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.
.. raw:: html
    
.. thumbnail-parent-div-open
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_01_ten_bar_truss_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_01_ten_bar_truss.py`
.. raw:: html
      
Ten bar truss
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_02_1_oscillator_robustness_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_02_1_oscillator_robustness.py`
.. raw:: html
      
Oscillator robustness
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_02_2_oscillator_python_system_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_02_2_oscillator_python_system.py`
.. raw:: html
      
Oscillator parametric system
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_02_3_oscillator_optimization_on_EA_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_02_3_oscillator_optimization_on_EA.py`
.. raw:: html
      
Oscillator optimization using EA flow
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_02_4_oscillator_MOP_sensitivity_and_optimization_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_02_4_oscillator_MOP_sensitivity_and_optimization.py`
.. raw:: html
      
Oscillator sensitivity and optimization on MOP
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_02_5_oscillator_calibration_systems_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_02_5_oscillator_calibration_systems.py`
.. raw:: html
      
Oscillator calibration systems
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_03_etk_abaqus_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_03_etk_abaqus.py`
.. raw:: html
      
ETK Abaqus
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_04_python_node_and_help_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_04_python_node_and_help.py`
.. raw:: html
      
Python node and help
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_05_optimizer_settings_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_05_optimizer_settings.py`
.. raw:: html
      
Optimizer settings
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_06_sensitivity_settings_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_06_sensitivity_settings.py`
.. raw:: html
      
Sensitivity settings
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/run_python_script/images/thumb/sphx_glr_07_simple_calculator_thumb.png
    :alt:
  :ref:`sphx_glr_examples_run_python_script_07_simple_calculator.py`
.. raw:: html
      
Simple calculator
    
.. thumbnail-parent-div-close
.. raw:: html
    
 
Create workflow
---------------
These examples demonstrate how to create workflow using pyOptiSLang.
.. raw:: html
    
.. thumbnail-parent-div-open
.. raw:: html
    
.. only:: html
  .. image:: /examples/workflow_creation/images/thumb/sphx_glr_01_ten_bar_truss_thumb.png
    :alt:
  :ref:`sphx_glr_examples_workflow_creation_01_ten_bar_truss.py`
.. raw:: html
      
Ten bar truss
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/workflow_creation/images/thumb/sphx_glr_02_3_oscillator_optimization_on_EA_thumb.png
    :alt:
  :ref:`sphx_glr_examples_workflow_creation_02_3_oscillator_optimization_on_EA.py`
.. raw:: html
      
Oscillator optimization using EA flow
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/workflow_creation/images/thumb/sphx_glr_03_proxy_solver_thumb.png
    :alt:
  :ref:`sphx_glr_examples_workflow_creation_03_proxy_solver.py`
.. raw:: html
      
Proxy solver
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/workflow_creation/images/thumb/sphx_glr_04_1_rdo_python_thumb.png
    :alt:
  :ref:`sphx_glr_examples_workflow_creation_04_1_rdo_python.py`
.. raw:: html
      
Robust design optimization with python solver
    
.. raw:: html
    
.. only:: html
  .. image:: /examples/workflow_creation/images/thumb/sphx_glr_04_2_rdo_proxy_solver_thumb.png
    :alt:
  :ref:`sphx_glr_examples_workflow_creation_04_2_rdo_proxy_solver.py`
.. raw:: html
      
Robust design with optimization with proxy solver
    
.. thumbnail-parent-div-close
.. raw:: html
    
 
.. toctree::
   :hidden:
   :includehidden:
   /examples/api/index.rst
   /examples/evaluate_design/index.rst
   /examples/osl_server/index.rst
   /examples/run_python_script/index.rst
   /examples/workflow_creation/index.rst
.. only:: html
 .. rst-class:: sphx-glr-signature
    `Gallery generated by Sphinx-Gallery