It's not clear from your comment if your research is in theory about heat pump vs renewable or applied and practical applications of it. If it's the first you should have plenty of research papers to know who did what and if they shared source code, but if so it shouldn't matter since the main contribution is the theory and the knowledge created.
If you're studying and researching computer science, it's a totally different conversation and your focus is somewhere else. Maybe proving you can write a decent sized computer program, I assume. If so, there's no relevancy whether someone solved this problem before and whether it's commercially sold or open source.