In a piston a different pressure of fluids perform mechanical linear work.
Depending on push_left
, the left (when pushleft is true) side or
the right (when pushleft is false) side is connected to the input, and the other
side is connected to the output.
x
is a nondimensional piston position, 0 being left and 1 being right.
The piston has soft stops and a dead volume at both ends.
Name | Description |
---|---|
Medium | Medium model |