]> permondes.de Git - Analog_Engine.git/commitdiff
a rope slides frictionlessly down the edge of a table
authorPermondes <machen@permondes.de>
Wed, 29 May 2024 17:34:06 +0000 (19:34 +0200)
committerPermondes <machen@permondes.de>
Wed, 29 May 2024 17:34:06 +0000 (19:34 +0200)
Applications:
- Hollow Cylinder
- a rope slides frictionlessly down the edge of a table
Scripting language DELACE

20 files changed:
AESL/Template.AESL [deleted file]
Analog Engine Example Applications.odt
Analog Engine Scripting Language.odt
DEscription Language for Analog Circuit Engines.odt [new file with mode: 0644]
Description language for ANalog Circuit Engines.odt [deleted file]
scripts/Anabrid-THAT.ENGINE [moved from AESL/Anabrid-THAT.ENGINE with 100% similarity]
scripts/Damped Harmonic Osciallator scaled.AESL [moved from AESL/Damped Harmonic Osciallator scaled.AESL with 100% similarity]
scripts/Damped Harmonic Oscillator.AESL [moved from AESL/Damped Harmonic Oscillator.AESL with 100% similarity]
scripts/Radioactive Decay.AESL [moved from AESL/Radioactive Decay.AESL with 100% similarity]
scripts/TP1 03.08 Charge in em field.AESL [moved from AESL/TP1 03.08 Charge in em field.AESL with 100% similarity]
scripts/TP1 04.10 MassOnSphere.AESL [moved from AESL/TP1 04.10 MassOnSphere.AESL with 100% similarity]
scripts/TP1 04.11 TwoRaindrops.AESL [moved from AESL/TP1 04.11 TwoRaindrops.AESL with 100% similarity]
scripts/TP1 04.12 Harmonic Oscillator.AESL [moved from AESL/TP1 04.12 Harmonic Oscillator.AESL with 100% similarity]
scripts/TP1 05.15 Comet.AESL [moved from AESL/TP1 05.15 Comet.AESL with 100% similarity]
scripts/TP1 06.18 Mass in Tube.AESL [moved from AESL/TP1 06.18 Mass in Tube.AESL with 100% similarity]
scripts/TP1 07.19 Falling Mass.AESL [moved from AESL/TP1 07.19 Falling Mass.AESL with 100% similarity]
scripts/TP1 07.19 Falling Mass.DELACE [moved from AESL/TP1 07.19 Falling Mass.DANCE with 100% similarity]
scripts/TP1 08.22 Hollow Cylinder.AESL [new file with mode: 0644]
scripts/TP1 08.23a stick falling.DELACE [new file with mode: 0644]
scripts/TP1 09.26 rope over table edge.DELACE [new file with mode: 0644]

