A Java simulation model for domestic electricity demands