Modern megalopolis face challenges in effectively managing energy resources and minimizing the impact of human activities on the environment. One of the significant aspects of anthropogenic impact is the heat flow generated by buildings, transport and industry. This article presents a set of programs for assessing anthropogenic heat flow (AHF) caused by heat loss from buildings during the heating season. The study is based on a spatial geometric model of the city constructed using OpenStreetMap data. The thermophysical properties of enclosing structures and specific characteristics of thermal energy consumption are obtained from building codes. The proposed method includes the stages of buildings modeling, filtering, supplementing information from Yandex Maps and State Information System of Housing and Communal Services, eliminating collisions, assigning specific characteristics and calculating AHF. The method is implemented through scripts for the Rhinoceros platform, known for its wide functionality and visual programming environment Grasshopper. The proposed approach allows us to effectively analyze and visualize anthropogenic heat flow in cities, which is a key step in developing strategies for sustainable energy management and reducing negative environmental impacts.