Integration of renewable generation and energy storage technologies with conventional generation supports increased resilience, lower-costs, and clean energy goals. Traditionally, energy supply needs of rural off-grid communities have been addressed with diesel-generation based mini-grids. But with increased awareness of environmental considerations and rapidly falling renewable generation costs, mini-grids are transforming into hybrid systems with a mix of renewables, energy storage, and conventional generation. Optimal design of an integrated energy system like hybrid mini-grid requires an understanding of both the economic and power quality impacts of different designs. Existing approaches to modeling distributed energy resources address the economic viability and power quality impacts via separate or loosely coupled models. Here, we extend REopta techno-economic optimization model developed at the National Renewable Energy Laboratory-to consider both within a single model. REopt formulates the design problem as a mixed-integer linear program that solves a deterministic optimization problem for a site's optimal technology mix, sizing, and operation to minimize life cycle cost. REopt has traditionally assumed a single-node system where power injection is not constrained by power quality constraints. In the work presented here, we expand the REopt platform to consider multiple connected nodes. In order to do this, we model power flow using a fixed-point linear approximation method. Resulting system sizes and voltage magnitudes are validated against the base REopt model, and solutions of established power flow models respectively. We then use the model to explore design considerations of mini-grids in Sub-Saharan Africa. Specifically, we evaluate under what combinations of line length and line capacity it is economically beneficial (or technically required based on voltage limits) to build isolated mini-grids versus an interconnected system that benefits from the economies of scale associated with a single, centralized generation system.