ADMSL is the Algorithmically Differentiated (AD) version of a part of the Modelica standard package Modelica.Electrical.Analog.Basic. The underlying promising goal it to become the AD version of the Modelica Standard Library. This is where the name ADMSL comes from (Algorithmically differentiated Modelica Standard Library).
This library serves as a guide for illustrating equation-based algorithmic differentation techniques for differentiating Modelica libraries. An algorithmically differentiated Modelica library contains every thing the original version has together with parameter sensitivities. The same models relying on that library additionally evaluates parameter sensitivities with few minimal efforts and slight changes. However these models preserve the same interface and outlook.
Implementation
This library is an algorithmically differentiated version of the Modelica supackage Modelica.Electrical.Analog.Basic. It is the result of applying some simple code generation rules.
The following rules for the declaration part and the equation part are used for computing algorithmically differentiated versions:
In order to satisfy that the following steps are sometimes necessary