Table 2: Local energy gains.
hour Gain (%)= (BF/FFD)*100
6 am
0
7 am
66.6
8 am
66.6
9 am
48.38
10 am
0
11 am
0
12 am 0
1 pm
0
2 pm
0
3 pm
0
4 pm 48.3
5 pm 66.6
6 pm 66.6
5 CONCLUSIONS
Driven by a desire of finding a strategy to allocate
energy within a smart home, the work done in this
paper aimed to develop a solution that would
optimize the consumption of renewable energy
produced locally onsite.
We provided two algorithms, one based on the
First Fit Decreasing and the other on the Best Fit, all
based on the principle of the bin packing. Matlab
simulations of these algorithms have demonstrated a
clear fulfilment in their way to manage the energy, by
promoting the consumption of local energy over the
main grid energy. The first gives better satisfaction in
terms of execution time, the second gives more
satisfaction in terms of energy performance
allocation.
The only questionable problem is that the
consumption data we used is based on observation of
one middle class individual house in Casablanca, over
a period of a few days. A thorough study on the
consumption of households in Morocco to work with
real data would have been an asset to our work. That
is why in the work ahead, measurements made on
several houses are planned to establish a real energy
consumption profile of a typical Moroccan house.
REFERENCES
Alamdar, S., 2013. Smart grid electricity allocation via strip
packing with slicing, EuroCG2013.
Considine, T., Cox, W. T., 2009. Smart Loads and Smart
Grids: Creating the Smart Grid Business Case, Grid-
Interpol, The road to an interoperable grid, Denver.
Duffie, J. A., Beckman, W. A., 1980. Solar Engineering of
Thermal Processes, John Wiley & Sons, New York.
El Hayek, J., 2006. Le problème de bin-packing en deux-
dimensions, le cas non-orienté : résolution approchée et
bornes inférieures, Modeling and Simulation,
Université de Technologie de Compiègne.
Guo, Y., Pan, M., Fang, Y., Khargonekar, P. P., 2012.
Coordinated Energy Scheduling for Residential
Households in the Smart Grid, IEEE Smart grid
communication.
Jaouhari, S., Jelaidi, M., Nassir El Hak, R., 2013.
Tendances de l’éfficacité énergérique au Maroc,
IEEMOR.
Kempener, R., Komor, P. and Hoke, A., 2013. Smart grids
and renewables: A guide for effective deployment,
International Renewable Energy Agency.
Laconde, T., 2015. Puissance moyenne des appareils
électriques les plus courants, Energies&
Developpement blog [blog] 8 february, available at: <
http:/ /energie-developpement.blogspot.com/2011/ 09/
consommations-classiques-des-appareils.html>
[Accessed 10 November 2015).
Lewis, N. S., Crabtree, G., 2005. Basic research needs for
solar energy utilization, Report of the basic energy
sciences workshop on solar energy utilization.
Lodi, A., 2000. Algorithms for Two-Dimensional Bin
Packing and Assignment Problems, System
engineering, University of bologna.
Mathworks, 2015. Matlab (2015a beta), [computer
program] Mathworks Inc., available at <http://matlab-
r2015a-32-bit.software.informer.com/download/>,
(Accessed 25 October 2015).
Mishra, A., Irwin, D., Shenoy, P., Kurose, J., Zhu, T., 2012.
Smartcharge: cutting the electricity bill in smart homes
with energy storage, e-Energy, Madrid.
PVSyst photovoltaic software, 2015. PVSyst (6.4.0 beta)
[computer program] PVSyst Lab., available at
<http://www.pvsyst.com/en/download/>, [Accessed 18
November 2015].
Samadi, P., Schober, R., Wong, V.W.S., 2012. Advanced
demand side management for the future smart grid
using mechanism design, IEEE Trans. On Smart grid,
Vol. 3, no. 3, pp. 1170-1180.
Scribe, T., Watson, L., Shuchi, C., 2007. Bin packing and
Euclidian TSP, Lecture on approximations algorithms
at The College of information sciences and technology,
Pennsylvania.
Wu, H., Shahidehpour, M., Al-Abdulwahab A., 2013.
Hourly Demand Response in Day-ahead Scheduling for
Managing the Variability of Renewable Energy,
Generation, Transmission & Distribution IET, Vol. 7,
no. 3, pp. 226-234.