Exact and semi-analytic solutions for train loads as travelling sequences of impulses