PLECS: XML-RPC Interface and Controller Design in Python

The XML-RPC interface of PLECS Standalone allows you to send and receive data to and from PLECS Standalone using an external program. Many programming languages such as Python, Java, C++, or Ruby offer standard XML-RPC Libraries to set up an XML-RPC client. In this tutorial Python 3 is used to launch PLECS simulations and retrieve the simulation results to be post-processed. In this tutorial you will learn:

- how the XML-RPC interface is embedded into PLECS Standalone and the simulation workflow.
- how to design a simple current control scheme using the Python Control System Library.
- how to use the XML-RPC interface to interact with PLECS (starting a simulation and reading back data).

Please note that PLECS Blockset does not have a built-in XML-RPC interface.

tutorial_files: 
https://www.plexim.com/sites/default/files/tutorials_categorized/plecs/xmlrpc_controller_design.zip
tutorial_product: 
PLECS
pdf_file: 
https://www.plexim.com/sites/default/files/tutorials_categorized/plecs/xmlrpc_controller_design.pdf
pdf_image: 
files_image: 
tutorial_priority: 
114