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

A

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.
Activatable - Interface in org.powertac.samplebroker.interfaces
Interface for services that need to be called when the final TimeslotComplete message has been received from the server in each timeslot.
activate(int) - Method in interface org.powertac.samplebroker.interfaces.Activatable
Called once/timeslot after the TimeslotComplete message has been received.
activate(int) - Method in class org.powertac.samplebroker.MarketManagerService
Compute needed quantities for each open timeslot, then submit orders for those quantities.
activate(int) - Method in class org.powertac.samplebroker.PortfolioManagerService
Called after TimeslotComplete msg received.
add(Broker) - Method in class org.powertac.common.repo.BrokerRepo
 
add(CustomerInfo) - Method in class org.powertac.common.repo.CustomerRepo
 
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
addBid(OrderbookOrder) - Method in class org.powertac.common.Orderbook
 
addBroker(String) - Method in class org.powertac.common.Competition
Adds a broker to the Competition.
addCustomer(CustomerInfo) - Method in class org.powertac.common.Competition
Adds a customer to the Competition.
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.
addProperties(Properties) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
Adds the Properties structure to the broker configuration.
addProperties(PropertiesConfiguration) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
Adds the PropertiesConfiguration to the broker configuration.
addRate(RateCore) - Method in class org.powertac.common.TariffSpecification
Adds a new RateCore (Rate, RegulationRate, etc.) to this tariff.
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
 
afterPropertiesSet() - Method in class org.powertac.common.XMLMessageConverter
 
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
 

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 up-regulation or down-regulation 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 regulation in the current timeslot.
BalancingControlEvent() - Constructor for class org.powertac.common.msg.BalancingControlEvent
 
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 broker's 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
 
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
BrokerContext - Interface in org.powertac.samplebroker.interfaces
Provides message handler registration, along with access to competition context information, including The message router for outgoing messages The underlying org.powertac.common.Broker instance The name of this broker The base time for the current simulation The length of common data arrays
BrokerConverter - Class in org.powertac.common.xml
Converts a Broker instance to its username
BrokerConverter() - Constructor for class org.powertac.common.xml.BrokerConverter
 
BrokerMain - Class in org.powertac.samplebroker.core
This is the top level of a Power TAC broker implementation.
BrokerMain() - Constructor for class org.powertac.samplebroker.core.BrokerMain
 
BrokerMessageReceiver - Class in org.powertac.samplebroker.core
Receives incoming jms messages for the broker and deserializes them just in case they are to be consumed within the current JVM process.
BrokerMessageReceiver() - Constructor for class org.powertac.samplebroker.core.BrokerMessageReceiver
 
BrokerPropertiesService - Class in org.powertac.samplebroker.core
Supports annotation-based configuration of broker components from properties or xml config files.
BrokerPropertiesService() - Constructor for class org.powertac.samplebroker.core.BrokerPropertiesService
Default constructor
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
 
BrokerRunner - Class in org.powertac.samplebroker.core
Multi-session broker runner.
BrokerRunner() - Constructor for class org.powertac.samplebroker.core.BrokerRunner
 
BrokerTournamentService - Class in org.powertac.samplebroker.core
Logs a broker into a tournament server, retrieving tournament-specific and game-specific configuration data from the server.
BrokerTournamentService() - Constructor for class org.powertac.samplebroker.core.BrokerTournamentService
 
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.
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
 
ChainedConstructor - Annotation Type in org.powertac.common.state
Annotation for chained constructors that should not generate log records.
chainedConstructor() - Method in class org.powertac.common.state.StateLogging
 
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
 
collectUsage(int) - Method in interface org.powertac.samplebroker.interfaces.PortfolioManager
Returns total net expected usage across all subscriptions for the given index (normally a timeslot serial number).
collectUsage(int) - Method in class org.powertac.samplebroker.PortfolioManagerService
Returns total usage for a given timeslot (represented as a simple index).
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.
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 class org.powertac.samplebroker.core.BrokerPropertiesService
 
