A salmonid population model with emphasis on habitat limitations