Transport for Wales has apologised for any inconvenience with disruption set to affect passengers for most of Wednesday afternoon