The PySAM ResourceTools.FetchResourceFiles function has a parameter called "workers", which allows you to specify the number of threads to use when parellelizing downloads (
nrel-pysam.readthedocs.io/en/master/Tools.html?highlight=workers#files.ResourceTools.FetchResourceFiles).
I'm looking to allow this parameter to be dynamically defined on the user's machine depending on the capability of the machine to run parallel downloads. My question is whether parallelized downloads depends on the number of CPU threads on the machine, or if it is related to some other parameter about the computer or network.
Say one is trying to download hundreds of resource files - how would you suggest setting the workers parameter to maximize parallelization? In other words, what is the upper limit on the number of workers that can run in parallel?
Thank you!