4. Numerical Results and Discussion
The optimization model was applied to the FEW nexus case study based in South Florida, which comprises seven urban farms that are connected through a community microgrid system. Several technologies are considered, as discussed in the previous sections, including solar PV, wind turbines, CHP units, biofuel usage, energy storage systems, and EVs. The objective is to determine the optimal specifications of energy technologies and minimize total system cost over a one-year period. The farms operate under a collaborative agreement that facilitates food exchange and establishes a micro supply chain. Food supply and demand are balanced across the network, with excess produce transported via EVs to farms with unmet demand. A circular economy approach is incorporated by converting unsold produce or produce that was not transported to other farms into biofuel, thus integrating waste-to-energy pathways. The model is solved for a 52-week period, and the Sunday farmers’ market scenario is modeled as 52 days.
The quantities of food transported between farms and the amounts sold at each location were calculated, and the total food waste generated at each farm over the 52 market days was determined (
Table 5). Food waste is higher at farms where production greatly exceeds demand (e.g., Farms 1 and 2) and surplus produce cannot be fully redistributed once demand across the UA network is met. Farm 5 generates zero food waste because it is a net importer of produce, and demand consistently exceeds supply at this location. The waste was processed by biofuel units to generate power, reinforcing the circular economy approach and contributing to the microgrid electricity demand at each farm. The micro supply chain redistributed produce across the UA network, ensuring that demand was met at all farms. This redistribution led to a 15.2% increase in food availability for consumers, resulting from a 15.2% reduction in food waste across the seven urban farms. The micro supply chain facilitated farmer-to-farmer exchange across the UA network, allowing surplus produce at individual farms to be reallocated to other farms where local production was insufficient to meet demand.
The power network can exchange power with the upstream network to decrease the total system cost and adjust the power balance in the network as illustrated in
Figure 14. Positive values indicate that power is purchased from the upstream network, and negative values represent surplus power that is sold back to the upstream network. As shown in
Figure 13, power purchases generally occur during periods of high electricity prices, when local power generation may not be sufficient to meet demand. Power is exported and sold to the upstream network during times of excess power generation from local sources in the system, and when power cannot be stored in the energy storage system. In addition to exchanges with the upstream network, the design of the power network shown in
Figure 7 is a conceptual representation of power sharing among urban farm microgrids. Each microgrid is modeled as a single bus using a lossless copper-plate abstraction, and no line-flow constraints, thermal limits, voltage constraints, or AC/DC power-flow equations are enforced. Accordingly, internal transmission losses are not modeled. This abstraction is adopted to support planning-level technology sizing and resource coordination rather than detailed operational power-flow analysis. This flexibility allowed surplus electricity to be utilized by other microgrids in the network, reducing reliance on upstream purchases and improving overall system resilience.
The operational performance of the CHP system is illustrated in
Figure 15,
Figure 16 and
Figure 17. The model operates at an hourly resolution and is used to support planning-level analysis over the annual study horizon.
Figure 15 displays the power generated by the CHP unit, which consistently operated at maximum capacity throughout the modeled period as an optimal outcome of the model. This behavior was driven by the system’s thermal requirements, as the CHP unit was responsible for meeting heat demand. Despite the system having a high operational cost, the model prioritizes its continuous use to ensure sufficient thermal energy supply, and that heat demand is satisfied.
Figure 16 illustrates the fuel consumption of the CHP and boiler units; the heat storage unit also plays a role in satisfying the system’s thermal load. Together, the three components operate in concert to satisfy total heat demand.
Figure 17 provides a breakdown of each component’s role in heat generation, storage, and release over time.
Table 6 presents the optimal capacities of PVs to be installed at each farm. PVs are installed in all farms except Farm 6, with the highest capacity allocated to Farm 3 (2239 kW), followed by Farm 7 (1271 kW). The model also specified the optimal capacity of WTs to be installed at each farm (
Table 7). In this instance, only Farm 7 had WTs installed, with a capacity of 4803 kW. The allocation was driven by Farm 7 having the highest electricity demand in the network. The corresponding wind power generation at Farm 7 is illustrated in
Figure 18. The model did not assign installations of PVs or WTs to Farm 6; instead, its electricity demand was met through imports from the interconnected power network (
Figure 7) and through biofuels as will be discussed in the following paragraph. The integration of renewable energy technologies (solar and wind) contributed to a reduced carbon footprint. The estimated greenhouse gases (GHGs) that were avoided due to renewable energy generation were 8601.5 metric tons of CO
2 over a one-year period; this is based on the energy generation profile of the state of Florida, which is composed of approximately 80% non-renewables. The avoided GHG emissions are calculated based on the total annual electricity that would be generated from the optimal configuration of solar and wind technologies at the seven urban farm locations, multiplied by 886 lbs·MWh
−1, as this is the amount of CO
2 emitted per MWh of electricity generated in the state of Florida [
50].
The capacity of biofuel units was constrained by the amount of food waste generated at each farm, and their deployment depended on the local balance of food supply and demand within the UA network.
Figure 19 illustrates the power generated by biofuel units at each farm throughout the modeled period. Power generation at Farm 5 was zero, as no food waste was produced at this location. On the remaining six farms, biofuel output varied according to the quantity of unsold produce or produce not redistributed to other farms. By converting food waste into energy, the biofuel units supported a circular economy, reducing waste and decreasing reliance on external electricity sources.
Table 8 summarizes the total annual operational cost of the system and the breakdown of each component over the modeled 52-week period. All reported costs correspond to operating, maintenance, fuel, transportation, and emission-related costs; capital investment costs are not included. The overall system cost was
$741,581, and this cost represents the aggregated annual operational cost for the urban agriculture network with seven urban farms over a one-year planning horizon. When distributed across the network, this corresponds to an average annual operational cost of approximately
$106,000 per urban farm location, which is consistent with the scale of electricity demand profiles of the community microgrids, renewable energy operation, micro supply chain transportation, and the energy and resource conversion processes considered in the system. The largest contributor to total cost is the biofuel cost at
$504,030. This expense reflects the conversion of unsold produce into food waste and subsequently into bioenergy, and includes the emission-related costs associated with biofuel combustion. While this pathway supports circular economy objectives, it introduces an economic trade-off associated with waste-to-energy conversion. The cost of operating the micro supply chain via EVs, which facilitates food redistribution among the seven farms, amounted to
$176,140. Power exchange with the upstream network incurs a cost of
$34,036, indicating the role of local renewable energy technologies in meeting electricity demand. Finally, the costs associated with solar and wind technologies only reflect their operation and maintenance expenses, rather than capital investments, over the study period. Overall, the cost breakdown provides insight into the dominant economic drivers and trade-offs within the coordinated FEW nexus system, where most operational costs are associated with local resource utilization and reliance on external electricity purchases remains minimal. These results illustrate the economic trade-offs inherent in coordinated planning, in which operational costs associated with logistics and circular economy pathways are balanced against sustainability outcomes and system-level resilience.
The results presented in this study illustrate how integrated modeling and optimization of the FEW nexus enable coordinated, joint planning across food, energy, and water systems by capturing interdependencies and synergies among food redistribution, energy systems, and waste-to-energy pathways. The proposed model supports circular economy principles and facilitates the design of self-sufficient UA networks that align with sustainability objectives set by policymakers. This is achieved through optimizing renewable energy capacities, conversion of food waste into biofuels, coordinating food exchange between farms, and establishing a micro supply chain. Food transport via EVs and collaboration among farms improved food access for consumers located in food deserts and reduced food waste. The addition of the micro supply chain to the UA network aims to support social and environmental sustainability objectives.
The findings from this study provide valuable insights for policymakers and urban planners by offering a modeling framework that supports urban decarbonization, strengthens local food systems, and improves the integration of critical infrastructure. The proposed model can be adapted to other geographic regions and serves as a decision-support tool for sustainable urban planning. In addition, the inclusion of CHP units and modeling of thermal energy demands broaden the applicability of the model to colder regions or rural areas where there are greater demands for thermal energy. At the same time, the results highlight economic trade-offs, such as biofuel generation, suggesting the potential for supplemental circular economy pathways. This could be the conversion of surplus food waste into fertilizers, which can be applied to farm crops or sold for profit. The resultant revenue could then be reinvested in other renewable technologies, such as solar or wind. To maximize the benefits of the proposed system, policymakers need to establish clear urban farming guidelines and create incentives for farmer collaboration. These efforts can enable a coordinated micro supply chain that strengthens urban food systems and improves food security, including communities that are affected by food deserts. Additionally, suitable locations for urban farming need to be identified by urban planners. The resultant infrastructure can have a positive social and environmental impact on local communities and advance the broader objectives of urban sustainability.
The results of this study contribute to the FEW nexus literature by demonstrating the value of a unified optimization framework that combines food redistribution via a micro supply chain, renewable energy generation and storage, waste-to-energy conversion, and green transportation. The proposed formulation models food, energy and water flows across multiple urban farms within a single decision-support structure. These findings suggest that planning-level FEW nexus models can effectively capture system-wide tradeoffs between operational cost, environmental impact, and resource utilization when infrastructure, logistics, and circular economy pathways are optimized. The framework also demonstrates how agent-based simulation outputs can be embedded within mathematical optimization models, capturing behavioral dynamics within urban FEW system analysis.
There are some limitations associated with the proposed approach in this paper. First, the optimization framework is intended as a planning-level decision-support tool and is formulated deterministically, relying on inputs derived from agent-based simulation output; thus, stochastic elements (e.g., uncertainty in demand, renewable energy generation, and behavioral dynamics) are not modeled. Second, the illustrative case study focuses on a specific urban agriculture network in South Florida; although the framework is generalizable, numerical results are context-dependent and should not be interpreted as universally applicable. Different geographic regions may have differing energy generation profiles, with varying levels of renewable penetration rates, thus the magnitude of potential carbon emissions avoided may differ. In addition, the integration of agent-based simulation outputs assumes that behavioral dynamics captured by the ABM remain stable over the planning horizon, particularly with respect to food supply and demand. These limitations define the scope and interpretation of the results, and the findings are intended to provide planning-level insights into system-wide trends, trade-offs, and coordination benefits achievable through integrated FEW nexus optimization.
5. Conclusions
This paper formulated a mathematical programming model to design and optimize the FEW nexus using an illustrative case study of an urban agriculture network in South Florida. The network consists of seven urban farms, each integrated within a renewable energy microgrid and connected through a micro supply chain designed to increase food availability, reduce waste and support local sustainability objectives. The model determined the optimal capacities of renewable energy technologies, biomass utilization, and balanced supply and demand across the system while minimizing costs and emissions. Results showed that the overall cost of the system was $741,581 over the modeled period, with biofuel representing the largest cost component at $504,030. The cost of operating the micro supply chain via EVs was $176,140, which contributed to reduced food waste, increased food availability by 15.2% and strengthened collaboration among farms.
This paper demonstrates the potential of mathematical programming to optimize and manage the complex interactions between food, energy, and water systems, while also evaluating policy scenarios and their impacts on system performance. The findings provide a decision-support tool for policymakers and urban planners, particularly for the development of future sustainable cities. The model is adaptable to other geographic regions and can inform the design of resilient urban agriculture networks that reduce environmental impacts, lower operational costs and improve food access. To support this, policymakers need to adopt clear urban farming regulations and implement strategic site selection to facilitate farm collaboration and strengthen the resilience of urban food systems.
Future research will focus on extending the proposed framework in several ways. First, uncertainty in food production, renewable energy generation, and demand will be incorporated through stochastic or multi-stage optimization formulations, which are widely used in energy and infrastructure planning to assess robustness and risk-performance trade-offs under uncertainty [
51]. Second, the model can be extended to a multi-period or dynamic setting to capture long-term planning decisions and infrastructure evolution [
52]. Third, alternative policy and market scenarios, such as alternative carbon pricing schemes or renewable energy incentives should be evaluated, and the framework applied to other case studies to further assess its generalizability.