print(f'For input profile {name}{len(missing_indices)}{"values are"iflen(missing_indices)>1else"value is"} extrapolated to the beginning of the profile!')
profile=ElectricalDemand(year).get_profile(parameters['yearly_demand'],'h0',True)# True: with smoothing function for household profiles, False: no smoothing function for household profiles
year_profile=ElectricalDemand(year).get_profile(parameters['yearly_demand'],'h0',True)# True: with smoothing function for household profiles, False: no smoothing function for household profiles