Risk assessment and managing technical systems in case of mining industry