Particle swarm optimization for a hybrid freight train powered by hydrogen or ammonia solid oxide fuel cells | Synapse