configureMe(Object) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
 
configureNamedInstances(List<?>) - Method in class org.powertac.common.config.Configurator
Configures a set of instances of some class.
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
 
ContextManagerService - Class in org.powertac.samplebroker
Handles incoming context and bank messages with example behaviors.
ContextManagerService() - Constructor for class org.powertac.samplebroker.ContextManagerService
 
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
 
CustomerRepo - Class in org.powertac.common.repo
Simple repository for Customer instances.
CustomerRepo() - Constructor for class org.powertac.common.repo.CustomerRepo
 

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.
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
 
Domain - Annotation Type in org.powertac.common.state
Annotation for domain classes that must record instance creation in the state log.
domainConstructor() - Method in class org.powertac.common.state.StateLogging
 
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.
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.
exportMessage(String) - Method in interface org.powertac.samplebroker.interfaces.IpcAdapter
Sends an incoming server message, in text form, to an out-of-process broker implementation.
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.
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.
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
 
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.
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.
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
 
getBaseTime() - Method in class org.powertac.samplebroker.core.PowerTacBroker
Returns the simulation base time
getBaseTime() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
Returns the simulation base time
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.
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
 
getBroker() - Method in class org.powertac.samplebroker.core.PowerTacBroker
Returns the "real" broker underneath this monstrosity
getBroker() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
Returns the org.powerac.common.Broker instance
getBrokerList() - Method in class org.powertac.samplebroker.core.PowerTacBroker
Returns the broker's list of competing brokers - non-public
getBrokerList() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
Returns the broker's list of competing brokers - non-public
getBrokerQueueName() - Method in class org.powertac.samplebroker.core.BrokerTournamentService
 
getBrokers() - Method in class org.powertac.common.Competition
The Brokers who are participating in this Competion.
getBrokerTime() - Method in class org.powertac.common.msg.BrokerAuthentication
Returns the system time set by the broker.
getBrokerUsername() - Method in class org.powertac.samplebroker.core.PowerTacBroker
Returns the username for this broker
getBrokerUsername() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
Returns the broker name (username of the underlying Broker)
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
 
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.
getCurtailmentRatio() - Method in class org.powertac.common.msg.EconomicControlEvent
 
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 class org.powertac.common.TariffTransaction
 
getCustomerName() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getCustomers() - Method in class org.powertac.common.Competition
The list of customers (or more precisely, customer models) in the simulation environment.
getDailyBegin() - Method in class org.powertac.common.Rate
 
getDailyEnd() - Method in class org.powertac.common.Rate
 
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.
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 class org.powertac.samplebroker.core.BrokerPropertiesService
 
getDownRegulationDiscount() - Method in class org.powertac.common.Competition
Discount rate for overpriced down-regulation.
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
 
getEstimatedConsumptionPremium() - Method in class org.powertac.common.Competition
Brokers typically pay less for production than they charge for consumption.
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
 
getExpectedRegulation() - Method in class org.powertac.common.TariffEvaluationHelper
 
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
 
getFirstEnabled() - Method in class org.powertac.common.msg.TimeslotUpdate
Returns the serial number of the first enabled timeslot.
getFixedTimeslotCount() - Method in class org.powertac.common.Competition
Fixed value for timeslot count, allows external tools such as tournament scheduler to compute game lengths externally.
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.RateCore
Returns the id of this Rate
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.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
 
getIdPrefix() - Method in class org.powertac.common.Broker
Returns the ID prefix for this broker.
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 class org.powertac.samplebroker.core.BrokerPropertiesService
 
getIsSupersededBy() - Method in class org.powertac.common.Tariff
 
getJmsBrokerUrl() - Method in class org.powertac.samplebroker.core.JmsManagementService
 
