Equation-based modelling languages adopt a declarative modelling approach, focused on writing the model equations in a clear way and leaving the task of deriving efficient simulation code to the tool. One aspect of declarative modelling is that the use of dimensionally consistent SI units for the physical variables is preferrable; however, in many application areas this can lead to implicit nonlinear systems of equations which are badly scaled from a numerical point of view. This paper shows the negative impact of not dealing with this aspect on a benchmark test case, and then shows how the same performance of manually scaled models can be recovered by suitably exploiting information about the scaling of variables that can be declared by the modeller.
On the importance of scaling in equation-based modelling
Casella, Francesco;
2017-01-01
Abstract
Equation-based modelling languages adopt a declarative modelling approach, focused on writing the model equations in a clear way and leaving the task of deriving efficient simulation code to the tool. One aspect of declarative modelling is that the use of dimensionally consistent SI units for the physical variables is preferrable; however, in many application areas this can lead to implicit nonlinear systems of equations which are badly scaled from a numerical point of view. This paper shows the negative impact of not dealing with this aspect on a benchmark test case, and then shows how the same performance of manually scaled models can be recovered by suitably exploiting information about the scaling of variables that can be declared by the modeller.File | Dimensione | Formato | |
---|---|---|---|
2017-CasellaBraun-EOOLT.pdf
accesso aperto
:
Post-Print (DRAFT o Author’s Accepted Manuscript-AAM)
Dimensione
511.28 kB
Formato
Adobe PDF
|
511.28 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.