Train services to and from Edinburgh Waverley are returning to normal following disruption due to a power cut, ScotRail has said.
A signalling outage led to the cancellation of trains in and out of the station at rush hour on Thursday.
The rail operator said Network Rail engineers worked through the night to fix the issues.
It said some services will be cancelled in the aftermath while others will operate with fewer carriages.
Scotrail said on X, formerly Twitter: "A full service will run to/from Edinburgh today, with the exception of a small number of changes.
"There are some weather-related speed restrictions in place today.
"As a result, our direct services between the Central Belt and Aberdeen won't run until around 15:00 - we'll run our usual trains to Dundee and a shuttle service between Dundee and Aberdeen."
Tickets were being accepted on Edinburgh trams and some local bus services on Thursday, but passengers were left to make their own alternative transport arrangements.
Network Rail said it believed the power outage was caused by a "telecomms fault" and a specialist engineer was dispatched to begin investigations at around 19:00 on Thursday.
It apologised for the disruption caused.
David Simpson, operations director at ScotRail, told the BBC's Good Morning Scotland programme signalling at the station was lost just before rush hour.
"The signalling controls the trains across a wide area. If that's not working it means we can't run the trains - it's like the traffic lights of the railways," he said.
"I'd like to apologise to anyone who was affected by this - for the disruption it must have caused them through yesterday evening."
He urged anyone who had to make alternative arrangements to keep their receipts and contact ScotRail's customer relations team.
Trains in parts of Scotland are facing delays until Saturday as a result of Storm Ciarán.
A yellow warning for rain is in place for the UK's east coast, from Moray down to Hull until 18:00 on Friday.