Autonomous determination of pneumatic parameters of TrainDy