In recent years, the load in the North has grown extremely rapidly when theliving standards of people increase along with the appearance of many industrialzones, leading to difficulties in operation grid. In the distribution network,because most of the load is for residential, the difference in load between peakand off peak hours is very large, so power flow calculation by load profile in theday is extremely necessary for power system operators. This paper applies PSSE'sAPI to compute power load in day for a distribution network in the NorthVietnam. The results show that tool helps to have an overall picture to evaluatepower flow of the day, contribute significantly to the maintenance of stableoperation of the power grid.Trong những năm gần đây, phụ tải miền Bắc có sự tăng trưởng vô cùngnhanh chóng khi đời sống sinh hoạt của người dân tăng cao cùng với đó là sựxuất hiện của nhiều khu công nghiệp, dẫn tới khó khăn trong công tác vận hànhlưới điện. Ở lưới phân phối do phần lớn phụ tải phục vụ sinh hoạt nên chênh lệchphụ tải giữa giờ cao điểm và thấp điểm rất lớn, do đó việc tính toán trào lưu côngsuất theo biểu đồ phụ tải trong ngày là vô cùng cần thiết đối với người vận hànhhệ thống điện. Bài báo này ứng dụng API của PSSE để xây dựng công cụ tính toántrào lưu công suất trong ngày áp dụng cho một lưới phân phối ở miền Bắc. Kếtquả thấy rằng công cụ được xây dựng giúp có bức tranh tổng thể để đánh giá tràolưu công suất trong ngày, đóng góp không nhỏ vào việc duy trì vận hành ổn địnhlưới điện.