The rescue department received the call to the yard after 4.00am on Saturday.
According to the rescue department, the victim died immediately. A fire caused by the electric arc spread to the roof of the parked train.
The extinguishing operation took about two hours and, because of the accident, the train was grounded and the track was taken offline for some time.
VR’s communications specialist said climbing on the roof of rail carriages is always potentially fatal.
The danger arises from contact with the railway contact wire overhead, which is always electrified. Contact with the electric rail contact wire delivers a 25,000-volt shock.