diff --git a/AESL/Template.AESL b/AESL/Template.AESL
deleted file mode 100644 (file)
index 48143fb..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-IDENTIFICATION DIVISION
-PROGRAM-ID ...
-VERSION ...
-COMMENT ...
-
-ENVIRONMENT DIVISION
-ENGINE Anabrid-THAT
-TIMEBASE 1ms
-REQUIRES ...
-
-DATA DIVISION
-INPUT ...
-OUTPUT OUTPUT.X ...
-OUTPUT OUTPUT.Y ...
-OUTPUT OUTPUT.Z ...
-OUTPUT OUTPUT.U ...
-COEFFICIENT.n ...
-
-PROGRAM DIVISION
-# INTEGRATOR is inverting!
-# SUMMER is inverting!
-...
-
-OPERATION DIVISION
-MODE REPEAT
-OP-TIME ...
index 934e710d2e406f3f7323c00e9e78404c494d9bc5..083e01d6348d0f6b1d8560a950546a85abbca1b2 100644 (file)
Binary files a/Analog Engine Example Applications.odt and b/Analog Engine Example Applications.odt differ
index efa1df065af069cb7d5d1fd585c9b869a8ec1fad..f2ecf86fa804ce5806e2eb8cb23dafc51f99c9b4 100644 (file)
Binary files a/Analog Engine Scripting Language.odt and b/Analog Engine Scripting Language.odt differ
diff --git a/DEscription Language for Analog Circuit Engines.odt b/DEscription Language for Analog Circuit Engines.odt
new file mode 100644 (file)
index 0000000..9f700a9
Binary files /dev/null and b/DEscription Language for Analog Circuit Engines.odt differ
diff --git a/Description language for ANalog Circuit Engines.odt b/Description language for ANalog Circuit Engines.odt
deleted file mode 100644 (file)
index de7a57e..0000000
Binary files a/Description language for ANalog Circuit Engines.odt and /dev/null differ
diff --git a/scripts/TP1 08.22 Hollow Cylinder.AESL b/scripts/TP1 08.22 Hollow Cylinder.AESL
new file mode 100644 (file)
index 0000000..2b14afc
--- /dev/null
@@ -0,0 +1,33 @@
+IDENTIFICATION DIVISION
+PROGRAM-ID HollowCylinder
+VERSION 20240312
+COMMENT A homogeneous hollow cylinder (mass m, ration inner to outer radius epsilon) is connected to a massless spring (constant lambda). 
+COMMENT The system is deflected from its rest position by the distance a. 
+COMMENT The cylinder rolls without sliding. 
+COMMENT x'' = - 2*lambda * 1/m * 1/(3+epsilon²) * x
+
+ENVIRONMENT DIVISION
+ENGINE Anabrid-THAT
+TIMEBASE 1ms
+REQUIRES COEFFICIENT 4, INTEGRATOR 2, INVERTER 1
+
+DATA DIVISION
+OUTPUT OUTPUT.X x
+COEFFICIENT.1 2*lambda
+COEFFICIENT.2 1/m
+COEFFICIENT.3 1/(3+epsilon²) # = 1/3 (0,333) for epsilon=0 and 1/4 (0,25) for epsiolon=1 or anything in between
+COEFFICIENT.4 a 
+
+PROGRAM DIVISION
++1 -> COEFFICIENT.A -> a
+
+x'' -> INTEGRATOR -> -x'
+-x', IC:a -> INTEGRATOR -> x
+x -> COEFFICIENT.2*lambda -> 2*lambda*x
+2*lambda*x -> COEFFICIENT.1/m -> 2*lambda*1/m*x
+2*lambda*1/m*x -> COEFFICIENT.1/(3+epsilon²) -> 2*lambda*1/m*1/(3+epsilon²)*x
+2*lambda*1/m*1/(3+epsilon²)*x -> INVERTER -> -2*lambda*1/m*1/(3+epsilon²)*x = x''
+
+OPERATION DIVISION
+MODE REPEAT
+OP-TIME 52ms
diff --git a/scripts/TP1 08.23a stick falling.DELACE b/scripts/TP1 08.23a stick falling.DELACE
new file mode 100644 (file)
index 0000000..9256c37
--- /dev/null
@@ -0,0 +1,16 @@
+coefficient(1): a
+
+integrate (y'') -> -y':
+   IC: +1
+integrate (-y') -> y
+invert (y) -> -y
+sin = y
+
+integrate (omega') -> -omega
+a * sin -> a_times_sin
+omega' = a_times_sin
+
+invert (-omega) -> omega
+multiply (omega, omega) -> omega²
+multiply (omega², -y) -> -omega²y
+y'' = -omega²y
diff --git a/scripts/TP1 09.26 rope over table edge.DELACE b/scripts/TP1 09.26 rope over table edge.DELACE
new file mode 100644 (file)
index 0000000..efff3ea
--- /dev/null
@@ -0,0 +1,16 @@
+# a rope slides frictionlessly down the edge of a table
+# x'' = g/l * x
+
+coefficient(1): 1 -> x0'   # initial speed
+coefficient(2): -1 -> -x0  # initial length of rope already over the edge of the table
+coefficient(3): g/l        # gravity constant (g) devided by the length of the rope (l)
+
+iintegrate (x'') -> -x':
+   IC: x0'
+iintegrate (-x') -> x:
+   IC: -x0
+x * g/l -> g/l*x = x''
+
+# note: positive x-axis in the direction of the falling rope (so down)
+#       for visualization, -x is displayed
+invert (x) -> -x # goes to output x