mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-07 09: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
|
@ -1,26 +0,0 @@
|
|||
<pre>
|
||||
class System
|
||||
|
||||
Real x; // MB in buffer
|
||||
|
||||
Real u; // input pulse
|
||||
|
||||
initial equation
|
||||
|
||||
x = 3;
|
||||
|
||||
u = 0;
|
||||
|
||||
equation
|
||||
|
||||
when sample(0, 1) then
|
||||
|
||||
u = 1 - pre(u);
|
||||
|
||||
end when;
|
||||
|
||||
der(x) = 2*u - 2.0;
|
||||
|
||||
end System;
|
||||
|
||||
</pre>
|
Loading…
Add table
Add a link
Reference in a new issue