aboutsummaryrefslogtreecommitdiffstats
path: root/examples/minimal3.modelica
diff options
context:
space:
mode:
Diffstat (limited to 'examples/minimal3.modelica')
-rw-r--r--examples/minimal3.modelica8
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/minimal3.modelica b/examples/minimal3.modelica
new file mode 100644
index 0000000..1e9a211
--- /dev/null
+++ b/examples/minimal3.modelica
@@ -0,0 +1,8 @@
+model MinimalModel
+ parameter Real a;
+ Real b;
+equation
+ connect(a, b);
+ a = 1;
+ b = (abs(a) + 2) / 4;
+end FirstOrder;