Skip navigation links
A B C D E F G H I L M N O P R S T U V W X 

A

AbstractCustomer - Class in org.powertac.customer
Abstract customer implementation
AbstractCustomer() - Constructor for class org.powertac.customer.AbstractCustomer
Default constructor, requires explicit setting of name
AbstractCustomer(String) - Constructor for class org.powertac.customer.AbstractCustomer
Abstract Customer constructor with explicit name.
Accounting - Interface in org.powertac.common.interfaces
Common interface for the PowerTAC accounting service.
Action - Interface in org.powertac.common
This is a simple interface intended to be implemented by anonymous classes that need to create a deferred action of some sort.
activate(Instant, int) - Method in interface org.powertac.common.interfaces.Accounting
Runs the accounting process.
activate(Instant, int) - Method in class org.powertac.common.interfaces.TimeslotPhaseProcessor
This method gets called once during each timeslot.
activate(Instant, int) - Method in class org.powertac.customer.CustomerModelService
 
add(RegulationAccumulator) - Method in class org.powertac.common.RegulationAccumulator
Adds the capacities in the given RegulationAccumulator instance to this instance.
add(Object) - Method in class org.powertac.common.repo.BootstrapDataRepo
Adds a single item to the repo.
add(List<Object>) - Method in class org.powertac.common.repo.BootstrapDataRepo
Adds a list of objects to the repo.
add(Broker) - Method in class org.powertac.common.repo.BrokerRepo
 
add(CustomerInfo) - Method in class org.powertac.common.repo.CustomerRepo
 
add(TariffSubscription) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Adds an existing subscription to the repo.
add(Timeslot) - Method in class org.powertac.common.repo.TimeslotRepo
Adds a timeslot that already exists.
add(WeatherForecast) - Method in class org.powertac.common.repo.WeatherForecastRepo
Adds a WeatherForecast to the repo
add(WeatherReport) - Method in class org.powertac.common.repo.WeatherReportRepo
Adds a WeatherReport to the repo
addAction(Instant, TimedAction) - Method in class org.powertac.common.TimeService
Adds an action to the simulation queue, to be triggered at the specified time.
addAsk(OrderbookOrder) - Method in class org.powertac.common.Orderbook
 
addBalancingOrder(BalancingOrder) - Method in class org.powertac.common.repo.TariffRepo
Adds a balancing order, indexed by its TariffSpec
addBalancingTransaction(Broker, double, double) - Method in interface org.powertac.common.interfaces.Accounting
Adds a balancing transaction to represent the cost of imbalance
addBid(OrderbookOrder) - Method in class org.powertac.common.Orderbook
 
addBroker(String) - Method in class org.powertac.common.Competition
Adds a broker to the Competition.
addCapacityTransaction(Broker, int, double, double, double) - Method in interface org.powertac.common.interfaces.Accounting
Adds a capacity transaction to represent charges for contribution to a demand peak.
addCustomer(CustomerInfo) - Method in class org.powertac.common.Competition
Adds a customer to the Competition.
addCustomerInfo(CustomerInfo) - Method in class org.powertac.customer.AbstractCustomer
Adds an additional CustomerInfo to the list
addDistributionTransaction(Broker, int, int, double, double) - Method in interface org.powertac.common.interfaces.Accounting
Adds a distribution transaction to represent charges for customer connections and energy transport.
addDownRegulation(double) - Method in class org.powertac.common.RegulationAccumulator
Adds the given amount of down-regulation capacity.
addHourlyCharge(HourlyCharge) - Method in class org.powertac.common.Rate
Adds a new HourlyCharge to a variable rate.
addHourlyCharge(HourlyCharge, boolean) - Method in class org.powertac.common.Rate
Allows initial publication of HourlyCharge instances within the notification interval.
addHourlyCharge(HourlyCharge, long) - Method in class org.powertac.common.Tariff
Adds a new HourlyCharge to its Rate.
addMarketPosition(MarketPosition, int) - Method in class org.powertac.common.Broker
Associates a MarketPosition with a given Timeslot.
addMarketPosition(MarketPosition, Timeslot) - Method in class org.powertac.common.Broker
Deprecated.
addMarketTransaction(Broker, Timeslot, double, double) - Method in interface org.powertac.common.interfaces.Accounting
Adds a market transaction that includes both a cash component and a product commitment for a specific timeslot.
addRate(RateCore) - Method in class org.powertac.common.TariffSpecification
Adds a new RateCore (Rate, RegulationRate, etc.) to this tariff.
addRegulationTransaction(Tariff, CustomerInfo, int, double, double) - Method in interface org.powertac.common.interfaces.Accounting
Adds a tariff transaction representing a curtailment or balancing action to the current-hour transaction list.
addSpecification(TariffSpecification) - Method in class org.powertac.common.repo.TariffRepo
Adds a TariffSpecification to the repo just in case another spec (or this one) has not already been added sometime in the past.
addSupersedes(long) - Method in class org.powertac.common.TariffSpecification
Indicates that this tariff supersedes the tariff specified by the specId, the id of the superseded tariff.
addTariff(Tariff) - Method in class org.powertac.common.repo.TariffRepo
 
addTariffTransaction(TariffTransaction.Type, Tariff, CustomerInfo, int, double, double) - Method in interface org.powertac.common.interfaces.Accounting
Adds a tariff transaction to the current-hour transaction list.
addUpRegulation(double) - Method in class org.powertac.common.RegulationAccumulator
Adds the given amount of up-regulation capacity.
afterPropertiesSet() - Method in class org.powertac.common.XMLMessageConverter
 
allCustomerInfos - Variable in class org.powertac.customer.AbstractCustomer
 
allWeatherForecasts() - Method in class org.powertac.common.repo.WeatherForecastRepo
Returns a list of all the issued weather forecast up to the currentTimeslot
allWeatherReports() - Method in class org.powertac.common.repo.WeatherReportRepo
Returns a list of all the issued weather reports up to the currentTimeslot
applies() - Method in class org.powertac.common.Rate
True just in case this Rate applies at this moment, ignoring the tier.
applies(AbstractInstant) - Method in class org.powertac.common.Rate
True just in case this Rate applies at the given DateTime, ignoring the tier.
applies(double) - Method in class org.powertac.common.Rate
True just in case this Rate applies at this moment, for the indicated usage tier.
applies(double, AbstractInstant) - Method in class org.powertac.common.Rate
True just in case this Rate applies at the specified time, for the indicated usage tier.
apply(T) - Method in interface org.powertac.util.Predicate
 
atTime - Variable in class org.powertac.common.HourlyCharge
 
Auctioneer - Interface in org.powertac.common.interfaces
Interface that defines the publicly accessible methods a Power TAC auctioneer has to implement.

B

BalanceReport - Class in org.powertac.common.msg
Reports total net imbalance for a given timeslot, in kWh.
BalanceReport(int, double) - Constructor for class org.powertac.common.msg.BalanceReport
Constructed as balanced.
BalancingControlEvent - Class in org.powertac.common.msg
Represents a curtailment of energy by the DU as part of its balancing process.
BalancingControlEvent(TariffSpecification, double, double, int) - Constructor for class org.powertac.common.msg.BalancingControlEvent
Creates a new BalancingControlEvent to represent a curtailment in the current timeslot.
BalancingControlEvent() - Constructor for class org.powertac.common.msg.BalancingControlEvent
 
BalancingMarket - Interface in org.powertac.common.interfaces
Interface that defines the publicly accessible methods a Power TAC balancing market has to implement.
BalancingOrder - Class in org.powertac.common.msg
Represents an offer of balancing capacity from a broker to the DU.
BalancingOrder(Broker, TariffSpecification, double, double) - Constructor for class org.powertac.common.msg.BalancingOrder
Creates a new BalancingOrder for the given tariff.
BalancingOrder() - Constructor for class org.powertac.common.msg.BalancingOrder
 
BalancingTransaction - Class in org.powertac.common
Represents the final supply/demand imbalance in the current timeslot, and the Distribution Utility's charge for this imbalance.
BalancingTransaction(Broker, int, double, double) - Constructor for class org.powertac.common.BalancingTransaction
 
BankTransaction - Class in org.powertac.common
Represents interest charges and payments for brokers.
BankTransaction(Broker, double, int) - Constructor for class org.powertac.common.BankTransaction
Constructs a new BankTransaction instance, giving it a new id.
BATTERY_STORAGE - Static variable in class org.powertac.common.enumerations.PowerType
 
bootSession(String, String, String, String, String, String) - Method in interface org.powertac.common.interfaces.CompetitionSetup
Starts a bootstrap session with parameters.
BootstrapDataCollector - Interface in org.powertac.common.interfaces
Object that collects bootstrap data for initializing brokers.
BootstrapDataRepo - Class in org.powertac.common.repo
Repository for data contained in a bootstrap record.
BootstrapDataRepo() - Constructor for class org.powertac.common.repo.BootstrapDataRepo
 
BootstrapState - Interface in org.powertac.common.interfaces
Implementers of this interface will be asked to record their state at the end of a bootstrap session, for restoration at the beginning of the corresponding sim session.
broadcastDeferredMessages() - Method in interface org.powertac.common.interfaces.BrokerProxy
Sends deferred messages
broadcastMessage(Object) - Method in interface org.powertac.common.interfaces.BrokerProxy
Send a message to all brokers
broadcastMessages(List<?>) - Method in interface org.powertac.common.interfaces.BrokerProxy
Sends a list of messages to all brokers
Broker - Class in org.powertac.common
A broker instance represents a competition participant.
Broker(String) - Constructor for class org.powertac.common.Broker
Constructor for username only.
Broker(String, boolean, boolean) - Constructor for class org.powertac.common.Broker
Constructor to specify non-standard local/wholesale flags.
broker - Variable in class org.powertac.common.BrokerTransaction
Whose transaction is this?
broker - Variable in class org.powertac.common.msg.OrderStatus
The broker originating this message
broker - Variable in class org.powertac.common.TariffMessage
The broker originating this message
BrokerAccept - Class in org.powertac.common.msg
This message is used to signify that the broker authentication is accepted.
BrokerAccept(int) - Constructor for class org.powertac.common.msg.BrokerAccept
 
BrokerAccept(int, String) - Constructor for class org.powertac.common.msg.BrokerAccept
 
BrokerAuthentication - Class in org.powertac.common.msg
This message is used for authenticating a broker with the server.
BrokerAuthentication(Broker) - Constructor for class org.powertac.common.msg.BrokerAuthentication
Creates an instance from a broker
BrokerAuthentication(String, String) - Constructor for class org.powertac.common.msg.BrokerAuthentication
Creates an instance from a username, password
BrokerConverter - Class in org.powertac.common.xml
Converts a Broker instance to its username
BrokerConverter() - Constructor for class org.powertac.common.xml.BrokerConverter
 
BrokerProxy - Interface in org.powertac.common.interfaces
BrokerProxy is responsible for handling in- and outgoing communication with brokers
BrokerRepo - Class in org.powertac.common.repo
Repository for Brokers, including competitors and other market participants.
BrokerRepo() - Constructor for class org.powertac.common.repo.BrokerRepo
 
BrokerTransaction - Class in org.powertac.common
Superclass with common attributes for a number of transaction types.
BrokerTransaction(int, Broker) - Constructor for class org.powertac.common.BrokerTransaction
 

C

canConvert(Class) - Method in class org.powertac.common.xml.BrokerConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.CustomerConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.DoubleArrayConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.FullCustomerConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.PowerTypeConverter
 
canConvert(Class) - Method in class org.powertac.common.xml.TariffSpecificationConverter
 
canUse(PowerType) - Method in class org.powertac.common.enumerations.PowerType
Returns true just in case this powerType is a supertype (can use) the tariffType.
CapacityControl - Interface in org.powertac.common.interfaces
Support for balancing market interactions between DU and customers/brokers.
CapacityProfile - Class in org.powertac.common
Represents a customer usage or production profile over time.
CapacityProfile(double[], Instant) - Constructor for class org.powertac.common.CapacityProfile
Constructor requires all attributes
CapacityTransaction - Class in org.powertac.common
Represents the fee assessed by the Distribution Utility for peak capacity events.
CapacityTransaction(Broker, int, int, double, double, double) - Constructor for class org.powertac.common.CapacityTransaction
 
car() - Method in class org.powertac.util.Pair
 
CashPosition - Class in org.powertac.common
A CashPosition domain instance represents the current state of a broker's cash account.
CashPosition(Broker, double, int) - Constructor for class org.powertac.common.CashPosition
 
cdr() - Method in class org.powertac.util.Pair
 
changeSubscription(Tariff, Tariff, CustomerInfo) - Method in class org.powertac.customer.AbstractCustomer
In this overloaded implementation of the changing subscription function, Here we just put the tariff we want to change and the whole population is moved to another random tariff.
CHP_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 
ClearedTrade - Class in org.powertac.common
A ClearedTrade instance reports public information about a specific market clearing -- clearing price and total quantity traded.
ClearedTrade(int, double, double, Instant) - Constructor for class org.powertac.common.ClearedTrade
 
ClearedTrade(Timeslot, double, double, Instant) - Constructor for class org.powertac.common.ClearedTrade
 
clearMarket() - Method in interface org.powertac.common.interfaces.Auctioneer
Clears the market by matching all Orders that have arrived since the last market clearing.
collectBootstrapData(int) - Method in interface org.powertac.common.interfaces.BootstrapDataCollector
Returns a list of bootstrap messages that can be bundled up and sent to brokers at the beginning of a game.
compareTo(HourlyCharge) - Method in class org.powertac.common.HourlyCharge
 
compareTo(Object) - Method in class org.powertac.common.OrderbookOrder
 
