mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-06 18:59:37 +02:00
Adapt to new bot structure
This commit is contained in:
parent
ff7e08ada9
commit
3f84e1d831
3414 changed files with 41525 additions and 709 deletions
40
legacy/Data/Questions/ingsw/0321_16/correct.txt
Normal file
40
legacy/Data/Questions/ingsw/0321_16/correct.txt
Normal file
|
@ -0,0 +1,40 @@
|
|||
<pre>
|
||||
connector InputInteger = input Integer;
|
||||
|
||||
connector OutputInteger = output Integer;
|
||||
|
||||
block Controller
|
||||
|
||||
InputInteger x;
|
||||
|
||||
OutputInteger Integer w;
|
||||
|
||||
...
|
||||
|
||||
end Controller;
|
||||
|
||||
block Plant
|
||||
|
||||
InputInteger u;
|
||||
|
||||
OutputInteger y;
|
||||
|
||||
...
|
||||
|
||||
end Plant;
|
||||
|
||||
class System
|
||||
|
||||
Controller k;
|
||||
|
||||
Plant p;
|
||||
|
||||
equation
|
||||
|
||||
connect(p.y, k.x);
|
||||
|
||||
connect(k.w, p.u);
|
||||
|
||||
end System;
|
||||
|
||||
</pre>
|
1
legacy/Data/Questions/ingsw/0321_16/quest.txt
Normal file
1
legacy/Data/Questions/ingsw/0321_16/quest.txt
Normal file
|
@ -0,0 +1 @@
|
|||
Un sistema consiste di due sottosistemi: un controller ed un plant (sistema controllato). Il controllore misura l'output del plant e manda comandi al plant in accordo. Quale dei seguenti schemi Modelica modella l'architettura di sistema descritta sopra ?
|
40
legacy/Data/Questions/ingsw/0321_16/wrong 1.txt
Normal file
40
legacy/Data/Questions/ingsw/0321_16/wrong 1.txt
Normal file
|
@ -0,0 +1,40 @@
|
|||
<pre>
|
||||
connector InputInteger = input Integer;
|
||||
|
||||
connector OutputInteger = output Integer;
|
||||
|
||||
block Controller
|
||||
|
||||
InputInteger x;
|
||||
|
||||
OutputInteger Integer w;
|
||||
|
||||
...
|
||||
|
||||
end Controller;
|
||||
|
||||
block Plant
|
||||
|
||||
InputInteger u;
|
||||
|
||||
OutputInteger y;
|
||||
|
||||
...
|
||||
|
||||
end Plant;
|
||||
|
||||
class System
|
||||
|
||||
Controller k;
|
||||
|
||||
Plant p;
|
||||
|
||||
equation
|
||||
|
||||
connect(p.y, p.u);
|
||||
|
||||
connect(k.w, k.u);
|
||||
|
||||
end System;
|
||||
|
||||
</pre>
|
39
legacy/Data/Questions/ingsw/0321_16/wrong 2.txt
Normal file
39
legacy/Data/Questions/ingsw/0321_16/wrong 2.txt
Normal file
|
@ -0,0 +1,39 @@
|
|||
<pre>
|
||||
connector InputInteger = input Integer;
|
||||
|
||||
connector OutputInteger = output Integer;
|
||||
|
||||
block Controller
|
||||
|
||||
InputInteger x;
|
||||
|
||||
OutputInteger Integer w;
|
||||
|
||||
...
|
||||
|
||||
end Controller;
|
||||
|
||||
block Plant
|
||||
|
||||
InputInteger u;
|
||||
|
||||
OutputInteger y;
|
||||
|
||||
...
|
||||
|
||||
end Plant;
|
||||
|
||||
class System
|
||||
|
||||
Controller k;
|
||||
|
||||
Plant p;
|
||||
|
||||
equation
|
||||
|
||||
connect(p.y, k.w);
|
||||
|
||||
connect(k.x, p.u);
|
||||
|
||||
end System;
|
||||
</pre>
|
Loading…
Add table
Add a link
Reference in a new issue