Python scripting comes with a Site Package, a Console, a Toolbox and a built-in script editor. It can be used in a stand-alone mode or in a mode directly embedded into Eaton's CYME software.
|EASY SCRIPTING WITH PYTHON
Python is a scripting language that is open-source and cross-platform.
Unlike other programming languages, Python does not have difficult syntax and offers code completion. Its high readability combined with Eaton's CYME function names makes Python easy to learn for beginners while staying powerful for experts.
Not only does it take care of exception handling, the CYME Scripting Tool with Python has also been robustly designed to provide the latest data model.
Python scripting takes advantage of all the power accessible through regular expressions, along with an advanced filtering mode that helps when accessing data collection.
|PYTHON CONSOLE AND TOOLBOX
The Python Console and Toolbox allow embedded Python usage within Eaton's CYME software for the rapid execution of several command and scripts.
Users can write scripts using the built-in script editor, and also write scripts in any text editor and execute them in a “stand-alone” process outside of the Eaton's CYME application environment, via your favorite Python IDE (IDLE, Komodo IDE, Eclipse, PythonWin, PyCharm, etc.).
|EXTENDING CYME SOFTWARE CAPABILITIES
Whether scripts and commands are run in the embedded or non-embedded way, the possibilities to extend the capabilities of Eaton's CYME software are unlimited.
The Site Package developed offers many modules designed to be powerful and easy-to-use: network modeling, database access, equipment, report and error management. These modules are constantly evolving to better suit the growth of the application.
Besides quickly retrieving information through several command lines or running routine analysis through the use of scripts, users can also create their own algorithms and write their own analysis. For example, users can create their own Load Growth analysis to modify the loads in a complex way that cannot be easily achieved with the default Load Growth analysis. Likewise, your commands can be inserted to apply modifications to the network. Charts and reports are easily customizable to display the results according to your preferences.
Several device controls and customization tools now offer embedded scripting functionalities. Scripts can now be used to define the control for capacitors, regulators, battery energy storage systems and centralized capacitor control systems. They can also be used to create custom keywords and filters.
Python’s power and user-friendliness makes it the ideal tool for writing any large application to suit your needs and simplify your work.