POWER LINE COMMUNICATIONS FOR SMART HOME NETWORKS: MODELING, SIMULATION AND OPTIMIZATION