Package org.powertac.common
Power TAC domain types, shared between simulation server and brokers.
Most classes in this package are messages that
can be exchanged between the server and brokers, and most
are immutable. Also in this package are some essential domain services,
that must be identical between server and broker, including the
TimeService and a message converter.
-
Interface Summary Interface Description Action This is a simple interface intended to be implemented by anonymous classes that need to create a deferred action of some sort.TimedAction Generic action type that takes time as an argument.ValidatableMessage Classes of this type may implement the isValid() method to perform a local validation of the contents of a message. -
Class Summary Class Description BalancingTransaction Represents the broker's final supply/demand imbalance in the current timeslot, and the Distribution Utility's charge for this imbalance.BankTransaction Represents interest charges and payments for brokers.Broker A broker instance represents a competition participant.BrokerTransaction Superclass with common attributes for a number of transaction types.CapacityProfile Represents a customer usage or production profile over time.CapacityTransaction Represents the fee assessed by the Distribution Utility for peak capacity events.CashPosition A CashPosition domain instance represents the current state of a broker's cash account.ClearedTrade A ClearedTrade instance reports public information about a specific market clearing -- clearing price and total quantity traded.Competition 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.CustomerInfo A CustomerInfo instance represents a customer model (i.e.DistributionTransaction Represents the fee assessed by the Distribution Utility for transport of energy over its facilities during the current timeslot.HourlyCharge Represents the cost of power during a specific timeslot in a variable Rate.IdGenerator Generates numeric ID values for domain types.MarketPosition AMarketPosition
domain instance represents the current position of a single broker for wholesale power in a given timeslot.MarketTransaction A MarketTransaction instance represents a trade in the wholesale market.Order A Order instance represents a market (no price specified) or a limit (min/max price specified) order in the PowerTAC wholesale market.Orderbook 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).OrderbookOrder Each instance is an individual un-cleared entry (a Bid or an Ask) within an Orderbook.RandomSeed 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.Rate Tariffs are composed of Rates.RateCore Common supertype of Rate classes, holds tariff ID for this rate.RegulationAccumulator Accumulates available regulation capacity for a given TariffSubscription.RegulationCapacity Accumulates available regulation capacity for a given TariffSubscription.RegulationRate Tariffs are composed of Rates, including RegulationRates.RepeatingTimedAction A timedActionTariff Entity wrapper for TariffSpecification that supports Tariff evaluation and billing.TariffEvaluationHelper 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.TariffEvaluator Tariff evaluation process intended to simplify customer models.TariffMessage Supertype of all tariff-related messages that can be processed by a TariffMessageProcessor.TariffSpecification Represents a Tariff offered by a Broker to customers.TariffSubscription A TariffSubscription is an entity representing an association between a Customer and a Tariff.TariffTransaction ATariffTransaction
instance represents the kWh of energy consumed (kWh < 0
) or producedkWh > 0
by some members of a specific customer model, in a specific timeslot, under a particular tariff.TimeService This is the simulation time-keeper and event queue.Timeslot A timeslot instance describes an interval of time (slot) for which power may be traded in the wholesale market.TransactionFactory 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.WeatherForecast A collection of weatherForecastPredictions giving hourly forecasts for future timeslots.WeatherForecastPrediction A weather forecast report instance that describes the weather dataWeatherReport A weather report instance that describes the weather data for one hour of the simulationXMLMessageConverter Initializes the XStream message serialization system -
Enum Summary Enum Description CustomerInfo.CustomerClass RegulationRate.ResponseTime Tariff.State TariffTransaction.Type