powertac/powertac-server — Issue #468: Refactor or discard common.enumerations.CustomerType
Author: preddy
Created: 2012-01-05 20:22:37+00:00
State: open

The current values of the CustomerType enumeration are problematic. It overlaps in semantics with PowerType -- brokers should not rely on CustomerType to decide what PowerTypes a customer is capable of. CustomerType should therefore eliminate any production vs. consumption semantics. Optionally, it could still provide a residential vs. commercial vs. industrial categorization which is fairly standard for tariff categorization. However, since we don't allow restriction of the scope of tariffs by CustomerType, maybe we don't need this at all. It's also not clear whether electric vehicle is a separate category.

My vote would be to discard it, but if we keep it, I propose that it be defined simply as:
enum CustomerType { RESIDENTIAL, COMMERCIAL, INDUSTRIAL }