verivital / hyst

HyST: A Source Transformation and Translation Tool for Hybrid Automaton Models
http://verivital.com/hyst/
Other
15 stars 18 forks source link

Generalize input support #33

Open ttj opened 8 years ago

ttj commented 8 years ago

There are currently restrictions for inputs as they are expressions plus intervals.

For example, the following does not work:

\dot{x} = u \dot{y} = v \dot{x} = u /\ \dot{y} = u let u \in [-1,1]

The semantics interpret u as really having the same value at a given point in time, so \dot{x} and \dot{y} are equal.

Fixes:

1) Add interval output support for simulator for now

2) Eventually generalize notion of inputs with inherritance (probably) for variables, e.g., InputVariable extends Variable and StateVariable extends variable