Taiwan Railway Electrical Engineering will invest up to NT$804 million in a solar energy storage project in Malaysia.