Page 7 - Demo
P. 7


                                    Interface to Python%uf09f%uf09fRCPConsult2017-2025Page 77.PythonexpressionThe expression defined in Symbolic Editor for the Pythoninterface can contain a single statement\.pi/4)*Strength*math.pow(Diameter,2)-PAR2*Load\or multiple statements separated by semicolon. In this case one statement musthave an assignment to predefined variable %u2019res%u2019\.pi/4)*Strength*math.pow(Diameter,2)PAR2*Load+A\Usually, this statement is thelast one. It is also possible to use a global vector in expression\_XP_[3]*(math.pi/4)*v_XP_[1]*math.pow(v_XP_[2],2)-v_XP_[4]*v_XP_[0]\All kinds of expressions above will be evaluated numerically. Finally, for an intermediate processing without evaluation of the state (or other) function, the %u2019%%u2019 symbol must be set on the first position. Such statements can also be seen as a kind of pre-setting.\#Direct inputas presetting\
                                
   1   2   3   4   5   6   7   8   9   10   11