Fix bad binding error fix: check if model is solarpanel properly