The main objective of study was to formulate solutions to provide functioning of heating system in case of force majeure. The problem is particularly urgent in Latvia, and other former Soviet Union country, as in the entire in district heating and housing fund situation is similar. Many of these countries have a long heating season with cold snowy winters. Frequent things are storms in the autumn and spring, causing outage of electric power supply and heating for many thousands of households yearly. The main threats that may cause the above situations are such as natural gas and electricity supply risks and the natural disasters affect (Latvia is unable to generate enough, to ensure electric power supply and heating all year round). All threats can be minimized by providing solutions for diversification of heating systems - it is possible to use both solar, wind energy and renewable energy resources.