Skip to content

Instantly share code, notes, and snippets.

@thorade
Last active October 14, 2015 10:38
Show Gist options
  • Save thorade/735778114655ec2f7a1e to your computer and use it in GitHub Desktop.
Save thorade/735778114655ec2f7a1e to your computer and use it in GitHub Desktop.
for testing Modelica Atom grammar
within Modelica.Mechanics;
package Rotational "Library to for rotational systems"
extends Modelica.Icons.Package;
class FlangeConnectors "Flange Connectors"
extends Modelica.Icons.Information;
annotation (DocumentationClass=true, Documentation(info="<html>
<p>
A flange is described by the connector class Interfaces.
</p>
<pre>
w = <b>der</b>(phi);
a = <b>der</b>(w);
</pre>
<p>
If needed, the angular velocity <code>w</code> can be determined.
</p>
</html>"));
end FlangeConnectors;
end Rotational;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment