This paper presents a real-time integrated model of a micro-grid to simulate its electrical energy infrastructure. This infrastructure includes two PV arrays, a fuel cell, and a diesel generator that support building loads when islanded from the utility grid. The paper reviews existing models, which are usually available either as 1) low-level dynamic models, along with power electronics for specific components, e.g. PV system or fuel cell, or 2) high-level such as with conventional power systems where power electronics are ignored due to their faster dynamics. The proposed modeling strategy for sustainable power generation is emphasized for both grid-connected and islanding modes and combines slow and fast dynamics where both a micro-grid and related power electronics dynamics are simulated to show how a high-fidelity model can be used in a dynamic micro-grid environment. A synchronized regulator for islanded mode is presented. The PV arrays and fuel cell are assumed to be always available and variable irradiance conditions (e.g. nighttime) and the change of hydrogen and oxygen densities of fuel cell are shown in the paper. The diesel generator is used for black start or when the utility grid voltage or frequency drop below a threshold during which potential grid collapse could occur and the micro-grid goes into the island mode. The micro-grid model is simulated using a real-time simulator so that longer case studies and scenarios can be studied without ignoring fast dynamics. The main contribution of this paper is that both these time scales (slow and fast) are integrated in this real-time simulation platform for more realistic performance analysis. The results show the ability of the integrated micro-grid simulation to function in both grid-tied and islanded modes.