getJmsUrl() - Method in class org.powertac.samplebroker.core.BrokerTournamentService
 
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.
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.
getMaxDownRegulationPaymentRatio() - Method in class org.powertac.common.Competition
If a tariff offers a down-regulation price larger (more negative) than the consumption price times this ratio, customers will not offer down-regulation, and will ignore down-regulation during tariff evaluation.
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.
getMaxUpRegulationPaymentRatio() - Method in class org.powertac.common.Competition
Customers assume up-regulation will never clear if the regulation price is higher than the consumption price times this ratio, and so up-regulation will be ignored during tariff evaluation.
getMaxValue() - Method in class org.powertac.common.Rate
 
getMeanConsumptionPrice() - Method in class org.powertac.common.Tariff
 
getMeanMarketPrice() - Method in interface org.powertac.samplebroker.interfaces.MarketManager
Returns the mean price observed in the market
getMeanMarketPrice() - Method in class org.powertac.samplebroker.MarketManagerService
Returns the mean price observed in the market
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.
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
 
getPasswordAuthentication() - Method in class org.powertac.util.ProxyAuthenticator
 
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.
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
 
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.
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
 
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
 
getProperty(String) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
 
getProperty(String, String) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
 
getProperty(String) - Method in class org.powertac.util.PropertiesUtil
 
getProperty(String, String) - Method in class org.powertac.util.PropertiesUtil
 
getQuantity() - Method in class org.powertac.common.BalancingTransaction
Deprecated.
getQuantity() - Method in class org.powertac.common.DistributionTransaction
Deprecated.
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.
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.
getResponse() - Method in class org.powertac.common.RegulationRate
 
getSerialNumber() - Method in class org.powertac.common.Timeslot
 
getServerQueueName() - Method in class org.powertac.samplebroker.core.BrokerTournamentService
 
getServerQueueName() - Method in class org.powertac.samplebroker.core.JmsManagementService
 
getServerTime() - Method in class org.powertac.common.msg.BrokerAccept
Returns the server's system time at the time this instance was created.
getServerTimeOffset() - Method in class org.powertac.samplebroker.core.PowerTacBroker
Returns the computed server time offset after login.
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.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.
getSupersedes() - Method in class org.powertac.common.TariffSpecification
 
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.
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
 
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.
getTierThreshold() - Method in class org.powertac.common.Rate
 
getTimeForIndex(int) - Method in class org.powertac.common.repo.TimeslotRepo
Converts int timeslot index to Instant
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.
getTimeslotCompleted() - Method in class org.powertac.samplebroker.core.PowerTacBroker
 
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).
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
 
getTxType() - Method in class org.powertac.common.TariffTransaction
 
getUpdateId() - Method in class org.powertac.common.msg.TariffStatus
 
getUpRegulationDiscount() - Method in class org.powertac.common.Competition
Discount rate for overpriced up-regulation.
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.
getUsageRecordLength() - Method in class org.powertac.samplebroker.core.PowerTacBroker
Returns the length of the standard data array (24h * 7d)
getUsageRecordLength() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
Returns length of data array used for tracking customer consumption/production
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.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.
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
 
getXStream() - Static method in class org.powertac.common.XMLMessageConverter
 

H

