A B C D E F G H I K L M N O P R S T U V W X 
All Classes All Packages

A

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

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() - Constructor for class org.powertac.common.msg.BalancingControlEvent
 
BalancingControlEvent(TariffSpecification, double, double, int) - Constructor for class org.powertac.common.msg.BalancingControlEvent
Creates a new BalancingControlEvent to represent regulation in the current timeslot.
BalancingMarket - Interface in org.powertac.common.interfaces
Interface that defines the publicly accessible methods a Power TAC balancing market has to implement.
BalancingOrder - Class in org.powertac.common.msg
Represents an offer of balancing capacity from a broker to the DU.
BalancingOrder() - Constructor for class org.powertac.common.msg.BalancingOrder
 
BalancingOrder(Broker, TariffSpecification, double, double) - Constructor for class org.powertac.common.msg.BalancingOrder
Creates a new BalancingOrder for the given tariff.
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
 
bootSession(String, String, String, String, String, String) - Method in interface org.powertac.common.interfaces.CompetitionSetup
Starts a bootstrap session with parameters.
bootSession(String, String, String, String, String, String, String) - Method in interface org.powertac.common.interfaces.CompetitionSetup
 
BootstrapDataCollector - Interface in org.powertac.common.interfaces
Object that collects bootstrap data for initializing brokers.
BootstrapDataRepo - Class in org.powertac.common.repo
Repository for data contained in a bootstrap record.
BootstrapDataRepo() - Constructor for class org.powertac.common.repo.BootstrapDataRepo
 
bootstrapState() - Method in annotation type org.powertac.common.config.ConfigurableValue
True if value must be saved in bootstrap record
BootstrapState - Interface in org.powertac.common.interfaces
Implementers of this interface will be asked to record their state at the end of a bootstrap session, for restoration at the beginning of the corresponding sim session.
broadcastDeferredMessages() - Method in interface org.powertac.common.interfaces.BrokerProxy
Sends deferred messages
broadcastMessage(Object) - Method in interface org.powertac.common.interfaces.BrokerProxy
Send a message to all brokers
broadcastMessages(List<?>) - Method in interface org.powertac.common.interfaces.BrokerProxy
Sends a list of messages to all brokers
broker - 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
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.
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(String, String) - Constructor for class org.powertac.common.msg.BrokerAuthentication
Creates an instance from a username, password
BrokerAuthentication(Broker) - Constructor for class org.powertac.common.msg.BrokerAuthentication
Creates an instance from a broker
BrokerConverter - Class in org.powertac.common.xml
Converts a Broker instance to its username
BrokerConverter() - Constructor for class org.powertac.common.xml.BrokerConverter
 
BrokerProxy - Interface in org.powertac.common.interfaces
BrokerProxy is responsible for handling in- and outgoing communication with brokers
BrokerRepo - Class in org.powertac.common.repo
Repository for Brokers, including competitors and other market participants.
BrokerRepo() - Constructor for class org.powertac.common.repo.BrokerRepo
 
BrokerTransaction - Class in org.powertac.common
Superclass with common attributes for a number of transaction types.
BrokerTransaction(int, Broker) - Constructor for class org.powertac.common.BrokerTransaction
 

C

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

D

DAY - Static variable in class org.powertac.common.TimeService
 
dayOfWeek() - Method in class org.powertac.common.Timeslot
Returns the day of week for the start of this timeslot, starting at Monday = 1.
deferredUnsubscribe(int) - Method in class org.powertac.common.TariffSubscription
Handles the actual unsubscribe operation.
deleteTariff(Tariff) - Method in class org.powertac.common.repo.TariffRepo
Deletes a tariff and its specification from the repo, without tracking.
description() - Method in annotation type org.powertac.common.config.ConfigurableValue
User-oriented description
discharge(double) - Method in class org.powertac.evcustomer.customers.EvCustomer
 
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
 
doActivities(int, int) - Method in class org.powertac.evcustomer.customers.EvCustomer
 
doCleanup() - Method in class org.powertac.common.repo.ManagedRepo
 
doCleanup() - Method in class org.powertac.common.repo.OrderbookRepo
 
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
 
DomainProcessor - Class in org.powertac.metadata
 
DomainProcessor() - Constructor for class org.powertac.metadata.DomainProcessor
 
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
 
dump() - Method in annotation type org.powertac.common.config.ConfigurableValue
If true, dump this item during configuration dump
duplicateId - org.powertac.common.msg.TariffStatus.Status
 

E

eager - org.powertac.evcustomer.customers.EvCustomer.RiskAttitude
 
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() - Constructor for class org.powertac.common.msg.EconomicControlEvent
 
EconomicControlEvent(TariffSpecification, double, int) - Constructor for class org.powertac.common.msg.EconomicControlEvent
Creates a new EconomicControlEvent to take effect in the following timeslot.
ELECTRIC_VEHICLE - Static variable in class org.powertac.common.enumerations.PowerType
 
enabledTimeslots() - Method in class org.powertac.common.repo.TimeslotRepo
Returns the list of enabled timeslots, starting with the first by serial number.
ensureRegulationCapacity() - Method in class org.powertac.common.TariffSubscription
Ensures that regulationAccumulator is non-null - needed for non-regulatable customer models
equals(Object) - Method in class org.powertac.util.Pair
 
estimateCost(Tariff, double[]) - Method in class org.powertac.common.TariffEvaluationHelper
Returns aggregate estimated cost, including periodic charges, starting in the next timeslot.
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[], 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.
estimateCostArray(Tariff, double[]) - Method in class org.powertac.common.TariffEvaluationHelper
Returns a cost estimate in array form, including periodic charges.
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.
evaluateTariffs() - Method in class org.powertac.common.TariffEvaluator
Evaluates tariffs and updates subscriptions for a single customer model with a single power type.
evaluateTariffs(List<Tariff>) - Method in class org.powertac.customer.AbstractCustomer
Called to evaluate tariffs.
evaluateTariffs(List<Tariff>) - Method in class org.powertac.evcustomer.customers.EvCustomer
 
evaluateTariffs(List<Tariff>) - Method in class org.powertac.evcustomer.customers.EvSocialClass
This is the basic evaluation function, taking into consideration the minimum cost without shifting the appliances' load but the tariff chosen is picked up randomly by using a possibility pattern.
EvCustomer - Class in org.powertac.evcustomer.customers
 
EvCustomer(String) - Constructor for class org.powertac.evcustomer.customers.EvCustomer
 
EvCustomer.ChargeException - Exception in org.powertac.evcustomer.customers
 
EvCustomer.RiskAttitude - Enum in org.powertac.evcustomer.customers
 
EvSocialClass - Class in org.powertac.evcustomer.customers
Instances represent identifiable "classes" of EV customers.
EvSocialClass() - Constructor for class org.powertac.evcustomer.customers.EvSocialClass
Default constructor, requires manual setting of name
EvSocialClass(String) - Constructor for class org.powertac.evcustomer.customers.EvSocialClass
 
exerciseBalancingControl(BalancingOrder, double, double) - Method in interface org.powertac.common.interfaces.CapacityControl
Creates BalancingControlEvent, posts it on correct TariffSubscription instances.
extractPrefix(long) - Static method in class org.powertac.common.IdGenerator
Returns the id prefix for the given id.

F

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

G

