I am wondering if some software such as EnergyPlus provide their codes behind the scene of their fan calculation freely available. (no matter in which programming language)
I am not sure about your exact understanding of "freely available". Most software is covered by some license, that should set the terms for code reuse andd redistribution in particular. But if you account for the license and want to know how models are implemented, you may have a look at the source code, e. g.:
Freely available are the open source software that do not need a license for using them.
So, I think for EnergyPlus and ESP-r (that you sent me the links), I need to buy the license first and then have an access to their implemented models, right?
both software are open source, so you can evaluate the implementation. Any other use, e.g. redistribution, modification, or taking over part in other software, has to comply with the license of course. So if you want to study the implementation you can do so, but if you want to e.g. develop a commercial software that you intend to sell, you have to verify if the license allows for it.
I just messaged him in ResearchGate and waiting for his response. Meanwhile, this is my email address ([email protected]) and I appreciate if you notify him.