{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2602-22249","title":"Improving Spatial Allocation for Energy System Coupling with Graph Neural Networks","arxiv_id":"2602.22249","date":"2026-02-24","proceeding":null,"authors":["Xuanhao Mu","Jakob Geiges","Nan Liu","Thorsten Schlachter","Veit Hagenmeyer"],"abstract":"In energy system analysis, coupling models with mismatched spatial resolutions is a significant challenge. A common solution is assigning weights to high-resolution geographic units for aggregation, but traditional models are limited by using only a single geospatial attribute. This paper presents an innovative method employing a self-supervised Heterogeneous Graph Neural Network to address this issue. This method models high-resolution geographic units as graph nodes, integrating various geographical features to generate physically meaningful weights for each grid point. These weights enhance the conventional Voronoi-based allocation method, allowing it to go beyond simply geographic proximity by incorporating essential geographic information.In addition, the self-supervised learning paradigm overcomes the lack of accurate ground-truth data. Experimental results demonstrate that applying weights generated by this method to cluster-based Voronoi Diagrams significantly enhances scalability, accuracy, and physical plausibility, while increasing precision compared to traditional methods.","url_abs":"https://arxiv.org/abs/2602.22249","url_pdf":"https://arxiv.org/pdf/2602.22249","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2602.22249","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2602.22249"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/KIT-IAI/AllocateGNN","reach":null}],"summary":{"unverified":17},"by_repo_kind":{"found_in_text":{"samples":17,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":17,"samples":[{"code_sha256_prefix":"12343161ebc3eaac","entry":"analyze_point_distribution","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/utils/analyze_point_distribution.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/utils/analyze_point_distribution.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"12343161ebc3eaac"}},{"code_sha256_prefix":"ed808cb69eb4a18b","entry":"assign_color","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/utils/color.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/utils/color.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ed808cb69eb4a18b"}},{"code_sha256_prefix":"9c2a82336f1f7d35","entry":"calculate_internal_metrics_for_eps_range","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/clustering/DBSCAN_clustering.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/clustering/DBSCAN_clustering.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9c2a82336f1f7d35"}},{"code_sha256_prefix":"3d9ea890948e5613","entry":"calculate_max_length_width","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/utils/geographic_conversion.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/utils/geographic_conversion.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3d9ea890948e5613"}},{"code_sha256_prefix":"f38da19c68659eca","entry":"calculate_scores_for_n_clusters","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/clustering/hierarchical_clustering.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/clustering/hierarchical_clustering.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"f38da19c68659eca"}},{"code_sha256_prefix":"00e9f28ea43c52ff","entry":"calculate_silhouette_for_eps_range","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/clustering/DBSCAN_clustering.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/clustering/DBSCAN_clustering.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"00e9f28ea43c52ff"}},{"code_sha256_prefix":"3e7cbf08fc584057","entry":"calculate_silhouette_scores_for_n_clusters","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/clustering/hierarchical_clustering.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/clustering/hierarchical_clustering.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3e7cbf08fc584057"}},{"code_sha256_prefix":"3e292d9cd4a6d7c7","entry":"calculate_silhouette_scores_for_n_clusters_kmeans","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/clustering/kmeans_clustering.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/clustering/kmeans_clustering.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3e292d9cd4a6d7c7"}},{"code_sha256_prefix":"79999faeb32977b2","entry":"create_count_weights","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/utils/create_weights.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/utils/create_weights.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"79999faeb32977b2"}},{"code_sha256_prefix":"d43ad18c61747da3","entry":"create_rank_weights","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/utils/create_weights.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/utils/create_weights.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d43ad18c61747da3"}},{"code_sha256_prefix":"44198b466a33db48","entry":"create_weights","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/utils/create_weights.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/utils/create_weights.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"44198b466a33db48"}},{"code_sha256_prefix":"b7e7cf93434aabea","entry":"distance_to_eps","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/utils/geographic_conversion.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/utils/geographic_conversion.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b7e7cf93434aabea"}},{"code_sha256_prefix":"893b7a551b43f94d","entry":"do_clustering","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/clustering/do_clustering.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/clustering/do_clustering.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"893b7a551b43f94d"}},{"code_sha256_prefix":"ee70deb59e1e1242","entry":"download_road_network","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"SpatialAllocation/utils/NetworkDistance.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/SpatialAllocation/utils/NetworkDistance.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ee70deb59e1e1242"}},{"code_sha256_prefix":"d7c3a16746cb6935","entry":"find_project_root","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/utils/find_root.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/utils/find_root.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d7c3a16746cb6935"}},{"code_sha256_prefix":"2855895ccd6d9c98","entry":"get_network_connectivity_stats","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"SpatialAllocation/utils/NetworkDistance.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/SpatialAllocation/utils/NetworkDistance.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"2855895ccd6d9c98"}},{"code_sha256_prefix":"d61d8867ee91ff1d","entry":"haversine","repo":"KIT-IAI/AllocateGNN","repo_kind":"found_in_text","path":"ClusterBasedVoronoi/utils/geographic_conversion.py","file_url":"https://github.com/KIT-IAI/AllocateGNN/blob/HEAD/ClusterBasedVoronoi/utils/geographic_conversion.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d61d8867ee91ff1d"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}