You can add custom warnings and errors by adding Multiphysics Warning (

) and
Multiphysics Error (

) nodes. Those nodes are available by right-clicking a
Component node or a
Usage Condition node under a
Component node. When the process of generating equations and variables reaches any of these nodes, the solver will either stop with an error or show a warning (not stopping). In the nodes you can define an error message and an arbitrary number of parameter-value pairs. The latter option provides extra information to the message but is not intended for any longer text. Any parameter-value pairs that have a parsed text that becomes empty will not show. An empty parameter name is allowed. A default node name parameter Node is always included and describes the node in the
Model Builder where the error or warning originates from.
In this section, type the warning message or the error message in the Message field. Optionally, add one or more parameters and corresponding extra information in the
Parameter and
Text columns, respectively.