It is included a module for converting electric generators’ controls developed in the accessible language of block-diagrams to the hard Fortran programming language for the creation of user models for one of the most used electromechanical transient simulation programs in the world. Who has done this task by hand, knows how difficult and tedious it is.
Easy, fast, intuitive, artistic, and extremely powerful. Clean and minimalist design. Focused on what is important.
Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming.
Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.
Python is being adopted by main simulation programs to give to the user the ability to automate tasks. Following the same line, Photon runs on a Python interpreter, that’s why it can import any third-party libraries available.
It has a complete library of basic blocks grouped into categories: Complex, Discrete, Filtering, I/O, Integer, Linear, Non-linear, Power System, Sources, Vectors.
In the video tutorial, it can be seen how easy it is to develop a model, in this case an IEEE 421.5 standard AC4A type excitation system model, step by step from the construction of the block diagram to the final Fortran code ready to compile.
We provide support through a ticket system to track incidents/cases and to build a knowledge base available to the Photon community.