From mathematical to physical model: the nervilab experience