handleMessage(BankTransaction) - Method in class org.powertac.samplebroker.ContextManagerService
BankTransaction represents an interest payment.
handleMessage(CashPosition) - Method in class org.powertac.samplebroker.ContextManagerService
CashPosition updates our current bank balance.
handleMessage(DistributionReport) - Method in class org.powertac.samplebroker.ContextManagerService
DistributionReport gives total consumption and production for the timeslot, summed across all brokers.
handleMessage(Competition) - Method in class org.powertac.samplebroker.ContextManagerService
Handles the Competition instance that arrives at beginning of game.
handleMessage(Properties) - Method in class org.powertac.samplebroker.ContextManagerService
Receives the server configuration properties.
handleMessage(BrokerAccept) - Method in class org.powertac.samplebroker.core.PowerTacBroker
BrokerAccept comes out when our authentication credentials are accepted and we become part of the game.
handleMessage(Competition) - Method in class org.powertac.samplebroker.core.PowerTacBroker
Handles the Competition instance that arrives at beginning of game.
handleMessage(SimPause) - Method in class org.powertac.samplebroker.core.PowerTacBroker
Receives the SimPause message, used to pause the clock.
handleMessage(SimResume) - Method in class org.powertac.samplebroker.core.PowerTacBroker
Receives the SimResume message, used to update the clock.
handleMessage(SimStart) - Method in class org.powertac.samplebroker.core.PowerTacBroker
Receives the SimStart message, used to start the clock.
handleMessage(SimEnd) - Method in class org.powertac.samplebroker.core.PowerTacBroker
Receives the SimEnd message, which ends the broker session.
handleMessage(TimeslotUpdate) - Method in class org.powertac.samplebroker.core.PowerTacBroker
Updates the sim clock on receipt of the TimeslotUpdate message, which should be the first to arrive in each timeslot.
handleMessage(TimeslotComplete) - Method in class org.powertac.samplebroker.core.PowerTacBroker
TimeslotComplete is the last message sent by the server in each timeslot.
handleMessage(Competition) - Method in class org.powertac.samplebroker.MarketManagerService
Handles the Competition instance that arrives at beginning of game.
handleMessage(BalancingTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
Handles a BalancingTransaction message.
handleMessage(ClearedTrade) - Method in class org.powertac.samplebroker.MarketManagerService
Handles a ClearedTrade message - this is where you would want to keep track of market prices.
handleMessage(DistributionTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
Handles a DistributionTransaction - charges for transporting power
handleMessage(CapacityTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
Handles a CapacityTransaction - a charge for contribution to overall peak demand over the recent past.
handleMessage(MarketBootstrapData) - Method in class org.powertac.samplebroker.MarketManagerService
Receives a MarketBootstrapData message, reporting usage and prices for the bootstrap period.
handleMessage(MarketPosition) - Method in class org.powertac.samplebroker.MarketManagerService
Receives a MarketPosition message, representing our commitments on the wholesale market
handleMessage(MarketTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
Receives a new MarketTransaction.
handleMessage(Orderbook) - Method in class org.powertac.samplebroker.MarketManagerService
Receives market orderbooks.
handleMessage(WeatherForecast) - Method in class org.powertac.samplebroker.MarketManagerService
Receives a new WeatherForecast.
handleMessage(WeatherReport) - Method in class org.powertac.samplebroker.MarketManagerService
Receives a new WeatherReport.
handleMessage(BalanceReport) - Method in class org.powertac.samplebroker.MarketManagerService
Receives a BalanceReport containing information about imbalance in the current timeslot.
handleMessage(CustomerBootstrapData) - Method in class org.powertac.samplebroker.PortfolioManagerService
Handles CustomerBootstrapData by populating the customer model corresponding to the given customer and power type.
handleMessage(TariffSpecification) - Method in class org.powertac.samplebroker.PortfolioManagerService
Handles a TariffSpecification.
handleMessage(TariffStatus) - Method in class org.powertac.samplebroker.PortfolioManagerService
Handles a TariffStatus message.
handleMessage(TariffTransaction) - Method in class org.powertac.samplebroker.PortfolioManagerService
Handles a TariffTransaction.
handleMessage(TariffRevoke) - Method in class org.powertac.samplebroker.PortfolioManagerService
Handles a TariffRevoke message from the server, indicating that some tariff has been revoked.
handleMessage(BalancingControlEvent) - Method in class org.powertac.samplebroker.PortfolioManagerService
Handles a BalancingControlEvent, sent when a BalancingOrder is exercised by the DU.
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.
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.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.
init() - Method in class org.powertac.samplebroker.core.BrokerTournamentService
 
init(String, String) - Method in class org.powertac.samplebroker.core.JmsManagementService
 
init() - Method in class org.powertac.samplebroker.core.PowerTacBroker
Sets up the "adapter" broker, initializes the other services, registers for incoming messages.
Initializable - Interface in org.powertac.samplebroker.interfaces
Implementations of this interface have their initialize() methods called at the appropriate point in the broker startup sequence.
initialize(BrokerContext) - Method in class org.powertac.samplebroker.ContextManagerService
 
initialize() - Method in class org.powertac.samplebroker.core.BrokerMessageReceiver
 
initialize(BrokerContext) - Method in interface org.powertac.samplebroker.interfaces.Initializable
Initializes a service prior to logging in to the server.
initialize(BrokerContext) - Method in class org.powertac.samplebroker.MarketManagerService
 
initialize(BrokerContext) - Method in class org.powertac.samplebroker.PortfolioManagerService
Per-game initialization.
initializeCostFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
Initializes cost factors and normalizes
initializeRegulationFactors(double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
Initializes regulation factors.
INTERRUPTIBLE_CONSUMPTION - Static variable in class org.powertac.common.enumerations.PowerType
 
IpcAdapter - Interface in org.powertac.samplebroker.interfaces
Implementations are intended to allow out-of-process broker implementation through an inter-process communication path.
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.
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.
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 2
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(PowerType) - Method in class org.powertac.common.Rate
 
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.

J

JmsManagementService - Class in org.powertac.samplebroker.core
Manages the JMS connection to a simulation server.
JmsManagementService() - Constructor for class org.powertac.samplebroker.core.JmsManagementService
 

L

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
 
login(String, String, String, long) - Method in class org.powertac.samplebroker.core.BrokerTournamentService
 

M

main(String[]) - Static method in class org.powertac.samplebroker.core.BrokerMain
Sets up the broker.
makeOrderbook(Timeslot, Double) - Method in class org.powertac.common.repo.OrderbookRepo
Creates a new Orderbook, with standard defaults (productType = Future, dateExecuted = now).
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
 
MarketManager - Interface in org.powertac.samplebroker.interfaces
Encapsulates broker market interactions.
MarketManagerService - Class in org.powertac.samplebroker
Handles market interactions on behalf of the broker.
MarketManagerService() - Constructor for class org.powertac.samplebroker.MarketManagerService
 
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.samplebroker.core
Routes incoming messages to broker components, and outgoing messages to the server.
MessageDispatcher() - Constructor for class org.powertac.samplebroker.core.MessageDispatcher
Default constructor
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

newInstance(String) - Static method in class org.powertac.common.Competition
 
newState() - Method in class org.powertac.common.state.StateLogging
 
newstate(JoinPoint) - Method in class org.powertac.common.state.StateLogging
 
NO_TIME - Static variable in class org.powertac.common.Rate
 

O

onMessage(Message) - Method in class org.powertac.samplebroker.core.BrokerMessageReceiver
 
openStreams() - Method in interface org.powertac.samplebroker.interfaces.IpcAdapter
Opens output and input streams.
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
Power TAC domain types, shared between simulation server and brokers.
org.powertac.common.config - package org.powertac.common.config
Annotations and tools to standardize and automate configuration of the Power TAC simulation server and brokers.
org.powertac.common.enumerations - package org.powertac.common.enumerations
 
org.powertac.common.exceptions - package org.powertac.common.exceptions
 
org.powertac.common.msg - package org.powertac.common.msg
Message types exchanged between the Power TAC simulation server and brokers.
org.powertac.common.repo - package org.powertac.common.repo
Repositories that need to exist in both the Power TAC simulation server and in brokers.
org.powertac.common.spring - package org.powertac.common.spring
 
org.powertac.common.state - package org.powertac.common.state
Tools and annotations to support and standardize generation of state logs that capture changes of state in brokers and in the Power TAC simulation server.
org.powertac.common.xml - package org.powertac.common.xml
Converters needed to help translate XStream-serialized messages into correct internal representations.
org.powertac.samplebroker - package org.powertac.samplebroker
 
org.powertac.samplebroker.core - package org.powertac.samplebroker.core
Implementation of the core of a Power TAC broker, including time-keeping, server login and communication, message routing, and session management.
org.powertac.samplebroker.interfaces - package org.powertac.samplebroker.interfaces
Interfaces that can be implemented by broker behavioral modules, connecting them to the core and the server.
org.powertac.util - package org.powertac.util
 
overpricedDownRegulationRatio() - Method in class org.powertac.common.Tariff
 
overpricedUpRegulationRatio() - Method in class org.powertac.common.Tariff
Applies price constraint to down-regulation quantity.

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
 
PortfolioManager - Interface in org.powertac.samplebroker.interfaces
Interface for portfolio manager, makes usage statistics available.
PortfolioManagerService - Class in org.powertac.samplebroker
Handles portfolio-management responsibilities for the broker.
PortfolioManagerService() - Constructor for class org.powertac.samplebroker.PortfolioManagerService
Default constructor.
postedTimeslot - Variable in class org.powertac.common.BrokerTransaction
The timeslot for which this meter reading is generated
PowerTacBroker - Class in org.powertac.samplebroker.core
This is the top-level controller for a single broker session.
PowerTacBroker() - Constructor for class org.powertac.samplebroker.core.PowerTacBroker
Default constructor for remote broker deployment
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.
processCmdLine(String[]) - Method in class org.powertac.samplebroker.core.BrokerRunner
 
processProperties(ConfigurableListableBeanFactory, Properties) - Method in class org.powertac.util.PropertiesUtil
 
PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 
PropertiesUtil - Class in org.powertac.util
 
PropertiesUtil() - Constructor for class org.powertac.util.PropertiesUtil
 
ProxyAuthenticator - Class in org.powertac.util
 
ProxyAuthenticator(boolean) - Constructor for class org.powertac.util.ProxyAuthenticator
 
PUMPED_STORAGE_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 

R

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
Common supertype of Rate classes, holds tariff ID for this rate.
RateCore() - Constructor for class org.powertac.common.RateCore
 
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
 
readResolve() - Method in class org.powertac.common.state.XStreamStateLoggable
 
readResolveMethod() - Method in class org.powertac.common.state.StateLogging
 
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.
recordInstanceList(String, List<String>) - Method in interface org.powertac.common.config.ConfigurationRecorder
Records an instance list for a class.
recordItem(String, Object) - Method in interface org.powertac.common.config.ConfigurationRecorder
Records a single configuration item
recordMetadata(String, String, String, boolean, boolean) - Method in interface org.powertac.common.config.ConfigurationRecorder
Records metadata for an item.
recycle() - Static method in class org.powertac.common.IdGenerator
Recycles the generator.
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.TariffRepo
 
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
 
registerMessageHandler(Object, Class<?>) - Method in class org.powertac.samplebroker.core.MessageDispatcher
Sets up handlers for incoming messages by message type.
registerMessageHandler(Object, Class<?>) - Method in class org.powertac.samplebroker.core.PowerTacBroker
Delegates registrations to the router
registerMessageHandler(Object, Class<?>) - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
Delegates registrations to the router
registerMessageListener(MessageListener, String) - Method in class org.powertac.samplebroker.core.JmsManagementService
 
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
 
removeTariff(Tariff) - Method in class org.powertac.common.repo.TariffRepo
Removes a tariff and its specification from the repo.
routeMessage(Object) - Method in class org.powertac.samplebroker.core.MessageDispatcher
Routes incoming messages from the server
run() - Method in class org.powertac.samplebroker.core.PowerTacBroker
Logs in and waits for the sim to end.
RUN_OF_RIVER_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 
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

SECOND - Static variable in class org.powertac.common.TimeService
 
sendMessage(Object) - Method in class org.powertac.samplebroker.core.MessageDispatcher
Converts outgoing message to XML, sends it to the server
sendMessage(Object) - Method in class org.powertac.samplebroker.core.PowerTacBroker
Sends an outgoing message.
sendMessage(Object) - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
Sends an outgoing message.
sendRawMessage(String) - Method in class org.powertac.samplebroker.core.MessageDispatcher
Sends XML-formatted message to the server without interpretation.
setApplicationContext(ApplicationContext) - Method in class org.powertac.common.spring.SpringApplicationContext
 
setApplicationContext(ApplicationContext) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
 
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
setConfigOutput(ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
Sets up an output stream for config dump.
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
 
setDefaultTariff(TariffSpecification) - Method in class org.powertac.common.repo.TariffRepo
 
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.
setJmsBrokerUrl(String) - Method in class org.powertac.samplebroker.core.JmsManagementService
 
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
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.
setProperty(String, Object) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
Changes the value of a property (or adds a property).
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.
setServerQueueName(String) - Method in class org.powertac.samplebroker.core.JmsManagementService
 
setSoldThreshold(double) - Method in class org.powertac.common.TariffEvaluationHelper
 
setStart(long) - Method in class org.powertac.common.TimeService
 
setState() - Method in class org.powertac.common.state.StateLogging
 
setstate(JoinPoint) - Method in class org.powertac.common.state.StateLogging
 
setState(Tariff.State) - Method in class org.powertac.common.Tariff
Updates the state of this tariff.
setStatus(TariffStatus.Status) - Method in class org.powertac.common.msg.TariffStatus
 
setTariffId(long) - Method in class org.powertac.common.RateCore
Sets the backpointer to the tariff.
setUserConfig(File) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
 
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 class org.powertac.samplebroker.core.JmsManagementService
 
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
 
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
 
startMessageImport() - Method in interface org.powertac.samplebroker.interfaces.IpcAdapter
Starts a listener for incoming messages, which will be forwarded to the server.
startSession(PropertiesConfiguration, File, long) - Method in class org.powertac.samplebroker.core.PowerTacBroker
Starts a new session, setting parameters from command-line and from config file.
StateChange - Annotation Type in org.powertac.common.state
Annotation for methods that must trigger state-log entries.
StateLogging - Class in org.powertac.common.state
Implement uniform state-logging using aspects.
StateLogging() - Constructor for class org.powertac.common.state.StateLogging
 
STORAGE - Static variable in class org.powertac.common.enumerations.PowerType
 

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
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
 
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
 
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
 
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
 
toXML(Object) - Method in class org.powertac.common.XMLMessageConverter
 
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
 
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.

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
 
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 weatherForecastPredictions giving hourly forecasts for future timeslots.
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.
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
 
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.
withDownRegulationDiscount(double) - Method in class org.powertac.common.Competition
Fluent setter for overpriced down-regulation discount rate.
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.
withEstimatedConsumptionPremium(double) - Method in class org.powertac.common.Competition
Fluent setter for the estimated consumption price premium.
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).
withFixedTimeslotCount(Integer) - Method in class org.powertac.common.Competition
Fluent setter for the expected length of a normal sim session.
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.
withMaxDownRegulationPaymentRatio(double) - Method in class org.powertac.common.Competition
Fluent setter for the maximum down-regulation payment ratio.
withMaxUpRegulationPaymentRatio(double) - Method in class org.powertac.common.Competition
Fluent setter for the maximum ratio between consumption price and up-regulation price for which customers will include up-regulation in tariff evaluation.
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.
withResponse(RegulationRate.ResponseTime) - Method in class org.powertac.common.RegulationRate
Sets the response time
withSignupPayment(double) - Method in class org.powertac.common.TariffSpecification
Sets the signup payment for new subscriptions.
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 yyyy-MM-dd.
withSimulationBaseTime(Instant) - Method in class org.powertac.common.Competition
Fluent setter for simulation base time.
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.
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
withUpRegulationDiscount(double) - Method in class org.powertac.common.Competition
Fluent setter for overpriced up-regulation discount rate.
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
 
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
Initializes the XStream message serialization system
XMLMessageConverter() - Constructor for class org.powertac.common.XMLMessageConverter
 
XStreamStateLoggable - Class in org.powertac.common.state
 
XStreamStateLoggable() - Constructor for class org.powertac.common.state.XStreamStateLoggable
 
A B C D E F G H I J L M N O P R S T U V W X 
Skip navigation links

Copyright © 2019 Power TAC. All rights reserved.