Competition - Class in org.powertac.common
A competition instance represents a single PowerTAC competition and at the same time serves as the place for all competition properties that can be adjusted during competition setup (i.e.
CompetitionControl - Interface in org.powertac.common.interfaces
This is the core of the Power TAC simulation framework, responsible for starting, running, and completing a competition.
CompetitionSetup - Interface in org.powertac.common.interfaces
Handles the pre-game competition setup process.
computeInconvenience(Tariff) - Method in class org.powertac.common.TariffEvaluator
Computes composite per-tariff inconvenience of a tariff.
ConfigurableInstance - Annotation Type in org.powertac.common.config
Marker interface for types that can have multiple instances created by configuration.
ConfigurableValue - Annotation Type in org.powertac.common.config
Annotation for configuring a property of some instance.
ConfigurationLister - Class in org.powertac.common.config
This is a helper class for generating a sample configuration file from configured instances.
ConfigurationLister() - Constructor for class org.powertac.common.config.ConfigurationLister
 
ConfigurationRecorder - Interface in org.powertac.common.config
Interface for recording configuration information.
Configurator - Class in org.powertac.common.config
Fills in configured values from configuration source based on annotations in the source code.
Configurator() - Constructor for class org.powertac.common.config.Configurator
 
configureInstances(Class<?>) - Method in class org.powertac.common.config.Configurator
Creates and configures instances of the given class.
configureInstances(Class<?>) - Method in interface org.powertac.common.interfaces.ServerConfiguration
Creates and configures potentially multiple instances of a target class annotated as ConfigurableInstance.
configureMe(Object) - Method in interface org.powertac.common.interfaces.ServerConfiguration
Configures a target object by matching configuration clauses with ConfigurableValue annotations on the target object.
configureNamedInstances(List<?>) - Method in class org.powertac.common.config.Configurator
Configures a set of instances of some class.
configureNamedInstances(List<?>) - Method in interface org.powertac.common.interfaces.ServerConfiguration
Configures a set of named instances that have already been created.
configureSingleton(Object) - Method in class org.powertac.common.config.Configurator
Configures the given thing, using the pre-loaded Configuration.
CONSUMPTION - Static variable in class org.powertac.common.enumerations.PowerType
 
ContextService - Interface in org.powertac.common.interfaces
Services that implement this interface can serve as a conduit allowing model elements to access Spring services by name.
ControlEvent - Class in org.powertac.common.msg
Message sent by a broker to the subscribers to a particular tariff, requesting them to curtail usage against that tariff in the specified timeslot.
ControlEvent() - Constructor for class org.powertac.common.msg.ControlEvent
 
count() - Method in class org.powertac.common.repo.CustomerRepo
Deprecated.
count() - Method in class org.powertac.common.repo.TimeslotRepo
Returns the number of timeslots that have been successfully created.
count() - Method in class org.powertac.common.repo.WeatherForecastRepo
Returns the number of WeatherForecasts that have been successfully created.
count() - Method in class org.powertac.common.repo.WeatherReportRepo
Returns the number of weatherReports that have been successfully added.
createCustomerInfo(String, int) - Method in class org.powertac.common.repo.CustomerRepo
 
createId() - Static method in class org.powertac.common.IdGenerator
Generates a numeric ID as xA+B.
createInitialTimeslots() - Method in class org.powertac.common.repo.TimeslotRepo
Creates timeslots to fill in the time from sim start to the current time.
currentCompetition() - Static method in class org.powertac.common.Competition
Returns the current Competition instance.
currentSerialNumber() - Method in class org.powertac.common.repo.TimeslotRepo
Returns the serial number of the current timeslot
currentTimeslot() - Method in class org.powertac.common.repo.TimeslotRepo
Returns the timeslot for the current time.
currentWeatherForecast() - Method in class org.powertac.common.repo.WeatherForecastRepo
Returns the current WeatherForecast
currentWeatherReport() - Method in class org.powertac.common.repo.WeatherReportRepo
Returns the current weatherReport
CustomerBootstrapData - Class in org.powertac.common.msg
This message encapsulates net power usage by timeslot for a customer instance over the bootstrap period.
CustomerBootstrapData(CustomerInfo, PowerType, double[]) - Constructor for class org.powertac.common.msg.CustomerBootstrapData
 
CustomerConverter - Class in org.powertac.common.xml
 
CustomerConverter() - Constructor for class org.powertac.common.xml.CustomerConverter
 
CustomerInfo - Class in org.powertac.common
A CustomerInfo instance represents a customer model (i.e.
CustomerInfo(String, int) - Constructor for class org.powertac.common.CustomerInfo
Creates a new CustomerInfo, with default power type set to CONSUMPTION.
CustomerInfo.CustomerClass - Enum in org.powertac.common
 
customerInfos - Variable in class org.powertac.customer.AbstractCustomer
 
CustomerModelAccessor - Interface in org.powertac.common.interfaces
Defines an interface for access to customer model details that support tariff evaluation.
CustomerModelService - Class in org.powertac.customer
Manages a set of customer models.
CustomerModelService() - Constructor for class org.powertac.customer.CustomerModelService
 
CustomerRepo - Class in org.powertac.common.repo
Simple repository for Customer instances.
CustomerRepo() - Constructor for class org.powertac.common.repo.CustomerRepo
 
CustomerServiceAccessor - Interface in org.powertac.common.interfaces
Accessors to allow customer models (which are not Spring beans) to interface with sim services that are Spring beans

D

DAY - Static variable in class org.powertac.common.TimeService
 
dayOfWeek() - Method in class org.powertac.common.Timeslot
Returns the day of week for the start of this timeslot, starting at Monday = 1.
deferredUnsubscribe(int) - Method in class org.powertac.common.TariffSubscription
Handles the actual unsubscribe operation.
deleteTariff(Tariff) - Method in class org.powertac.common.repo.TariffRepo
Deletes a tariff and its specification from the repo, without tracking.
dispatch(Object, String, Object...) - Static method in class org.powertac.util.MessageDispatcher
Dispatches a call to methodName inside target based on the type of message.
DistributionReport - Class in org.powertac.common.msg
Reports total consumption and total production in kwh across all customers in a given timeslot.
DistributionReport() - Constructor for class org.powertac.common.msg.DistributionReport
Dummy constructor.
DistributionReport(int, double, double) - Constructor for class org.powertac.common.msg.DistributionReport
 
DistributionTransaction - Class in org.powertac.common
Represents the fee assessed by the Distribution Utility for transport of energy over its facilities during the current timeslot.
DistributionTransaction(Broker, int, double, double) - Constructor for class org.powertac.common.DistributionTransaction
 
DistributionTransaction(Broker, int, int, int, double, double) - Constructor for class org.powertac.common.DistributionTransaction
 
DomainRepo - Interface in org.powertac.common.repo
DomainRepo types need to be recycled at pre-game time.
DoubleArrayConverter - Class in org.powertac.common.xml
 
DoubleArrayConverter() - Constructor for class org.powertac.common.xml.DoubleArrayConverter
 

E

EconomicControlEvent - Class in org.powertac.common.msg
Message sent by a broker to the subscribers to a particular tariff, requesting them to adjust usage against that tariff in the specified timeslot.
EconomicControlEvent(TariffSpecification, double, int) - Constructor for class org.powertac.common.msg.EconomicControlEvent
Creates a new EconomicControlEvent to take effect in the following timeslot.
EconomicControlEvent() - Constructor for class org.powertac.common.msg.EconomicControlEvent
 
ELECTRIC_VEHICLE - Static variable in class org.powertac.common.enumerations.PowerType
 
enabledTimeslots() - Method in class org.powertac.common.repo.TimeslotRepo
Returns the list of enabled timeslots, starting with the first by serial number.
ensureRegulationCapacity() - Method in class org.powertac.common.TariffSubscription
Ensures that regulationAccumulator is non-null - needed for non-regulatable customer models
equals(Object) - Method in class org.powertac.util.Pair
 
estimateCost(Tariff, double[], Instant, boolean) - Method in class org.powertac.common.TariffEvaluationHelper
Estimate the total cost of buying the given amounts of power from the given tariff, starting in the timeslot identified by startIndex.
estimateCost(Tariff, double[], boolean) - Method in class org.powertac.common.TariffEvaluationHelper
Estimate cost for a profile starting in the next timeslot
estimateCost(Tariff, double[], Instant) - Method in class org.powertac.common.TariffEvaluationHelper
Returns aggregate estimated cost, including periodic charges
estimateCost(Tariff, double[]) - Method in class org.powertac.common.TariffEvaluationHelper
Returns aggregate estimated cost, including periodic charges, starting in the next timeslot.
estimateCostArray(Tariff, double[], boolean) - Method in class org.powertac.common.TariffEvaluationHelper
Returns the cost estimate in the form of an array of the same shape as the usage vector.
estimateCostArray(Tariff, double[]) - Method in class org.powertac.common.TariffEvaluationHelper
Returns a cost estimate in array form, including periodic charges.
evaluateTariffs() - Method in class org.powertac.common.TariffEvaluator
Evaluates tariffs and updates subscriptions for a single customer model with a single power type.
evaluateTariffs(List<Tariff>) - Method in class org.powertac.customer.AbstractCustomer
Called to evaluate tariffs.
exerciseBalancingControl(BalancingOrder, double, double) - Method in interface org.powertac.common.interfaces.CapacityControl
Creates BalancingControlEvent, posts it on correct TariffSubscription instances.
extractPrefix(long) - Static method in class org.powertac.common.IdGenerator
Returns the id prefix for the given id.

F

filter(Collection<T>, Predicate<T>) - Static method in class org.powertac.util.ListTools
Filters a Collection using a Predicate, returning a List.
findActiveSubscriptionsForBroker(Broker) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the list of active subscriptions for a given broker.
findActiveSubscriptionsForCustomer(CustomerInfo) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the list of active subscriptions for a given customer.
findActiveTariffs(PowerType) - Method in class org.powertac.common.repo.TariffRepo
Returns the list of active tariffs that exactly match the given PowerType.
findAllActiveTariffs(PowerType) - Method in class org.powertac.common.repo.TariffRepo
Returns the list of active tariffs that can be used by a customer of the given PowerType, including those that are more generic than the specific type.
findAllByTimeslot(Timeslot) - Method in class org.powertac.common.repo.OrderbookRepo
 
findAllTariffs() - Method in class org.powertac.common.repo.TariffRepo
 
findAllTariffSpecifications() - Method in class org.powertac.common.repo.TariffRepo
 
findById(long) - Method in class org.powertac.common.repo.BrokerRepo
 
findById(long) - Method in class org.powertac.common.repo.CustomerRepo
 
findByInstant(Instant) - Method in class org.powertac.common.repo.TimeslotRepo
Returns the timeslot (if any) corresponding to a particular Instant.
findByName(String) - Method in class org.powertac.common.repo.CustomerRepo
 
findByNameAndPowerType(String, PowerType) - Method in class org.powertac.common.repo.CustomerRepo
 
findBySerialNumber(int) - Method in class org.powertac.common.repo.TimeslotRepo
Returns the timeslot with the given serial number.
findByTimeslot(Timeslot) - Method in class org.powertac.common.repo.OrderbookRepo
Returns the most recent Orderbook that has been created for the specified timeslot.
findByUsername(String) - Method in class org.powertac.common.repo.BrokerRepo
 
findDisabledBrokers() - Method in class org.powertac.common.repo.BrokerRepo
 
findFirst(Collection<T>, Predicate<T>) - Static method in class org.powertac.util.ListTools
Returns the first element of a Collection that satisfies a Predicate.
findMarketPositionByTimeslot(int) - Method in class org.powertac.common.Broker
Returns the MarketPosition associated with the given Timeslot.
findMarketPositionByTimeslot(Timeslot) - Method in class org.powertac.common.Broker
Deprecated.
findOrCreateBySerialNumber(int) - Method in class org.powertac.common.repo.TimeslotRepo
Returns the timeslot with the given serial number.
findOrCreateByUsername(String) - Method in class org.powertac.common.repo.BrokerRepo
 
findRateById(long) - Method in class org.powertac.common.repo.TariffRepo
 
findRecentActiveTariffs(int, PowerType) - Method in class org.powertac.common.repo.TariffRepo
Returns the n most "recent" active tariffs from each broker that can be used by a customer with the given powerType.
findRetailBrokerNames() - Method in class org.powertac.common.repo.BrokerRepo
 
findRetailBrokers() - Method in class org.powertac.common.repo.BrokerRepo
 
findSpecificationById(long) - Method in class org.powertac.common.repo.TariffRepo
 
findSpotByTimeslot(Timeslot) - Method in class org.powertac.common.repo.OrderbookRepo
Returns the most recent orderbook with a non-null clearing price.
findSubscriptionForTariffAndCustomer(Tariff, CustomerInfo) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the subscription, if any, for the specified tariff and customer.
findSubscriptionsForBroker(Broker) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the list of subscriptions for the specified broker.
findSubscriptionsForCustomer(CustomerInfo) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the list of subscriptions for a given customer.
findSubscriptionsForTariff(Tariff) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the list of subscriptions for a given tariff.
findTariffById(long) - Method in class org.powertac.common.repo.TariffRepo
 
findTariffsByBroker(Broker) - Method in class org.powertac.common.repo.TariffRepo
 
findTariffsByState(Tariff.State) - Method in class org.powertac.common.repo.TariffRepo
 
findTariffSpecificationsByBroker(Broker) - Method in class org.powertac.common.repo.TariffRepo
 
findTariffSpecificationsByPowerType(PowerType) - Method in class org.powertac.common.repo.TariffRepo
 
findWholesaleBrokers() - Method in class org.powertac.common.repo.BrokerRepo
 
forwardMessage(Object) - Method in interface org.powertac.common.interfaces.VisualizerProxy
Forwards message to registered listeners
FOSSIL_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 
fromString(String) - Method in class org.powertac.common.xml.BrokerConverter
 
fromString(String) - Method in class org.powertac.common.xml.CustomerConverter
 
fromString(String) - Method in class org.powertac.common.xml.DoubleArrayConverter
 
fromString(String) - Method in class org.powertac.common.xml.PowerTypeConverter
 
fromString(String) - Method in class org.powertac.common.xml.TariffSpecificationConverter
 
fromXML(String) - Method in class org.powertac.common.XMLMessageConverter
 
FullCustomerConverter - Class in org.powertac.common.xml
 
FullCustomerConverter() - Constructor for class org.powertac.common.xml.FullCustomerConverter
 

G

gatherBootstrapList(List<Object>, ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
Pulls "bootstrapState" ConfigurationValues out of objects in the given list, adds them to config with their names.
gatherBootstrapState(Object, ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
Pulls the "bootstrapState" ConfigurableValues out of object thing, adds them to config.
gatherPublishedConfiguration(Object, ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
Pulls the "published" ConfigurableValues out of object thing, adds them to config.
generateWeatherData(Timeslot, List<Timeslot>) - Method in interface org.powertac.common.interfaces.PhysicalEnvironment
Generates and returns weather forecasts for every enabled timeslot The physical environment module is responsible for computing weather forecasts for each entry in targetTimeslots from the perspective of the currentTimeslot.
getActiveTariffList(PowerType) - Method in interface org.powertac.common.interfaces.TariffMarket
Returns the list of currently active tariffs for the given PowerType.
getAmount() - Method in class org.powertac.common.BankTransaction
 
getAsks() - Method in class org.powertac.common.Orderbook
The set of asks (negative energy quantities) that were submitted and did not clear, ascending sort.
getAtTime() - Method in class org.powertac.common.HourlyCharge
 
getBalance() - Method in class org.powertac.common.CashPosition
Returns the balance in the account at the time this CashPosition was generated.
getBalancingCost() - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the per-timeslot charge for running the balancing market
getBalancingOrders() - Method in class org.powertac.common.repo.TariffRepo
Retrieves the complete set of balancing orders
getBase() - Method in class org.powertac.common.TimeService
 
getBaseInstant() - Method in class org.powertac.common.TimeService
 
getBean(String) - Method in interface org.powertac.common.interfaces.ContextService
Retrieves a Spring component instance by name
getBean(String) - Static method in class org.powertac.common.spring.SpringApplicationContext
Returns the Spring bean, if any, with the given name.
getBeanByType(Class<T>) - Static method in class org.powertac.common.spring.SpringApplicationContext
Returns the first Spring bean found that is an instance of the given class.
getBids() - Method in class org.powertac.common.Orderbook
The set of bids (positive energy quantities) that were submitted and did not clear, ascending sort.
getBootState() - Method in class org.powertac.common.repo.BootstrapDataRepo
Returns the Properties recorded in the boot record, including various values representing the state of the sim at the end of the boot session.
getBootstrapCompetition() - Method in class org.powertac.common.repo.BootstrapDataRepo
Returns the Competition instances from the boot record
getBootstrapDiscardedTimeslots() - Method in class org.powertac.common.Competition
Length of bootstrap interval in msec.
getBootstrapTimeslotCount() - Method in class org.powertac.common.Competition
Number of timeslots in the bootstrap data report for a normal sim.
getBroker() - Method in class org.powertac.common.BrokerTransaction
The Broker to whom this Transaction applies.
getBroker() - Method in class org.powertac.common.MarketPosition
 
getBroker() - Method in class org.powertac.common.msg.OrderStatus
 
getBroker() - Method in class org.powertac.common.msg.PauseRelease
 
getBroker() - Method in class org.powertac.common.msg.PauseRequest
 
getBroker() - Method in class org.powertac.common.Order
 
getBroker() - Method in class org.powertac.common.Tariff
 
getBroker() - Method in class org.powertac.common.TariffMessage
 
getBroker() - Method in class org.powertac.common.TariffSpecification
 
getBrokers() - Method in class org.powertac.common.Competition
The Brokers who are participating in this Competion.
getBrokerSwitchFactor(boolean) - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns the inconvenience of switching brokers.
getBrokerTime() - Method in class org.powertac.common.msg.BrokerAuthentication
Returns the system time set by the broker.
getCapacityProfile(Tariff) - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns a capacity profile for the given tariff.
getCashBalance() - Method in class org.powertac.common.Broker
Returns broker's cash balance.
getCharge() - Method in class org.powertac.common.BalancingTransaction
Returns the total charge imposed by the DU for this imbalance -- positive for credit to broker, negative for debit from broker
getCharge() - Method in class org.powertac.common.CapacityTransaction
The total charge imposed by the DU for this assessment.
getCharge() - Method in class org.powertac.common.DistributionTransaction
Returns the total fee assessed for transport and customer connections.
getCharge() - Method in class org.powertac.common.TariffTransaction
Returns the debit (negative) or credit (positive) to the broker's money account represented by this transaction.
getClearingPrice() - Method in class org.powertac.common.Orderbook
Returns the positive price at which the market cleared.
getClockParameters() - Method in class org.powertac.common.Competition
Returns the clock parameters for the start of a normal sim session as a simple Map, to simplify code that must mediate between Competition and TimeService instances.
getCloudCover() - Method in class org.powertac.common.WeatherForecastPrediction
 
getCloudCover() - Method in class org.powertac.common.WeatherReport
 
getContext() - Static method in class org.powertac.common.spring.SpringApplicationContext
 
getControllableKW() - Method in class org.powertac.common.CustomerInfo
Returns total controllable capacity in kW per member.
getControllableKWh() - Method in class org.powertac.common.CustomerInfo
Deprecated.
getCurrentDateTime() - Method in class org.powertac.common.TimeService
 
getCurrentMarketPosition(Broker) - Method in interface org.powertac.common.interfaces.Accounting
Returns the market position for the current timeslot for a given broker.
getCurrentNetLoad(Broker) - Method in interface org.powertac.common.interfaces.Accounting
Returns the current net load represented by unprocessed TariffTransactions for a specific Broker.
getCurrentSubscriptions() - Method in class org.powertac.customer.AbstractCustomer
Returns the current tariff subscriptions for the first CustomerInfo.
getCurrentSubscriptions(PowerType) - Method in class org.powertac.customer.AbstractCustomer
Returns the current tariff subscriptions for the first CustomerInfo with the given PowerType.
getCurrentSupplyDemandByBroker() - Method in interface org.powertac.common.interfaces.Accounting
Returns a mapping of brokers to total supply and demand among subscribed customers.
getCurrentTime() - Method in class org.powertac.common.TimeService
Returns the current time as an Instant
getCurrentTimeslot() - Method in class org.powertac.common.WeatherForecast
Deprecated.
getCurrentTimeslot() - Method in class org.powertac.common.WeatherReport
Deprecated.
getCurtailment() - Method in class org.powertac.common.TariffSubscription
Deprecated.
Use getRegulation() instead, but remember that it returns a per-member value, while this method returns an aggregate value.
getCurtailmentRatio() - Method in class org.powertac.common.msg.EconomicControlEvent
 
getCustId() - Method in class org.powertac.customer.AbstractCustomer
 
getCustomer() - Method in class org.powertac.common.TariffSubscription
 
getCustomerClass() - Method in class org.powertac.common.CustomerInfo
Returns the customer class of this customer.
getCustomerCount() - Method in class org.powertac.common.TariffTransaction
Number of individual customers within the customer model represented by this transaction.
getCustomerInfo() - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns the CustomerInfo instance for this customer model.
getCustomerInfo() - Method in class org.powertac.common.TariffTransaction
 
getCustomerInfo(PowerType) - Method in class org.powertac.customer.AbstractCustomer
Returns the first CustomerInfo associated with this instance and PowerType.
getCustomerInfoList(PowerType) - Method in class org.powertac.customer.AbstractCustomer
Returns the list of CustomerInfos associated with this instance and PowerType.
getCustomerInfos() - Method in class org.powertac.customer.AbstractCustomer
Returns the list of CustomerInfo records associated with this customer model.
getCustomerName() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getCustomerRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a CustomerRepo
getCustomerRepo() - Method in class org.powertac.customer.CustomerModelService
 
getCustomers() - Method in class org.powertac.common.Competition
The list of customers (or more precisely, customer models) in the simulation environment.
getCustomersCommitted() - Method in class org.powertac.common.TariffSubscription
 
getDailyBegin() - Method in class org.powertac.common.Rate
 
getDailyEnd() - Method in class org.powertac.common.Rate
 
getData() - Method in class org.powertac.common.repo.BootstrapDataRepo
Returns the entire list of objects
getData(Class<?>) - Method in class org.powertac.common.repo.BootstrapDataRepo
Returns the list of items of a particular class
getDateExecuted() - Method in class org.powertac.common.ClearedTrade
 
getDateExecuted() - Method in class org.powertac.common.Orderbook
The date when the market cleared.
getDateTimeForIndex(int) - Method in class org.powertac.common.repo.TimeslotRepo
Converts int timeslot index to DateTime in UTC timezone
getDeactivateTimeslotsAhead() - Method in class org.powertac.common.Competition
Number of timeslots, starting with the current timeslot, that are closed for trading.
getDefaultSpotPrice() - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the value used for spot price per MWh if unavailable from wholesale market.
getDefaultTariff(PowerType) - Method in interface org.powertac.common.interfaces.TariffMarket
Returns the default tariff.
getDefaultTariff(PowerType) - Method in class org.powertac.common.repo.TariffRepo
 
getDescription() - Method in class org.powertac.common.Competition
Uninterpreted text that further describes the competition.
getDoubleProperty(String, Double) - Method in interface org.powertac.common.interfaces.ServerProperties
Returns the value of the named property as a Double, or defaultValue if no such property is found.
getDownRegulationCapacity() - Method in class org.powertac.common.RegulationAccumulator
Returns the available down-regulation capacity in kWh.
getDownRegulationCapacity() - Method in class org.powertac.common.RegulationCapacity
Returns the available down-regulation capacity in kWh.
getDownRegulationKW() - Method in class org.powertac.common.CustomerInfo
Returns the maximum down-regulation rate in kW per member.
getDownRegulationPayment() - Method in class org.powertac.common.RegulationRate
 
getEarlyWithdrawPayment() - Method in class org.powertac.common.Tariff
Payment from customer to broker for canceling subscription before minDuration has elapsed.
getEarlyWithdrawPayment() - Method in class org.powertac.common.TariffSpecification
 
getEndInstant() - Method in class org.powertac.common.Timeslot
 
getExecutionMWh() - Method in class org.powertac.common.ClearedTrade
 
getExecutionPrice() - Method in class org.powertac.common.ClearedTrade
 
getExerciseRatio() - Method in class org.powertac.common.msg.BalancingOrder
 
getExpectedCurtailment() - Method in class org.powertac.common.TariffEvaluationHelper
Returns the expected-curtailment-per-timeslot quantity
getExpectedDischarge() - Method in class org.powertac.common.TariffEvaluationHelper
Returns the expected-discharge-per-timeslot quantity
getExpectedDownRegulation() - Method in class org.powertac.common.TariffEvaluationHelper
Returns the expected-down-regulation-per-timeslot quantity
getExpectedMean() - Method in class org.powertac.common.Rate
 
getExpectedTimeslotCount() - Method in class org.powertac.common.Competition
Expected value of timeslot count for a normal sim session.
getExpiration() - Method in class org.powertac.common.Tariff
 
getExpiration() - Method in class org.powertac.common.TariffSpecification
 
getExpiredCustomerCount() - Method in class org.powertac.common.TariffSubscription
Returns the number of individual customers who may withdraw from this subscription without penalty.
getFirstEnabled() - Method in class org.powertac.common.msg.TimeslotUpdate
Returns the serial number of the first enabled timeslot.
getForecastTime() - Method in class org.powertac.common.WeatherForecastPrediction
 
getGenericType() - Method in class org.powertac.common.enumerations.PowerType
Returns the least-specific capacity type for a given PowerType.
getHourlyCharge() - Method in class org.powertac.common.msg.VariableRateUpdate
 
getHourlyChargeId() - Method in class org.powertac.common.msg.VariableRateUpdate
 
getHourOfDay() - Method in class org.powertac.common.TimeService
Returns the current hour-of-day
getId() - Method in class org.powertac.common.Broker
Returns the unique ID for this broker
getId() - Method in class org.powertac.common.BrokerTransaction
 
getId() - Method in class org.powertac.common.ClearedTrade
 
getId() - Method in class org.powertac.common.Competition
 
getId() - Method in class org.powertac.common.CustomerInfo
 
getId() - Method in class org.powertac.common.HourlyCharge
 
getId() - Method in class org.powertac.common.MarketPosition
 
getId() - Method in class org.powertac.common.msg.BalanceReport
Returns the id of this instance
getId() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getId() - Method in class org.powertac.common.msg.DistributionReport
 
getId() - Method in class org.powertac.common.msg.MarketBootstrapData
 
getId() - Method in class org.powertac.common.msg.OrderStatus
 
getId() - Method in class org.powertac.common.msg.TimeslotUpdate
 
getId() - Method in class org.powertac.common.Order
 
getId() - Method in class org.powertac.common.Orderbook
 
getId() - Method in class org.powertac.common.OrderbookOrder
 
getId() - Method in class org.powertac.common.RandomSeed
 
getId() - Method in class org.powertac.common.RateCore
Returns the id of this Rate
getId() - Method in class org.powertac.common.RegulationAccumulator
 
getId() - Method in class org.powertac.common.RegulationCapacity
 
getId() - Method in class org.powertac.common.Tariff
make id a synonym for specId
getId() - Method in class org.powertac.common.TariffMessage
 
getId() - Method in class org.powertac.common.TariffSpecification
 
getId() - Method in class org.powertac.common.TariffSubscription
 
getId() - Method in class org.powertac.common.Timeslot
 
getId() - Method in class org.powertac.common.WeatherForecast
 
getId() - Method in class org.powertac.common.WeatherForecastPrediction
 
getId() - Method in class org.powertac.common.WeatherReport
 
getId() - Method in class org.powertac.customer.AbstractCustomer
Synonym for getCustId()
getIdPrefix() - Method in class org.powertac.common.Broker
Returns the ID prefix for this broker.
getInertiaSample() - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns a [0,1] random value used to choose whether individual customers evaluate tariffs or not.
getInstance() - Static method in class org.powertac.common.repo.BrokerRepo
 
getInstance() - Static method in class org.powertac.common.TimeService
Returns the most-recently created instance of TimeService.
getIntegerProperty(String, Integer) - Method in interface org.powertac.common.interfaces.ServerProperties
Returns the value of the named property as an Integer, or defaultValue if no such property is found.
getInterruptibilityFactor() - Method in class org.powertac.common.TariffEvaluator
Returns inconvenience of interruptibility.
getIsSupersededBy() - Method in class org.powertac.common.Tariff
 
getKey() - Method in class org.powertac.common.Broker
Returns the jms ID for this broker.
getKey() - Method in class org.powertac.common.msg.BrokerAccept
Returns the jms key used to validate broker communications.
getKWh() - Method in class org.powertac.common.BalancingTransaction
Returns the total size of the imbalance in kWH, positive for surplus and negative for deficit
getKWh() - Method in class org.powertac.common.CapacityTransaction
The amount by which this broker's total net consumption exceeded the threshold, in kWh.
getKWh() - Method in class org.powertac.common.DistributionTransaction
Returns the transported energy quantity represented by this transaction.
getKwh() - Method in class org.powertac.common.msg.BalancingControlEvent
 
getKWh() - Method in class org.powertac.common.TariffTransaction
Returns the debit (negative) or credit (positive) to the broker's energy account in the current timeslot represented by this transaction.
getLastEnabled() - Method in class org.powertac.common.msg.TimeslotUpdate
Returns the serial number of the first enabled timeslot.
getLatitude() - Method in class org.powertac.common.Competition
Returns approximate latitude in degrees for sim locale.
getLimitPrice() - Method in class org.powertac.common.Order
Setter for logtool access; do not use otherwise
getLimitPrice() - Method in class org.powertac.common.OrderbookOrder
Returns the limit price for this unsatisfied order.
getMarketBalance(Broker) - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the market balance for a given broker.
getMarketPrice() - Method in class org.powertac.common.msg.MarketBootstrapData
 
getMaxAskPrices() - Method in class org.powertac.common.repo.OrderbookRepo
Returns maxAskPrices array, representing the maximum ask prices for the most recent clearing of the wholesale market.
getMaxCurtailment() - Method in class org.powertac.common.Rate
Returns the maximum proportion of offered load or supply that can be curtailed in a given timeslot.
getMaxUpRegulation(double, double) - Method in class org.powertac.common.Tariff
Returns the maximum interruptible quantity in kwh for this tariff in the current timeslot, for the specified proposed and cumulative usage.
getMaxValue() - Method in class org.powertac.common.Rate
 
getMessage() - Method in class org.powertac.common.msg.TariffStatus
 
getMinAskPrices() - Method in class org.powertac.common.repo.OrderbookRepo
Returns the minAskPrices array, representing the minimum ask prices for the most recent clearing of the wholesale market.
getMinDuration() - Method in class org.powertac.common.Tariff
Delegation for TariffSpecification.minDuration
getMinDuration() - Method in class org.powertac.common.TariffSpecification
 
getMinimumOrderQuantity() - Method in class org.powertac.common.Competition
Minimum order quantity in MWh.
getMinimumTimeslotCount() - Method in class org.powertac.common.Competition
Minimum number of timeslots for this competition.
getMinValue() - Method in class org.powertac.common.Rate
 
getModulo() - Method in class org.powertac.common.TimeService
 
getMultiplier() - Static method in class org.powertac.common.IdGenerator
Returns the multiplier for an id, needed to validate id values
getMWh() - Method in class org.powertac.common.MarketTransaction
 
getMwh() - Method in class org.powertac.common.msg.MarketBootstrapData
 
getMWh() - Method in class org.powertac.common.Order
 
getMWh() - Method in class org.powertac.common.OrderbookOrder
Returns the quantity of energy unsatisfied for an order.
getName() - Method in class org.powertac.common.Competition
Returns the competition name
getName() - Method in class org.powertac.common.CustomerInfo
Display name for this CustomerInfo instance.
getName() - Method in class org.powertac.customer.AbstractCustomer
Returns the name of this model
getNetImbalance() - Method in class org.powertac.common.msg.BalanceReport
 
getNetUsage() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getNewExpiration() - Method in class org.powertac.common.msg.TariffExpire
 
getNext(Timeslot) - Method in class org.powertac.common.repo.TimeslotRepo
Returns the following timeslot.
getNLarge() - Method in class org.powertac.common.DistributionTransaction
Returns the number of large customer subscriptions for which meter fees are assessed.
getNormWtExpected() - Method in class org.powertac.common.TariffEvaluationHelper
 
getNormWtMax() - Method in class org.powertac.common.TariffEvaluationHelper
 
getNoticeInterval() - Method in class org.powertac.common.Rate
 
getNSmall() - Method in class org.powertac.common.DistributionTransaction
Returns the number of small customer subscriptions for which meter fees are assessed.
getOfferDate() - Method in class org.powertac.common.Tariff
 
getOffset() - Method in class org.powertac.common.TimeService
Computes and returns the offset in msec between the current system time and the current clock time.
getOrderId() - Method in class org.powertac.common.msg.OrderStatus
 
getOverallBalance() - Method in class org.powertac.common.MarketPosition
 
getPassword() - Method in class org.powertac.common.Broker
 
getPassword() - Method in class org.powertac.common.msg.BrokerAuthentication
 
getPayload() - Method in class org.powertac.common.msg.VariableRateUpdate
conventional getter to satisfy beanutils
getPayment() - Method in class org.powertac.common.msg.BalancingControlEvent
 
getPeakTimeslot() - Method in class org.powertac.common.CapacityTransaction
When this peak occurred.
getPendingTariffTransactions() - Method in interface org.powertac.common.interfaces.Accounting
Returns the list of pending tariff transactions for the current timeslot.
getPeriodicPayment() - Method in class org.powertac.common.Tariff
Flat payment per period for two-part tariffs, typically negative.
getPeriodicPayment() - Method in class org.powertac.common.TariffSpecification
 
getPMinusPrime() - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the slope of cost curve for down-regulation.
getPomId() - Method in class org.powertac.common.Competition
Returns the pom version id from the server on which this Competition was created.
getPopulation() - Method in class org.powertac.common.CustomerInfo
Returns the population of the model represented by this CustomerInfo.
getPopulation(CustomerInfo) - Method in class org.powertac.customer.AbstractCustomer
 
getPostedTime() - Method in class org.powertac.common.BrokerTransaction
When this Transaction was posted.
getPostedTime() - Method in class org.powertac.common.msg.TimeslotUpdate
 
getPostedTimeslot() - Method in class org.powertac.common.BrokerTransaction
Timeslot when transaction was posted
getPostedTimeslotIndex() - Method in class org.powertac.common.BrokerTransaction
Timeslot index when transaction was posted.
getPowerType() - Method in class org.powertac.common.CustomerInfo
Returns the type of power consumption and/or production available in this customer model.
getPowerType() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getPowerType() - Method in class org.powertac.common.Tariff
Type of power covered by this tariff
getPowerType() - Method in class org.powertac.common.TariffSpecification
 
getPPlusPrime() - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the slope of cost curve for up-regulation.
getPredictions() - Method in class org.powertac.common.WeatherForecast
 
getPrefix() - Static method in class org.powertac.common.IdGenerator
Returns the id prefix - needed for testing.
getPrefix() - Method in class org.powertac.common.msg.BrokerAccept
Returns the ID prefix to be used by the broker.
getPrice() - Method in class org.powertac.common.MarketTransaction
 
getPrice() - Method in class org.powertac.common.msg.BalancingOrder
 
getProfile() - Method in class org.powertac.common.CapacityProfile
 
getProperty(String) - Method in interface org.powertac.common.interfaces.ServerProperties
Returns the value of the property with the given name, or null if no such property is found.
getProperty(String, String) - Method in interface org.powertac.common.interfaces.ServerProperties
Returns the value of the named property, or the defaultValue if no such property is found.
getProperty(String) - Method in class org.powertac.util.PropertiesUtil
 
getProperty(String, String) - Method in class org.powertac.util.PropertiesUtil
 
getPurpose() - Method in class org.powertac.common.RandomSeed
 
getQuantity() - Method in class org.powertac.common.BalancingTransaction
Deprecated.
getQuantity() - Method in class org.powertac.common.DistributionTransaction
Deprecated.
getRandomSeed(String, long, String) - Method in class org.powertac.common.repo.RandomSeedRepo
Returns the RandomSeed instance identified by classname, id, and purpose, creating it if necessary.
getRandomSeedRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a RandomSeedRepo
getRandomSeedRepo() - Method in class org.powertac.customer.CustomerModelService
 
getRate() - Method in class org.powertac.common.TimeService
 
getRateHistory() - Method in class org.powertac.common.Rate
Returns the sequence of HourlyCharge instances for this Rate.
getRateId() - Method in class org.powertac.common.HourlyCharge
 
getRateId() - Method in class org.powertac.common.msg.VariableRateUpdate
 
getRates() - Method in class org.powertac.common.TariffSpecification
Returns the Rate instances from among the rates in this tariff spec.
getRealizedPrice() - Method in class org.powertac.common.Tariff
Returns the actual realized price, or 0.0 if information unavailable.
getRegulation(Broker) - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the net regulation energy (positive for up-regulation, negative for down-regulation) for a given broker.
getRegulation() - Method in class org.powertac.common.TariffSubscription
Returns the regulation quantity exercised per member in the previous timeslot.
getRegulationCapacity(BalancingOrder) - Method in interface org.powertac.common.interfaces.CapacityControl
Gathers up power usage data for the current timeslot that could be subject to a BalancingOrder.
getRegulationCharge(double, double, boolean) - Method in class org.powertac.common.Tariff
Returns the usage charge for regulation usage/or production.
getRegulationRates() - Method in class org.powertac.common.TariffSpecification
Returns the RegulationRate instances from among the rates in this tariff spec.
getRemainingRegulationCapacity() - Method in class org.powertac.common.TariffSubscription
Returns the maximum aggregate up-regulation possible after the customer model has run and possibly applied economic controls.
getRequesterClass() - Method in class org.powertac.common.RandomSeed
 
getRequesterId() - Method in class org.powertac.common.RandomSeed
 
getResponse() - Method in class org.powertac.common.RegulationRate
 
getRevokedSubscriptionList(CustomerInfo) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the list of subscriptions for this customer that have been revoked and have non-zero committed customer counts.
getSerialNumber() - Method in class org.powertac.common.Timeslot
 
getServerConfiguration() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a ServerConfiguration service
getServerConfiguration() - Method in class org.powertac.customer.CustomerModelService
 
getServerTime() - Method in class org.powertac.common.msg.BrokerAccept
Returns the server's system time at the time this instance was created.
getShiftingInconvenienceFactor(Tariff) - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
 
getSignupPayment() - Method in class org.powertac.common.Tariff
One-time payment for subscribing to tariff, negative for payment from customer, positive for payment to customer.
getSignupPayment() - Method in class org.powertac.common.TariffSpecification
 
getSimulationBaseTime() - Method in class org.powertac.common.Competition
Start time of a sim session in the sim world.
getSimulationModulo() - Method in class org.powertac.common.Competition
Minimum value in milliseconds by which time advances in a simulation, or in other words, the size of a clock tick.
getSimulationRate() - Method in class org.powertac.common.Competition
The time-compression factor for the simulation.
getSimulationTimeslotSeconds() - Method in class org.powertac.common.Competition
Returns the number of seconds in wall-clock time per timeslot, truncated to an integer.
getSoldThreshold() - Method in class org.powertac.common.TariffEvaluationHelper
 
getSpecId() - Method in class org.powertac.common.Tariff
 
getStart() - Method in class org.powertac.common.CapacityProfile
 
getStart() - Method in class org.powertac.common.msg.SimResume
 
getStart() - Method in class org.powertac.common.msg.SimStart
 
getStart() - Method in class org.powertac.common.TimeService
 
getStartInstant() - Method in class org.powertac.common.Timeslot
 
getStartTime() - Method in class org.powertac.common.Timeslot
Returns the DateTime representation of the start time for this timeslot
getState() - Method in class org.powertac.common.Tariff
 
getStatus() - Method in class org.powertac.common.msg.OrderStatus
 
getStatus() - Method in class org.powertac.common.msg.TariffStatus
 
getStorageCapacity() - Method in class org.powertac.common.CustomerInfo
Returns the maximum energy storage capacity in kWh per member.
getString(long) - Static method in class org.powertac.common.IdGenerator
Converts ID value to String as A.B.
getSubscription(CustomerInfo, Tariff) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the TariffSubscription for the given Tariff/Customer pair, creating it if necessary.
getSupersedes() - Method in class org.powertac.common.TariffSpecification
 
getTariff() - Method in class org.powertac.common.TariffSubscription
 
getTariffChoiceSample() - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns a [0,1] random value used to make choices using the logit choice model.
getTariffId() - Method in class org.powertac.common.msg.TariffStatus
 
getTariffId() - Method in class org.powertac.common.msg.TariffUpdate
 
getTariffId() - Method in class org.powertac.common.RateCore
Returns the id of the TariffSpecification to which this Rate is attached.
getTariffRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a TariffRepo
getTariffRepo() - Method in class org.powertac.customer.CustomerModelService
 
getTariffSpec() - Method in class org.powertac.common.Tariff
 
getTariffSpec() - Method in class org.powertac.common.TariffTransaction
Returns the TariffSpecification instance to which this transaction applies.
getTariffSpecification() - Method in class org.powertac.common.Tariff
 
getTariffSubscriptionRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a TariffSubscriptionRepo
getTariffSubscriptionRepo() - Method in class org.powertac.customer.CustomerModelService
 
getTemperature() - Method in class org.powertac.common.WeatherForecastPrediction
 
getTemperature() - Method in class org.powertac.common.WeatherReport
 
getThreshold() - Method in class org.powertac.common.CapacityTransaction
The peak-demand threshold for this assessment.
getTieredRateFactor() - Method in class org.powertac.common.TariffEvaluator
Returns inconvenience of tiered rate.
getTierThreshold() - Method in class org.powertac.common.Rate
 
getTimeForIndex(int) - Method in class org.powertac.common.repo.TimeslotRepo
Converts int timeslot index to Instant
getTimeService() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to the TimeService
getTimeService() - Method in class org.powertac.customer.CustomerModelService
 
getTimeslot() - Method in class org.powertac.common.ClearedTrade
 
getTimeslot() - Method in class org.powertac.common.MarketPosition
 
getTimeslot() - Method in class org.powertac.common.MarketTransaction
 
getTimeslot() - Method in class org.powertac.common.msg.DistributionReport
 
getTimeslot() - Method in class org.powertac.common.Order
 
getTimeslot() - Method in class org.powertac.common.Orderbook
 
getTimeslot() - Method in class org.powertac.common.WeatherForecast
Deprecated.
getTimeslotDuration() - Method in class org.powertac.common.Competition
Returns the duration of a timeslot in milliseconds sim-time.
getTimeslotIndex() - Method in class org.powertac.common.ClearedTrade
 
getTimeslotIndex() - Method in class org.powertac.common.MarketPosition
 
getTimeslotIndex() - Method in class org.powertac.common.MarketTransaction
 
getTimeslotIndex() - Method in class org.powertac.common.msg.BalanceReport
 
getTimeslotIndex() - Method in class org.powertac.common.msg.ControlEvent
 
getTimeslotIndex() - Method in class org.powertac.common.msg.TimeslotComplete
 
getTimeslotIndex() - Method in class org.powertac.common.Order
 
getTimeslotIndex() - Method in class org.powertac.common.Orderbook
The timeslot in which energy commitments represented by cleared trades are due.
getTimeslotIndex(Instant) - Method in class org.powertac.common.repo.TimeslotRepo
Converts time to timeslot index without actually creating a timeslot
getTimeslotIndex() - Method in class org.powertac.common.WeatherForecast
 
getTimeslotIndex() - Method in class org.powertac.common.WeatherReport
 
getTimeslotLength() - Method in class org.powertac.common.Competition
Returns the length of a timeslot in minutes (sim time).
getTimeslotRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a TimeslotRepo
getTimeslotRepo() - Method in class org.powertac.customer.CustomerModelService
 
getTimeslotsOpen() - Method in class org.powertac.common.Competition
Number of timeslots simultaneously open for trading.
getTimezoneOffset() - Method in class org.powertac.common.Competition
Returns timezone offset for sim locale.
getTotalConsumption() - Method in class org.powertac.common.msg.DistributionReport
 
getTotalCost() - Method in class org.powertac.common.Tariff
 
getTotalProduction() - Method in class org.powertac.common.msg.DistributionReport
 
getTotalUsage() - Method in class org.powertac.common.Tariff
 
getTotalUsage() - Method in class org.powertac.common.TariffSubscription
 
getTouFactor() - Method in class org.powertac.common.TariffEvaluator
Returns inconvenience of time-of-use rate.
getTxType() - Method in class org.powertac.common.TariffTransaction
 
getUpdateId() - Method in class org.powertac.common.msg.TariffStatus
 
getUpRegulationCapacity() - Method in class org.powertac.common.RegulationAccumulator
Returns the available up-regulation capacity in kWh.
getUpRegulationCapacity() - Method in class org.powertac.common.RegulationCapacity
Returns the available up-regulation capacity in kWh.
getUpRegulationKW() - Method in class org.powertac.common.CustomerInfo
Returns the maximum up-regulation rate in kW per member, beyond the curtailment of its load.
getUpRegulationPayment() - Method in class org.powertac.common.RegulationRate
 
getUsageCharge(double, double, boolean) - Method in class org.powertac.common.Tariff
Returns the usage charge for a single customer in the current timeslot.
getUsageCharge(Instant, double, double) - Method in class org.powertac.common.Tariff
Returns the usage charge for a single customer using an amount of energy at some time in the past or future.
getUsageCharge(Instant, double, double, TariffEvaluationHelper) - Method in class org.powertac.common.Tariff
Returns a risk-adjusted usage charge, with prices for variable rates adjusted by the given TariffEvaluationHelper.
getUsername() - Method in class org.powertac.common.Broker
Returns the username for this Broker.
getUsername() - Method in class org.powertac.common.msg.BrokerAuthentication
 
getValue() - Method in class org.powertac.common.HourlyCharge
 
getValue() - Method in class org.powertac.common.RandomSeed
 
getValue() - Method in class org.powertac.common.Rate
Returns the rate for the current time.
getValue(AbstractInstant) - Method in class org.powertac.common.Rate
Shortcut to get value at an instant without a TEH.
getValue(AbstractInstant, TariffEvaluationHelper) - Method in class org.powertac.common.Rate
Returns the rate for some time in the past or future, regardless of whether the Rate applies at that time, and regardless of whether the requested time is beyond the notification interval of a variable rate.
getVariablePricingFactor() - Method in class org.powertac.common.TariffEvaluator
Returns inconvenience of variable pricing.
getWeatherReportRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a WeatherReportRepo
getWeatherReportRepo() - Method in class org.powertac.customer.CustomerModelService
 
getWeeklyBegin() - Method in class org.powertac.common.Rate
 
getWeeklyEnd() - Method in class org.powertac.common.Rate
 
getWindDirection() - Method in class org.powertac.common.WeatherForecastPrediction
 
getWindDirection() - Method in class org.powertac.common.WeatherReport
 
getWindSpeed() - Method in class org.powertac.common.WeatherForecastPrediction
 
getWindSpeed() - Method in class org.powertac.common.WeatherReport
 
getWtExpected() - Method in class org.powertac.common.TariffEvaluationHelper
Parameter access
getWtMax() - Method in class org.powertac.common.TariffEvaluationHelper
 
getWtRealized() - Method in class org.powertac.common.TariffEvaluationHelper
 

H

handleRevokedTariff() - Method in class org.powertac.common.TariffSubscription
Handles the subscription switch in case the underlying Tariff has been revoked.
hashCode() - Method in class org.powertac.util.Pair
 
hasRegulationRate() - Method in class org.powertac.common.Tariff
Wrapper for TariffSpecification.hasRegulationRate()
hasRegulationRate() - Method in class org.powertac.common.TariffSpecification
Returns true just in case this tariff has one or more RegulationRates.
hasRegulationRate() - Method in class org.powertac.common.TariffSubscription
True just in case this subscription allows regulation.
HOUR - Static variable in class org.powertac.common.TimeService
 
HourlyCharge - Class in org.powertac.common
Represents the cost of power during a specific timeslot in a variable Rate.
HourlyCharge(Instant, double) - Constructor for class org.powertac.common.HourlyCharge
Creates a new HourlyCharge to communicate rate information to customers.
HourlyCharge() - Constructor for class org.powertac.common.HourlyCharge
 

I

id - Variable in class org.powertac.common.BrokerTransaction
 
id - Variable in class org.powertac.common.MarketPosition
 
id - Variable in class org.powertac.common.msg.DistributionReport
 
id - Variable in class org.powertac.common.msg.OrderStatus
 
id - Variable in class org.powertac.common.TariffMessage
 
IdGenerator - Class in org.powertac.common
Generates numeric ID values for domain types.
IdGenerator() - Constructor for class org.powertac.common.IdGenerator
 
init() - Method in class org.powertac.common.interfaces.TimeslotPhaseProcessor
This method must be called in the per-game initialization code in each implementing class.
init() - Method in class org.powertac.common.Tariff
Initializes tariff by building the rate map.
init(double, double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
Initializes, setting parameters, then normalize the weights for expectedMean and maxValue.
init() - Method in class org.powertac.common.TariffEvaluationHelper
Initializes, without changing parameter settings
init(Instant) - Method in class org.powertac.common.TimeService
Sets current time to modulo before the desired start time.
InitializationService - Interface in org.powertac.common.interfaces
Implementations of this interface are expected to initialize individual plugins prior to the beginning of a game.
initialize(Competition, List<String>) - Method in interface org.powertac.common.interfaces.InitializationService
Initializes a plugin prior to the beginning of a game.
initialize() - Method in class org.powertac.customer.AbstractCustomer
Initializes the instance.
initialize(Competition, List<String>) - Method in class org.powertac.customer.CustomerModelService
 
initializeCostFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
Initializes cost factors and normalizes
initializeCostFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluator
Delegates profile cost factors to helper.
initializeInconvenienceFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluator
Initializes the per-tariff inconvenience factors.
initializeRegulationFactors(double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
Initializes regulation factors.
initializeRegulationFactors(double, double, double) - Method in class org.powertac.common.TariffEvaluator
Initializes the per-timeslot regulation-capacity estimates.
INTERRUPTIBLE_CONSUMPTION - Static variable in class org.powertac.common.enumerations.PowerType
 
isActive() - Method in class org.powertac.common.Tariff
True just in case this tariff is OFFERED or ACTIVE
isAnalyzed() - Method in class org.powertac.common.Tariff
Returns the analyzed flag.
isBootstrapMode() - Method in interface org.powertac.common.interfaces.CompetitionControl
True just in case the sim is running in bootstrap mode - generating bootstrap data.
isCanNegotiate() - Method in class org.powertac.common.CustomerInfo
True just in case the underlying Customer model can negotiate individual contracts.
isConsumption() - Method in class org.powertac.common.enumerations.PowerType
Returns true just in case this type would apply to a consumption tariff.
isCovered() - Method in class org.powertac.common.Tariff
True just in case the set of Rates cover all the possible hour and tier slots.
isEnabled() - Method in class org.powertac.common.Broker
True just in case either the broker is logged in, or is a local wholesale broker.
isExpired() - Method in class org.powertac.common.Tariff
True just in case the current time is past the expiration date of this Tariff.
isFixed() - Method in class org.powertac.common.Rate
 
isInterruptible() - Method in class org.powertac.common.enumerations.PowerType
Returns true just in case this type is interruptible.
isInterruptible() - Method in class org.powertac.common.Tariff
True just in case this tariff could result in curtailment
isLocal() - Method in class org.powertac.common.Broker
True for a Broker that is local to the server.
isMultiContracting() - Method in class org.powertac.common.CustomerInfo
True if this customer can subscribe to multiple contracts.
isProduction() - Method in class org.powertac.common.enumerations.PowerType
Returns true just in case this type would apply to a production tariff.
isRegulation() - Method in class org.powertac.common.TariffTransaction
True just in case this is transaction reports exercise of regulation capacity.
isRemoved(long) - Method in class org.powertac.common.repo.TariffRepo
Tests whether a tariff has been deleted.
isRevoked() - Method in class org.powertac.common.Tariff
True just in case this tariff has been revoked.
isRunning() - Method in interface org.powertac.common.interfaces.CompetitionControl
True if a simulation (boot or sim) session is currently running.
isStorage() - Method in class org.powertac.common.enumerations.PowerType
Returns true just in case this type is a storage type.
isSubscribable() - Method in class org.powertac.common.Tariff
True just in case this tariff can accept new subscriptions
isTiered() - Method in class org.powertac.common.Tariff
True just in case this tariff has at least one tiered rate
isTimeOfUse() - Method in class org.powertac.common.Rate
True just in case this Rate does not apply everywhen
isTimeOfUse() - Method in class org.powertac.common.Tariff
True just in case this tariff has at least one Time-of-Use rate
isTimeslotEnabled(Timeslot) - Method in class org.powertac.common.repo.TimeslotRepo
True just in case the specified timeslot is enabled.
isTimeslotEnabled(int) - Method in class org.powertac.common.repo.TimeslotRepo
True just in case the timeslot with the given index is enabled.
isValid() - Method in class org.powertac.common.msg.BalancingOrder
Valid if exerciseRatio between 0 and 1
isValid() - Method in class org.powertac.common.msg.VariableRateUpdate
By default, these are invalid.
isValid(Rate) - Method in class org.powertac.common.msg.VariableRateUpdate
Given a Rate, a VRU is valid if it has the correct ID, if the Rate is not fixed, and if the HourlyCharge specifies a value between the minValue and maxValue of the Rate.
isValid(TariffSpecification) - Method in class org.powertac.common.Rate
Returns true just in case this Rate is internally valid, and valid with respect to the given TariffSpecification.
isValid(TariffSpecification) - Method in class org.powertac.common.RegulationRate
Returns true just in case this Rate is internally valid, and valid with respect to the given TariffSpecification.
isValid() - Method in class org.powertac.common.TariffMessage
 
isValid() - Method in class org.powertac.common.TariffSpecification
A TariffSpecification is valid if it has a least one Rate, and all its Rates are valid; minDuration is non-negative;
isValid() - Method in interface org.powertac.common.ValidatableMessage
Implementation should return true just in case the message is internally valid.
isVariableRate() - Method in class org.powertac.common.Tariff
True just in case this tariff has at least one dynamic rate
isWeekly() - Method in class org.powertac.common.Tariff
 
isWholesale() - Method in class org.powertac.common.Broker
True for a broker that operates on the wholeside of the wholesale market.

L

lastSunday() - Method in class org.powertac.customer.AbstractCustomer
 
list() - Method in class org.powertac.common.repo.BrokerRepo
 
list() - Method in class org.powertac.common.repo.CustomerRepo
 
listBeansOfType(Class<T>) - Static method in class org.powertac.common.spring.SpringApplicationContext
Returns all the Spring beans that are instances of the given type.
ListTools - Class in org.powertac.util
A collection of static methods intended to simplify list processing tasks.
ListTools() - Constructor for class org.powertac.util.ListTools
 
loadSeeds(File) - Method in class org.powertac.common.repo.RandomSeedRepo
Pre-loads seeds from an existing server logfile, or from a stripped-down logfile containing only the RandomSeed lines.
loadSeeds(InputStreamReader) - Method in class org.powertac.common.repo.RandomSeedRepo
Pre-loads seeds from a stream.
log - Static variable in class org.powertac.common.RegulationAccumulator
 
log - Static variable in class org.powertac.common.RegulationCapacity
 
log - Static variable in class org.powertac.customer.AbstractCustomer
 
loginBroker(String) - Method in interface org.powertac.common.interfaces.CompetitionControl
Attempts to log in a broker by username.

M

makeBalancingTransaction(Broker, double, double) - Method in class org.powertac.common.TransactionFactory
 
makeBankTransaction(Broker, double) - Method in class org.powertac.common.TransactionFactory
 
makeCapacityTransaction(Broker, int, double, double, double) - Method in class org.powertac.common.TransactionFactory
 
makeCashPosition(Broker, double) - Method in class org.powertac.common.TransactionFactory
 
makeDistributionTransaction(Broker, int, int, double, double) - Method in class org.powertac.common.TransactionFactory
 
makeMarketTransaction(Broker, Timeslot, double, double) - Method in class org.powertac.common.TransactionFactory
 
makeOrderbook(Timeslot, Double) - Method in class org.powertac.common.repo.OrderbookRepo
Creates a new Orderbook, with standard defaults (productType = Future, dateExecuted = now).
makeTariffTransaction(Broker, TariffTransaction.Type, TariffSpecification, CustomerInfo, int, double, double) - Method in class org.powertac.common.TransactionFactory
Creates a tariff transaction that is not a regulation transaction.
makeTariffTransaction(Broker, TariffTransaction.Type, TariffSpecification, CustomerInfo, int, double, double, boolean) - Method in class org.powertac.common.TransactionFactory
Creates a tariff transaction that could be a regulation transaction, depending on the value of the isRegulation parameter.
makeTimeslot(Instant) - Method in class org.powertac.common.repo.TimeslotRepo
Creates a timeslot with the given start time.
mapBeansOfType(Class<T>) - Static method in class org.powertac.common.spring.SpringApplicationContext
Returns a map of all the Spring beans that are instances of the given type.
MarketBootstrapData - Class in org.powertac.common.msg
Encapsulates market prices and quantities over the bootstrap period.
MarketBootstrapData(double[], double[]) - Constructor for class org.powertac.common.msg.MarketBootstrapData
 
MarketPosition - Class in org.powertac.common
A MarketPosition domain instance represents the current position of a single broker for wholesale power in a given timeslot.
MarketPosition(Broker, int, double) - Constructor for class org.powertac.common.MarketPosition
 
MarketPosition(Broker, Timeslot, double) - Constructor for class org.powertac.common.MarketPosition
 
MarketTransaction - Class in org.powertac.common
A MarketTransaction instance represents a trade in the wholesale market.
MarketTransaction(Broker, int, int, double, double) - Constructor for class org.powertac.common.MarketTransaction
 
MarketTransaction(Broker, int, Timeslot, double, double) - Constructor for class org.powertac.common.MarketTransaction
 
marshal(Object, HierarchicalStreamWriter, MarshallingContext) - Method in class org.powertac.common.xml.FullCustomerConverter
 
MessageDispatcher - Class in org.powertac.util
Static resource for dispatching messages.
MessageDispatcher() - Constructor for class org.powertac.util.MessageDispatcher
 
MINUTE - Static variable in class org.powertac.common.TimeService
 

N

name - Variable in class org.powertac.customer.AbstractCustomer
 
newInstance(String) - Static method in class org.powertac.common.Competition
 
NewTariffListener - Interface in org.powertac.common.interfaces
Implementors of this interface can be notified of new tariff publication by calling registerNewTariffListener(this) on the TariffMarket.
nextStartOfDay() - Method in class org.powertac.customer.AbstractCustomer
 

O

Order - Class in org.powertac.common
A Order instance represents a market (no price specified) or a limit (min/max price specified) order in the PowerTAC wholesale market.
Order(Broker, int, double, Double) - Constructor for class org.powertac.common.Order
Creates a new Order for Broker to buy or sell a quantity of energy in Timeslot.
Order(Broker, Timeslot, double, Double) - Constructor for class org.powertac.common.Order
Deprecated.
Order() - Constructor for class org.powertac.common.Order
 
Orderbook - Class in org.powertac.common
An orderbook instance captures a snapshot of the PowerTAC wholesale market's orderbook (the un-cleared bids and asks remaining after the market is cleared).
Orderbook(int, Double, Instant) - Constructor for class org.powertac.common.Orderbook
Constructor with default product type.
Orderbook(Timeslot, Double, Instant) - Constructor for class org.powertac.common.Orderbook
 
OrderbookOrder - Class in org.powertac.common
Each instance is an individual un-cleared entry (a Bid or an Ask) within an Orderbook.
OrderbookOrder(double, Double) - Constructor for class org.powertac.common.OrderbookOrder
 
OrderbookRepo - Class in org.powertac.common.repo
Repository for Orderbooks.
OrderbookRepo() - Constructor for class org.powertac.common.repo.OrderbookRepo
Standard constructor
OrderStatus - Class in org.powertac.common.msg
Represents a response from the server about an Order that could not be processed by the Auctioneer.
OrderStatus(Broker, long, OrderStatus.Status) - Constructor for class org.powertac.common.msg.OrderStatus
 
OrderStatus(Broker, long) - Constructor for class org.powertac.common.msg.OrderStatus
Convenience constructor for timeslotDisabled message
OrderStatus.Status - Enum in org.powertac.common.msg
 
org.powertac.common - package org.powertac.common
 
org.powertac.common.config - package org.powertac.common.config
 
org.powertac.common.enumerations - package org.powertac.common.enumerations
 
org.powertac.common.exceptions - package org.powertac.common.exceptions
 
org.powertac.common.interfaces - package org.powertac.common.interfaces
 
org.powertac.common.msg - package org.powertac.common.msg
 
org.powertac.common.repo - package org.powertac.common.repo
 
org.powertac.common.spring - package org.powertac.common.spring
 
org.powertac.common.xml - package org.powertac.common.xml
 
org.powertac.customer - package org.powertac.customer
Generic customer model components.
org.powertac.util - package org.powertac.util
 

P

Pair<L,R> - Class in org.powertac.util
Simple generic immutable pair structure
Pair(L, R) - Constructor for class org.powertac.util.Pair
 
PauseRelease - Class in org.powertac.common.msg
This message is used by a broker to release a pause in the simulation that was previously requested by the same broker.
PauseRelease(Broker) - Constructor for class org.powertac.common.msg.PauseRelease
 
PauseRequest - Class in org.powertac.common.msg
This message is used by a broker to request a pause in the simulation.
PauseRequest(Broker) - Constructor for class org.powertac.common.msg.PauseRequest
 
perform() - Method in interface org.powertac.common.Action
 
perform(Instant) - Method in interface org.powertac.common.TimedAction
 
PhysicalEnvironment - Interface in org.powertac.common.interfaces
Common Interface for the Physical Environment module.
postBalancingControl(BalancingControlEvent) - Method in interface org.powertac.common.interfaces.Accounting
Updates a broker's cash position resulting from the Balancing Market payment for Demand Response exercise.
postBalancingControl(double) - Method in class org.powertac.common.TariffSubscription
Posts a BalancingControlEvent to the subscription and generate the correct TariffTransaction.
postEconomicControl(EconomicControlEvent) - Method in interface org.powertac.common.interfaces.CapacityControl
Posts an EconomicControlEvent on the correct TariffSubscription instances.
postedTimeslot - Variable in class org.powertac.common.BrokerTransaction
The timeslot for which this meter reading is generated
postRatioControl(double) - Method in class org.powertac.common.TariffSubscription
Posts the ratio for an EconomicControlEvent to the subscription for the current timeslot.
PowerTacException - Exception in org.powertac.common.exceptions
Generic PowerTAC Exception
PowerTacException() - Constructor for exception org.powertac.common.exceptions.PowerTacException
 
PowerTacException(String) - Constructor for exception org.powertac.common.exceptions.PowerTacException
 
PowerTacException(String, Throwable) - Constructor for exception org.powertac.common.exceptions.PowerTacException
 
PowerTacException(Throwable) - Constructor for exception org.powertac.common.exceptions.PowerTacException
 
PowerType - Class in org.powertac.common.enumerations
Types of power a Customer can produce or consume.
PowerTypeConverter - Class in org.powertac.common.xml
Converts Timeslot instances by serial number.
PowerTypeConverter() - Constructor for class org.powertac.common.xml.PowerTypeConverter
 
Predicate<T> - Interface in org.powertac.util
Interface used for filtering and other testing purposes.
preGame() - Method in interface org.powertac.common.interfaces.CompetitionSetup
Runs the pre-game cycle of the simulator, which sets all plugin components to their default state.
processOrder(Order) - Method in interface org.powertac.common.interfaces.Auctioneer
Processes an incoming order, typically by saving it on a list for the next market clearing.
processProperties(ConfigurableListableBeanFactory, Properties) - Method in class org.powertac.util.PropertiesUtil
 
processRevokedTariffs() - Method in interface org.powertac.common.interfaces.TariffMarket
Deprecated.
PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 
PropertiesUtil - Class in org.powertac.util
 
PropertiesUtil() - Constructor for class org.powertac.util.PropertiesUtil
 
publishConfiguration(Object) - Method in interface org.powertac.common.interfaces.ServerConfiguration
Gathers public configuration data for publication to brokers.
publishNewTariffs(List<Tariff>) - Method in interface org.powertac.common.interfaces.NewTariffListener
Called periodically with a list of newly-published Tariffs
publishNewTariffs(List<Tariff>) - Method in class org.powertac.customer.CustomerModelService
 
PUMPED_STORAGE_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 

R

RandomSeed - Class in org.powertac.common
RandomSeed is used to store generated random seed in the database in order to be able to "replay" PowerTAC competitions later on with exactly the same random seed settings as originally used.
RandomSeed(String, long, String) - Constructor for class org.powertac.common.RandomSeed
Constructor that creates a new seed with a random value.
RandomSeed(String, long, String, long) - Constructor for class org.powertac.common.RandomSeed
Constructor to re-create a random seed with a given value.
RandomSeedRepo - Class in org.powertac.common.repo
Repository for RandomSeed instances.
RandomSeedRepo() - Constructor for class org.powertac.common.repo.RandomSeedRepo
 
Rate - Class in org.powertac.common
Tariffs are composed of Rates.
Rate() - Constructor for class org.powertac.common.Rate
Default constructor only.
RateCore - Class in org.powertac.common
 
RateCore() - Constructor for class org.powertac.common.RateCore
 
readBootRecord(URL) - Method in class org.powertac.common.repo.BootstrapDataRepo
 
readProperties(String) - Static method in class org.powertac.common.config.Configurator
 
readProperties(URL) - Static method in class org.powertac.common.config.Configurator
 
readProperties(File) - Static method in class org.powertac.common.config.Configurator
 
readXML(String) - Static method in class org.powertac.common.config.Configurator
 
readXML(File) - Static method in class org.powertac.common.config.Configurator
 
readXML(URL) - Static method in class org.powertac.common.config.Configurator
 
receiveMessage(Object) - Method in class org.powertac.common.Broker
Default implementation does nothing.
receiveMessage(Object) - Method in interface org.powertac.common.interfaces.VisualizerMessageListener
 
recordItem(String, Object) - Method in interface org.powertac.common.config.ConfigurationRecorder
Records a single configuration item
recycle() - Static method in class org.powertac.common.IdGenerator
Recycles the generator.
recycle() - Method in class org.powertac.common.repo.BootstrapDataRepo
 
recycle() - Method in class org.powertac.common.repo.BrokerRepo
 
recycle() - Method in class org.powertac.common.repo.CustomerRepo
 
recycle() - Method in interface org.powertac.common.repo.DomainRepo
Implementations must clear out the repository in preparation for a new simulation.
recycle() - Method in class org.powertac.common.repo.OrderbookRepo
Clears the index in preparation for a new simulation
recycle() - Method in class org.powertac.common.repo.RandomSeedRepo
 
recycle() - Method in class org.powertac.common.repo.TariffRepo
 
recycle() - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Clears out the repo in preparation for another simulation.
recycle() - Method in class org.powertac.common.repo.TimeslotRepo
 
recycle() - Method in class org.powertac.common.repo.WeatherForecastRepo
 
recycle() - Method in class org.powertac.common.repo.WeatherReportRepo
 
registerBrokerMessageListener(Object, Class<?>) - Method in interface org.powertac.common.interfaces.BrokerProxy
Sets up a dispatch listener for market messages
registerNewTariffListener(NewTariffListener) - Method in interface org.powertac.common.interfaces.TariffMarket
Registers a listener for publication of new Tariffs.
registerTimeslotPhase(TimeslotPhaseProcessor, int) - Method in interface org.powertac.common.interfaces.CompetitionControl
Registers the caller to be activated during each timeslot in the proper phase sequence.
registerVisualizerMessageListener(VisualizerMessageListener) - Method in interface org.powertac.common.interfaces.VisualizerProxy
Sets up a dispatch listener for market messages
RegulationAccumulator - Class in org.powertac.common
Accumulates available regulation capacity for a given TariffSubscription.
RegulationAccumulator(double, double) - Constructor for class org.powertac.common.RegulationAccumulator
Creates a new RegulationAccumulator instance specifying the amounts of regulating capacity available for up-regulation and down-regulation.
RegulationAccumulator(RegulationCapacity) - Constructor for class org.powertac.common.RegulationAccumulator
Creates a new RegulationAccumulator from an immutable RegulationCapacity instance.
RegulationCapacity - Class in org.powertac.common
Accumulates available regulation capacity for a given TariffSubscription.
RegulationCapacity(TariffSubscription, double, double) - Constructor for class org.powertac.common.RegulationCapacity
Creates a new RegulationAccumulator instance specifying the amounts of regulating capacity available for up-regulation and down-regulation.
RegulationRate - Class in org.powertac.common
Tariffs are composed of Rates, including RegulationRates.
RegulationRate() - Constructor for class org.powertac.common.RegulationRate
Default constructor only.
RegulationRate.ResponseTime - Enum in org.powertac.common
 
removeSpecification(long) - Method in class org.powertac.common.repo.TariffRepo
 
removeSubscriptionsForTariff(Tariff) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Removes all subscriptions for the given tariff.
removeTariff(Tariff) - Method in class org.powertac.common.repo.TariffRepo
Removes a tariff and its specification from the repo.
routeMessage(Object) - Method in interface org.powertac.common.interfaces.BrokerProxy
Routes a message to server components.
rs1 - Variable in class org.powertac.customer.AbstractCustomer
Random Number Generator
RUN_OF_RIVER_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 
runOnce(boolean) - Method in interface org.powertac.common.interfaces.CompetitionControl
Waits for broker login, then starts and runs a simulation.
runOnce() - Method in class org.powertac.common.repo.WeatherForecastRepo
Called by weather service to indicate weather exists
runOnce() - Method in class org.powertac.common.repo.WeatherReportRepo
Called by weather service to indicate weather exists

S

saveBootstrapState() - Method in interface org.powertac.common.interfaces.BootstrapState
Saves state at the conclusion of a bootstrap session as configuration items.
saveBootstrapState(Object) - Method in interface org.powertac.common.interfaces.ServerConfiguration
Gathers state information at the end of a boot session to be restored in a subsequent sim session.
saveBootstrapState() - Method in class org.powertac.customer.AbstractCustomer
Saves model data to the bootstrap record.
saveBootstrapState() - Method in class org.powertac.customer.CustomerModelService
 
SECOND - Static variable in class org.powertac.common.TimeService
 
sendMessage(Broker, Object) - Method in interface org.powertac.common.interfaces.BrokerProxy
Send a message to a specific broker
sendMessages(Broker, List<?>) - Method in interface org.powertac.common.interfaces.BrokerProxy
Sends a list of messages to a specific broker
ServerConfiguration - Interface in org.powertac.common.interfaces
Support for annotation-driven configuration.
ServerProperties - Interface in org.powertac.common.interfaces
Supports server configuration by allowing components to retrieve property values from a standard Java properties file.
service - Variable in class org.powertac.customer.AbstractCustomer
 
setApplicationContext(ApplicationContext) - Method in class org.powertac.common.spring.SpringApplicationContext
 
setAuthorizedBrokerList(List<String>) - Method in interface org.powertac.common.interfaces.CompetitionControl
Sets the list of brokers authorized to log in to the next game.
setBase(long) - Method in class org.powertac.common.TimeService
setBrokerTime(long) - Method in class org.powertac.common.msg.BrokerAuthentication
Sets the system time.
setClockParameters(long, long, long) - Method in class org.powertac.common.TimeService
Sets base, rate, and modulo clock parameters with a single call.
setClockParameters(Map<String, Long>) - Method in class org.powertac.common.TimeService
Sets base, rate, and modulo parameters from a map, which is wrapped in a Configuration to allow for conversions and default values.
setClockParameters(Competition) - Method in class org.powertac.common.TimeService
Sets base, rate, and modulo from a Competition instance
setConfiguration(AbstractConfiguration) - Method in class org.powertac.common.config.Configurator
Loads a Configuration into this Configurator.
setCurrent(Competition) - Static method in class org.powertac.common.Competition
Makes a Competition instance be the "current" competition - this is needed in a broker when the Competition instance arrives from the server.
setCurrentTime(Instant) - Method in class org.powertac.common.TimeService
Sets current time to a specific value.
setCurrentTime(AbstractDateTime) - Method in class org.powertac.common.TimeService
Sets current time to a specific value.
setCurrentTime() - Method in class org.powertac.common.TimeService
 
setCustomersCommitted(int) - Method in class org.powertac.common.TariffSubscription
 
setDefaultTariff(TariffSpecification) - Method in interface org.powertac.common.interfaces.TariffMarket
Convenience method to set the default tariff at the beginning of the game.
setDefaultTariff(TariffSpecification) - Method in class org.powertac.common.repo.TariffRepo
 
setDeferredBroadcast(boolean) - Method in interface org.powertac.common.interfaces.BrokerProxy
Holds up message transmission when true
setDownRegulationCapacity(double) - Method in class org.powertac.common.RegulationAccumulator
Sets the down-regulation value.
setEnabled(boolean) - Method in class org.powertac.common.Broker
Enables this Broker.
setExpiration(Instant) - Method in class org.powertac.common.Tariff
 
setIdPrefix(int) - Method in class org.powertac.common.Broker
Sets the ID prefix for this broker.
setKey(String) - Method in class org.powertac.common.Broker
Sets the jms key for a remote broker.
setLocal(boolean) - Method in class org.powertac.common.Broker
Allows subclasses to set themselves as local brokers.
setMaxAskPrices(Double[]) - Method in class org.powertac.common.repo.OrderbookRepo
 
setMinAskPrices(Double[]) - Method in class org.powertac.common.repo.OrderbookRepo
Set the minAskPrices array.
setModulo(long) - Method in class org.powertac.common.TimeService
setName(String) - Method in class org.powertac.customer.AbstractCustomer
Sets the name for this model
setPassword(String) - Method in class org.powertac.common.Broker
 
setPopulation(Integer) - Method in class org.powertac.common.CustomerInfo
Updates the population for the underlying model.
setPrefix(int) - Static method in class org.powertac.common.IdGenerator
Each entity living in a separate process must have a different prefix value.
setQueueName(String) - Method in class org.powertac.common.Broker
Sets the broker's queue name.
setRate(long) - Method in class org.powertac.common.TimeService
setRateId(long) - Method in class org.powertac.common.HourlyCharge
Sets connection between rate and hourly charge.
setRegulation(double) - Method in class org.powertac.common.TariffSubscription
 
setRegulationCapacity(RegulationCapacity) - Method in class org.powertac.common.TariffSubscription
Communicates the ability of the customer model to handle regulation requests.
setServiceAccessor(CustomerServiceAccessor) - Method in class org.powertac.customer.AbstractCustomer
Provides a reference to the service accessor, through which we can get at sim services
setSoldThreshold(double) - Method in class org.powertac.common.TariffEvaluationHelper
 
setStart(long) - Method in class org.powertac.common.TimeService
 
setState(Tariff.State) - Method in class org.powertac.common.Tariff
Updates the state of this tariff.
setTariffId(long) - Method in class org.powertac.common.RateCore
Sets the backpointer to the tariff.
setTariffMarket(TariffMarket) - Method in class org.powertac.customer.AbstractCustomer
 
setTimeslotPhase(int) - Method in class org.powertac.common.interfaces.TimeslotPhaseProcessor
This is the Spring-accessible setter for the phase number
setUpRegulationCapacity(double) - Method in class org.powertac.common.RegulationAccumulator
Sets the up-regulation value.
setWholesale(boolean) - Method in class org.powertac.common.Broker
Allows subclasses to make themselves wholesale brokers
setWtExpected(double) - Method in class org.powertac.common.TariffEvaluationHelper
 
setWtMax(double) - Method in class org.powertac.common.TariffEvaluationHelper
 
setWtRealized(double) - Method in class org.powertac.common.TariffEvaluationHelper
 
shutDown() - Method in interface org.powertac.common.interfaces.CompetitionControl
Stops a running simulation, and sends out the SimEnd message to brokers.
SimEnd - Class in org.powertac.common.msg
This message is used to communicate the end of a simulation.
SimEnd() - Constructor for class org.powertac.common.msg.SimEnd
 
SimPause - Class in org.powertac.common.msg
This message is used to communicate a pause in a simulation.
SimPause() - Constructor for class org.powertac.common.msg.SimPause
 
SimResume - Class in org.powertac.common.msg
This message is used to communicate a revised simulation start time prior to the end of a simulation pause.
SimResume(Instant) - Constructor for class org.powertac.common.msg.SimResume
 
simSession(String, String, String, String, String, List<String>, String, String, String) - Method in interface org.powertac.common.interfaces.CompetitionSetup
Starts a simulation session with parameters, in a new thread.
SimStart - Class in org.powertac.common.msg
This message is used to communicate the simulation start time from server to brokers in the last few seconds before the simulation starts.
SimStart(Instant) - Constructor for class org.powertac.common.msg.SimStart
 
size() - Method in class org.powertac.common.msg.TimeslotUpdate
Returns the number of enabled timeslots.
size() - Method in class org.powertac.common.repo.CustomerRepo
 
size() - Method in class org.powertac.common.repo.OrderbookRepo
Returns the count of instances in this repo
slotInDay() - Method in class org.powertac.common.Timeslot
Returns the timeslot index since the most recent midnight, starting at zero.
SOLAR_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 
SpringApplicationContext - Class in org.powertac.common.spring
Static methods to access the Spring application context.
SpringApplicationContext() - Constructor for class org.powertac.common.spring.SpringApplicationContext
 
startOfDay() - Method in class org.powertac.customer.AbstractCustomer
 
step() - Method in class org.powertac.customer.AbstractCustomer
Called to run the model forward one step.
STORAGE - Static variable in class org.powertac.common.enumerations.PowerType
 
subscribe(int) - Method in class org.powertac.common.TariffSubscription
Subscribes some number of discrete customers.
subscribeToTariff(Tariff, CustomerInfo, int) - Method in interface org.powertac.common.interfaces.TariffMarket
Subscribes a block of Customers from a single Customer model to the specified Tariff, as long as the Tariff has not expired.

T

Tariff - Class in org.powertac.common
Entity wrapper for TariffSpecification that supports Tariff evaluation and billing.
Tariff(TariffSpecification) - Constructor for class org.powertac.common.Tariff
Creates a new Tariff from the given TariffSpecification.
Tariff.State - Enum in org.powertac.common
 
TariffEvaluationHelper - Class in org.powertac.common
Probe object that can be used by customer models and other players to generate cost estimates for tariffs, including a risk-adjusted estimates of the actual cost of variable-rate tariffs.
TariffEvaluationHelper() - Constructor for class org.powertac.common.TariffEvaluationHelper
Default constructor
TariffEvaluator - Class in org.powertac.common
Tariff evaluation process intended to simplify customer models.
TariffEvaluator(CustomerModelAccessor) - Constructor for class org.powertac.common.TariffEvaluator
 
TariffExpire - Class in org.powertac.common.msg
Request to change expiration date on an existing tariff.
TariffExpire(Broker, TariffSpecification, Instant) - Constructor for class org.powertac.common.msg.TariffExpire
 
TariffMarket - Interface in org.powertac.common.interfaces
Tariff Market Receives, validates, and stores new tariffs, enforces tariff validity rules.
TariffMessage - Class in org.powertac.common
Supertype of all tariff-related messages that can be processed by a TariffMessageProcessor.
TariffMessage(Broker) - Constructor for class org.powertac.common.TariffMessage
 
TariffMessage() - Constructor for class org.powertac.common.TariffMessage
 
TariffRepo - Class in org.powertac.common.repo
Repository for TariffSpecifications, Tariffs, Rates, and other related types.
TariffRepo() - Constructor for class org.powertac.common.repo.TariffRepo
 
TariffRevoke - Class in org.powertac.common.msg
Message created by a broker to request revocation of an existing tariff.
TariffRevoke(Broker, TariffSpecification) - Constructor for class org.powertac.common.msg.TariffRevoke
 
TariffRevoke() - Constructor for class org.powertac.common.msg.TariffRevoke
 
TariffSpecification - Class in org.powertac.common
Represents a Tariff offered by a Broker to customers.
TariffSpecification(Broker, PowerType) - Constructor for class org.powertac.common.TariffSpecification
Creates a new TariffSpecification for a broker and a specific powerType.
TariffSpecification() - Constructor for class org.powertac.common.TariffSpecification
 
TariffSpecificationConverter - Class in org.powertac.common.xml
 
TariffSpecificationConverter() - Constructor for class org.powertac.common.xml.TariffSpecificationConverter
 
TariffStatus - Class in org.powertac.common.msg
Represents a response from server to broker to publication or update of a tariff.
TariffStatus(Broker, long, long, TariffStatus.Status) - Constructor for class org.powertac.common.msg.TariffStatus
 
TariffStatus.Status - Enum in org.powertac.common.msg
 
TariffSubscription - Class in org.powertac.common
A TariffSubscription is an entity representing an association between a Customer and a Tariff.
TariffSubscription(CustomerInfo, Tariff) - Constructor for class org.powertac.common.TariffSubscription
You need a CustomerInfo and a Tariff to create one of these.
TariffSubscriptionRepo - Class in org.powertac.common.repo
Repository for TariffSubscriptions.
TariffSubscriptionRepo() - Constructor for class org.powertac.common.repo.TariffSubscriptionRepo
 
TariffTransaction - Class in org.powertac.common
A TariffTransaction instance represents the kWh of energy consumed (kWh < 0) or produced kWh > 0 by some members of a specific customer model, in a specific timeslot, under a particular tariff.
TariffTransaction(Broker, int, TariffTransaction.Type, TariffSpecification, CustomerInfo, int, double, double) - Constructor for class org.powertac.common.TariffTransaction
Deprecated.
TariffTransaction(Broker, int, TariffTransaction.Type, TariffSpecification, CustomerInfo, int, double, double, boolean) - Constructor for class org.powertac.common.TariffTransaction
Creates a new TariffTransaction for broker of type txType against a particular tariff spec and customer.
TariffTransaction.Type - Enum in org.powertac.common
 
TariffUpdate - Class in org.powertac.common.msg
Command object that represents a broker's request to update a tariff, either to change its expiration date or to revoke it.
TariffUpdate(Broker, TariffSpecification) - Constructor for class org.powertac.common.msg.TariffUpdate
 
TariffUpdate(Broker, long) - Constructor for class org.powertac.common.msg.TariffUpdate
 
TariffUpdate() - Constructor for class org.powertac.common.msg.TariffUpdate
 
THERMAL_STORAGE_CONSUMPTION - Static variable in class org.powertac.common.enumerations.PowerType
 
TimedAction - Interface in org.powertac.common
Generic action type that takes time as an argument.
TimeService - Class in org.powertac.common
This is the simulation time-keeper and event queue.
TimeService() - Constructor for class org.powertac.common.TimeService
Default constructor.
TimeService(long, long, long, long) - Constructor for class org.powertac.common.TimeService
Handy constructor for testing
Timeslot - Class in org.powertac.common
A timeslot instance describes an interval of time (slot) for which power may be traded in the wholesale market.
Timeslot(int, Instant) - Constructor for class org.powertac.common.Timeslot
Constructor is intended to be called by repository.
TimeslotComplete - Class in org.powertac.common.msg
Message type that is guaranteed to be sent to brokers as the last outgoing message in a timeslot.
TimeslotComplete(int) - Constructor for class org.powertac.common.msg.TimeslotComplete
 
TimeslotPhaseProcessor - Class in org.powertac.common.interfaces
Plugins must extend this class in order to be invoked during timeslot processing by the CompetitionControl.
TimeslotPhaseProcessor() - Constructor for class org.powertac.common.interfaces.TimeslotPhaseProcessor
 
TimeslotRepo - Class in org.powertac.common.repo
Repository for Timeslots.
TimeslotRepo() - Constructor for class org.powertac.common.repo.TimeslotRepo
standard constructor
TimeslotUpdate - Class in org.powertac.common.msg
Message type that communicates to brokers the set of timeslots that are "open" for trading.
TimeslotUpdate(Instant, int, int) - Constructor for class org.powertac.common.msg.TimeslotUpdate
 
toQueueName() - Method in class org.powertac.common.Broker
Returns the broker's queue name if it's been set, otherwise the default queue name.
toString() - Method in class org.powertac.common.BalancingTransaction
 
toString() - Method in class org.powertac.common.Broker
 
toString() - Method in class org.powertac.common.CapacityTransaction
 
toString() - Method in class org.powertac.common.CashPosition
 
toString() - Method in class org.powertac.common.ClearedTrade
 
toString() - Method in class org.powertac.common.Competition
 
toString() - Method in class org.powertac.common.CustomerInfo
 
toString() - Method in class org.powertac.common.DistributionTransaction
 
toString() - Method in class org.powertac.common.enumerations.PowerType
 
toString() - Method in class org.powertac.common.MarketPosition
 
toString() - Method in class org.powertac.common.MarketTransaction
 
toString() - Method in class org.powertac.common.msg.TimeslotComplete
 
toString() - Method in class org.powertac.common.Order
 
toString() - Method in class org.powertac.common.OrderbookOrder
 
toString() - Method in class org.powertac.common.Rate
 
toString() - Method in class org.powertac.common.RegulationRate
 
toString() - Method in class org.powertac.common.TariffSpecification
Returns a String giving the id, broker username, and powertype
toString() - Method in class org.powertac.common.TariffTransaction
 
toString() - Method in class org.powertac.common.Timeslot
 
toString(Object) - Method in class org.powertac.common.xml.BrokerConverter
 
toString(Object) - Method in class org.powertac.common.xml.CustomerConverter
 
toString(Object) - Method in class org.powertac.common.xml.DoubleArrayConverter
 
toString(Object) - Method in class org.powertac.common.xml.PowerTypeConverter
 
toString(Object) - Method in class org.powertac.common.xml.TariffSpecificationConverter
 
toString() - Method in class org.powertac.customer.AbstractCustomer
 
toXML(Object) - Method in class org.powertac.common.XMLMessageConverter
 
TransactionFactory - Class in org.powertac.common
Constructs transaction objects in a way that guarantees that the correct data goes into the state log, without requiring unnecessary couplings on the part of transaction sources.
TransactionFactory() - Constructor for class org.powertac.common.TransactionFactory
 
truncateInstant(Instant, long) - Method in class org.powertac.common.TimeService
Returns the most recent Instant at which time % modulo was zero

U

unmarshal(HierarchicalStreamReader, UnmarshallingContext) - Method in class org.powertac.common.xml.FullCustomerConverter
 
unsubscribe(int) - Method in class org.powertac.common.TariffSubscription
Removes customerCount customers (at most) from this subscription, posts early-withdrawal fees if appropriate.
update(Competition) - Method in class org.powertac.common.Competition
Updates selected fields of this Competition from a template.
updateBalance(double) - Method in class org.powertac.common.MarketPosition
Adds a quantity to the current balance.
updateCash(double) - Method in class org.powertac.common.Broker
Updates broker's cash position.
updateTime() - Method in class org.powertac.common.TimeService
Updates simulation time when called as specified by clock parameters, then runs any actions that may be due.
usePower(double) - Method in class org.powertac.common.TariffSubscription
Generates and posts a TariffTransaction instance for the current timeslot that represents the amount of production (negative amount) or consumption (positive amount), along with the credit/debit that results.

V

ValidatableMessage - Interface in org.powertac.common
Classes of this type may implement the isValid() method to perform a local validation of the contents of a message.
valueOf(String) - Static method in enum org.powertac.common.CustomerInfo.CustomerClass
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class org.powertac.common.enumerations.PowerType
 
valueOf(String) - Static method in enum org.powertac.common.msg.OrderStatus.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powertac.common.msg.TariffStatus.Status
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powertac.common.RegulationRate.ResponseTime
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powertac.common.Tariff.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.powertac.common.TariffTransaction.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.powertac.common.CustomerInfo.CustomerClass
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.msg.OrderStatus.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.msg.TariffStatus.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.RegulationRate.ResponseTime
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.Tariff.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.powertac.common.TariffTransaction.Type
Returns an array containing the constants of this enum type, in the order they are declared.
VariableRateUpdate - Class in org.powertac.common.msg
Conveys an HourlyCharge instance, labeled by its Tariff and Rate.
VariableRateUpdate(Broker, Rate, HourlyCharge) - Constructor for class org.powertac.common.msg.VariableRateUpdate
 
VariableRateUpdate() - Constructor for class org.powertac.common.msg.VariableRateUpdate
 
VisualizerMessageListener - Interface in org.powertac.common.interfaces
Implementors of this interface will be notified of selected events necessary for visualization by calling registerVisualizerMessageListener(this) on VisualizerProxy.
VisualizerProxy - Interface in org.powertac.common.interfaces
Visualization Proxy is responsible for forwarding selected server data to any registered visualizer
VisualizerStatusRequest - Class in org.powertac.common.msg
Message sent by a remote visualizer to check status of a server.
VisualizerStatusRequest() - Constructor for class org.powertac.common.msg.VisualizerStatusRequest
 

W

WeatherForecast - Class in org.powertac.common
A collection of weatherReports giving hourly forecasts for future timeslot.
WeatherForecast(int, List<WeatherForecastPrediction>) - Constructor for class org.powertac.common.WeatherForecast
 
WeatherForecast(Timeslot, List<WeatherForecastPrediction>) - Constructor for class org.powertac.common.WeatherForecast
Deprecated.
WeatherForecastPrediction - Class in org.powertac.common
A weather forecast report instance that describes the weather data
WeatherForecastPrediction(int, double, double, double, double) - Constructor for class org.powertac.common.WeatherForecastPrediction
 
WeatherForecastRepo - Class in org.powertac.common.repo
Repository for WeatherReports.
WeatherForecastRepo() - Constructor for class org.powertac.common.repo.WeatherForecastRepo
standard constructor
WeatherReport - Class in org.powertac.common
A weather report instance that describes the weather data for one hour of the simulation
WeatherReport(int, double, double, double, double) - Constructor for class org.powertac.common.WeatherReport
 
WeatherReport(Timeslot, double, double, double, double) - Constructor for class org.powertac.common.WeatherReport
Deprecated.
WeatherReportRepo - Class in org.powertac.common.repo
Repository for WeatherReports.
WeatherReportRepo() - Constructor for class org.powertac.common.repo.WeatherReportRepo
standard constructor
WEEK - Static variable in class org.powertac.common.TimeService
 
WIND_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 
withBootstrapDiscardedTimeslots(int) - Method in class org.powertac.common.Competition
Fluent setter for bootstrap interval.
withBootstrapTimeslotCount(int) - Method in class org.powertac.common.Competition
Fluent setter for the bootstrap timeslot count.
withCanNegotiate(boolean) - Method in class org.powertac.common.CustomerInfo
Fluent setter for the canNegotiate flag.
withChunkSize(int) - Method in class org.powertac.common.TariffEvaluator
Sets the target size of allocation chunks.
withControllableKW(double) - Method in class org.powertac.common.CustomerInfo
Fluent setter for controllable kWh.
withCustomerClass(CustomerInfo.CustomerClass) - Method in class org.powertac.common.CustomerInfo
Fluent setter for customerClass attribute.
withDailyBegin(AbstractDateTime) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate comes into effect.
withDailyBegin(ReadablePartial) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate comes into effect.
withDailyBegin(int) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate comes into effect as hours since midnight.
withDailyEnd(AbstractDateTime) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate is no longer in effect.
withDailyEnd(ReadablePartial) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate is no longer in effect.
withDailyEnd(int) - Method in class org.powertac.common.Rate
Sets the time of day when this Rate is no longer in effect, given as hours since midnight.
withDeactivateTimeslotsAhead(int) - Method in class org.powertac.common.Competition
Fluent setter for number of timeslots, starting with the current timeslot, that are closed for trading.
withDescription(String) - Method in class org.powertac.common.Competition
Fluent setter for competition description.
withDownRegulationKW(double) - Method in class org.powertac.common.CustomerInfo
Fluent setter for down-regulation kW.
withDownRegulationPayment(double) - Method in class org.powertac.common.RegulationRate
Sets the payment for down-regulation
withEarlyWithdrawPayment(double) - Method in class org.powertac.common.TariffSpecification
Sets the payment for a customer who withdraws from a subscription to this tariff before the minimumDuration has expired.
withEvaluateAllTariffs(boolean) - Method in class org.powertac.common.TariffEvaluator
If true, then tariff evaluations are not saved; instead, all tariffs are evaluated each time.
withExpectedMean(double) - Method in class org.powertac.common.Rate
Specifies the expected mean charge/kWh, excluding periodic charges, for this Rate.
withExpectedTimeslotCount(int) - Method in class org.powertac.common.Competition
Fluent setter for the expected length of a normal sim session.
withExpiration(Instant) - Method in class org.powertac.common.TariffSpecification
Sets the expiration date for this tariff.
withFixed(boolean) - Method in class org.powertac.common.Rate
Specifies whether this Rate is fixed (true) or variable (false).
withInconvenienceWeight(double) - Method in class org.powertac.common.TariffEvaluator
Sets the weight given to inconvenience (as opposed to cost) in computing tariff utility.
withInertia(double) - Method in class org.powertac.common.TariffEvaluator
Sets the steady-state evaluation inertia for the customer.
withLatitude(int) - Method in class org.powertac.common.Competition
Fluent setter for latitude value
withMaxCurtailment(double) - Method in class org.powertac.common.Rate
Sets the maximum proportion of offered load or supply that can be curtailed.
withMaxValue(double) - Method in class org.powertac.common.Rate
Specifies the maximum charge (furthest from zero) for variable Rates.
withMessage(String) - Method in class org.powertac.common.msg.TariffStatus
 
withMinDuration(long) - Method in class org.powertac.common.TariffSpecification
Sets the minimum duration of a subscription for this tariff.
withMinimumOrderQuantity(double) - Method in class org.powertac.common.Competition
Fluent setter for minimum order quantity.
withMinimumTimeslotCount(int) - Method in class org.powertac.common.Competition
Fluent setter for minimumTimeslotCount.
withMinValue(double) - Method in class org.powertac.common.Rate
Specifies the minimum charge (closest to zero) for variable Rates.
withMultiContracting(boolean) - Method in class org.powertac.common.CustomerInfo
Fluent setter for the multiContracting property.
withNoticeInterval(Duration) - Method in class org.powertac.common.Rate
Specifies the minimum interval for rate change notifications for a variable Rate.
withNoticeInterval(long) - Method in class org.powertac.common.Rate
Specifies the minimum interval in hours for rate change notifications for a variable Rate.
withPeriodicPayment(double) - Method in class org.powertac.common.TariffSpecification
Sets the daily payment per customer for subscriptions to this tariff.
withPomId(String) - Method in class org.powertac.common.Competition
Fluent setter for Pom ID.
withPowerType(PowerType) - Method in class org.powertac.common.CustomerInfo
Fluent setter to set PowerType for this CustomerInfo.
withPreferredContractDuration(double) - Method in class org.powertac.common.TariffEvaluator
Sets the preferred maximum contract duration in days.
withRationality(double) - Method in class org.powertac.common.TariffEvaluator
Sets the level of rationality for this customer.
withResponse(RegulationRate.ResponseTime) - Method in class org.powertac.common.RegulationRate
Sets the response time
withSignupBonusFactor(double) - Method in class org.powertac.common.TariffEvaluator
Sets the factor by which inertia is multiplied for the case where the current tariff had a positive signup bonus.
withSignupPayment(double) - Method in class org.powertac.common.TariffSpecification
Sets the signup payment for new subscriptions.
withSimulationBaseTime(Instant) - Method in class org.powertac.common.Competition
Fluent setter for simulation base time.
withSimulationBaseTime(String) - Method in class org.powertac.common.Competition
Fluent setter for simulation base time that takes a String, interpreted as a standard DateTimeFormat as yyy-MM-dd.
withSimulationBaseTime(long) - Method in class org.powertac.common.Competition
Fluent setter for simulation base time that takes a long.
withSimulationModulo(long) - Method in class org.powertac.common.Competition
Fluent setter for simulation modulo.
withSimulationRate(long) - Method in class org.powertac.common.Competition
Fluent setter for time compression ratio.
withSimulationTimeslotSeconds(int) - Method in class org.powertac.common.Competition
Fluent setter for controlling simulation rate by setting the number of wall-clock seconds per timeslot.
withStorageCapacity(double) - Method in class org.powertac.common.CustomerInfo
Fluent setter for storage capacity.
withTariffEvalDepth(int) - Method in class org.powertac.common.TariffEvaluator
Sets the number of tariffs/broker of each applicable PowerType to consider.
withTariffSwitchFactor(double) - Method in class org.powertac.common.TariffEvaluator
Sets the inconvenience of switching tariffs.
withTierThreshold(double) - Method in class org.powertac.common.Rate
Sets the usage threshold for applicability of this Rate.
withTimeslotLength(int) - Method in class org.powertac.common.Competition
Fluent setter for timeslot length, interpreted as minutes in sim time.
withTimeslotsOpen(int) - Method in class org.powertac.common.Competition
Fluent setter for the open timeslot count.
withTimezoneOffset(int) - Method in class org.powertac.common.Competition
Fluent setter for timezone offset
withUpRegulationKW(double) - Method in class org.powertac.common.CustomerInfo
Fluent setter for up-regulation kW.
withUpRegulationPayment(double) - Method in class org.powertac.common.RegulationRate
Sets the payment for up-regulation
withValue(double) - Method in class org.powertac.common.Rate
Specifies the charge/kWh for a fixed rate, from the customer's viewpoint.
withWeeklyBegin(AbstractDateTime) - Method in class org.powertac.common.Rate
Sets the day of the week on which this Rate comes into effect.
withWeeklyBegin(ReadablePartial) - Method in class org.powertac.common.Rate
Sets the day of the week on which this Rate comes into effect.
withWeeklyBegin(int) - Method in class org.powertac.common.Rate
Sets the day of the week on which this Rate comes into effect.
withWeeklyEnd(AbstractDateTime) - Method in class org.powertac.common.Rate
Sets the weekly end of applicability for this Rate, by processing end spec to extract dayOfWeek field.
withWeeklyEnd(ReadablePartial) - Method in class org.powertac.common.Rate
Sets the weekly end of applicability for this Rate, by processing end spec to extract dayOfWeek field.
withWeeklyEnd(int) - Method in class org.powertac.common.Rate
Sets the weekly end of applicability for this Rate.

X

XMLMessageConverter - Class in org.powertac.common
 
XMLMessageConverter() - Constructor for class org.powertac.common.XMLMessageConverter
 
A B C D E F G H I L M N O P R S T U V W X 
Skip navigation links

Copyright © 2017 Power TAC. All rights reserved.