ramp.User.generate_single_load_profile

User.generate_single_load_profile(prof_i: int, peak_time_range: array, day_type: int)

Generates a load profile for a single user taking all its appliances into consideration

Parameters
  • prof_i (int[0,365]) – ith profile (day) requested by the user. 0 is the first day of the year and 364 is the last day.

  • peak_time_range (np.array) – randomised peak time range calculated using calc_peak_time_range function.

  • day_type (int[0,1]) – type of the ith profile. 0 for a week day or 1 for a weekend day

Returns

load profile for the requested day

Return type

np.array