Designing district-scale energy systems with renewable energy sources is still a challenge, as it involves modeling of multiple loads and many options to combine energy system components. In the current study, two different energy system scenarios for a district in Montreal/Canada are compared to choose the most cost-effective and energy-efficient energy system scenario for the studied area. In the first scenario, a decentral energy system comprised of ground-source heat pumps provides heating and cooling for each building, while, in the second scenario, a district heating and cooling system with a central heat pump is designed. Firstly, heating and cooling demand are calculated in a completely automated process using an Automatic Urban Building Energy Modeling System approach (AUBEM). Then, the Integrated Simulation Environment Language (INSEL) is used to prepare a model for the energy system. The proposed model provides heat pump capacity and the number of required heat pumps (HP), the number of photovoltaic (PV) panels, and AC electricity generation potential using PV. After designing the energy systems, the piping system, heat losses, and temperature distribution of the centralized scenario are calculated using a MATLAB code. Finally, two scenarios are assessed economically using the Levelized Cost of Energy (LCOE) method. The results show that the central scenario’s total HP electricity consumption is 17% lower than that of the decentral systems and requires less heat pump capacity than the decentral scenario. The LCOE of both scenarios varies from 0.04 to 0.07 CAD/kWh, which is cheaper than the electricity cost in Quebec (0.08 CAD/kWh). A comparison between both scenarios shows that the centralized energy system is cost-beneficial for all buildings and, after applying the discounts, the LCOE of this scenario decreases to 0.04 CAD/kWh.
Microgrids (MGs) can be used as a solution to ensure resilience against power supply failures in electricity grids caused by extreme weather conditions, unavailability of generation capacities, and problems with transmission components. The literature is rich in research focusing on strengthening the planning of microgrids based on overall load demand. In this study, a critical load demand indicator will be calculated and used to identify optimum operation strategies of microgrids in a power failure mode. An urban microgrid with a large educational building is selected for the case study. Operation dispatch scenarios are developed to reinforce the system’s resiliency in severe conditions. A mixed-integer linear programming (MILP) approach is employed to identify global optimum dispatch solutions based on a next 48 h plan for different seasons to formulate a whole-year operational model. The results show that the loss of power supply probability (LPSP), as an indicator of resiliency, could be lowered to near zero while minimizing operational cost.