Tsch and rpl joining time model for industrial wireless sensor networks