SysPhS-1.1: p.57: GOTCHA: Table 11.3.2.5 Mathematical components: Mathematical.Subtraction maps to Math.Add (in Modelica) and Sum (in Simulink)

Icon class
icon_class
far fa-sticky-note
icon_class_computed
far fa-sticky-note
Note kind
Specification keywords
Modelica keywords
SysPhS Keywords
Keywords
There is no direct Block for subtraction in either Modelica or SimuLink

In Modelica, the Add block has weighting parameters k1 and k2, which you can use for subtraction.

In SimulLink, a special additional operator string is used on the Sum block.

Relates to
Related notes
Related notes (backlinks)
Related snippets (extracts)
Visit also
Visit also (backlinks)
External links