SLIDE 15 Abstraction: detailed (continuous) view, ALG + ODE formalism
Inputs (discontinuous
✟
hybrid model):
✠
Emptying, filling flow rate φ
✠
Temperature of inflowing liquid Tin
✠
Rate of adding/removing heat W Parameters:
✠
Cross-section surface of vessel A
✠
Specific heat of liquid c
✠
Density of liquid ρ State variables:
✠
Temperature T
✠
Level of liquid l Outputs (sensors):
✠
is low
✡
is high
✡
is cold
✡
is hot
☛ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ✌ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ☞ ✍
dT dt
✆
1 l
✎
W cρA
✏
φ
✑
T
✏
Tin
✒ ✓
dl dt
✆
φ is low
✆ ✑
l
✔
llow
✒
is high
✆ ✑
l
✕
lhigh
✒
is cold
✆ ✑
T
✔
Tcold
✒
is hot
✆ ✑
T
✕
Thot
✒
Hans Vangheluwe hv@cs.mcgill.ca Modelling and Simulation: M&S Process 15/34