Simulation of the dynamics of a solar collector system using bond graphs