- Action - Interface in org.powertac.common
-
This is a simple interface intended to be implemented by
anonymous classes that need to create a deferred action of
some sort.
- Activatable - Interface in org.powertac.samplebroker.interfaces
-
Interface for services that need to be called when the final
TimeslotComplete message has been received from the server
in each timeslot.
- activate(int) - Method in interface org.powertac.samplebroker.interfaces.Activatable
-
Called once/timeslot after the TimeslotComplete message has been
received.
- activate(int) - Method in class org.powertac.samplebroker.MarketManagerService
-
Compute needed quantities for each open timeslot, then submit orders
for those quantities.
- activate(int) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Called after TimeslotComplete msg received.
- add(Broker) - Method in class org.powertac.common.repo.BrokerRepo
-
- add(CustomerInfo) - Method in class org.powertac.common.repo.CustomerRepo
-
- add(Timeslot) - Method in class org.powertac.common.repo.TimeslotRepo
-
Adds a timeslot that already exists.
- add(WeatherForecast) - Method in class org.powertac.common.repo.WeatherForecastRepo
-
Adds a WeatherForecast to the repo
- add(WeatherReport) - Method in class org.powertac.common.repo.WeatherReportRepo
-
Adds a WeatherReport to the repo
- addAction(Instant, TimedAction) - Method in class org.powertac.common.TimeService
-
Adds an action to the simulation queue, to be triggered at the specified time.
- addAsk(OrderbookOrder) - Method in class org.powertac.common.Orderbook
-
- addBalancingOrder(BalancingOrder) - Method in class org.powertac.common.repo.TariffRepo
-
Adds a balancing order, indexed by its TariffSpec
- addBid(OrderbookOrder) - Method in class org.powertac.common.Orderbook
-
- addBroker(String) - Method in class org.powertac.common.Competition
-
Adds a broker to the Competition.
- addCustomer(CustomerInfo) - Method in class org.powertac.common.Competition
-
Adds a customer to the Competition.
- addHourlyCharge(HourlyCharge) - Method in class org.powertac.common.Rate
-
Adds a new HourlyCharge to a variable rate.
- addHourlyCharge(HourlyCharge, boolean) - Method in class org.powertac.common.Rate
-
Allows initial publication of HourlyCharge instances within the notification interval.
- addHourlyCharge(HourlyCharge, long) - Method in class org.powertac.common.Tariff
-
Adds a new HourlyCharge to its Rate.
- addMarketPosition(MarketPosition, int) - Method in class org.powertac.common.Broker
-
Associates a MarketPosition with a given Timeslot.
- addMarketPosition(MarketPosition, Timeslot) - Method in class org.powertac.common.Broker
-
Deprecated.
- addProperties(Properties) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
Adds the Properties structure to the broker configuration.
- addProperties(PropertiesConfiguration) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
Adds the PropertiesConfiguration to the broker configuration.
- addRate(RateCore) - Method in class org.powertac.common.TariffSpecification
-
Adds a new RateCore (Rate, RegulationRate, etc.) to this tariff.
- addSpecification(TariffSpecification) - Method in class org.powertac.common.repo.TariffRepo
-
Adds a TariffSpecification to the repo just in case another spec
(or this one) has not already been added sometime in the past.
- addSupersedes(long) - Method in class org.powertac.common.TariffSpecification
-
Indicates that this tariff supersedes the tariff specified by the
specId, the id of the superseded tariff.
- addTariff(Tariff) - Method in class org.powertac.common.repo.TariffRepo
-
- afterPropertiesSet() - Method in class org.powertac.common.XMLMessageConverter
-
- allWeatherForecasts() - Method in class org.powertac.common.repo.WeatherForecastRepo
-
Returns a list of all the issued weather forecast up to the
currentTimeslot
- allWeatherReports() - Method in class org.powertac.common.repo.WeatherReportRepo
-
Returns a list of all the issued weather reports up to the
currentTimeslot
- applies() - Method in class org.powertac.common.Rate
-
True just in case this Rate applies at this moment, ignoring the
tier.
- applies(AbstractInstant) - Method in class org.powertac.common.Rate
-
True just in case this Rate applies at the given DateTime, ignoring the
tier.
- applies(double) - Method in class org.powertac.common.Rate
-
True just in case this Rate applies at this moment, for the
indicated usage tier.
- applies(double, AbstractInstant) - Method in class org.powertac.common.Rate
-
True just in case this Rate applies at the specified
time, for the indicated usage tier.
- apply(T) - Method in interface org.powertac.util.Predicate
-
- atTime - Variable in class org.powertac.common.HourlyCharge
-
- canConvert(Class) - Method in class org.powertac.common.xml.BrokerConverter
-
- canConvert(Class) - Method in class org.powertac.common.xml.CustomerConverter
-
- canConvert(Class) - Method in class org.powertac.common.xml.DoubleArrayConverter
-
- canConvert(Class) - Method in class org.powertac.common.xml.FullCustomerConverter
-
- canConvert(Class) - Method in class org.powertac.common.xml.PowerTypeConverter
-
- canConvert(Class) - Method in class org.powertac.common.xml.TariffSpecificationConverter
-
- canUse(PowerType) - Method in class org.powertac.common.enumerations.PowerType
-
Returns true just in case this powerType is a supertype (can use)
the tariffType.
- CapacityTransaction - Class in org.powertac.common
-
Represents the fee assessed by the Distribution Utility for peak
capacity events.
- CapacityTransaction(Broker, int, int, double, double, double) - Constructor for class org.powertac.common.CapacityTransaction
-
- car() - Method in class org.powertac.util.Pair
-
- CashPosition - Class in org.powertac.common
-
A CashPosition domain instance represents the current state of
a broker's cash account.
- CashPosition(Broker, double, int) - Constructor for class org.powertac.common.CashPosition
-
- cdr() - Method in class org.powertac.util.Pair
-
- ChainedConstructor - Annotation Type in org.powertac.common.state
-
Annotation for chained constructors that should not generate
log records.
- chainedConstructor() - Method in class org.powertac.common.state.StateLogging
-
- CHP_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
-
- ClearedTrade - Class in org.powertac.common
-
A ClearedTrade instance reports public information about a specific
market clearing -- clearing price and total quantity traded.
- ClearedTrade(int, double, double, Instant) - Constructor for class org.powertac.common.ClearedTrade
-
- ClearedTrade(Timeslot, double, double, Instant) - Constructor for class org.powertac.common.ClearedTrade
-
- collectUsage(int) - Method in interface org.powertac.samplebroker.interfaces.PortfolioManager
-
Returns total net expected usage across all subscriptions for the given
index (normally a timeslot serial number).
- collectUsage(int) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Returns total usage for a given timeslot (represented as a simple index).
- compareTo(HourlyCharge) - Method in class org.powertac.common.HourlyCharge
-
- compareTo(Object) - Method in class org.powertac.common.OrderbookOrder
-
- Competition - Class in org.powertac.common
-
A competition instance represents a single PowerTAC competition and
at the same time serves as the place for all competition properties that can be
adjusted during competition setup (i.e.
- ConfigurableInstance - Annotation Type in org.powertac.common.config
-
Marker interface for types that can have multiple instances created
by configuration.
- ConfigurableValue - Annotation Type in org.powertac.common.config
-
Annotation for configuring a property of some instance.
- ConfigurationLister - Class in org.powertac.common.config
-
This is a helper class for generating a sample configuration file from configured instances.
- ConfigurationLister() - Constructor for class org.powertac.common.config.ConfigurationLister
-
- ConfigurationRecorder - Interface in org.powertac.common.config
-
Interface for recording configuration information.
- Configurator - Class in org.powertac.common.config
-
Fills in configured values from configuration source based on
annotations in the source code.
- Configurator() - Constructor for class org.powertac.common.config.Configurator
-
- configureInstances(Class<?>) - Method in class org.powertac.common.config.Configurator
-
Creates and configures instances of the given class.
- configureInstances(Class<?>) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
- configureMe(Object) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
- configureNamedInstances(List<?>) - Method in class org.powertac.common.config.Configurator
-
Configures a set of instances of some class.
- configureSingleton(Object) - Method in class org.powertac.common.config.Configurator
-
Configures the given thing, using the pre-loaded Configuration.
- CONSUMPTION - Static variable in class org.powertac.common.enumerations.PowerType
-
- ContextManagerService - Class in org.powertac.samplebroker
-
Handles incoming context and bank messages with example behaviors.
- ContextManagerService() - Constructor for class org.powertac.samplebroker.ContextManagerService
-
- ControlEvent - Class in org.powertac.common.msg
-
Message sent by a broker to the subscribers to a particular tariff, requesting
them to curtail usage against that tariff in the specified timeslot.
- ControlEvent() - Constructor for class org.powertac.common.msg.ControlEvent
-
- count() - Method in class org.powertac.common.repo.CustomerRepo
-
Deprecated.
- count() - Method in class org.powertac.common.repo.TimeslotRepo
-
Returns the number of timeslots that have been successfully created.
- count() - Method in class org.powertac.common.repo.WeatherForecastRepo
-
Returns the number of WeatherForecasts that have been successfully
created.
- count() - Method in class org.powertac.common.repo.WeatherReportRepo
-
Returns the number of weatherReports that have been successfully added.
- createCustomerInfo(String, int) - Method in class org.powertac.common.repo.CustomerRepo
-
- createId() - Static method in class org.powertac.common.IdGenerator
-
Generates a numeric ID as xA+B.
- createInitialTimeslots() - Method in class org.powertac.common.repo.TimeslotRepo
-
Creates timeslots to fill in the time from sim start to the current
time.
- currentCompetition() - Static method in class org.powertac.common.Competition
-
Returns the current Competition instance.
- currentSerialNumber() - Method in class org.powertac.common.repo.TimeslotRepo
-
Returns the serial number of the current timeslot
- currentTimeslot() - Method in class org.powertac.common.repo.TimeslotRepo
-
Returns the timeslot for the current time.
- currentWeatherForecast() - Method in class org.powertac.common.repo.WeatherForecastRepo
-
Returns the current WeatherForecast
- currentWeatherReport() - Method in class org.powertac.common.repo.WeatherReportRepo
-
Returns the current weatherReport
- CustomerBootstrapData - Class in org.powertac.common.msg
-
This message encapsulates net power usage by timeslot for a customer
instance over the bootstrap period.
- CustomerBootstrapData(CustomerInfo, PowerType, double[]) - Constructor for class org.powertac.common.msg.CustomerBootstrapData
-
- CustomerConverter - Class in org.powertac.common.xml
-
- CustomerConverter() - Constructor for class org.powertac.common.xml.CustomerConverter
-
- CustomerInfo - Class in org.powertac.common
-
A CustomerInfo instance represents a customer model (i.e.
- CustomerInfo(String, int) - Constructor for class org.powertac.common.CustomerInfo
-
Creates a new CustomerInfo, with default power type set to
CONSUMPTION.
- CustomerInfo.CustomerClass - Enum in org.powertac.common
-
- CustomerRepo - Class in org.powertac.common.repo
-
Simple repository for Customer instances.
- CustomerRepo() - Constructor for class org.powertac.common.repo.CustomerRepo
-
- gatherBootstrapList(List<Object>, ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
-
Pulls "bootstrapState" ConfigurationValues out of objects in the given
list, adds them to config with their names.
- gatherBootstrapState(Object, ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
-
Pulls the "bootstrapState" ConfigurableValues out of object thing, adds
them to config.
- gatherPublishedConfiguration(Object, ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
-
Pulls the "published" ConfigurableValues out of object thing, adds them to
config.
- getAmount() - Method in class org.powertac.common.BankTransaction
-
- getAsks() - Method in class org.powertac.common.Orderbook
-
The set of asks (negative energy quantities) that were submitted and
did not clear, ascending sort.
- getAtTime() - Method in class org.powertac.common.HourlyCharge
-
- getBalance() - Method in class org.powertac.common.CashPosition
-
Returns the balance in the account at the time this CashPosition was
generated.
- getBalancingOrders() - Method in class org.powertac.common.repo.TariffRepo
-
Retrieves the complete set of balancing orders
- getBase() - Method in class org.powertac.common.TimeService
-
- getBaseInstant() - Method in class org.powertac.common.TimeService
-
- getBaseTime() - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Returns the simulation base time
- getBaseTime() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
-
Returns the simulation base time
- getBean(String) - Static method in class org.powertac.common.spring.SpringApplicationContext
-
Returns the Spring bean, if any, with the given name.
- getBeanByType(Class<T>) - Static method in class org.powertac.common.spring.SpringApplicationContext
-
Returns the first Spring bean found that is an instance of the
given class.
- getBids() - Method in class org.powertac.common.Orderbook
-
The set of bids (positive energy quantities) that were submitted and
did not clear, ascending sort.
- getBootstrapDiscardedTimeslots() - Method in class org.powertac.common.Competition
-
Length of bootstrap interval in msec.
- getBootstrapTimeslotCount() - Method in class org.powertac.common.Competition
-
Number of timeslots in the bootstrap data report for a normal sim.
- getBroker() - Method in class org.powertac.common.BrokerTransaction
-
The Broker to whom this Transaction applies.
- getBroker() - Method in class org.powertac.common.MarketPosition
-
- getBroker() - Method in class org.powertac.common.msg.OrderStatus
-
- getBroker() - Method in class org.powertac.common.msg.PauseRelease
-
- getBroker() - Method in class org.powertac.common.msg.PauseRequest
-
- getBroker() - Method in class org.powertac.common.Order
-
- getBroker() - Method in class org.powertac.common.Tariff
-
- getBroker() - Method in class org.powertac.common.TariffMessage
-
- getBroker() - Method in class org.powertac.common.TariffSpecification
-
- getBroker() - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Returns the "real" broker underneath this monstrosity
- getBroker() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
-
Returns the org.powerac.common.Broker instance
- getBrokerList() - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Returns the broker's list of competing brokers - non-public
- getBrokerList() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
-
Returns the broker's list of competing brokers - non-public
- getBrokerQueueName() - Method in class org.powertac.samplebroker.core.BrokerTournamentService
-
- getBrokers() - Method in class org.powertac.common.Competition
-
The Brokers who are participating in this Competion.
- getBrokerTime() - Method in class org.powertac.common.msg.BrokerAuthentication
-
Returns the system time set by the broker.
- getBrokerUsername() - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Returns the username for this broker
- getBrokerUsername() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
-
Returns the broker name (username of the underlying Broker)
- getCashBalance() - Method in class org.powertac.common.Broker
-
Returns broker's cash balance.
- getCharge() - Method in class org.powertac.common.BalancingTransaction
-
Returns the total charge imposed by the DU for this imbalance --
positive for credit to broker, negative for debit from broker
- getCharge() - Method in class org.powertac.common.CapacityTransaction
-
The total charge imposed by the DU for this assessment.
- getCharge() - Method in class org.powertac.common.DistributionTransaction
-
Returns the total fee assessed for transport and customer connections.
- getCharge() - Method in class org.powertac.common.TariffTransaction
-
Returns the debit (negative) or credit (positive) to the broker's
money account represented by this transaction.
- getClearingPrice() - Method in class org.powertac.common.Orderbook
-
Returns the positive price at which the market cleared.
- getClockParameters() - Method in class org.powertac.common.Competition
-
Returns the clock parameters for the start of a normal sim session
as a simple Map, to simplify code that
must mediate between Competition and TimeService instances.
- getCloudCover() - Method in class org.powertac.common.WeatherForecastPrediction
-
- getCloudCover() - Method in class org.powertac.common.WeatherReport
-
- getContext() - Static method in class org.powertac.common.spring.SpringApplicationContext
-
- getControllableKW() - Method in class org.powertac.common.CustomerInfo
-
Returns total controllable capacity in kW per member.
- getControllableKWh() - Method in class org.powertac.common.CustomerInfo
-
Deprecated.
- getCurrentDateTime() - Method in class org.powertac.common.TimeService
-
- getCurrentTime() - Method in class org.powertac.common.TimeService
-
Returns the current time as an Instant
- getCurrentTimeslot() - Method in class org.powertac.common.WeatherForecast
-
Deprecated.
- getCurrentTimeslot() - Method in class org.powertac.common.WeatherReport
-
Deprecated.
- getCurtailmentRatio() - Method in class org.powertac.common.msg.EconomicControlEvent
-
- getCustomerClass() - Method in class org.powertac.common.CustomerInfo
-
Returns the customer class of this customer.
- getCustomerCount() - Method in class org.powertac.common.TariffTransaction
-
Number of individual customers within the customer model represented
by this transaction.
- getCustomerInfo() - Method in class org.powertac.common.TariffTransaction
-
- getCustomerName() - Method in class org.powertac.common.msg.CustomerBootstrapData
-
- getCustomers() - Method in class org.powertac.common.Competition
-
The list of customers (or more precisely, customer models) in the
simulation environment.
- getDailyBegin() - Method in class org.powertac.common.Rate
-
- getDailyEnd() - Method in class org.powertac.common.Rate
-
- getDateExecuted() - Method in class org.powertac.common.ClearedTrade
-
- getDateExecuted() - Method in class org.powertac.common.Orderbook
-
The date when the market cleared.
- getDateTimeForIndex(int) - Method in class org.powertac.common.repo.TimeslotRepo
-
Converts int timeslot index to DateTime in UTC timezone
- getDeactivateTimeslotsAhead() - Method in class org.powertac.common.Competition
-
Number of timeslots, starting with the current timeslot, that are closed
for trading.
- getDefaultTariff(PowerType) - Method in class org.powertac.common.repo.TariffRepo
-
- getDescription() - Method in class org.powertac.common.Competition
-
Uninterpreted text that further describes the competition.
- getDoubleProperty(String, Double) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
- getDownRegulationDiscount() - Method in class org.powertac.common.Competition
-
Discount rate for overpriced down-regulation.
- getDownRegulationKW() - Method in class org.powertac.common.CustomerInfo
-
Returns the maximum down-regulation rate in kW per member.
- getDownRegulationPayment() - Method in class org.powertac.common.RegulationRate
-
- getEarlyWithdrawPayment() - Method in class org.powertac.common.Tariff
-
Payment from customer to broker for canceling subscription before
minDuration has elapsed.
- getEarlyWithdrawPayment() - Method in class org.powertac.common.TariffSpecification
-
- getEndInstant() - Method in class org.powertac.common.Timeslot
-
- getEstimatedConsumptionPremium() - Method in class org.powertac.common.Competition
-
Brokers typically pay less for production than they charge for consumption.
- getExecutionMWh() - Method in class org.powertac.common.ClearedTrade
-
- getExecutionPrice() - Method in class org.powertac.common.ClearedTrade
-
- getExerciseRatio() - Method in class org.powertac.common.msg.BalancingOrder
-
- getExpectedCurtailment() - Method in class org.powertac.common.TariffEvaluationHelper
-
Returns the expected-curtailment-per-timeslot quantity
- getExpectedDischarge() - Method in class org.powertac.common.TariffEvaluationHelper
-
Returns the expected-discharge-per-timeslot quantity
- getExpectedDownRegulation() - Method in class org.powertac.common.TariffEvaluationHelper
-
Returns the expected-down-regulation-per-timeslot quantity
- getExpectedMean() - Method in class org.powertac.common.Rate
-
- getExpectedRegulation() - Method in class org.powertac.common.TariffEvaluationHelper
-
- getExpectedTimeslotCount() - Method in class org.powertac.common.Competition
-
Expected value of timeslot count for a normal sim session.
- getExpiration() - Method in class org.powertac.common.Tariff
-
- getExpiration() - Method in class org.powertac.common.TariffSpecification
-
- getFirstEnabled() - Method in class org.powertac.common.msg.TimeslotUpdate
-
Returns the serial number of the first enabled timeslot.
- getFixedTimeslotCount() - Method in class org.powertac.common.Competition
-
Fixed value for timeslot count, allows external tools such as tournament scheduler to
compute game lengths externally.
- getForecastTime() - Method in class org.powertac.common.WeatherForecastPrediction
-
- getGenericType() - Method in class org.powertac.common.enumerations.PowerType
-
Returns the least-specific capacity type for a given PowerType.
- getHourlyCharge() - Method in class org.powertac.common.msg.VariableRateUpdate
-
- getHourlyChargeId() - Method in class org.powertac.common.msg.VariableRateUpdate
-
- getHourOfDay() - Method in class org.powertac.common.TimeService
-
Returns the current hour-of-day
- getId() - Method in class org.powertac.common.Broker
-
Returns the unique ID for this broker
- getId() - Method in class org.powertac.common.BrokerTransaction
-
- getId() - Method in class org.powertac.common.ClearedTrade
-
- getId() - Method in class org.powertac.common.Competition
-
- getId() - Method in class org.powertac.common.CustomerInfo
-
- getId() - Method in class org.powertac.common.HourlyCharge
-
- getId() - Method in class org.powertac.common.MarketPosition
-
- getId() - Method in class org.powertac.common.msg.BalanceReport
-
Returns the id of this instance
- getId() - Method in class org.powertac.common.msg.CustomerBootstrapData
-
- getId() - Method in class org.powertac.common.msg.DistributionReport
-
- getId() - Method in class org.powertac.common.msg.MarketBootstrapData
-
- getId() - Method in class org.powertac.common.msg.OrderStatus
-
- getId() - Method in class org.powertac.common.msg.TimeslotUpdate
-
- getId() - Method in class org.powertac.common.Order
-
- getId() - Method in class org.powertac.common.Orderbook
-
- getId() - Method in class org.powertac.common.OrderbookOrder
-
- getId() - Method in class org.powertac.common.RateCore
-
Returns the id of this Rate
- getId() - Method in class org.powertac.common.Tariff
-
make id a synonym for specId
- getId() - Method in class org.powertac.common.TariffMessage
-
- getId() - Method in class org.powertac.common.TariffSpecification
-
- getId() - Method in class org.powertac.common.Timeslot
-
- getId() - Method in class org.powertac.common.WeatherForecast
-
- getId() - Method in class org.powertac.common.WeatherForecastPrediction
-
- getId() - Method in class org.powertac.common.WeatherReport
-
- getIdPrefix() - Method in class org.powertac.common.Broker
-
Returns the ID prefix for this broker.
- getInstance() - Static method in class org.powertac.common.repo.BrokerRepo
-
- getInstance() - Static method in class org.powertac.common.TimeService
-
Returns the most-recently created instance of TimeService.
- getIntegerProperty(String, Integer) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
- getIsSupersededBy() - Method in class org.powertac.common.Tariff
-
- getJmsBrokerUrl() - Method in class org.powertac.samplebroker.core.JmsManagementService
-
- getJmsUrl() - Method in class org.powertac.samplebroker.core.BrokerTournamentService
-
- getKey() - Method in class org.powertac.common.Broker
-
Returns the jms ID for this broker.
- getKey() - Method in class org.powertac.common.msg.BrokerAccept
-
Returns the jms key used to validate broker communications.
- getKWh() - Method in class org.powertac.common.BalancingTransaction
-
Returns the total size of the imbalance in kWH, positive for surplus and
negative for deficit
- getKWh() - Method in class org.powertac.common.CapacityTransaction
-
The amount by which this broker's total net consumption
exceeded the threshold, in kWh.
- getKWh() - Method in class org.powertac.common.DistributionTransaction
-
Returns the transported energy quantity represented by this transaction.
- getKwh() - Method in class org.powertac.common.msg.BalancingControlEvent
-
- getKWh() - Method in class org.powertac.common.TariffTransaction
-
Returns the debit (negative) or credit (positive) to the broker's
energy account in the current timeslot represented by this transaction.
- getLastEnabled() - Method in class org.powertac.common.msg.TimeslotUpdate
-
Returns the serial number of the first enabled timeslot.
- getLatitude() - Method in class org.powertac.common.Competition
-
Returns approximate latitude in degrees for sim locale.
- getLimitPrice() - Method in class org.powertac.common.Order
-
Setter for logtool access; do not use otherwise
- getLimitPrice() - Method in class org.powertac.common.OrderbookOrder
-
Returns the limit price for this unsatisfied order.
- getMarketPrice() - Method in class org.powertac.common.msg.MarketBootstrapData
-
- getMaxAskPrices() - Method in class org.powertac.common.repo.OrderbookRepo
-
Returns maxAskPrices array, representing the maximum ask prices
for the most recent clearing of the wholesale market.
- getMaxCurtailment() - Method in class org.powertac.common.Rate
-
Returns the maximum proportion of offered load or supply that can be
curtailed in a given timeslot.
- getMaxDownRegulationPaymentRatio() - Method in class org.powertac.common.Competition
-
If a tariff offers a down-regulation price larger (more negative) than the
consumption price times this ratio, customers will not offer down-regulation,
and will ignore down-regulation during tariff evaluation.
- getMaxUpRegulation(double, double) - Method in class org.powertac.common.Tariff
-
Returns the maximum interruptible quantity in kwh for this tariff in
the current timeslot, for the specified proposed and cumulative usage.
- getMaxUpRegulationPaymentRatio() - Method in class org.powertac.common.Competition
-
Customers assume up-regulation will never clear if the regulation price
is higher than the consumption price times this ratio, and so up-regulation
will be ignored during tariff evaluation.
- getMaxValue() - Method in class org.powertac.common.Rate
-
- getMeanConsumptionPrice() - Method in class org.powertac.common.Tariff
-
- getMeanMarketPrice() - Method in interface org.powertac.samplebroker.interfaces.MarketManager
-
Returns the mean price observed in the market
- getMeanMarketPrice() - Method in class org.powertac.samplebroker.MarketManagerService
-
Returns the mean price observed in the market
- getMessage() - Method in class org.powertac.common.msg.TariffStatus
-
- getMinAskPrices() - Method in class org.powertac.common.repo.OrderbookRepo
-
Returns the minAskPrices array, representing the minimum ask prices
for the most recent clearing of the wholesale market.
- getMinDuration() - Method in class org.powertac.common.Tariff
-
Delegation for TariffSpecification.minDuration
- getMinDuration() - Method in class org.powertac.common.TariffSpecification
-
- getMinimumOrderQuantity() - Method in class org.powertac.common.Competition
-
Minimum order quantity in MWh.
- getMinimumTimeslotCount() - Method in class org.powertac.common.Competition
-
Minimum number of timeslots for this competition.
- getMinValue() - Method in class org.powertac.common.Rate
-
- getModulo() - Method in class org.powertac.common.TimeService
-
- getMultiplier() - Static method in class org.powertac.common.IdGenerator
-
Returns the multiplier for an id, needed to validate id values
- getMWh() - Method in class org.powertac.common.MarketTransaction
-
- getMwh() - Method in class org.powertac.common.msg.MarketBootstrapData
-
- getMWh() - Method in class org.powertac.common.Order
-
- getMWh() - Method in class org.powertac.common.OrderbookOrder
-
Returns the quantity of energy unsatisfied for an order.
- getName() - Method in class org.powertac.common.Competition
-
Returns the competition name
- getName() - Method in class org.powertac.common.CustomerInfo
-
Display name for this CustomerInfo instance.
- getNetImbalance() - Method in class org.powertac.common.msg.BalanceReport
-
- getNetUsage() - Method in class org.powertac.common.msg.CustomerBootstrapData
-
- getNewExpiration() - Method in class org.powertac.common.msg.TariffExpire
-
- getNext(Timeslot) - Method in class org.powertac.common.repo.TimeslotRepo
-
Returns the following timeslot.
- getNLarge() - Method in class org.powertac.common.DistributionTransaction
-
Returns the number of large customer subscriptions for which meter fees
are assessed.
- getNormWtExpected() - Method in class org.powertac.common.TariffEvaluationHelper
-
- getNormWtMax() - Method in class org.powertac.common.TariffEvaluationHelper
-
- getNoticeInterval() - Method in class org.powertac.common.Rate
-
- getNSmall() - Method in class org.powertac.common.DistributionTransaction
-
Returns the number of small customer subscriptions for which meter fees
are assessed.
- getOfferDate() - Method in class org.powertac.common.Tariff
-
- getOffset() - Method in class org.powertac.common.TimeService
-
Computes and returns the offset in msec between the current system time
and the current clock time.
- getOrderId() - Method in class org.powertac.common.msg.OrderStatus
-
- getOverallBalance() - Method in class org.powertac.common.MarketPosition
-
- getPassword() - Method in class org.powertac.common.Broker
-
- getPassword() - Method in class org.powertac.common.msg.BrokerAuthentication
-
- getPasswordAuthentication() - Method in class org.powertac.util.ProxyAuthenticator
-
- getPayload() - Method in class org.powertac.common.msg.VariableRateUpdate
-
conventional getter to satisfy beanutils
- getPayment() - Method in class org.powertac.common.msg.BalancingControlEvent
-
- getPeakTimeslot() - Method in class org.powertac.common.CapacityTransaction
-
When this peak occurred.
- getPeriodicPayment() - Method in class org.powertac.common.Tariff
-
Flat payment per period for two-part tariffs, typically negative.
- getPeriodicPayment() - Method in class org.powertac.common.TariffSpecification
-
- getPomId() - Method in class org.powertac.common.Competition
-
Returns the pom version id from the server on which this Competition
was created.
- getPopulation() - Method in class org.powertac.common.CustomerInfo
-
Returns the population of the model represented by this CustomerInfo.
- getPostedTime() - Method in class org.powertac.common.BrokerTransaction
-
When this Transaction was posted.
- getPostedTime() - Method in class org.powertac.common.msg.TimeslotUpdate
-
- getPostedTimeslot() - Method in class org.powertac.common.BrokerTransaction
-
Timeslot when transaction was posted
- getPostedTimeslotIndex() - Method in class org.powertac.common.BrokerTransaction
-
Timeslot index when transaction was posted.
- getPowerType() - Method in class org.powertac.common.CustomerInfo
-
Returns the type of power consumption and/or production available in
this customer model.
- getPowerType() - Method in class org.powertac.common.msg.CustomerBootstrapData
-
- getPowerType() - Method in class org.powertac.common.Tariff
-
Type of power covered by this tariff
- getPowerType() - Method in class org.powertac.common.TariffSpecification
-
- getPredictions() - Method in class org.powertac.common.WeatherForecast
-
- getPrefix() - Static method in class org.powertac.common.IdGenerator
-
Returns the id prefix - needed for testing.
- getPrefix() - Method in class org.powertac.common.msg.BrokerAccept
-
Returns the ID prefix to be used by the broker.
- getPrice() - Method in class org.powertac.common.MarketTransaction
-
- getPrice() - Method in class org.powertac.common.msg.BalancingOrder
-
- getProperty(String) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
- getProperty(String, String) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
- getProperty(String) - Method in class org.powertac.util.PropertiesUtil
-
- getProperty(String, String) - Method in class org.powertac.util.PropertiesUtil
-
- getQuantity() - Method in class org.powertac.common.BalancingTransaction
-
Deprecated.
- getQuantity() - Method in class org.powertac.common.DistributionTransaction
-
Deprecated.
- getRate() - Method in class org.powertac.common.TimeService
-
- getRateHistory() - Method in class org.powertac.common.Rate
-
Returns the sequence of HourlyCharge instances for this Rate.
- getRateId() - Method in class org.powertac.common.HourlyCharge
-
- getRateId() - Method in class org.powertac.common.msg.VariableRateUpdate
-
- getRates() - Method in class org.powertac.common.TariffSpecification
-
Returns the Rate instances from among the rates in this tariff spec.
- getRealizedPrice() - Method in class org.powertac.common.Tariff
-
Returns the actual realized price, or 0.0 if information unavailable.
- getRegulationCharge(double, double, boolean) - Method in class org.powertac.common.Tariff
-
Returns the usage charge for regulation usage/or production.
- getRegulationRates() - Method in class org.powertac.common.TariffSpecification
-
Returns the RegulationRate instances from among the rates
in this tariff spec.
- getResponse() - Method in class org.powertac.common.RegulationRate
-
- getSerialNumber() - Method in class org.powertac.common.Timeslot
-
- getServerQueueName() - Method in class org.powertac.samplebroker.core.BrokerTournamentService
-
- getServerQueueName() - Method in class org.powertac.samplebroker.core.JmsManagementService
-
- getServerTime() - Method in class org.powertac.common.msg.BrokerAccept
-
Returns the server's system time at the time this instance was created.
- getServerTimeOffset() - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Returns the computed server time offset after login.
- getSignupPayment() - Method in class org.powertac.common.Tariff
-
One-time payment for subscribing to tariff, negative for payment
from customer, positive for payment to customer.
- getSignupPayment() - Method in class org.powertac.common.TariffSpecification
-
- getSimulationBaseTime() - Method in class org.powertac.common.Competition
-
Start time of a sim session in the sim world.
- getSimulationModulo() - Method in class org.powertac.common.Competition
-
Minimum value in milliseconds by which time advances in a simulation,
or in other words, the size of a clock tick.
- getSimulationRate() - Method in class org.powertac.common.Competition
-
The time-compression factor for the simulation.
- getSimulationTimeslotSeconds() - Method in class org.powertac.common.Competition
-
Returns the number of seconds in wall-clock time per timeslot, truncated
to an integer.
- getSoldThreshold() - Method in class org.powertac.common.TariffEvaluationHelper
-
- getSpecId() - Method in class org.powertac.common.Tariff
-
- getStart() - Method in class org.powertac.common.msg.SimResume
-
- getStart() - Method in class org.powertac.common.msg.SimStart
-
- getStart() - Method in class org.powertac.common.TimeService
-
- getStartInstant() - Method in class org.powertac.common.Timeslot
-
- getStartTime() - Method in class org.powertac.common.Timeslot
-
Returns the DateTime representation of the start time for this timeslot
- getState() - Method in class org.powertac.common.Tariff
-
- getStatus() - Method in class org.powertac.common.msg.OrderStatus
-
- getStatus() - Method in class org.powertac.common.msg.TariffStatus
-
- getStorageCapacity() - Method in class org.powertac.common.CustomerInfo
-
Returns the maximum energy storage capacity in kWh per member.
- getString(long) - Static method in class org.powertac.common.IdGenerator
-
Converts ID value to String as A.B.
- getSupersedes() - Method in class org.powertac.common.TariffSpecification
-
- getTariffId() - Method in class org.powertac.common.msg.TariffStatus
-
- getTariffId() - Method in class org.powertac.common.msg.TariffUpdate
-
- getTariffId() - Method in class org.powertac.common.RateCore
-
Returns the id of the TariffSpecification to which this Rate is
attached.
- getTariffSpec() - Method in class org.powertac.common.Tariff
-
- getTariffSpec() - Method in class org.powertac.common.TariffTransaction
-
Returns the TariffSpecification instance to which this transaction applies.
- getTariffSpecification() - Method in class org.powertac.common.Tariff
-
- getTemperature() - Method in class org.powertac.common.WeatherForecastPrediction
-
- getTemperature() - Method in class org.powertac.common.WeatherReport
-
- getThreshold() - Method in class org.powertac.common.CapacityTransaction
-
The peak-demand threshold for this assessment.
- getTierThreshold() - Method in class org.powertac.common.Rate
-
- getTimeForIndex(int) - Method in class org.powertac.common.repo.TimeslotRepo
-
Converts int timeslot index to Instant
- getTimeslot() - Method in class org.powertac.common.ClearedTrade
-
- getTimeslot() - Method in class org.powertac.common.MarketPosition
-
- getTimeslot() - Method in class org.powertac.common.MarketTransaction
-
- getTimeslot() - Method in class org.powertac.common.msg.DistributionReport
-
- getTimeslot() - Method in class org.powertac.common.Order
-
- getTimeslot() - Method in class org.powertac.common.Orderbook
-
- getTimeslot() - Method in class org.powertac.common.WeatherForecast
-
Deprecated.
- getTimeslotCompleted() - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
- getTimeslotDuration() - Method in class org.powertac.common.Competition
-
Returns the duration of a timeslot in milliseconds sim-time.
- getTimeslotIndex() - Method in class org.powertac.common.ClearedTrade
-
- getTimeslotIndex() - Method in class org.powertac.common.MarketPosition
-
- getTimeslotIndex() - Method in class org.powertac.common.MarketTransaction
-
- getTimeslotIndex() - Method in class org.powertac.common.msg.BalanceReport
-
- getTimeslotIndex() - Method in class org.powertac.common.msg.ControlEvent
-
- getTimeslotIndex() - Method in class org.powertac.common.msg.TimeslotComplete
-
- getTimeslotIndex() - Method in class org.powertac.common.Order
-
- getTimeslotIndex() - Method in class org.powertac.common.Orderbook
-
The timeslot in which energy commitments represented by cleared trades
are due.
- getTimeslotIndex(Instant) - Method in class org.powertac.common.repo.TimeslotRepo
-
Converts time to timeslot index without actually creating a timeslot
- getTimeslotIndex() - Method in class org.powertac.common.WeatherForecast
-
- getTimeslotIndex() - Method in class org.powertac.common.WeatherReport
-
- getTimeslotLength() - Method in class org.powertac.common.Competition
-
Returns the length of a timeslot in minutes (sim time).
- getTimeslotsOpen() - Method in class org.powertac.common.Competition
-
Number of timeslots simultaneously open for trading.
- getTimezoneOffset() - Method in class org.powertac.common.Competition
-
Returns timezone offset for sim locale.
- getTotalConsumption() - Method in class org.powertac.common.msg.DistributionReport
-
- getTotalCost() - Method in class org.powertac.common.Tariff
-
- getTotalProduction() - Method in class org.powertac.common.msg.DistributionReport
-
- getTotalUsage() - Method in class org.powertac.common.Tariff
-
- getTxType() - Method in class org.powertac.common.TariffTransaction
-
- getUpdateId() - Method in class org.powertac.common.msg.TariffStatus
-
- getUpRegulationDiscount() - Method in class org.powertac.common.Competition
-
Discount rate for overpriced up-regulation.
- getUpRegulationKW() - Method in class org.powertac.common.CustomerInfo
-
Returns the maximum up-regulation rate in kW per member,
beyond the curtailment of its load.
- getUpRegulationPayment() - Method in class org.powertac.common.RegulationRate
-
- getUsageCharge(double, double, boolean) - Method in class org.powertac.common.Tariff
-
Returns the usage charge for a single customer in the current timeslot.
- getUsageCharge(Instant, double, double) - Method in class org.powertac.common.Tariff
-
Returns the usage charge for a single customer using an amount of
energy at some time in the past or future.
- getUsageCharge(Instant, double, double, TariffEvaluationHelper) - Method in class org.powertac.common.Tariff
-
Returns a risk-adjusted usage charge, with prices for variable rates
adjusted by the given TariffEvaluationHelper.
- getUsageRecordLength() - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Returns the length of the standard data array (24h * 7d)
- getUsageRecordLength() - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
-
Returns length of data array used
for tracking customer consumption/production
- getUsername() - Method in class org.powertac.common.Broker
-
Returns the username for this Broker.
- getUsername() - Method in class org.powertac.common.msg.BrokerAuthentication
-
- getValue() - Method in class org.powertac.common.HourlyCharge
-
- getValue() - Method in class org.powertac.common.Rate
-
Returns the rate for the current time.
- getValue(AbstractInstant) - Method in class org.powertac.common.Rate
-
Shortcut to get value at an instant without a TEH.
- getValue(AbstractInstant, TariffEvaluationHelper) - Method in class org.powertac.common.Rate
-
Returns the rate for some time in the past or future, regardless of
whether the Rate applies at that time, and regardless of whether
the requested time is beyond the notification interval of a
variable rate.
- getWeeklyBegin() - Method in class org.powertac.common.Rate
-
- getWeeklyEnd() - Method in class org.powertac.common.Rate
-
- getWindDirection() - Method in class org.powertac.common.WeatherForecastPrediction
-
- getWindDirection() - Method in class org.powertac.common.WeatherReport
-
- getWindSpeed() - Method in class org.powertac.common.WeatherForecastPrediction
-
- getWindSpeed() - Method in class org.powertac.common.WeatherReport
-
- getWtExpected() - Method in class org.powertac.common.TariffEvaluationHelper
-
Parameter access
- getWtMax() - Method in class org.powertac.common.TariffEvaluationHelper
-
- getWtRealized() - Method in class org.powertac.common.TariffEvaluationHelper
-
- getXStream() - Static method in class org.powertac.common.XMLMessageConverter
-
- handleMessage(BankTransaction) - Method in class org.powertac.samplebroker.ContextManagerService
-
BankTransaction represents an interest payment.
- handleMessage(CashPosition) - Method in class org.powertac.samplebroker.ContextManagerService
-
CashPosition updates our current bank balance.
- handleMessage(DistributionReport) - Method in class org.powertac.samplebroker.ContextManagerService
-
DistributionReport gives total consumption and production for the timeslot,
summed across all brokers.
- handleMessage(Competition) - Method in class org.powertac.samplebroker.ContextManagerService
-
Handles the Competition instance that arrives at beginning of game.
- handleMessage(Properties) - Method in class org.powertac.samplebroker.ContextManagerService
-
Receives the server configuration properties.
- handleMessage(BrokerAccept) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
BrokerAccept comes out when our authentication credentials are accepted
and we become part of the game.
- handleMessage(Competition) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Handles the Competition instance that arrives at beginning of game.
- handleMessage(SimPause) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Receives the SimPause message, used to pause the clock.
- handleMessage(SimResume) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Receives the SimResume message, used to update the clock.
- handleMessage(SimStart) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Receives the SimStart message, used to start the clock.
- handleMessage(SimEnd) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Receives the SimEnd message, which ends the broker session.
- handleMessage(TimeslotUpdate) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Updates the sim clock on receipt of the TimeslotUpdate message,
which should be the first to arrive in each timeslot.
- handleMessage(TimeslotComplete) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
TimeslotComplete is the last message sent by the server in each timeslot.
- handleMessage(Competition) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles the Competition instance that arrives at beginning of game.
- handleMessage(BalancingTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles a BalancingTransaction message.
- handleMessage(ClearedTrade) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles a ClearedTrade message - this is where you would want to keep
track of market prices.
- handleMessage(DistributionTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles a DistributionTransaction - charges for transporting power
- handleMessage(CapacityTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
-
Handles a CapacityTransaction - a charge for contribution to overall
peak demand over the recent past.
- handleMessage(MarketBootstrapData) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a MarketBootstrapData message, reporting usage and prices
for the bootstrap period.
- handleMessage(MarketPosition) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a MarketPosition message, representing our commitments on
the wholesale market
- handleMessage(MarketTransaction) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a new MarketTransaction.
- handleMessage(Orderbook) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives market orderbooks.
- handleMessage(WeatherForecast) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a new WeatherForecast.
- handleMessage(WeatherReport) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a new WeatherReport.
- handleMessage(BalanceReport) - Method in class org.powertac.samplebroker.MarketManagerService
-
Receives a BalanceReport containing information about imbalance in the
current timeslot.
- handleMessage(CustomerBootstrapData) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles CustomerBootstrapData by populating the customer model
corresponding to the given customer and power type.
- handleMessage(TariffSpecification) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a TariffSpecification.
- handleMessage(TariffStatus) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a TariffStatus message.
- handleMessage(TariffTransaction) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a TariffTransaction.
- handleMessage(TariffRevoke) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a TariffRevoke message from the server, indicating that some
tariff has been revoked.
- handleMessage(BalancingControlEvent) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Handles a BalancingControlEvent, sent when a BalancingOrder is
exercised by the DU.
- hashCode() - Method in class org.powertac.util.Pair
-
- hasRegulationRate() - Method in class org.powertac.common.Tariff
-
Wrapper for TariffSpecification.hasRegulationRate()
- hasRegulationRate() - Method in class org.powertac.common.TariffSpecification
-
Returns true just in case this tariff has one or more RegulationRates.
- HOUR - Static variable in class org.powertac.common.TimeService
-
- HourlyCharge - Class in org.powertac.common
-
Represents the cost of power during a specific timeslot in a variable
Rate.
- HourlyCharge(Instant, double) - Constructor for class org.powertac.common.HourlyCharge
-
Creates a new HourlyCharge to communicate rate information to customers.
- HourlyCharge() - Constructor for class org.powertac.common.HourlyCharge
-
- id - Variable in class org.powertac.common.BrokerTransaction
-
- id - Variable in class org.powertac.common.MarketPosition
-
- id - Variable in class org.powertac.common.msg.DistributionReport
-
- id - Variable in class org.powertac.common.msg.OrderStatus
-
- id - Variable in class org.powertac.common.TariffMessage
-
- IdGenerator - Class in org.powertac.common
-
Generates numeric ID values for domain types.
- IdGenerator() - Constructor for class org.powertac.common.IdGenerator
-
- init() - Method in class org.powertac.common.Tariff
-
Initializes tariff by building the rate map.
- init(double, double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
-
Initializes, setting parameters, then normalize the weights for
expectedMean and maxValue.
- init() - Method in class org.powertac.common.TariffEvaluationHelper
-
Initializes, without changing parameter settings
- init(Instant) - Method in class org.powertac.common.TimeService
-
Sets current time to modulo before the desired start time.
- init() - Method in class org.powertac.samplebroker.core.BrokerTournamentService
-
- init(String, String) - Method in class org.powertac.samplebroker.core.JmsManagementService
-
- init() - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Sets up the "adapter" broker, initializes the other services, registers
for incoming messages.
- Initializable - Interface in org.powertac.samplebroker.interfaces
-
Implementations of this interface have their initialize() methods called
at the appropriate point in the broker startup sequence.
- initialize(BrokerContext) - Method in class org.powertac.samplebroker.ContextManagerService
-
- initialize() - Method in class org.powertac.samplebroker.core.BrokerMessageReceiver
-
- initialize(BrokerContext) - Method in interface org.powertac.samplebroker.interfaces.Initializable
-
Initializes a service prior to logging in to the server.
- initialize(BrokerContext) - Method in class org.powertac.samplebroker.MarketManagerService
-
- initialize(BrokerContext) - Method in class org.powertac.samplebroker.PortfolioManagerService
-
Per-game initialization.
- initializeCostFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
-
Initializes cost factors and normalizes
- initializeRegulationFactors(double, double, double) - Method in class org.powertac.common.TariffEvaluationHelper
-
Initializes regulation factors.
- INTERRUPTIBLE_CONSUMPTION - Static variable in class org.powertac.common.enumerations.PowerType
-
- IpcAdapter - Interface in org.powertac.samplebroker.interfaces
-
Implementations are intended to allow out-of-process broker implementation
through an inter-process communication path.
- isActive() - Method in class org.powertac.common.Tariff
-
True just in case this tariff is OFFERED or ACTIVE
- isAnalyzed() - Method in class org.powertac.common.Tariff
-
Returns the analyzed flag.
- isCanNegotiate() - Method in class org.powertac.common.CustomerInfo
-
True just in case the underlying Customer model can negotiate individual
contracts.
- isConsumption() - Method in class org.powertac.common.enumerations.PowerType
-
Returns true just in case this type would apply to a consumption tariff.
- isCovered() - Method in class org.powertac.common.Tariff
-
True just in case the set of Rates cover all the possible hour
and tier slots.
- isEnabled() - Method in class org.powertac.common.Broker
-
True just in case either the broker is logged in, or is a local wholesale
broker.
- isExpired() - Method in class org.powertac.common.Tariff
-
True just in case the current time is past the expiration date
of this Tariff.
- isFixed() - Method in class org.powertac.common.Rate
-
- isInterruptible() - Method in class org.powertac.common.enumerations.PowerType
-
Returns true just in case this type is interruptible.
- isInterruptible() - Method in class org.powertac.common.Tariff
-
True just in case this tariff could result in curtailment
- isLocal() - Method in class org.powertac.common.Broker
-
True for a Broker that is local to the server.
- isMultiContracting() - Method in class org.powertac.common.CustomerInfo
-
True if this customer can subscribe to multiple contracts.
- isProduction() - Method in class org.powertac.common.enumerations.PowerType
-
Returns true just in case this type would apply to a production tariff.
- isRegulation() - Method in class org.powertac.common.TariffTransaction
-
True just in case this is transaction reports exercise of regulation
capacity.
- isRemoved(long) - Method in class org.powertac.common.repo.TariffRepo
-
Tests whether a tariff has been deleted.
- isRevoked() - Method in class org.powertac.common.Tariff
-
True just in case this tariff has been revoked.
- isStorage() - Method in class org.powertac.common.enumerations.PowerType
-
Returns true just in case this type is a storage type.
- isSubscribable() - Method in class org.powertac.common.Tariff
-
True just in case this tariff can accept new subscriptions
- isTiered() - Method in class org.powertac.common.Tariff
-
True just in case this tariff has at least one tiered rate
- isTimeOfUse() - Method in class org.powertac.common.Rate
-
True just in case this Rate does not apply everywhen
- isTimeOfUse() - Method in class org.powertac.common.Tariff
-
True just in case this tariff has at least one Time-of-Use rate
- isTimeslotEnabled(Timeslot) - Method in class org.powertac.common.repo.TimeslotRepo
-
True just in case the specified timeslot is enabled.
- isTimeslotEnabled(int) - Method in class org.powertac.common.repo.TimeslotRepo
-
True just in case the timeslot with the given index is enabled.
- isValid() - Method in class org.powertac.common.msg.BalancingOrder
-
Valid if exerciseRatio between 0 and 2
- isValid() - Method in class org.powertac.common.msg.VariableRateUpdate
-
By default, these are invalid.
- isValid(Rate) - Method in class org.powertac.common.msg.VariableRateUpdate
-
Given a Rate, a VRU is valid if it has the correct ID, if the Rate
is not fixed, and if the HourlyCharge specifies a value
between the minValue and maxValue of the Rate.
- isValid(TariffSpecification) - Method in class org.powertac.common.Rate
-
Returns true just in case this Rate is internally valid, and valid
with respect to the given TariffSpecification.
- isValid(PowerType) - Method in class org.powertac.common.Rate
-
- isValid(TariffSpecification) - Method in class org.powertac.common.RegulationRate
-
Returns true just in case this Rate is internally valid, and valid
with respect to the given TariffSpecification.
- isValid() - Method in class org.powertac.common.TariffMessage
-
- isValid() - Method in class org.powertac.common.TariffSpecification
-
A TariffSpecification is valid if
it has a least one Rate, and all its Rates are valid;
minDuration is non-negative;
- isValid() - Method in interface org.powertac.common.ValidatableMessage
-
Implementation should return true just in case the message is
internally valid.
- isVariableRate() - Method in class org.powertac.common.Tariff
-
True just in case this tariff has at least one dynamic rate
- isWeekly() - Method in class org.powertac.common.Tariff
-
- isWholesale() - Method in class org.powertac.common.Broker
-
True for a broker that operates on the wholeside of the wholesale market.
- SECOND - Static variable in class org.powertac.common.TimeService
-
- sendMessage(Object) - Method in class org.powertac.samplebroker.core.MessageDispatcher
-
Converts outgoing message to XML, sends it to the server
- sendMessage(Object) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Sends an outgoing message.
- sendMessage(Object) - Method in interface org.powertac.samplebroker.interfaces.BrokerContext
-
Sends an outgoing message.
- sendRawMessage(String) - Method in class org.powertac.samplebroker.core.MessageDispatcher
-
Sends XML-formatted message to the server without interpretation.
- setApplicationContext(ApplicationContext) - Method in class org.powertac.common.spring.SpringApplicationContext
-
- setApplicationContext(ApplicationContext) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
- setBase(long) - Method in class org.powertac.common.TimeService
-
- setBrokerTime(long) - Method in class org.powertac.common.msg.BrokerAuthentication
-
Sets the system time.
- setClockParameters(long, long, long) - Method in class org.powertac.common.TimeService
-
Sets base, rate, and modulo clock parameters with a single call.
- setClockParameters(Map<String, Long>) - Method in class org.powertac.common.TimeService
-
Sets base, rate, and modulo parameters from a map, which is wrapped
in a Configuration to allow for conversions and default values.
- setClockParameters(Competition) - Method in class org.powertac.common.TimeService
-
Sets base, rate, and modulo from a Competition instance
- setConfigOutput(ConfigurationRecorder) - Method in class org.powertac.common.config.Configurator
-
Sets up an output stream for config dump.
- setConfiguration(AbstractConfiguration) - Method in class org.powertac.common.config.Configurator
-
Loads a Configuration into this Configurator.
- setCurrent(Competition) - Static method in class org.powertac.common.Competition
-
Makes a Competition instance be the "current" competition - this is
needed in a broker when the Competition instance arrives from the
server.
- setCurrentTime(Instant) - Method in class org.powertac.common.TimeService
-
Sets current time to a specific value.
- setCurrentTime(AbstractDateTime) - Method in class org.powertac.common.TimeService
-
Sets current time to a specific value.
- setCurrentTime() - Method in class org.powertac.common.TimeService
-
- setDefaultTariff(TariffSpecification) - Method in class org.powertac.common.repo.TariffRepo
-
- setEnabled(boolean) - Method in class org.powertac.common.Broker
-
Enables this Broker.
- setExpiration(Instant) - Method in class org.powertac.common.Tariff
-
- setIdPrefix(int) - Method in class org.powertac.common.Broker
-
Sets the ID prefix for this broker.
- setJmsBrokerUrl(String) - Method in class org.powertac.samplebroker.core.JmsManagementService
-
- setKey(String) - Method in class org.powertac.common.Broker
-
Sets the jms key for a remote broker.
- setLocal(boolean) - Method in class org.powertac.common.Broker
-
Allows subclasses to set themselves as local brokers.
- setMaxAskPrices(Double[]) - Method in class org.powertac.common.repo.OrderbookRepo
-
- setMinAskPrices(Double[]) - Method in class org.powertac.common.repo.OrderbookRepo
-
Set the minAskPrices array.
- setModulo(long) - Method in class org.powertac.common.TimeService
-
- setPassword(String) - Method in class org.powertac.common.Broker
-
- setPopulation(Integer) - Method in class org.powertac.common.CustomerInfo
-
Updates the population for the underlying model.
- setPrefix(int) - Static method in class org.powertac.common.IdGenerator
-
Each entity living in a separate process must have a different prefix
value.
- setProperty(String, Object) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
Changes the value of a property (or adds a property).
- setQueueName(String) - Method in class org.powertac.common.Broker
-
Sets the broker's queue name.
- setRate(long) - Method in class org.powertac.common.TimeService
-
- setRateId(long) - Method in class org.powertac.common.HourlyCharge
-
Sets connection between rate and hourly charge.
- setServerQueueName(String) - Method in class org.powertac.samplebroker.core.JmsManagementService
-
- setSoldThreshold(double) - Method in class org.powertac.common.TariffEvaluationHelper
-
- setStart(long) - Method in class org.powertac.common.TimeService
-
- setState() - Method in class org.powertac.common.state.StateLogging
-
- setstate(JoinPoint) - Method in class org.powertac.common.state.StateLogging
-
- setState(Tariff.State) - Method in class org.powertac.common.Tariff
-
Updates the state of this tariff.
- setStatus(TariffStatus.Status) - Method in class org.powertac.common.msg.TariffStatus
-
- setTariffId(long) - Method in class org.powertac.common.RateCore
-
Sets the backpointer to the tariff.
- setUserConfig(File) - Method in class org.powertac.samplebroker.core.BrokerPropertiesService
-
- setWholesale(boolean) - Method in class org.powertac.common.Broker
-
Allows subclasses to make themselves wholesale brokers
- setWtExpected(double) - Method in class org.powertac.common.TariffEvaluationHelper
-
- setWtMax(double) - Method in class org.powertac.common.TariffEvaluationHelper
-
- setWtRealized(double) - Method in class org.powertac.common.TariffEvaluationHelper
-
- shutdown() - Method in class org.powertac.samplebroker.core.JmsManagementService
-
- SimEnd - Class in org.powertac.common.msg
-
This message is used to communicate the end of a simulation.
- SimEnd() - Constructor for class org.powertac.common.msg.SimEnd
-
- SimPause - Class in org.powertac.common.msg
-
This message is used to communicate a pause in a simulation.
- SimPause() - Constructor for class org.powertac.common.msg.SimPause
-
- SimResume - Class in org.powertac.common.msg
-
This message is used to communicate a revised simulation start time
prior to the end of a simulation pause.
- SimResume(Instant) - Constructor for class org.powertac.common.msg.SimResume
-
- SimStart - Class in org.powertac.common.msg
-
This message is used to communicate the simulation start time from server
to brokers in the last few seconds before the simulation starts.
- SimStart(Instant) - Constructor for class org.powertac.common.msg.SimStart
-
- size() - Method in class org.powertac.common.msg.TimeslotUpdate
-
Returns the number of enabled timeslots.
- size() - Method in class org.powertac.common.repo.CustomerRepo
-
- size() - Method in class org.powertac.common.repo.OrderbookRepo
-
Returns the count of instances in this repo
- slotInDay() - Method in class org.powertac.common.Timeslot
-
Returns the timeslot index since the most recent midnight, starting at
zero.
- SOLAR_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
-
- SpringApplicationContext - Class in org.powertac.common.spring
-
Static methods to access the Spring application context.
- SpringApplicationContext() - Constructor for class org.powertac.common.spring.SpringApplicationContext
-
- startMessageImport() - Method in interface org.powertac.samplebroker.interfaces.IpcAdapter
-
Starts a listener for incoming messages, which will be forwarded
to the server.
- startSession(PropertiesConfiguration, File, long) - Method in class org.powertac.samplebroker.core.PowerTacBroker
-
Starts a new session, setting parameters from command-line and from
config file.
- StateChange - Annotation Type in org.powertac.common.state
-
Annotation for methods that must trigger state-log entries.
- StateLogging - Class in org.powertac.common.state
-
Implement uniform state-logging using aspects.
- StateLogging() - Constructor for class org.powertac.common.state.StateLogging
-
- STORAGE - Static variable in class org.powertac.common.enumerations.PowerType
-
- WeatherForecast - Class in org.powertac.common
-
A collection of weatherForecastPredictions giving hourly forecasts for
future timeslots.
- WeatherForecast(int, List<WeatherForecastPrediction>) - Constructor for class org.powertac.common.WeatherForecast
-
- WeatherForecast(Timeslot, List<WeatherForecastPrediction>) - Constructor for class org.powertac.common.WeatherForecast
-
Deprecated.
- WeatherForecastPrediction - Class in org.powertac.common
-
A weather forecast report instance that describes the weather data
- WeatherForecastPrediction(int, double, double, double, double) - Constructor for class org.powertac.common.WeatherForecastPrediction
-
- WeatherForecastRepo - Class in org.powertac.common.repo
-
Repository for WeatherReports.
- WeatherForecastRepo() - Constructor for class org.powertac.common.repo.WeatherForecastRepo
-
standard constructor
- WeatherReport - Class in org.powertac.common
-
A weather report instance that describes the weather data for one hour of the
simulation
- WeatherReport(int, double, double, double, double) - Constructor for class org.powertac.common.WeatherReport
-
- WeatherReport(Timeslot, double, double, double, double) - Constructor for class org.powertac.common.WeatherReport
-
Deprecated.
- WeatherReportRepo - Class in org.powertac.common.repo
-
Repository for WeatherReports.
- WeatherReportRepo() - Constructor for class org.powertac.common.repo.WeatherReportRepo
-
standard constructor
- WEEK - Static variable in class org.powertac.common.TimeService
-
- WIND_PRODUCTION - Static variable in class org.powertac.common.enumerations.PowerType
-
- withBootstrapDiscardedTimeslots(int) - Method in class org.powertac.common.Competition
-
Fluent setter for bootstrap interval.
- withBootstrapTimeslotCount(int) - Method in class org.powertac.common.Competition
-
Fluent setter for the bootstrap timeslot count.
- withCanNegotiate(boolean) - Method in class org.powertac.common.CustomerInfo
-
Fluent setter for the canNegotiate flag.
- withControllableKW(double) - Method in class org.powertac.common.CustomerInfo
-
Fluent setter for controllable kWh.
- withCustomerClass(CustomerInfo.CustomerClass) - Method in class org.powertac.common.CustomerInfo
-
Fluent setter for customerClass attribute.
- withDailyBegin(AbstractDateTime) - Method in class org.powertac.common.Rate
-
Sets the time of day when this Rate comes into effect.
- withDailyBegin(ReadablePartial) - Method in class org.powertac.common.Rate
-
Sets the time of day when this Rate comes into effect.
- withDailyBegin(int) - Method in class org.powertac.common.Rate
-
- withDailyEnd(AbstractDateTime) - Method in class org.powertac.common.Rate
-
Sets the time of day when this Rate is no longer in effect.
- withDailyEnd(ReadablePartial) - Method in class org.powertac.common.Rate
-
Sets the time of day when this Rate is no longer in effect.
- withDailyEnd(int) - Method in class org.powertac.common.Rate
-
Sets the time of day when this Rate is no longer in effect, given
as hours since midnight.
- withDeactivateTimeslotsAhead(int) - Method in class org.powertac.common.Competition
-
Fluent setter for number of timeslots, starting with the current timeslot,
that are closed for trading.
- withDescription(String) - Method in class org.powertac.common.Competition
-
Fluent setter for competition description.
- withDownRegulationDiscount(double) - Method in class org.powertac.common.Competition
-
Fluent setter for overpriced down-regulation discount rate.
- withDownRegulationKW(double) - Method in class org.powertac.common.CustomerInfo
-
Fluent setter for down-regulation kW.
- withDownRegulationPayment(double) - Method in class org.powertac.common.RegulationRate
-
Sets the payment for down-regulation
- withEarlyWithdrawPayment(double) - Method in class org.powertac.common.TariffSpecification
-
Sets the payment for a customer who withdraws from a subscription to
this tariff before the minimumDuration has expired.
- withEstimatedConsumptionPremium(double) - Method in class org.powertac.common.Competition
-
Fluent setter for the estimated consumption price premium.
- withExpectedMean(double) - Method in class org.powertac.common.Rate
-
Specifies the expected mean charge/kWh, excluding periodic charges,
for this Rate.
- withExpectedTimeslotCount(int) - Method in class org.powertac.common.Competition
-
Fluent setter for the expected length of a normal sim session.
- withExpiration(Instant) - Method in class org.powertac.common.TariffSpecification
-
Sets the expiration date for this tariff.
- withFixed(boolean) - Method in class org.powertac.common.Rate
-
Specifies whether this Rate is fixed (true) or variable (false).
- withFixedTimeslotCount(Integer) - Method in class org.powertac.common.Competition
-
Fluent setter for the expected length of a normal sim session.
- withLatitude(int) - Method in class org.powertac.common.Competition
-
Fluent setter for latitude value
- withMaxCurtailment(double) - Method in class org.powertac.common.Rate
-
Sets the maximum proportion of offered load or supply that can be
curtailed.
- withMaxDownRegulationPaymentRatio(double) - Method in class org.powertac.common.Competition
-
Fluent setter for the maximum down-regulation payment ratio.
- withMaxUpRegulationPaymentRatio(double) - Method in class org.powertac.common.Competition
-
Fluent setter for the maximum ratio between consumption price and up-regulation
price for which customers will include up-regulation in tariff evaluation.
- withMaxValue(double) - Method in class org.powertac.common.Rate
-
Specifies the maximum charge (furthest from zero) for variable Rates.
- withMessage(String) - Method in class org.powertac.common.msg.TariffStatus
-
- withMinDuration(long) - Method in class org.powertac.common.TariffSpecification
-
Sets the minimum duration of a subscription for this tariff.
- withMinimumOrderQuantity(double) - Method in class org.powertac.common.Competition
-
Fluent setter for minimum order quantity.
- withMinimumTimeslotCount(int) - Method in class org.powertac.common.Competition
-
Fluent setter for minimumTimeslotCount.
- withMinValue(double) - Method in class org.powertac.common.Rate
-
Specifies the minimum charge (closest to zero) for variable Rates.
- withMultiContracting(boolean) - Method in class org.powertac.common.CustomerInfo
-
Fluent setter for the multiContracting property.
- withNoticeInterval(Duration) - Method in class org.powertac.common.Rate
-
Specifies the minimum interval for rate change notifications for a
variable Rate.
- withNoticeInterval(long) - Method in class org.powertac.common.Rate
-
Specifies the minimum interval in hours for rate change notifications
for a variable Rate.
- withPeriodicPayment(double) - Method in class org.powertac.common.TariffSpecification
-
Sets the daily payment per customer for subscriptions to this tariff.
- withPomId(String) - Method in class org.powertac.common.Competition
-
Fluent setter for Pom ID.
- withPowerType(PowerType) - Method in class org.powertac.common.CustomerInfo
-
Fluent setter to set PowerType for this CustomerInfo.
- withResponse(RegulationRate.ResponseTime) - Method in class org.powertac.common.RegulationRate
-
Sets the response time
- withSignupPayment(double) - Method in class org.powertac.common.TariffSpecification
-
Sets the signup payment for new subscriptions.
- withSimulationBaseTime(String) - Method in class org.powertac.common.Competition
-
Fluent setter for simulation base time that takes a String, interpreted
as a standard DateTimeFormat as yyyy-MM-dd.
- withSimulationBaseTime(Instant) - Method in class org.powertac.common.Competition
-
Fluent setter for simulation base time.
- withSimulationBaseTime(long) - Method in class org.powertac.common.Competition
-
Fluent setter for simulation base time that takes a long.
- withSimulationModulo(long) - Method in class org.powertac.common.Competition
-
Fluent setter for simulation modulo.
- withSimulationRate(long) - Method in class org.powertac.common.Competition
-
Fluent setter for time compression ratio.
- withSimulationTimeslotSeconds(int) - Method in class org.powertac.common.Competition
-
Fluent setter for controlling simulation rate by setting the number of
wall-clock seconds per timeslot.
- withStorageCapacity(double) - Method in class org.powertac.common.CustomerInfo
-
Fluent setter for storage capacity.
- withTierThreshold(double) - Method in class org.powertac.common.Rate
-
Sets the usage threshold for applicability of this Rate.
- withTimeslotLength(int) - Method in class org.powertac.common.Competition
-
Fluent setter for timeslot length, interpreted as minutes in sim time.
- withTimeslotsOpen(int) - Method in class org.powertac.common.Competition
-
Fluent setter for the open timeslot count.
- withTimezoneOffset(int) - Method in class org.powertac.common.Competition
-
Fluent setter for timezone offset
- withUpRegulationDiscount(double) - Method in class org.powertac.common.Competition
-
Fluent setter for overpriced up-regulation discount rate.
- withUpRegulationKW(double) - Method in class org.powertac.common.CustomerInfo
-
Fluent setter for up-regulation kW.
- withUpRegulationPayment(double) - Method in class org.powertac.common.RegulationRate
-
Sets the payment for up-regulation
- withValue(double) - Method in class org.powertac.common.Rate
-
Specifies the charge/kWh for a fixed rate, from the customer's viewpoint.
- withWeeklyBegin(AbstractDateTime) - Method in class org.powertac.common.Rate
-
Sets the day of the week on which this Rate comes into effect.
- withWeeklyBegin(ReadablePartial) - Method in class org.powertac.common.Rate
-
Sets the day of the week on which this Rate comes into effect.
- withWeeklyBegin(int) - Method in class org.powertac.common.Rate
-
- withWeeklyEnd(AbstractDateTime) - Method in class org.powertac.common.Rate
-
Sets the weekly end of applicability for this Rate,
by processing end spec to extract dayOfWeek field.
- withWeeklyEnd(ReadablePartial) - Method in class org.powertac.common.Rate
-
Sets the weekly end of applicability for this Rate,
by processing end spec to extract dayOfWeek field.
- withWeeklyEnd(int) - Method in class org.powertac.common.Rate
-
Sets the weekly end of applicability for this Rate.