domande matteo

This commit is contained in:
Marco Realacci 2022-11-14 16:15:16 +01:00
parent ad0bc91c7d
commit a82b455758
338 changed files with 1469 additions and 0 deletions

View file

@ -0,0 +1,15 @@
class Monitor
InputReal x; // plant output
OutputBoolean y;
Boolean z;
initial equation
y = false;
equation
z = (time > 20) and ((x >= 30) or (x <= 20)) ;
algorithm
when edge(z) then
y := true;
end when;
end Monitor;

View file

@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\mreal\Downloads\Telegram Desktop\Domande 09_06_2021 (2).zip

View file

@ -0,0 +1,3 @@
Si consideri il seguente requisito:
RQ1: Dopo 20 unità di tempo dall'inizio dell'esecuzione la variabile x è sempre nell'intervallo [20, 30] .
Quale dei seguenti monitor meglio descrive il requisito RQ1 ?

View file

@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\mreal\Downloads\Telegram Desktop\Domande 09_06_2021 (2).zip

View file

@ -0,0 +1,15 @@
class Monitor
InputReal x; // plant output
OutputBoolean y;
Boolean z;
initial equation
y = false;
equation
z = (time > 20) or ((x >= 20) and (x <= 30)) ;
algorithm
when edge(z) then
y := true;
end when;
end Monitor;

View file

@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\mreal\Downloads\Telegram Desktop\Domande 09_06_2021 (2).zip

View file

@ -0,0 +1,15 @@
class Monitor
InputReal x; // plant output
OutputBoolean y;
Boolean z;
initial equation
y = false;
equation
z = (time > 20) and (x >= 20) and (x <= 30) ;
algorithm
when edge(z) then
y := true;
end when;
end Monitor;

View file

@ -0,0 +1,3 @@
[ZoneTransfer]
ZoneId=3
ReferrerUrl=C:\Users\mreal\Downloads\Telegram Desktop\Domande 09_06_2021 (2).zip