Modelica is an actively used programming language created in 1997.

22Years Old 2,420Users 0Jobs

Example code from Linguist:

within ModelicaByExample;
package PackageExamples "Examples of using packages"
end PackageExamples;

Example code from Wikipedia:

model Circuit
   Capacitor C1(C=1e-4) "A Capacitor instance from the model above";
   Capacitor C2(C=1e-5) "A Capacitor instance from the model above";
     ...
equation
   connect(C1.pin_p, C2.pin_n);
   ...
end Circuit;
Edit

Last updated February 11th, 2019