Cooperative Energy Optimization Between Residential Communities and Industrial Ports Under Carbon Emission Constraints

Cooperative Energy Optimization Emissions Trading Scheme Multi-Agent Energy Systems Port–Community Energy Management Real-Time Pricing

Authors

November 18, 2026

Downloads

Energy cooperation between residential communities and industrial ports offers opportunities to enhance renewable energy utilization, improve electricity affordability, and facilitate compliance with carbon emission regulations. However, energy management in these sectors is typically optimized independently, limiting opportunities for coordinated resource allocation and electricity exchange. This study proposed the Multi-Agent Energy Sharing and Emission-Constrained Optimization (MESECO) framework, a deterministic mixed-integer optimization model that coordinated rooftop photovoltaic (PV) systems, wind power generation, battery energy storage systems, grid electricity purchases, and bidirectional electricity trading under real-time electricity pricing and port-specific carbon emission constraints. The reference case integrated a residential community and Tanjung Perak Port in Surabaya, Indonesia, using representative electricity demand and renewable energy resource profiles. Four electricity pricing and trading scenarios were evaluated, alongside sensitivity analyses. The scenario incorporating real-time pricing for both grid electricity procurement and inter-agent electricity exchange (Case 2) achieved the lowest combined annual operating cost, with community and port costs of USD 764,728.00 and USD 153,323.95, respectively. In contrast, fixed inter-agent electricity pricing (Case 3) generated net annual revenue of USD 120,564.18 for the port but increased community electricity expenditure to USD 1,038,616.13, highlighting potential inequalities in the distribution of economic benefits. Under the modeled conditions, approximately 54% community PV adoption enabled electricity self-sufficiency, while approximately 74% supported consistent monthly electricity exports. When carbon emission costs were incorporated, an inter-agent electricity tariff of approximately USD 0.084/kWh provided a balance between community affordability and port financial viability. The findings demonstrated that electricity pricing mechanisms, energy storage deployment, renewable energy penetration, and asymmetric carbon regulations substantially influenced the economic and operational performance of integrated community–port energy systems. The proposed MESECO framework provided a quantitative basis for evaluating cooperative energy management strategies under carbon emission constraints. Nevertheless, these findings were derived from model-based scenario analyses and required further validation using operational data before practical implementation.