I have heard that real pilots are trained on complex machines called Fixed base flight simulators.
You can set specific conditions in these simulators such as extreme weather, fuel shortage, engine failure etc.
Is there a flight sim SOFTWARE that allows you to put such conditions?
As far as I know, most Sims don't allow you to simulate a situation where the plane runs out of fuel, or one engine catches fire etc.