Skip to Main Content
AVEVA™ Products Feedback Portal

Welcome to our new feedback site!


We created this site to hear your enhancement ideas, suggestions and feedback about AVEVA products and services. All of the feedback you share here is monitored and reviewed by the AVEVA product managers.

To start, select the product of your interest in the left column. Then take a look at the ideas in the list below and VOTE for your favorite ideas submitted by other users. POST your own idea if it hasn’t been suggested yet. Include COMMENTS and share relevant business case details that will help our product team get more information on the suggestion. Please note that your ideas will first be moderated before they are made visible to other users of this portal.

This page is for feedback for specific AVEVA solutions, excluding PI Systems and Data Hub. For links to these other feedback portals, please see the tab RESOURCES below.

Status Submitted
Portfolio area Advisory Group Ideas
Products Process Design
Created by Guest
Created on Oct 29, 2019

Add user-defined functions/algorithms as modeling objects in the model editor (SimCentral)

Motivation:

Many real-world engineering problems require algorithms to be solved effectively, and cannot be expressed in purely algebraic form. These algorithms should be part of the SimCentral modeling language, as they are also supported in most other modeling languages (Modelica, competitor software). The theory of embedding algorithms in simulators are discussed in many publicly available articles.

Workaround:

Currently the only chance to implemenent an algorithm would be with the help of the external function interface, which requires a compiler and programming know how.

Minimal Example:

I would imagine that user-defined algorithms become part of the model editor. When added to the model, the user needs to provide the calculation steps in a simple scripting language

function Z = MyAlgorithm(T,p, x):

 if(T<298)

 Z= 0

else if(T>368):

Z=1

else:

Z=0.5

end

return Z

 

The derivatives of the result values would have to be calculated using automatic differentiation rules for algorithms, which are well defined in the scientific literature.

The Algorithms would be able to work with all the variables and parameters defined in the model, and would be adressed by adding an equation of the following form to the model:

EQ1: Z=MyAlgorithm(T,p,x)

 

Idea industry Polymers
Idea target user Central department simulator expert
Idea priority 4 – Important to my company
Idea business value

Custom Algorithms enable the simulator expert to embed any kind of logic into the flowsheet calculation. This increases the applicability of the tool as more and more real-world discrete/continuous problems can now be formulated adequately.

  • Attach files