powertac/factored-customer — pull request #7 by preddy (2012-04-24 03:43:11+00:00)
Title: Internal refactoring to better handle CustomerInfo with single PowerType

Changed the association of CustomerInfo to a CapacityBundle instance instead of a FactoredCustomer instance; this allows for related bundles like in MedicalCenter to be grouped under one customer.

Also added configurable options in FactoredCustomerService to control logging. The following three properties can now be added to server-main/src/main/resources/config/server.properties or equivalent:
----
# Toggle logging of tariff allocation details (show evaluated tariffs, etc.)
factoredcustomer.factoredCustomerService.allocationDetailsLogging = true

# Toggle logging of capacity adjustment details (show base capacity and factors)
factoredcustomer.factoredCustomerService.capacityDetailsLogging = true

# Toggle logging of expected usage charges (actual if no curtailments)
factoredcustomer.factoredCustomerService.usageChargesLogging = true
----