Characterization of Demand Profiles for Medium-Voltage Substations in Bogotá Using a Python Interface
Keywords:
Operational Demand Forecast, Python Script, Power Demand Analysis, Data Processing Workflow, Colombian National Interconnected System
Abstract
This document presents a comprehensive methodology for analyzing operational demand forecast data from XM’s website using a Python script executed in Google Colaboratory (Colab). The script is designed to process text files containing forecast data, which are compressed in a zip file and uploaded to the Colab environment for processing. The key functions of the script include decompressing and organizing files, filtering data based on specified keywords, calculating average power values, and normalizing these averages. The script is structured into several sections: first, it describes various libraries and functions used, and then it presents a main script that implements these functions. Finally, the obtained vectors are utilized to plot normalized active and reactive curves, facilitating the visualization of demand patterns over a 24-hour period. This provides insights into the operational dynamics of Colombia's National Interconnected System (SIN). The analysis focuses on forecast data from May 2023 to May 2024, which includes both reactive and active power. The integration of this script into the data processing workflow aims to streamline the analysis of XM’s operational demand forecasts, supporting more informed decision-making for energy management and planning. By transforming raw forecast data into actionable insights, this approach improves understanding of demand patterns, contributing to the effective management of Colombia’s energy resources.
Published
2025-07-01
How to Cite
Herrera Briñez, M. C., Montoya Giraldo, O. D., & Gil-González, W. J. (2025). Characterization of Demand Profiles for Medium-Voltage Substations in Bogotá Using a Python Interface. Statistics, Optimization & Information Computing. https://doi.org/10.19139/soic-2310-5070-2454
Issue
Section
Research Articles
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).