Time curves

Closes https://github.com/quintel/etmodel/issues/1793