The desire for Ukraine's energy independence is an urgent issue. An important task on the way to energy independence is to improve the energy efficiency of heating systems. This paper presents a modelling of the choice of the most appropriate type of fuel, given the presence of several types of heating equipment in a household, depending on the price of fuel and the cost of its delivery.