Browse Source

Changed named of window model (reverted from commit e324d25cb542b64837476587edc284b2f7f84eaf)

Casper Thule 3 years ago
parent
commit
6e33ac4273
1 changed files with 18 additions and 18 deletions
  1. 18 18
      ModelicaModels/Window.mo

+ 18 - 18
ModelicaModels/Window.mo

@@ -1,18 +1,18 @@
-model Window
-  parameter Real r = 0.11;
-  parameter Real b = 10;
-  input Real speed;
-  input Real disp;
-  input Real reaction_force;
-  output Real tau;
-  output Real height;
-  Real v;
-  output Real friction;
-equation
-  tau = reaction_force * r + friction;
-  height = r * disp;
-  v = r * speed;
-  friction = b * v;
-  annotation(
-    experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-06, Interval = 0.002));
-end Window;
+model Window
+  parameter Real r = 0.11;
+  parameter Real b = 10;
+  input Real speed;
+  input Real displacement;
+  input Real reaction_force;
+  output Real tau;
+  output Real height;
+  Real v;
+  output Real friction;
+equation
+  tau = reaction_force * r + friction;
+  height = r * displacement;
+  v = r * speed;
+  friction = b * v;
+  annotation(
+    experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-06, Interval = 0.002));
+end Window;