NOVELTY - The method involves controlling a first power source to operate in a power supply mode. Power is supplied to a load in response to total power demand from the load electrically connected to a microgrid unit (100) falling below first capacity. The load is disconnected from the microgrid unit in response to the total power demand exceeding the first capacity. A second power source is controlled to operate in the power supply mode. The load is electrically connected to the microgrid unit in response to the second source producing threshold amount of power. The power is supplied to the load.    USE - Method for controlling a stand-alone mobile modular microgrid unit for managing power transfer between power sources e.g. DC output power source such as renewable energy sources e.g. carbon neutral sources, solar energy sources such as photovoltaic systems, wind energy sources e.g. electrohydrodynamic or EHD systems and turbine system, hydroelectric energy sources and fuel cell energy sources and AC power sources such as mobile fuel consuming generators (all claimed) and and utility grids, and DC loads e.g. external energy storage units such as battery banks, utilized in an electric vehicle for military applications. Can also be used for commercial purposes in off-grid power distribution applications.    ADVANTAGE - The method enables the microgrid unit to receive a range of power inputs e.g. different AC frequencies and different voltages, and provide a standardized power output i.e. conditioned true sine wave AC power output. The method enables the microgrid unit to maximize power source efficiency and load capacity by automatically managing power source operation and to minimize power provision downtime and blackouts by automatically dropping low priority loads and by prioritizing generator power over inconsistent power sources. The method enables using a microgrid unit power source prioritization scheme to maintain external energy storage units e.g. electric vehicle storage banks, at a high state of charge, which can facilitate on-fly disconnection and use of the external energy storage unit. The method enables a battery to supply auxiliary power during power source switching or during generator failure without incurring system downtime, thus providing a more consistent power supply. The method enables using a power management scheme to effectively decouple inconsistent power supply from generator power operation, thus removing negative effects of inconsistent power supply on the generator to allow the generator to operate within a high efficiency range, while leveraging inconsistent power source. The method enables a processor to select the power sources to minimize fuel cost based on hydrogen gas prices and hydrocarbon gas prices. The method enables the processor to select the power sources to maximize renewable energy source usage and minimize fuel-consuming power source usage when the renewable energy sources can supply continuous power over a threshold power level.    DETAILED DESCRIPTION - The microgrid unit is a stand-alone mobile modular microgrid unit (100). An INDEPENDENT CLAIM is also included for a stand-alone mobile microgrid unit.    DESCRIPTION OF DRAWING(S) - The drawing shows a schematic block diagram of a microgrid unit.    Stand-alone mobile modular microgrid unit (100)    Power conversion module (150)    Converter (152)    Rectifier (154)    Inverter (156)