gatherBootstrapList(List<Object>, ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
Pulls "bootstrapState" ConfigurationValues out of objects in the given list, adds them to config with their names.
gatherBootstrapState(Object, ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
Pulls the "bootstrapState" ConfigurableValues out of object thing, adds them to config.
gatherPublishedConfiguration(Object, ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
Pulls the "published" ConfigurableValues out of object thing, adds them to config.
generateWeatherData(Timeslot, List<Timeslot>) - Method in interface org.powertac.common.interfaces.PhysicalEnvironment
Generates and returns weather forecasts for every enabled timeslot The physical environment module is responsible for computing weather forecasts for each entry in targetTimeslots from the perspective of the currentTimeslot.
getActiveTariffList(PowerType) - Method in interface org.powertac.common.interfaces.TariffMarket
Returns the list of currently active tariffs for the given PowerType.
getActivityId() - Method in class org.powertac.evcustomer.beans.GroupActivity
 
getAlpha() - Method in class org.powertac.common.TariffEvaluationHelper
 
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
 
getAwayChargeKW() - Method in class org.powertac.evcustomer.beans.CarType
 
getBalance() - Method in class org.powertac.common.CashPosition
Returns the balance in the account at the time this CashPosition was generated.
getBalancingCost() - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the per-timeslot charge for running the balancing market
getBalancingOrders() - Method in class org.powertac.common.repo.TariffRepo
Retrieves the complete set of balancing orders
getBase() - Method in class org.powertac.common.TimeService
 
getBaseInstant() - Method in class org.powertac.common.TimeService
 
getBean(String) - Method in interface org.powertac.common.interfaces.ContextService
Retrieves a Spring component instance by name
getBean(String) - Static method in class org.powertac.common.spring.SpringApplicationContext
Returns the Spring bean, if any, with the given name.
getBeanByType(Class<T>) - Static method in class org.powertac.common.spring.SpringApplicationContext
Returns the first Spring bean found that is an instance of the given class.
getBeans() - Method in class org.powertac.evcustomer.Config
Retrieves the list of configured beans
getBids() - Method in class org.powertac.common.Orderbook
The set of bids (positive energy quantities) that were submitted and did not clear, ascending sort.
getBootState() - Method in class org.powertac.common.repo.BootstrapDataRepo
Returns the Properties recorded in the boot record, including various values representing the state of the sim at the end of the boot session.
getBootstrapCompetition() - Method in class org.powertac.common.repo.BootstrapDataRepo
Returns the Competition instances from the boot record
getBootstrapDiscardedTimeslots() - Method in class org.powertac.common.Competition
Length of bootstrap interval in msec.
getBootstrapTimeslotCount() - Method in class org.powertac.common.Competition
Number of timeslots in the bootstrap data report for a normal sim.
getBroker() - Method in class org.powertac.common.BrokerTransaction
The Broker to whom this Transaction applies.
getBroker() - Method in class org.powertac.common.MarketPosition
 
getBroker() - Method in class org.powertac.common.msg.OrderStatus
 
getBroker() - Method in class org.powertac.common.msg.PauseRelease
 
getBroker() - Method in class org.powertac.common.msg.PauseRequest
 
getBroker() - Method in class org.powertac.common.Order
 
getBroker() - Method in class org.powertac.common.Tariff
 
getBroker() - Method in class org.powertac.common.TariffMessage
 
getBroker() - Method in class org.powertac.common.TariffSpecification
 
getBrokers() - Method in class org.powertac.common.Competition
The Brokers who are participating in this Competion.
getBrokerSwitchFactor() - Method in class org.powertac.evcustomer.Config
 
getBrokerSwitchFactor(boolean) - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns a [0,1] value representing the inconvenience of switching brokers.
getBrokerTime() - Method in class org.powertac.common.msg.BrokerAuthentication
Returns the system time set by the broker.
getCapacityProfile(Tariff) - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns a capacity profile for the given tariff.
getCarName() - Method in class org.powertac.evcustomer.beans.ClassCar
 
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.
getChargerProbability() - Method in class org.powertac.evcustomer.beans.Activity
 
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.
getCurrentCapacity() - Method in class org.powertac.evcustomer.customers.EvCustomer
 
getCurrentDateTime() - Method in class org.powertac.common.TimeService
 
getCurrentMarketPosition(Broker) - Method in interface org.powertac.common.interfaces.Accounting
Returns the market position for the current timeslot for a given broker.
getCurrentNetLoad(Broker) - Method in interface org.powertac.common.interfaces.Accounting
Returns the current net load represented by unprocessed TariffTransactions for a specific Broker.
getCurrentSubscriptions() - Method in class org.powertac.customer.AbstractCustomer
Returns the current tariff subscriptions for the first CustomerInfo.
getCurrentSubscriptions(PowerType) - Method in class org.powertac.customer.AbstractCustomer
Returns the current tariff subscriptions for the first CustomerInfo with the given PowerType.
getCurrentSupplyDemandByBroker() - Method in interface org.powertac.common.interfaces.Accounting
Returns a mapping of brokers to total supply and demand among subscribed customers.
getCurrentTime() - Method in class org.powertac.common.TimeService
Returns the current time as an Instant
getCurrentTimeslot() - Method in class org.powertac.common.WeatherForecast
Deprecated.
getCurrentTimeslot() - Method in class org.powertac.common.WeatherReport
Deprecated.
getCurtailment() - Method in class org.powertac.common.TariffSubscription
Returns the regulation in kwh, aggregated across the subscribed population, for the previous timeslot.
getCurtailmentFactor() - Method in class org.powertac.evcustomer.beans.CarType
 
getCurtailmentRatio() - Method in class org.powertac.common.msg.EconomicControlEvent
 
getCustId() - Method in class org.powertac.customer.AbstractCustomer
 
getCustomer() - Method in class org.powertac.common.TariffSubscription
 
getCustomerClass() - Method in class org.powertac.common.CustomerInfo
Returns the customer class of this customer.
getCustomerCount() - Method in class org.powertac.common.TariffTransaction
Number of individual customers within the customer model represented by this transaction.
getCustomerInfo() - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns the CustomerInfo instance for this customer model.
getCustomerInfo() - Method in class org.powertac.common.TariffTransaction
 
getCustomerInfo(PowerType) - Method in class org.powertac.customer.AbstractCustomer
Returns the first CustomerInfo associated with this instance and PowerType.
getCustomerInfoList(PowerType) - Method in class org.powertac.customer.AbstractCustomer
Returns the list of CustomerInfos associated with this instance and PowerType.
getCustomerInfos() - Method in class org.powertac.customer.AbstractCustomer
Returns the list of CustomerInfo records associated with this customer model.
getCustomerName() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getCustomerRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a CustomerRepo
getCustomerRepo() - Method in class org.powertac.customer.CustomerModelService
 
getCustomers() - Method in class org.powertac.common.Competition
The list of customers (or more precisely, customer models) in the simulation environment.
getCustomersCommitted() - Method in class org.powertac.common.TariffSubscription
 
getDailyBegin() - Method in class org.powertac.common.Rate
 
getDailyEnd() - Method in class org.powertac.common.Rate
 
getDailyKm(String) - Method in class org.powertac.evcustomer.beans.GroupActivity
 
getDailyProfile() - Method in class org.powertac.evcustomer.beans.Activity
 
getDailyProfileOptional() - Method in class org.powertac.evcustomer.beans.Activity
Returns an Optional containing the daily profile if it exists
getData() - Method in class org.powertac.common.repo.BootstrapDataRepo
Returns the entire list of objects
getData(Class<?>) - Method in class org.powertac.common.repo.BootstrapDataRepo
Returns the list of items of a particular class
getDateExecuted() - Method in class org.powertac.common.ClearedTrade
 
getDateExecuted() - Method in class org.powertac.common.Orderbook
The date when the market cleared.
getDateTimeForIndex(int) - Method in class org.powertac.common.repo.TimeslotRepo
Converts int timeslot index to DateTime in UTC timezone
getDayProbability(int) - Method in class org.powertac.evcustomer.beans.Activity
Returns the probability of doing this activity on the given day, driven either by weekend/weekday probabilities, or by the weekly profile.
getDayWeight(int) - Method in class org.powertac.evcustomer.beans.Activity
 
getDeactivateTimeslotsAhead() - Method in class org.powertac.common.Competition
Number of timeslots, starting with the current timeslot, that are closed for trading.
getDefaultSpotPrice() - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the value used for spot price per MWh if unavailable from wholesale market.
getDefaultTariff(PowerType) - Method in interface org.powertac.common.interfaces.TariffMarket
Returns the default tariff.
getDefaultTariff(PowerType) - Method in class org.powertac.common.repo.TariffRepo
 
getDescription() - Method in class org.powertac.common.Competition
Uninterpreted text that further describes the competition.
getDischargeFactor() - Method in class org.powertac.evcustomer.beans.CarType
 
getDischargingCapacity() - Method in class org.powertac.evcustomer.customers.EvCustomer
 
getDominantLoad() - Method in class org.powertac.evcustomer.customers.EvCustomer
 
getDoubleProperty(String, Double) - Method in interface org.powertac.common.interfaces.ServerProperties
Returns the value of the named property as a Double, or defaultValue if no such property is found.
getDownRegFactor() - Method in class org.powertac.evcustomer.beans.CarType
 
getDownregHalf() - Method in class org.powertac.common.TariffEvaluationHelper
 
getDownregSlope() - Method in class org.powertac.common.TariffEvaluationHelper
 
getDownRegulationCapacity() - Method in class org.powertac.common.RegulationAccumulator
Returns the available down-regulation capacity in kWh.
getDownRegulationCapacity() - Method in class org.powertac.common.RegulationCapacity
Returns the available down-regulation capacity in kWh.
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
 
getEpsilon() - Method in class org.powertac.evcustomer.Config
 
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
 
getExpCurtail() - Method in class org.powertac.common.TariffEvaluationHelper
 
getExpDischarge() - Method in class org.powertac.common.TariffEvaluationHelper
 
getExpDown() - Method in class org.powertac.common.TariffEvaluationHelper
 
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
 
getExpiredCustomerCount() - Method in class org.powertac.common.TariffSubscription
Returns the number of individual customers who may withdraw from this subscription without penalty.
getFemaleDailyKm() - Method in class org.powertac.evcustomer.beans.GroupActivity
 
getFemaleProbability() - Method in class org.powertac.evcustomer.beans.GroupActivity
 
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.
getGroupId() - Method in class org.powertac.evcustomer.beans.ClassGroup
 
getGroupId() - Method in class org.powertac.evcustomer.beans.GroupActivity
 
getHomeChargeKW() - Method in class org.powertac.evcustomer.beans.CarType
 
getHomeChargerProbability() - Method in class org.powertac.evcustomer.customers.EvSocialClass
 
getHourlyCharge() - Method in class org.powertac.common.msg.VariableRateUpdate
 
getHourlyChargeId() - Method in class org.powertac.common.msg.VariableRateUpdate
 
getHourOfDay() - Method in class org.powertac.common.TimeService
Returns the current hour-of-day
getId() - Method in class org.powertac.common.Broker
Returns the unique ID for this broker
getId() - Method in class org.powertac.common.BrokerTransaction
 
getId() - Method in class org.powertac.common.ClearedTrade
 
getId() - Method in class org.powertac.common.Competition
 
getId() - Method in class org.powertac.common.CustomerInfo
 
getId() - Method in class org.powertac.common.HourlyCharge
 
getId() - Method in class org.powertac.common.MarketPosition
 
getId() - Method in class org.powertac.common.msg.BalanceReport
Returns the id of this instance
getId() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getId() - Method in class org.powertac.common.msg.DistributionReport
 
getId() - Method in class org.powertac.common.msg.MarketBootstrapData
 
getId() - Method in class org.powertac.common.msg.OrderStatus
 
getId() - Method in class org.powertac.common.msg.TimeslotUpdate
 
getId() - Method in class org.powertac.common.Order
 
getId() - Method in class org.powertac.common.Orderbook
 
getId() - Method in class org.powertac.common.OrderbookOrder
 
getId() - Method in class org.powertac.common.RandomSeed
 
getId() - Method in class org.powertac.common.RateCore
Returns the id of this Rate
getId() - Method in class org.powertac.common.RegulationAccumulator
 
getId() - Method in class org.powertac.common.RegulationCapacity
 
getId() - Method in class org.powertac.common.Tariff
make id a synonym for specId
getId() - Method in class org.powertac.common.TariffMessage
 
getId() - Method in class org.powertac.common.TariffSpecification
 
getId() - Method in class org.powertac.common.TariffSubscription
 
getId() - Method in class org.powertac.common.Timeslot
 
getId() - Method in class org.powertac.common.WeatherForecast
 
getId() - Method in class org.powertac.common.WeatherForecastPrediction
 
getId() - Method in class org.powertac.common.WeatherReport
 
getId() - Method in class org.powertac.customer.AbstractCustomer
Synonym for getCustId()
getId() - Method in class org.powertac.evcustomer.beans.Activity
 
getId() - Method in class org.powertac.evcustomer.beans.CarType
 
getId() - Method in class org.powertac.evcustomer.beans.SocialGroup
 
getId() - Method in class org.powertac.evcustomer.customers.EvCustomer
 
getIdPrefix() - Method in class org.powertac.common.Broker
Returns the ID prefix for this broker.
getInertiaSample() - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns a [0,1] random value used to choose whether individual customers evaluate tariffs or not.
getInstance() - Static method in class org.powertac.common.repo.BrokerRepo
 
getInstance() - Static method in class org.powertac.common.TimeService
Returns the most-recently created instance of TimeService.
getInstance() - Static method in class org.powertac.evcustomer.Config
Singleton accessor
getIntegerProperty(String, Integer) - Method in interface org.powertac.common.interfaces.ServerProperties
Returns the value of the named property as an Integer, or defaultValue if no such property is found.
getInterruptibilityFactor() - Method in class org.powertac.common.TariffEvaluator
Returns inconvenience of interruptibility.
getInterruptibilityFactor() - Method in class org.powertac.evcustomer.Config
 
getInterval() - Method in class org.powertac.evcustomer.beans.Activity
If zero, then this is an out-and-back trip within a single timeslot.
getIsSupersededBy() - Method in class org.powertac.common.Tariff
 
getKey() - Method in class org.powertac.common.Broker
Returns the jms ID for this broker.
getKey() - Method in class org.powertac.common.msg.BrokerAccept
Returns the jms key used to validate broker communications.
getKwh() - Method in class org.powertac.common.msg.BalancingControlEvent
 
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.TariffTransaction
Returns the debit (negative) or credit (positive) to the broker's energy account in the current timeslot represented by this transaction.
getLambda() - Method in class org.powertac.evcustomer.Config
 
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.
getLoads(int, int) - Method in class org.powertac.evcustomer.customers.EvCustomer
 
getLog() - Static method in class org.powertac.common.TariffEvaluationHelper
 
getMaleDailyKm() - Method in class org.powertac.evcustomer.beans.GroupActivity
 
getMaleProbability() - Method in class org.powertac.evcustomer.beans.ClassGroup
 
getMaleProbability() - Method in class org.powertac.evcustomer.beans.GroupActivity
 
getMarketBalance(Broker) - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the market balance for a given broker.
getMarketBootstrapData() - Method in class org.powertac.common.Competition
Getter and setter for market bootstrap data
getMarketBootstrapData() - Method in class org.powertac.common.TariffEvaluationHelper
Retrieves the market bootstrap data from the Competition.
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.
getMaxCapacity() - Method in class org.powertac.evcustomer.beans.CarType
 
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.
getMaxDefaultDuration() - Method in class org.powertac.evcustomer.Config
 
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 class org.powertac.common.msg.MarketBootstrapData
Returns the mean price/MWh over the entire array.
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.
getMinDefaultDuration() - Method in class org.powertac.evcustomer.Config
 
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.msg.MarketBootstrapData
 
getMWh() - Method in class org.powertac.common.MarketTransaction
 
getMWh() - Method in class org.powertac.common.Order
 
getMWh() - Method in class org.powertac.common.OrderbookOrder
Returns the quantity of energy unsatisfied for an order.
getName() - Method in class org.powertac.common.Competition
Returns the competition name
getName() - Method in class org.powertac.common.CustomerInfo
Display name for this CustomerInfo instance.
getName() - Method in class org.powertac.customer.AbstractCustomer
Returns the name of this model
getName() - Method in class org.powertac.evcustomer.beans.Activity
 
getName() - Method in class org.powertac.evcustomer.beans.CarType
 
getName() - Method in class org.powertac.evcustomer.beans.ClassCar
 
getName() - Method in class org.powertac.evcustomer.beans.ClassGroup
 
getName() - Method in class org.powertac.evcustomer.beans.GroupActivity
 
getName() - Method in class org.powertac.evcustomer.beans.SocialGroup
 
getName() - Method in class org.powertac.evcustomer.customers.EvCustomer
 
getNeededCapacity(double) - Method in class org.powertac.evcustomer.customers.EvCustomer
 
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
 
getNsInertia() - Method in class org.powertac.evcustomer.Config
 
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.
getPendingTariffTransactions() - Method in interface org.powertac.common.interfaces.Accounting
Returns the list of pending tariff transactions for the current timeslot.
getPeriodicPayment() - Method in class org.powertac.common.Tariff
Flat payment per period for two-part tariffs, typically negative.
getPeriodicPayment() - Method in class org.powertac.common.TariffSpecification
 
getPMinusPrime() - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the slope of cost curve for down-regulation.
getPomId() - Method in class org.powertac.common.Competition
Returns the pom version id from the server on which this Competition was created.
getPopulation() - Method in class org.powertac.common.CustomerInfo
Returns the population of the model represented by this CustomerInfo.
getPopulation(CustomerInfo) - Method in class org.powertac.customer.AbstractCustomer
 
getPostedTime() - Method in class org.powertac.common.BrokerTransaction
When this Transaction was posted.
getPostedTime() - Method in class org.powertac.common.msg.TimeslotUpdate
 
getPostedTimeslot() - Method in class org.powertac.common.BrokerTransaction
Timeslot when transaction was posted
getPostedTimeslotIndex() - Method in class org.powertac.common.BrokerTransaction
Timeslot index when transaction was posted.
getPowerType() - Method in class org.powertac.common.CustomerInfo
Returns the type of power consumption and/or production available in this customer model.
getPowerType() - Method in class org.powertac.common.msg.CustomerBootstrapData
 
getPowerType() - Method in class org.powertac.common.Tariff
Type of power covered by this tariff
getPowerType() - Method in class org.powertac.common.TariffSpecification
 
getPPlusPrime() - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the slope of cost curve for up-regulation.
getPredictions() - Method in class org.powertac.common.WeatherForecast
 
getPrefix() - Static method in class org.powertac.common.IdGenerator
Returns the id prefix - needed for testing.
getPrefix() - Method in class org.powertac.common.msg.BrokerAccept
Returns the ID prefix to be used by the broker.
getPrice() - Method in class org.powertac.common.MarketTransaction
 
getPrice() - Method in class org.powertac.common.msg.BalancingOrder
 
getProbability() - Method in class org.powertac.evcustomer.beans.ClassCar
 
getProbability() - Method in class org.powertac.evcustomer.beans.ClassGroup
 
getProbability(String) - Method in class org.powertac.evcustomer.beans.GroupActivity
 
getProbabilityForTimeslot(int) - Method in class org.powertac.evcustomer.beans.Activity
 
getProfile() - Method in class org.powertac.common.CapacityProfile
 
getProfileLength() - Method in class org.powertac.evcustomer.Config
 
getProperty(String) - Method in interface org.powertac.common.interfaces.ServerProperties
Returns the value of the property with the given name, or null if no such property is found.
getProperty(String) - Method in class org.powertac.util.PropertiesUtil
 
getProperty(String, String) - Method in interface org.powertac.common.interfaces.ServerProperties
Returns the value of the named property, or the defaultValue if no such property is found.
getProperty(String, String) - Method in class org.powertac.util.PropertiesUtil
 
getPurpose() - Method in class org.powertac.common.RandomSeed
 
getQuantity() - Method in class org.powertac.common.BalancingTransaction
Deprecated.
getQuantity() - Method in class org.powertac.common.DistributionTransaction
Deprecated.
getRandomSeed(String, long, String) - Method in class org.powertac.common.repo.RandomSeedRepo
Returns the RandomSeed instance identified by classname, id, and purpose, creating it if necessary.
getRandomSeedRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a RandomSeedRepo
getRandomSeedRepo() - Method in class org.powertac.customer.CustomerModelService
 
getRange() - Method in class org.powertac.evcustomer.beans.CarType
 
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.
getRationalityFactor() - Method in class org.powertac.evcustomer.Config
 
getRealizedPrice() - Method in class org.powertac.common.Tariff
Returns the actual realized price, or 0.0 if information unavailable.
getRegulation() - Method in class org.powertac.common.TariffSubscription
Returns the regulation quantity exercised per member in the previous timeslot.
getRegulation(Broker) - Method in interface org.powertac.common.interfaces.BalancingMarket
Returns the net regulation energy (positive for up-regulation, negative for down-regulation) for a given broker.
getRegulationCapacity(BalancingOrder) - Method in interface org.powertac.common.interfaces.CapacityControl
Gathers up power usage data for the current timeslot that could be subject to a BalancingOrder.
getRegulationCharge(double, double, boolean) - Method in class org.powertac.common.Tariff
Returns the usage charge for regulation usage/or production.
getRegulationRates() - Method in class org.powertac.common.TariffSpecification
Returns the RegulationRate instances from among the rates in this tariff spec.
getRemainingRegulationCapacity() - Method in class org.powertac.common.TariffSubscription
Returns the maximum aggregate up-regulation possible after the customer model has run and possibly applied economic controls.
getRequesterClass() - Method in class org.powertac.common.RandomSeed
 
getRequesterId() - Method in class org.powertac.common.RandomSeed
 
getResponse() - Method in class org.powertac.common.RegulationRate
 
getRevokedSubscriptionList(CustomerInfo) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the list of subscriptions for this customer that have been revoked and have non-zero committed customer counts.
getSerialNumber() - Method in class org.powertac.common.Timeslot
 
getServerConfiguration() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a ServerConfiguration service
getServerConfiguration() - Method in class org.powertac.customer.CustomerModelService
 
getServerTime() - Method in class org.powertac.common.msg.BrokerAccept
Returns the server's system time at the time this instance was created.
getShiftingInconvenienceFactor(Tariff) - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns a [0,1] value representing the inconvenience of dealing with curtailment in exchange for a lower price.
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.
getSocialClassName() - Method in class org.powertac.evcustomer.beans.ClassCar
 
getSocialClassName() - Method in class org.powertac.evcustomer.beans.ClassGroup
 
getSoldThreshold() - Method in class org.powertac.common.TariffEvaluationHelper
 
getSpecId() - Method in class org.powertac.common.Tariff
 
getStart() - Method in class org.powertac.common.CapacityProfile
 
getStart() - Method in class org.powertac.common.msg.SimResume
 
getStart() - Method in class org.powertac.common.msg.SimStart
 
getStart() - Method in class org.powertac.common.TimeService
 
getStartInstant() - Method in class org.powertac.common.Timeslot
 
getStartTime() - Method in class org.powertac.common.Timeslot
Returns the DateTime representation of the start time for this timeslot
getState() - Method in class org.powertac.common.Tariff
 
getStatus() - Method in class org.powertac.common.msg.OrderStatus
 
getStatus() - Method in class org.powertac.common.msg.TariffStatus
 
getStorageCapacity() - Method in class org.powertac.common.CustomerInfo
Returns the maximum energy storage capacity in kWh per member.
getString(long) - Static method in class org.powertac.common.IdGenerator
Converts ID value to String as A.B.
getSubscription() - Method in class org.powertac.common.RegulationCapacity
Returns the subscription, if any, associated with this instance.
getSubscription(CustomerInfo, Tariff) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
Returns the TariffSubscription for the given Tariff/Customer pair, creating it if necessary.
getSupersedes() - Method in class org.powertac.common.TariffSpecification
 
getTariff() - Method in class org.powertac.common.TariffEvaluationHelper
 
getTariff() - Method in class org.powertac.common.TariffSubscription
 
getTariffChoiceSample() - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
Returns a [0,1] random value used to make choices using the logit choice model.
getTariffCount() - Method in class org.powertac.evcustomer.Config
 
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.
getTariffId() - Method in class org.powertac.common.TariffSubscription
 
getTariffMarket() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to the TariffMarket
getTariffMarket() - Method in class org.powertac.customer.CustomerModelService
 
getTariffRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a TariffRepo
getTariffRepo() - Method in class org.powertac.customer.CustomerModelService
 
getTariffSpec() - Method in class org.powertac.common.Tariff
 
getTariffSpec() - Method in class org.powertac.common.TariffTransaction
Returns the TariffSpecification instance to which this transaction applies.
getTariffSpecification() - Method in class org.powertac.common.Tariff
 
getTariffSubscriptionRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a TariffSubscriptionRepo
getTariffSubscriptionRepo() - Method in class org.powertac.customer.CustomerModelService
 
getTemperature() - Method in class org.powertac.common.WeatherForecastPrediction
 
getTemperature() - Method in class org.powertac.common.WeatherReport
 
getter() - Method in annotation type org.powertac.common.config.ConfigurableValue
Name of method that retrieves the default value for this property.
getThreshold() - Method in class org.powertac.common.CapacityTransaction
The peak-demand threshold for this assessment.
getTieredRateFactor() - Method in class org.powertac.common.TariffEvaluator
Returns inconvenience of tiered rate.
getTieredRateFactor() - Method in class org.powertac.evcustomer.Config
 
getTierThreshold() - Method in class org.powertac.common.Rate
 
getTimeForIndex(int) - Method in class org.powertac.common.repo.TimeslotRepo
Converts int timeslot index to Instant
getTimeService() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to the TimeService
getTimeService() - Method in class org.powertac.common.TariffEvaluationHelper
 
getTimeService() - Method in class org.powertac.customer.CustomerModelService
 
getTimeslot() - Method in class org.powertac.common.ClearedTrade
 
getTimeslot() - Method in class org.powertac.common.MarketPosition
 
getTimeslot() - Method in class org.powertac.common.MarketTransaction
 
getTimeslot() - Method in class org.powertac.common.msg.DistributionReport
 
getTimeslot() - Method in class org.powertac.common.Order
 
getTimeslot() - Method in class org.powertac.common.Orderbook
 
getTimeslot() - Method in class org.powertac.common.WeatherForecast
Deprecated.
getTimeslotDuration() - Method in class org.powertac.common.Competition
Returns the duration of a timeslot in milliseconds sim-time.
getTimeslotIndex() - Method in class org.powertac.common.ClearedTrade
 
getTimeslotIndex() - Method in class org.powertac.common.MarketPosition
 
getTimeslotIndex() - Method in class org.powertac.common.MarketTransaction
 
getTimeslotIndex() - Method in class org.powertac.common.msg.BalanceReport
 
getTimeslotIndex() - Method in class org.powertac.common.msg.ControlEvent
 
getTimeslotIndex() - Method in class org.powertac.common.msg.TimeslotComplete
 
getTimeslotIndex() - Method in class org.powertac.common.Order
 
getTimeslotIndex() - Method in class org.powertac.common.Orderbook
The timeslot in which energy commitments represented by cleared trades are due.
getTimeslotIndex() - Method in class org.powertac.common.WeatherForecast
 
getTimeslotIndex() - Method in class org.powertac.common.WeatherReport
 
getTimeslotIndex(Instant) - Method in class org.powertac.common.repo.TimeslotRepo
Converts time to timeslot index without actually creating a timeslot
getTimeslotLength() - Method in class org.powertac.common.Competition
Returns the length of a timeslot in minutes (sim time).
getTimeslotRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a TimeslotRepo
getTimeslotRepo() - Method in class org.powertac.customer.CustomerModelService
 
getTimeslotsOpen() - Method in class org.powertac.common.Competition
Number of timeslots simultaneously open for trading.
getTimezoneOffset() - Method in class org.powertac.common.Competition
Returns timezone offset for sim locale.
getTotalConsumption() - Method in class org.powertac.common.msg.DistributionReport
 
getTotalCost() - Method in class org.powertac.common.Tariff
 
getTotalProduction() - Method in class org.powertac.common.msg.DistributionReport
 
getTotalUsage() - Method in class org.powertac.common.Tariff
 
getTotalUsage() - Method in class org.powertac.common.TariffSubscription
 
getTouFactor() - Method in class org.powertac.common.TariffEvaluator
Returns inconvenience of time-of-use rate.
getTouFactor() - Method in class org.powertac.evcustomer.Config
 
getTxType() - Method in class org.powertac.common.TariffTransaction
 
getUpdateId() - Method in class org.powertac.common.msg.TariffStatus
 
getUpregHalf() - Method in class org.powertac.common.TariffEvaluationHelper
 
getUpregSlope() - Method in class org.powertac.common.TariffEvaluationHelper
 
getUpRegulationCapacity() - Method in class org.powertac.common.RegulationAccumulator
Returns the available up-regulation capacity in kWh.
getUpRegulationCapacity() - Method in class org.powertac.common.RegulationCapacity
Returns the available up-regulation capacity in kWh.
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.
getUsername() - Method in class org.powertac.common.Broker
Returns the username for this Broker.
getUsername() - Method in class org.powertac.common.msg.BrokerAuthentication
 
getValue() - Method in class org.powertac.common.HourlyCharge
 
getValue() - Method in class org.powertac.common.RandomSeed
 
getValue() - Method in class org.powertac.common.Rate
Returns the rate for the current time.
getValue(AbstractInstant) - Method in class org.powertac.common.Rate
Shortcut to get value at an instant without a TEH.
getValue(AbstractInstant, TariffEvaluationHelper) - Method in class org.powertac.common.Rate
Returns the rate for some time in the past or future, regardless of whether the Rate applies at that time, and regardless of whether the requested time is beyond the notification interval of a variable rate.
getVariablePricingFactor() - Method in class org.powertac.common.TariffEvaluator
Returns inconvenience of variable pricing.
getVariablePricingFactor() - Method in class org.powertac.evcustomer.Config
 
getWeatherReportRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
Returns a reference to a WeatherReportRepo
getWeatherReportRepo() - Method in class org.powertac.customer.CustomerModelService
 
getWeekdayWeight() - Method in class org.powertac.evcustomer.beans.Activity
 
getWeekendWeight() - Method in class org.powertac.evcustomer.beans.Activity
 
getWeeklyBegin() - Method in class org.powertac.common.Rate
 
getWeeklyEnd() - Method in class org.powertac.common.Rate
 
getWeeklyProfile() - Method in class org.powertac.evcustomer.beans.Activity
 
getWeeklyProfileOptional() - Method in class org.powertac.evcustomer.beans.Activity
Returns an Optional containing the weekly profile if it exists.
getWeightInconvenience() - Method in class org.powertac.evcustomer.Config
 
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
 
GroupActivity - Class in org.powertac.evcustomer.beans
Join table between SocialGroup and Activity.
GroupActivity(String) - Constructor for class org.powertac.evcustomer.beans.GroupActivity
Auto-configure constructor

H

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

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
 
illegalOperation - org.powertac.common.msg.TariffStatus.Status
 
init() - Method in class org.powertac.common.interfaces.TimeslotPhaseProcessor
This method must be called in the per-game initialization code in each implementing class.
init() - Method in class org.powertac.common.metadata.StateLogService
Initializes the state log by writing the log schema at the top
init() - Method in class org.powertac.common.Tariff
Initializes tariff by building the rate map.
init() - Method in class org.powertac.common.TariffEvaluationHelper
Initializes, without changing parameter settings
init(double, double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
Initializes, setting parameters, then normalize the weights for expectedMean and maxValue.
init(Instant) - Method in class org.powertac.common.TimeService
Sets current time to modulo before the desired start time.
InitializationService - Interface in org.powertac.common.interfaces
Implementations of this interface are expected to initialize individual plugins prior to the beginning of a game.
initialize() - Method in class org.powertac.customer.AbstractCustomer
Initializes the instance.
initialize() - Method in class org.powertac.evcustomer.customers.EvSocialClass
Hooks up data structures, creates EvCustomers and corresponding CustomerInfo instances.
initialize(int, double, double, double, double) - Method in class org.powertac.evcustomer.beans.GroupActivity
Fills in fields for testing
initialize(Competition, List<String>) - Method in interface org.powertac.common.interfaces.InitializationService
Initializes a plugin prior to the beginning of a game.
initialize(Competition, List<String>) - Method in class org.powertac.customer.CustomerModelService
 
initialize(SocialGroup, String, Map<Integer, Activity>, List<GroupActivity>, CarType, EvSocialClass, CustomerServiceAccessor, Config) - Method in class org.powertac.evcustomer.customers.EvCustomer
 
initializeCostFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
Initializes cost factors and normalizes
initializeCostFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluator
Delegates profile cost factors to helper.
initializeInconvenienceFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluator
Initializes the per-tariff inconvenience factors.
initializeRegulationDiscount(double, double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
Initializes regulation rate discount factors.
initializeRegulationFactors(double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
Initializes regulation factors.
initializeRegulationFactors(double, double, double) - Method in class org.powertac.common.TariffEvaluator
Initializes the per-timeslot regulation-capacity estimates.
INTERRUPTIBLE_CONSUMPTION - Static variable in class org.powertac.common.enumerations.PowerType
 
interval - Variable in class org.powertac.common.repo.ManagedRepo
 
invalidPowerType - org.powertac.common.msg.TariffStatus.Status
 
invalidTariff - org.powertac.common.msg.TariffStatus.Status
 
invalidUpdate - org.powertac.common.msg.TariffStatus.Status
 
isActive() - Method in class org.powertac.common.Tariff
True just in case this tariff is OFFERED or ACTIVE
isAnalyzed() - Method in class org.powertac.common.Tariff
Returns the analyzed flag.
isBootstrapMode() - Method in interface org.powertac.common.interfaces.CompetitionControl
True just in case the sim is running in bootstrap mode - generating bootstrap data.
isCanNegotiate() - Method in class org.powertac.common.CustomerInfo
True just in case the underlying Customer model can negotiate individual contracts.
isConsumption() - Method in class org.powertac.common.enumerations.PowerType
Returns true just in case this type would apply to a consumption tariff.
isCovered() - Method in class org.powertac.common.Tariff
True just in case the set of Rates cover all the possible hour and tier slots.
isEnabled() - Method in class org.powertac.common.Broker
True just in case either the broker is logged in, or is a local wholesale broker.
isExpired() - Method in class org.powertac.common.Tariff
True just in case the current time is past the expiration date of this Tariff.
isFixed() - Method in class org.powertac.common.Rate
 
isInterruptible() - Method in class org.powertac.common.enumerations.PowerType
Returns true just in case this type is interruptible.
isInterruptible() - Method in class org.powertac.common.Tariff
True just in case this tariff could result in curtailment
isLocal() - Method in class org.powertac.common.Broker
True for a Broker that is local to the server.
isMultiContracting() - Method in class org.powertac.common.CustomerInfo
True if this customer can subscribe to multiple contracts.
isProduction() - Method in class org.powertac.common.enumerations.PowerType
Returns true just in case this type would apply to a production tariff.
isRegulation() - Method in class org.powertac.common.TariffTransaction
True just in case this is transaction reports exercise of regulation capacity.
isRemoved(long) - Method in class org.powertac.common.repo.TariffRepo
Tests whether a tariff has been deleted.
isRevoked() - Method in class org.powertac.common.Tariff
True just in case this tariff has been revoked.
isRunning() - Method in interface org.powertac.common.interfaces.CompetitionControl
True if a simulation (boot or sim) session is currently running.
isStorage() - Method in class org.powertac.common.enumerations.PowerType
Returns true just in case this type is a storage type.
isSubscribable() - Method in class org.powertac.common.Tariff
True just in case this tariff can accept new subscriptions
isTiered() - Method in class org.powertac.common.Tariff
True just in case this tariff has at least one tiered rate
isTimeOfUse() - Method in class org.powertac.common.Rate
True just in case this Rate does not apply everywhen
isTimeOfUse() - Method in class org.powertac.common.Tariff
True just in case this tariff has at least one Time-of-Use rate
isTimeslotEnabled(int) - Method in class org.powertac.common.repo.TimeslotRepo
True just in case the timeslot with the given index is enabled.
isTimeslotEnabled(Timeslot) - Method in class org.powertac.common.repo.TimeslotRepo
True just in case the specified timeslot 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() - 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.
isValid(PowerType) - Method in class org.powertac.common.Rate
 
isValid(Rate) - Method in class org.powertac.common.msg.VariableRateUpdate
Given a Rate, a VRU is valid if it has the correct ID, if the Rate is not fixed, and if the HourlyCharge specifies a value between the minValue and maxValue of the Rate.
isValid(TariffSpecification) - Method in class org.powertac.common.Rate
Returns true just in case this Rate is internally valid, and valid with respect to the given TariffSpecification.
isValid(TariffSpecification) - Method in class org.powertac.common.RegulationRate
Returns true just in case this Rate is internally valid, and valid with respect to the given TariffSpecification.
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.

K

KILLED - org.powertac.common.Tariff.State
 

L

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

M

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

N

name - Variable in class org.powertac.customer.AbstractCustomer
 
name - Variable in class org.powertac.evcustomer.beans.ClassCar
 
name - Variable in class org.powertac.evcustomer.beans.ClassGroup
 
name() - Method in annotation type org.powertac.common.config.ConfigurableValue
Name for this property.
neutral - org.powertac.evcustomer.customers.EvCustomer.RiskAttitude
 
newInstance(String) - Static method in class org.powertac.common.Competition
 
newstate(JoinPoint) - Method in class org.powertac.common.state.StateLogging
 
newState() - Method in class org.powertac.common.state.StateLogging
 
NewTariffListener - Interface in org.powertac.common.interfaces
Implementors of this interface can be notified of new tariff publication by calling registerNewTariffListener(this) on the TariffMarket.
nextStartOfDay() - Method in class org.powertac.customer.AbstractCustomer
 
NO_TIME - Static variable in class org.powertac.common.Rate
 
noSuchTariff - org.powertac.common.msg.TariffStatus.Status
 
noSuchUpdate - org.powertac.common.msg.TariffStatus.Status
 

O

OFFERED - org.powertac.common.Tariff.State
 
offset - Variable in class org.powertac.common.repo.ManagedRepo
 
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() - Constructor for class org.powertac.common.Order
 
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.
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) - Constructor for class org.powertac.common.msg.OrderStatus
Convenience constructor for timeslotDisabled message
OrderStatus(Broker, long, OrderStatus.Status) - Constructor for class org.powertac.common.msg.OrderStatus
 
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.interfaces - package org.powertac.common.interfaces
 
org.powertac.common.metadata - package org.powertac.common.metadata
 
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.customer - package org.powertac.customer
 
org.powertac.evcustomer - package org.powertac.evcustomer
 
org.powertac.evcustomer.beans - package org.powertac.evcustomer.beans
 
org.powertac.evcustomer.customers - package org.powertac.evcustomer.customers
 
org.powertac.metadata - package org.powertac.metadata
 
org.powertac.util - package org.powertac.util
 

P

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

R

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

S

saveBootstrapState() - Method in interface org.powertac.common.interfaces.BootstrapState
Saves state at the conclusion of a bootstrap session as configuration items.
saveBootstrapState() - Method in class org.powertac.customer.AbstractCustomer
Saves model data to the bootstrap record.
saveBootstrapState() - Method in class org.powertac.customer.CustomerModelService
 
saveBootstrapState() - Method in class org.powertac.evcustomer.customers.EvSocialClass
Saves state of EvCustomer instances
saveBootstrapState(Object) - Method in interface org.powertac.common.interfaces.ServerConfiguration
Gathers state information at the end of a boot session to be restored in a subsequent sim session.
SECOND - Static variable in class org.powertac.common.TimeService
 
SECONDS - org.powertac.common.RegulationRate.ResponseTime
 
sendMessage(Broker, Object) - Method in interface org.powertac.common.interfaces.BrokerProxy
Send a message to a specific broker
sendMessages(Broker, List<?>) - Method in interface org.powertac.common.interfaces.BrokerProxy
Sends a list of messages to a specific broker
ServerConfiguration - Interface in org.powertac.common.interfaces
Support for annotation-driven configuration.
ServerProperties - Interface in org.powertac.common.interfaces
Supports server configuration by allowing components to retrieve property values from a standard Java properties file.
service - Variable in class org.powertac.customer.AbstractCustomer
 
setApplicationContext(ApplicationContext) - Method in class org.powertac.common.spring.SpringApplicationContext
 
setAuthorizedBrokerList(List<String>) - Method in interface org.powertac.common.interfaces.CompetitionControl
Sets the list of brokers authorized to log in to the next game.
setAwayChargeKW(double) - Method in class org.powertac.evcustomer.beans.CarType
 
setBase(long) - Method in class org.powertac.common.TimeService
setBrokerTime(long) - Method in class org.powertac.common.msg.BrokerAuthentication
Sets the system time.
setChargerProbability(double) - Method in class org.powertac.evcustomer.beans.Activity
 
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.
setCurrentCapacity(double) - Method in class org.powertac.evcustomer.customers.EvCustomer
 
setCurrentTime() - Method in class org.powertac.common.TimeService
 
setCurrentTime(AbstractDateTime) - Method in class org.powertac.common.TimeService
Sets current time to a specific value.
setCurrentTime(Instant) - Method in class org.powertac.common.TimeService
Sets current time to a specific value.
setCurtailmentFactor(double) - Method in class org.powertac.evcustomer.beans.CarType
 
setCustomersCommitted(int) - Method in class org.powertac.common.TariffSubscription
 
setDailyProfile(List<String>) - Method in class org.powertac.evcustomer.beans.Activity
 
setDefaultTariff(TariffSpecification) - Method in interface org.powertac.common.interfaces.TariffMarket
Convenience method to set the default tariff at the beginning of the game.
setDefaultTariff(TariffSpecification) - Method in class org.powertac.common.repo.TariffRepo
 
setDeferredBroadcast(boolean) - Method in interface org.powertac.common.interfaces.BrokerProxy
Holds up message transmission when true
setDischargeFactor(double) - Method in class org.powertac.evcustomer.beans.CarType
 
setDownRegFactor(double) - Method in class org.powertac.evcustomer.beans.CarType
 
setDownRegulationCapacity(double) - Method in class org.powertac.common.RegulationAccumulator
Sets the down-regulation value.
setEnabled(boolean) - Method in class org.powertac.common.Broker
Enables this Broker.
setExpiration(Instant) - Method in class org.powertac.common.Tariff
 
setHomeChargeKW(double) - Method in class org.powertac.evcustomer.beans.CarType
 
setId(int) - Method in class org.powertac.evcustomer.beans.Activity
 
setIdPrefix(int) - Method in class org.powertac.common.Broker
Sets the ID prefix for this broker.
setInterval(int) - Method in class org.powertac.evcustomer.beans.Activity
 
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.
setMarketBootstrapData(MarketBootstrapData) - Method in class org.powertac.common.Competition
 
setMaxAskPrices(Double[]) - Method in class org.powertac.common.repo.OrderbookRepo
 
setMaxCapacity(double) - Method in class org.powertac.evcustomer.beans.CarType
 
setMinAskPrices(Double[]) - Method in class org.powertac.common.repo.OrderbookRepo
Set the minAskPrices array.
setModulo(long) - Method in class org.powertac.common.TimeService
setName(String) - Method in class org.powertac.customer.AbstractCustomer
Sets the name for this model
setPassword(String) - Method in class org.powertac.common.Broker
 
setPopulation(Integer) - Method in class org.powertac.common.CustomerInfo
Updates the population for the underlying model.
setPrefix(int) - Static method in class org.powertac.common.IdGenerator
Each entity living in a separate process must have a different prefix value.
setQueueName(String) - Method in class org.powertac.common.Broker
Sets the broker's queue name.
setRange(double) - Method in class org.powertac.evcustomer.beans.CarType
 
setRate(long) - Method in class org.powertac.common.TimeService
setRateId(long) - Method in class org.powertac.common.HourlyCharge
Sets connection between rate and hourly charge.
setRegulation(double) - Method in class org.powertac.common.TariffSubscription
 
setRegulationCapacity(RegulationCapacity) - Method in class org.powertac.common.TariffSubscription
Communicates the ability of the customer model to handle regulation requests.
setServiceAccessor(CustomerServiceAccessor) - Method in class org.powertac.customer.AbstractCustomer
Provides a reference to the service accessor, through which we can get at sim services
setSoldThreshold(double) - Method in class org.powertac.common.TariffEvaluationHelper
 
setStart(long) - Method in class org.powertac.common.TimeService
 
setstate(JoinPoint) - Method in class org.powertac.common.state.StateLogging
 
setState() - 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.
setTariffMarket(TariffMarket) - Method in class org.powertac.customer.AbstractCustomer
 
setTimeslotPhase(int) - Method in class org.powertac.common.interfaces.TimeslotPhaseProcessor
This is the Spring-accessible setter for the phase number
setup() - Method in class org.powertac.common.repo.ManagedRepo
 
setUpRegulationCapacity(double) - Method in class org.powertac.common.RegulationAccumulator
Sets the up-regulation value.
setWeeklyProfile(List<String>) - Method in class org.powertac.evcustomer.beans.Activity
 
setWholesale(boolean) - Method in class org.powertac.common.Broker
Allows subclasses to make themselves wholesale brokers
setWtExpected(double) - Method in class org.powertac.common.TariffEvaluationHelper
 
setWtMax(double) - Method in class org.powertac.common.TariffEvaluationHelper
 
setWtRealized(double) - Method in class org.powertac.common.TariffEvaluationHelper
 
shutDown() - Method in interface org.powertac.common.interfaces.CompetitionControl
Stops a running simulation, and sends out the SimEnd message to brokers.
SIGNUP - org.powertac.common.TariffTransaction.Type
 
SimEnd - Class in org.powertac.common.msg
This message is used to communicate the end of a simulation.
SimEnd() - Constructor for class org.powertac.common.msg.SimEnd
 
SimPause - Class in org.powertac.common.msg
This message is used to communicate a pause in a simulation.
SimPause() - Constructor for class org.powertac.common.msg.SimPause
 
SimResume - Class in org.powertac.common.msg
This message is used to communicate a revised simulation start time prior to the end of a simulation pause.
SimResume(Instant) - Constructor for class org.powertac.common.msg.SimResume
 
simSession(String, String, String, String, String, List<String>, String, String, String) - Method in interface org.powertac.common.interfaces.CompetitionSetup
Starts a simulation session with parameters, in a new thread.
simSession(String, String, String, String, String, List<String>, String, String, String, String) - Method in interface org.powertac.common.interfaces.CompetitionSetup
 
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.
SMALL - org.powertac.common.CustomerInfo.CustomerClass
 
socialClass - Variable in class org.powertac.evcustomer.beans.ClassCar
 
socialClassName - Variable in class org.powertac.evcustomer.beans.ClassGroup
 
SocialGroup - Class in org.powertac.evcustomer.beans
 
SocialGroup(int, String) - Constructor for class org.powertac.evcustomer.beans.SocialGroup
 
SocialGroup(String) - Constructor for class org.powertac.evcustomer.beans.SocialGroup
 
SOLAR_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
 
SpringApplicationContext - Class in org.powertac.common.spring
Static methods to access the Spring application context.
SpringApplicationContext() - Constructor for class org.powertac.common.spring.SpringApplicationContext
 
startOfDay() - Method in class org.powertac.customer.AbstractCustomer
 
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
 
StateLogService - Class in org.powertac.common.metadata
Initializes state log files by copying the current domain schema to the log.
StateLogService() - Constructor for class org.powertac.common.metadata.StateLogService
 
step() - Method in class org.powertac.customer.AbstractCustomer
Called to run the model forward one step.
step() - Method in class org.powertac.evcustomer.customers.EvSocialClass
 
step(Timeslot) - Method in class org.powertac.evcustomer.customers.EvCustomer
Runs the model forward one step
STORAGE - Static variable in class org.powertac.common.enumerations.PowerType
 
subscribe(int) - Method in class org.powertac.common.TariffSubscription
Subscribes some number of discrete customers.
subscribeToTariff(Tariff, CustomerInfo, int) - Method in interface org.powertac.common.interfaces.TariffMarket
Subscribes a block of Customers from a single Customer model to the specified Tariff, as long as the Tariff has not expired.
success - org.powertac.common.msg.TariffStatus.Status
 

T

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

U

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

V

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

W

WeatherForecast - Class in org.powertac.common
A collection of 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.
withChunkSize(int) - Method in class org.powertac.common.TariffEvaluator
Sets the target size of allocation chunks.
withControllableKW(double) - Method in class org.powertac.common.CustomerInfo
Fluent setter for controllable kWh.
withCustomerClass(CustomerInfo.CustomerClass) - Method in class org.powertac.common.CustomerInfo
Fluent setter for customerClass attribute.
withDailyBegin(int) - Method in class org.powertac.common.Rate
 
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.
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.
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.
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
WITHDRAW - org.powertac.common.TariffTransaction.Type
 
WITHDRAWN - org.powertac.common.Tariff.State
 
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.
withEvaluateAllTariffs(boolean) - Method in class org.powertac.common.TariffEvaluator
If true, then tariff evaluations are not saved; instead, all tariffs are evaluated each time.
withExpectedMean(double) - Method in class org.powertac.common.Rate
Specifies the expected mean charge/kWh, excluding periodic charges, for this Rate.
withExpectedTimeslotCount(int) - Method in class org.powertac.common.Competition
Fluent setter for the expected length of a normal sim session.
withExpiration(long) - Method in class org.powertac.common.TariffSpecification
Sets expiration date as msec since epoch.
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.
withInconvenienceWeight(double) - Method in class org.powertac.common.TariffEvaluator
Sets the weight given to inconvenience (as opposed to cost) in computing tariff utility.
withInertia(double) - Method in class org.powertac.common.TariffEvaluator
Sets the steady-state evaluation inertia for the customer.
withLatitude(int) - Method in class org.powertac.common.Competition
Fluent setter for latitude value
withMaxCurtailment(double) - Method in class org.powertac.common.Rate
Sets the maximum proportion of offered load or supply that can be curtailed.
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(long) - Method in class org.powertac.common.Rate
Specifies the minimum interval in hours for rate change notifications for a variable Rate.
withNoticeInterval(Duration) - Method in class org.powertac.common.Rate
Specifies the minimum interval for rate change notifications for a variable Rate.
withPeriodicPayment(double) - Method in class org.powertac.common.TariffSpecification
Sets the daily payment per customer for subscriptions to this tariff.
withPomId(String) - Method in class org.powertac.common.Competition
Fluent setter for Pom ID.
withPowerType(PowerType) - Method in class org.powertac.common.CustomerInfo
Fluent setter to set PowerType for this CustomerInfo.
withPreferredContractDuration(double) - Method in class org.powertac.common.TariffEvaluator
Sets the preferred maximum contract duration in days.
withRationality(double) - Method in class org.powertac.common.TariffEvaluator
Sets the level of rationality for this customer.
withResponse(RegulationRate.ResponseTime) - Method in class org.powertac.common.RegulationRate
Sets the response time
withSignupBonusFactor(double) - Method in class org.powertac.common.TariffEvaluator
Sets the factor by which inertia is multiplied for the case where the current tariff had a positive signup bonus.
withSignupPayment(double) - Method in class org.powertac.common.TariffSpecification
Sets the signup payment for new subscriptions.
withSimulationBaseTime(long) - Method in class org.powertac.common.Competition
Fluent setter for simulation base time that takes a long.
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.
withSimulationModulo(long) - Method in class org.powertac.common.Competition
Fluent setter for simulation modulo.
withSimulationRate(long) - Method in class org.powertac.common.Competition
Fluent setter for time compression ratio.
withSimulationTimeslotSeconds(int) - Method in class org.powertac.common.Competition
Fluent setter for controlling simulation rate by setting the number of wall-clock seconds per timeslot.
withStorageCapacity(double) - Method in class org.powertac.common.CustomerInfo
Fluent setter for storage capacity.
withTariffEvalDepth(int) - Method in class org.powertac.common.TariffEvaluator
Sets the number of tariffs/broker of each applicable PowerType to consider.
withTariffSwitchFactor(double) - Method in class org.powertac.common.TariffEvaluator
Sets the inconvenience of switching tariffs.
withTierThreshold(double) - Method in class org.powertac.common.Rate
Sets the usage threshold for applicability of this Rate.
withTimeslotLength(int) - Method in class org.powertac.common.Competition
Fluent setter for timeslot length, interpreted as minutes in sim time.
withTimeslotsOpen(int) - Method in class org.powertac.common.Competition
Fluent setter for the open timeslot count.
withTimezoneOffset(int) - Method in class org.powertac.common.Competition
Fluent setter for timezone offset
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(int) - Method in class org.powertac.common.Rate
 
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.
withWeeklyEnd(int) - Method in class org.powertac.common.Rate
Sets the weekly end of applicability for this 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.

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 K L M N O P R S T U V W X 
All Classes All Packages