Scheduling residential loads for financial savings and user comfort may be performed by smart home controllers (SHCs). For this purpose, the electricity utility’s tariff variation costs, the lowest tariff cost schedules, the user’s preferences, and the level of comfort that each load may add to the household user are examined. However, the user’s comfort modeling, found in the literature, does not take into account the user’s comfort perceptions, and only uses the user-defined preferences for load on-time when it is registered in the SHC. The user’s comfort perceptions are dynamic and fluctuating, while the comfort preferences are fixed. Therefore, this paper proposes the modeling of a comfort function that takes into account the user’s perceptions using fuzzy logic. The proposed function is integrated into an SHC that uses PSO for scheduling residential loads, and aims at economy and user comfort as multiple objectives. The analysis and validation of the proposed function includes different scenarios related to economy–comfort, load shifting, consideration of energy tariffs, user preferences, and user perceptions. The results show that it is more beneficial to use the proposed comfort function method only when the user requires SHC to prioritize comfort at the expense of financial savings. Otherwise, it is more beneficial to use a comfort function that only considers the user’s comfort preferences and not their perceptions.
Liquid level systems are important in many industrial and academic applications, so measurement and control systems need to be as accurate as possible for this process. However, a level system has a nonlinear dynamic which increases the difficulty of modelling and design controller by classical methods. In order to address these issues, this paper discusses the modeling of a nonlinear level plant and the implementation of strategies for PI control and fuzzy control. The control algorithms are embedded in an 8 bits microcontroller, which provides the plant sample data via serial communication. Response specifications are stipulated so that the performance of the controllers is evaluated and compared. The results show a better performance for the fuzzy controller which could avoid larges overshoots with low computation costs and none anti-windup strategies.