Lưới điện nhỏ bao gồm các nguồn điện truyền thống, nguồn năng lượng tái tạo, và thiết bị tích trữ năng lượng. Lưới điện nhỏ có thể làm việc ở chế độ nối lưới hoặc chế độ tách đảo tùy thuộc vào các đặc tính kinh tế và kỹ thuật. Bài báo này áp dụng phương pháp quy hoạch toàn phương nguyên thực hỗn hợp để xác định tối ưu lịch vận hành ngày tới cho lưới điện nhỏ có xét chế độ làm việc nối lưới/tách đảo. Bài toán tối ưu này có hàm mục tiêu là cực tiểu tổng chi phí vận hành của nguồn điện có xét lượng khí thải CO2 mà các tổ máy phát điện truyền thống tạo ra. Phương pháp tổng trọng số được sử dụng để mô hình hóa bài toán tối ưu với hai mục tiêu. Mô hình tối ưu đề xuất được tích hợp ràng buộc cân bằng công suất giữa nguồn và tải, ràng buộc của các tổ máy phát điện, giới hạn công suất nạp/xả và mức năng lượng của các thiết bị lưu trữ. Mô hình lập kế hoạch ngày tới được chia làm 24 bước thời gian (độ dài mỗi bước là 1 giờ). Sự đánh giá của mô hình tối ưu đề xuất được thực hiện sử dụng bộ giải CPLEX với môi trường lập trình GAMS. Kết quả tính toán của mô hình đề xuất cho thấy, sự phát thải khí CO2 có ảnh hưởng lớn đến kế hoạch vận hành của các nguồn điện trong lưới điện nhỏ.Microgrid consists of conventional generators, renewable energy sources, and energy storage devices. Microgrids could operate in either grid-connected or islanded modes, depending on technical and economic characteristics. This paper demonstrates mixed-integer quadratic programming-based formulation for the optimization of the day-ahead unit commitment in the microgrid. The goal function is to minimize the total operational cost combined with the expenses incurred by the CO2 emissions generated. The weighted sum approach is deployed to cope with the two-objective optimization problem. The optimization model considers constraints of power generation-consumption balance, generating unit-related restrictions, bounds of discharge/charge power, and energy level of energy storage devices. The computational model for a 24-hour day is divided into 24-time steps (each step with a one-hour time span). The proposed optimization model is evaluated using the CPLEX optimization solver within the GAMS programming environment. The calculation results demonstrate that integrating CO2 emissions into the proposed optimization formulation has a considerable impact on the operational scheduling of generators in the microgrid.