Frequently Asked Question
Python code can be added to the Schematic Editor, HIL SCADA, TyphoonTest IDE, and Script Editor. C code can be added in the Schematic Editor and this code can be executed at the predefined execution rate. Check our how-to examples (typhoon\2022.3\examples\models\how-to examples).
Python in Schematic Editor:
-
Model initialization (executes at the starting of the simulation, useful for parametrizing of the model)
-
Mask - Description of component masks and their functionalities
Python in HIL SCADA:
You can also add Python code to a widget in the SCADA and you can set it to run in 250ms steps.
C code in Schematic Editor: