Node SwimSpeedNode#
Defined in mime.nodes.body._swim_speed.SwimSpeedNode.
Algorithm MIME-NODE-115.
A body’s velocity along a direction each step, and its mean over the steps that end after a start time, kept in the node’s own state.
Governing equations#
Discretisation#
none declared; a node whose order depends on its construction declares it with the discretization_order() hook, which is read from a built node.
Assumptions#
The body’s velocity read at a step holds over that step, so the distance is the sum of the speed times the timestep
The time of a step is its count times the timestep, and a step counts whole once its end lies after the start time
Limitations#
The window’s edge is a switch: the distance and the time observed move in jumps of a step as the start time moves, and the mean is zero until some time has been observed
Declared regimes (not evidenced here)#
none declared
References#
none declared
Symbols#
Symbol |
Kind |
Name |
Units |
Implemented by |
|---|---|---|---|---|
\(s\) |
state |
|
m/s |
|
\(D\) |
state |
|
m |
|
\(T\) |
state |
|
s |
|
\(\bar{s}\) |
state |
|
m/s |
|
\(\mathbf{v}\) |
input |
|
m/s; rad/s |
|
\(\mathbf{e}\) |
parameter |
|
1 |
|
\(t_{a}\) |
parameter |
|
s |
|
Built by#
swim_speed0.1.0