A method for obtaining distillate from non-potable water comprising the following steps: - utilizing solar power from a solar power system to produce electricity and heated water, - utilizing at least the heated water in a water treatment device to convert the non-potable water into distillate and concentrate, - transporting at least a part of the distillate to consumers for use, - transporting a part of the distillate generated in the water treatment device to a first distillate storage tank, - transporting distillate generated in the water treatment device from the first distillate storage tank to the solar power system, whereby solar thermal energy is being used to heat the distillate being transported from the first distillate storage tank, - transporting the heated distillate from the solar power system to a second distillate storage tank, - transporting the heated distillate from the second distillate storage tank to the water treatment device to convert the non-potable water into distillate and concentrate. characterized in that, - the solar power system comprises photovoltaic panels to generate electricity from solar power, whereby solar thermal energy is being used to heat the distillate being transported from the first distillate storage tank along the heated photovoltaic panels, whilst the photovoltaic panels are being cooled through heat transfer from the photovoltaic panels to the distillate, - transporting the heated distillate from the second distillate storage tank to a steam generator for converting the heated distillate into steam, - using the steam from the steam generator in the water treatment device to convert the non-potable water into distillate and concentrate, - using the electricity generated from solar power for operating valves, pumps and/or electric components positioned between the water treatment device and the first distillate storage tank, the first distillate storage tank and the solar power system, the solar power system and the second distillate storage tank, the second distillate storage tank and the steam generator and/or the steam generator and the water treatment device. - utilizing solar power from a solar power system to produce electricity and heated water, - utilizing at least the heated water in a water treatment device to convert the non-potable water into distillate and concentrate, - transporting at least a part of the distillate to consumers for use, - transporting a part of the distillate generated in the water treatment device to a first distillate storage tank, - transporting distillate generated in the water treatment device from the first distillate storage tank to the solar power system, whereby solar thermal energy is being used to heat the distillate being transported from the first distillate storage tank, - transporting the heated distillate from the solar power system to a second distillate storage tank, - transporting the heated distillate from the second distillate storage tank to the water treatment device to convert the non-potable water into distillate and concentrate. characterized in that, - the solar power system comprises photovoltaic panels to generate electricity from solar power, whereby solar thermal energy is being used to heat the distillate being transported from the first distillate storage tank along the heated photovoltaic panels, whilst the photovoltaic panels are being cooled through heat transfer from the photovoltaic panels to the distillate, - transporting the heated distillate from the second distillate storage tank to a steam generator for converting the heated distillate into steam, - using the steam from the steam generator in the water treatment device to convert the non-potable water into distillate and concentrate, - using the electricity generated from solar power for operating valves, pumps and/or electric components positioned between the water treatment device and the first distillate storage tank, the first distillate storage tank and the solar power system, the solar power system and the second distillate storage tank, the second distillate storage tank and the steam generator and/or the steam generator and the water treatment device.