1. A method of supplying electrical power to a plurality of sub-loads, the method comprising:obtaining a power demand, for a particular time period, of each sub-load of a plurality of sub-loads in which each of the sub-loads is supplied primary power of a primary power source, the primary power supplied to each of the sub-loads being individually metered by a third party;

obtaining an amount of available secondary power of a secondary power source that is available for the particular time period;

connecting, during the particular time period, the secondary power source instead of the primary power source to a first subset of sub-loads of the plurality of sub-loads based on an aggregate power demand of the first subset of sub-loads being less than or equal to the amount of available secondary power;

connecting, during the particular time period, the primary power source instead of the secondary power source to a particular sub-load of the plurality of sub-loads, the particular sub-load not being included in the first subset of sub-loads based on a sum of a particular demand of the particular sub-load and the aggregate power demand of the first subset of sub-loads exceeding the amount of available secondary power;

comparing the first subset of sub-loads with a second subset of sub-loads of the plurality of sub-loads based on secondary power distribution factors;

selecting the second subset of sub-loads based on the comparing;

connecting, during a second time period, the secondary power source instead of the primary power source to the second subset of sub-loads based on the selecting of the second subset of sub-loads and an aggregate power demand of the second subset of sub-loads being less than or equal to the amount of available secondary power; and

connecting, during the second time period, the primary power source instead of the secondary power source to the first subset of sub-loads based on the selecting of the second subset of sub-loads.