Optional element
There are situations in which you have formulated a differential-algebraic equation system, but now you need a purely algebraic equation system without having to re-write all algebraic and differential equations.
Purpose
The Transformation is used to translate differential equations within equation systems into algebraic equations. A possible example is orthogonal collocation on finite elements.
Explanation of the editor
A transformation can be applied by setting up an equation system that contains the rule for how this discretization scheme works. For example, the system below represents the discretization scheme of orthogonal collocation on finite elements. Here, the differential term is translated into a summation term that incorporates the derivates of the Lagrange basis polynomials. The second term represents the continuity of the state variables between finite elements:
and
.
The transformation editor is shown in Figure 1. On the left side, the discretization scheme is loaded. The super notation is the notation of your original equation system. An explanation of the fields in the transformation tab is given in Table 1.
Element | Explanation |
---|---|
File | Filename of your transformation once you have saved or loaded it |
Description | A description of the current transformation |
Keywords | Optional keywords for your transformation |
Usages | Model elements, i.e., equations or functions, in which the transformation is used |
Set Notations | Select the equation system that contains the discretization scheme as well as the super notation, i.e., the notation of the equation system you would like to transform |
Variable Matching | Match the independent variables in the discretization and the original model. In the example above, is the indepent variable of the discretization, could be the independent variable in your system in case it is a dynamic system |
Index Matching | Match indices that are relevant for your transformation. Therefore, your super notation must contain all indices used in the transformation scheme, but they can be different. For example, if you prefer the index in your transformed equation system for the finite elements, you can add this index to the super notation and match it accordingly in this tab |
Variable Predetermination | Pre-select which variables will be treated as differential (= state) variables |
Variable Bounds | Select boundary conditions for certain variables |