The integration of renewable energies in the dwellings is a solution to diminish their energy consumption. It also could represent important money savings for the owner, if the design and the control of the devices are correctly set up. Numerical simulation environments are powerful tools, which help to develop such design and ontrol procedure. The software TRNsys 16 was used to study the entire energy consumption during seven months of the model of a dwelling using thermal collectors and photovoltaic panels. The control techniques used for these systems are standard and simple procedures. Both thermal phenomena and electrical phenomena and their interactions were considered. We noted that the solar part of the heat production and the electrical production could be increased. Some solutions, including some new control techniques are proposed in the discussion of this work.