Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Process Simulation

Create custom messages

  • Last UpdatedJun 12, 2025
  • 2 minute read

In addition to the error and warning messages that come with AVEVA Process Simulation, you can add custom messages to your models. The custom messages allow you to set your own conditions at which your models should give an error or warning. For example, you may want to set an error or warning message on a valve model when the valve position approaches or surpasses a physical constraint, such as a valve that cannot open more than 95%.

You can define a custom message as an error or as a warning. Errors prevent the simulation from solving successfully. Warnings allow the simulation to solve successfully, but still identify potential errors in the simulation.

The custom messages use the same badges that the default error and warning messages do. When the model meets the specified criteria for a custom message, you will see a visual representation (the badge) of that error or warning next to the model icon on the Canvas.

The custom messages use logical statements to determine when they appear on the Canvas. These logical statements require a strict syntax and support a limited number of operators. See Operators for custom messages and Examples and limitations of logical statements for custom messages for more information.

Create a custom message

  1. Open the Model Editor.

  2. Expand the Messages area.

  3. Select Add Custom message . A new custom error message appears in the list.

  4. If you want the message to be a warning instead of an error, in the Severity column, select Warning.

  5. Optionally, in the Condition column, select the predefined condition under which the message should appear. See Add a condition to a Model Type for more information.

  6. Optionally, in the Name column, change the name of the custom message. Note that this appears in the tooltip for the error or warning badge.

  7. In the Test column, enter the logical statement that defines when the custom message appears on the Canvas.

  8. In the Message column, enter the message text that will appear in the tooltip for the error or warning badge.

  9. In the Description column, enter text that describes the custom message. You may want to include information on the situations in which you expect the message to appear and why you need the error or warning.

Related Links
TitleResults for “How to create a CRG?”Also Available in