Added 2021-03-29 exam

This commit is contained in:
Federico Pizzari 2022-11-14 14:50:34 +01:00
parent d2b06855c6
commit 6be029493b
177 changed files with 1133 additions and 1628 deletions

View 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>

View 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 ?

View 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>

View 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>