Issue87 valves

This closes #87.

The reformulation of the assignment of `k` fixed the problem with the division, although the equations are the same.

Using `initial algorithm` instead of `initial equation` caused OpenModelica to use a numerical solution rather than a simple assignment. This is also fixed.