aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/minimal2.modelica8
-rw-r--r--examples/minimal3.modelica8
2 files changed, 16 insertions, 0 deletions
diff --git a/examples/minimal2.modelica b/examples/minimal2.modelica
new file mode 100644
index 0000000..69790b0
--- /dev/null
+++ b/examples/minimal2.modelica
@@ -0,0 +1,8 @@
+model FirstOrder
+ parameter Real c;
+ Real x;
+equation
+ connect(c, x);
+ 1 = c;
+ (5 + 4) = x;
+end FirstOrder;
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;