read up on hyperfocal distance...,it'll be of some help to you..
anyway..,if ya shooting sunrise/sunset,people usually shoot it @ low aperture..,from f8 onwards..,iso set it as low as possible..,shutter will depends on your lighting level..,and whether you are using nd filters or not..
my...