Installing DC cabling from batteries or solar power in plastic or in metal trunking or steel cable tray?

Installing open DC cabling from sloar panels in a closed trunking or exposed on a steel cable tray, taking heat and UV and all the other things into account.