ramp.User.generate_single_load_profile

User.generate_single_load_profile(prof_i: int = 0, peak_time_range: Optional[array] = None, day_type: int = 0)

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

Parameters:
  • prof_i (int[0,366]) – ith profile (day) requested by the user. 0 is the first day of the year and 365 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