This commit is contained in:
Marco Realacci 2022-11-14 17:43:37 +01:00
commit 3e3696a896
13 changed files with 28 additions and 13 deletions

View file

@ -0,0 +1,16 @@
function next
input Integer x;
output Integer y;
algorithm
y := 1 - x;
end next;
class System
Integer x;
initial equation
x = 0;
equation
when sample(0, 1) then
x = next(pre(x));
end when;
end System;

View file

@ -1,3 +1,3 @@
img=<https://i.imgur.com/F6JCFSU.png>
img=https://i.imgur.com/F6JCFSU.png
Si consideri l'automa segunete:
Quale dei seguenti modelli Modelica fornisce un modello ragionevole per l'automa di cui sopra.