Python script

Your model can be coupled with an external Python script that will control the generator through the Python API in Ashes

More information can be found in the  Python script controller  section.