Writing Formulas for Law Excitations

You can write formulas to define law excitations.The formula that defines a law excitation relates the time parameter that drives the simulation to a distance or an angle value. At each time step in the simulation, the appropriate value is assigned to each command based on the law excitation formulas, and the configuration of the mechanism is recalculated.

Formulas for law excitations must be written using the Knowledgeware Formula Editor. The formula must include a time parameter, and the units in the formula's coefficients and variables must cancel out to equal the appropriate distance or angle unit.

For example, the simple linear relationship d=10+2t is written using the following format in the Formula Editor:

'LawExcitation.1\Length'=10m+'LawExcitation.1\Time'*2m_s

For more information about using the Formula Editor, see Formulas in the Infrastructure User's Guide.