ramp.User.__init__

User.__init__(user_name: str = '', num_users: int = 1, user_preference: int = 0, usecase=None)

Creates a User instance (User Category)

Parameters:
  • user_name (str, optional) – name of the user type, by default “”

  • num_users (int, optional) – number of users within the resprective user-type, by default 1

  • user_preference (int {0,1,2,3}, optional) – Related to cooking behaviour, how many types of meal a user wants a day (number of user preferences has to be defined here and will be further specified with pref_index parameter), by default 0