A B C D E F G H I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
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.
- activate(Instant, int) - Method in interface org.powertac.common.interfaces.Accounting
-
Runs the accounting process.
- activate(Instant, int) - Method in class org.powertac.common.interfaces.TimeslotPhaseProcessor
-
This method gets called once during each timeslot.
- activate(Instant, int) - Method in class org.powertac.customer.CustomerModelService
- add(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(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.
- addBalancingTransaction(Broker, double, double) - Method in interface org.powertac.common.interfaces.Accounting
-
Adds a balancing transaction to represent the cost of imbalance
- 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.
- 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.
- 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.
- 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.
- 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.
- allCustomerInfos - Variable in class org.powertac.customer.AbstractCustomer
- Auctioneer - Interface in org.powertac.common.interfaces
-
Interface that defines the publicly accessible methods a Power TAC auctioneer has to implement.
B
- BalancingMarket - Interface in org.powertac.common.interfaces
-
Interface that defines the publicly accessible methods a Power TAC balancing market has to implement.
- 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 - 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
- BrokerProxy - Interface in org.powertac.common.interfaces
-
BrokerProxy is responsible for handling in- and outgoing communication with brokers
C
- 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
- 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.
- 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.
- 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.
- 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
ConfigurableValueannotations on the target object. - configureNamedInstances(List<?>) - Method in interface org.powertac.common.interfaces.ServerConfiguration
-
Configures a set of named instances that have already been created.
- 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.
- createTariffEvaluator(CustomerModelAccessor) - Method in class org.powertac.customer.AbstractCustomer
-
Creates a TariffEvaluator, populated with a pre-configured TariffEvaluationHelper.
- 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
- 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
- deferredUnsubscribe(int) - Method in class org.powertac.common.TariffSubscription
-
Handles the actual unsubscribe operation.
E
- ensureRegulationCapacity() - Method in class org.powertac.common.TariffSubscription
-
Ensures that regulationAccumulator is non-null - needed for non-regulatable customer models
- evaluateTariffs() - Method in class org.powertac.common.TariffEvaluator
-
Evaluates tariffs and updates subscriptions for a single customer model with a single power type.
- evaluateTariffs(List<Tariff>) - Method in class org.powertac.customer.AbstractCustomer
-
Called to evaluate tariffs.
- exerciseBalancingControl(BalancingOrder, double, double) - Method in interface org.powertac.common.interfaces.CapacityControl
-
Creates BalancingControlEvent, posts it on correct TariffSubscription instances.
F
- 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.
- 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.
- forwardMessage(Object) - Method in interface org.powertac.common.interfaces.VisualizerProxy
-
Forwards message to registered listeners
G
- 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
targetTimeslotsfrom the perspective of thecurrentTimeslot. - getActiveTariffList(PowerType) - Method in interface org.powertac.common.interfaces.TariffMarket
-
Returns the list of currently active tariffs for the given PowerType.
- getBalancingCost() - Method in interface org.powertac.common.interfaces.BalancingMarket
-
Returns the per-timeslot charge for running the balancing market
- getBean(String) - Method in interface org.powertac.common.interfaces.ContextService
-
Retrieves a Spring component instance by name
- 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
- getBrokerSwitchFactor(boolean) - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
-
Returns a [0,1] value representing the inconvenience of switching brokers.
- getCapacityProfile(Tariff) - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
-
Returns a capacity profile for the given tariff.
- 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.
- getCurtailment() - Method in class org.powertac.common.TariffSubscription
-
Returns the regulation in kwh, aggregated across the subscribed population, for the previous timeslot.
- getCustId() - Method in class org.powertac.customer.AbstractCustomer
- getCustomer() - Method in class org.powertac.common.TariffSubscription
- getCustomerInfo() - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
-
Returns the CustomerInfo instance for this customer model.
- 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.
- getCustomerRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
-
Returns a reference to a CustomerRepo
- getCustomerRepo() - Method in class org.powertac.customer.CustomerModelService
- getCustomersCommitted() - Method in class org.powertac.common.TariffSubscription
- 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
- 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.
- getDoubleProperty(String, Double) - Method in interface org.powertac.common.interfaces.ServerProperties
-
Returns the value of the named property as a Double, or defaultValue if no such property is found.
- getDownRegulationCapacity() - Method in class org.powertac.common.RegulationAccumulator
-
Returns the available down-regulation capacity in kWh.
- getDownRegulationCapacity() - Method in class org.powertac.common.RegulationCapacity
-
Returns the available down-regulation capacity in kWh.
- getExpiredCustomerCount() - Method in class org.powertac.common.TariffSubscription
-
Returns the number of individual customers who may withdraw from this subscription without penalty.
- getId() - Method in class org.powertac.common.RandomSeed
- getId() - Method in class org.powertac.common.RegulationAccumulator
- getId() - Method in class org.powertac.common.RegulationCapacity
- getId() - Method in class org.powertac.common.TariffSubscription
- getId() - Method in class org.powertac.customer.AbstractCustomer
-
Synonym for getCustId()
- 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.
- 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.
- getMarketBalance(Broker) - Method in interface org.powertac.common.interfaces.BalancingMarket
-
Returns the market balance for a given broker.
- getName() - Method in class org.powertac.customer.AbstractCustomer
-
Returns the name of this model
- getPendingTariffTransactions() - Method in interface org.powertac.common.interfaces.Accounting
-
Returns the list of pending tariff transactions for the current timeslot.
- getPMinusPrime() - Method in interface org.powertac.common.interfaces.BalancingMarket
-
Returns the slope of cost curve for down-regulation.
- getPopulation(CustomerInfo) - Method in class org.powertac.customer.AbstractCustomer
- getPPlusPrime() - Method in interface org.powertac.common.interfaces.BalancingMarket
-
Returns the slope of cost curve for up-regulation.
- getProfile() - Method in class org.powertac.common.CapacityProfile
- getProperty(String) - Method in interface org.powertac.common.interfaces.ServerProperties
-
Returns the value of the property with the given name, or null if no such property is found.
- getProperty(String, String) - Method in interface org.powertac.common.interfaces.ServerProperties
-
Returns the value of the named property, or the defaultValue if no such property is found.
- getPurpose() - Method in class org.powertac.common.RandomSeed
- 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
- 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.
- 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
- 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.
- getServerConfiguration() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
-
Returns a reference to a ServerConfiguration service
- getServerConfiguration() - Method in class org.powertac.customer.CustomerModelService
- 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.
- getStart() - Method in class org.powertac.common.CapacityProfile
- 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.
- getTariff() - Method in class org.powertac.common.TariffSubscription
- getTariffChoiceSample() - Method in interface org.powertac.common.interfaces.CustomerModelAccessor
-
Returns a [0,1] random value used to make choices using the logit choice model.
- getTariffId() - Method in class org.powertac.common.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
- getTariffSubscriptionRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
-
Returns a reference to a TariffSubscriptionRepo
- getTariffSubscriptionRepo() - Method in class org.powertac.customer.CustomerModelService
- getTieredRateFactor() - Method in class org.powertac.common.TariffEvaluator
-
Returns inconvenience of tiered rate.
- getTimeService() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
-
Returns a reference to the TimeService
- getTimeService() - Method in class org.powertac.customer.CustomerModelService
- getTimeslotRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
-
Returns a reference to a TimeslotRepo
- getTimeslotRepo() - Method in class org.powertac.customer.CustomerModelService
- getTotalUsage() - Method in class org.powertac.common.TariffSubscription
- getTouFactor() - Method in class org.powertac.common.TariffEvaluator
-
Returns inconvenience of time-of-use rate.
- 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.
- getValue() - Method in class org.powertac.common.RandomSeed
- getVariablePricingFactor() - Method in class org.powertac.common.TariffEvaluator
-
Returns inconvenience of variable pricing.
- getWeatherReportRepo() - Method in interface org.powertac.common.interfaces.CustomerServiceAccessor
-
Returns a reference to a WeatherReportRepo
- getWeatherReportRepo() - Method in class org.powertac.customer.CustomerModelService
H
- handleRevokedTariff() - Method in class org.powertac.common.TariffSubscription
-
Handles the subscription switch in case the underlying Tariff has been revoked.
- hasRegulationRate() - Method in class org.powertac.common.TariffSubscription
-
True just in case this subscription allows regulation.
I
- init() - Method in class org.powertac.common.interfaces.TimeslotPhaseProcessor
-
This method must be called in the per-game initialization code in each implementing class.
- 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(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
- initializeCostFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluator
-
Delegates profile cost factors to helper.
- initializeInconvenienceFactors(double, double, double, double) - Method in class org.powertac.common.TariffEvaluator
-
Initializes the per-tariff inconvenience factors.
- initializeRegulationFactors(double, double, double) - Method in class org.powertac.common.TariffEvaluator
-
Initializes the per-timeslot regulation-capacity estimates.
- isBootstrapMode() - Method in interface org.powertac.common.interfaces.CompetitionControl
-
True just in case the sim is running in bootstrap mode - generating bootstrap data.
- isRunning() - Method in interface org.powertac.common.interfaces.CompetitionControl
-
True if a simulation (boot or sim) session is currently running.
L
- lastSunday() - Method in class org.powertac.customer.AbstractCustomer
- 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
- 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.
N
- name - Variable in class org.powertac.customer.AbstractCustomer
- NewTariffListener - Interface in org.powertac.common.interfaces
-
Implementors of this interface can be notified of new tariff publication by calling registerNewTariffListener(this) on the TariffMarket.
- nextStartOfDay() - Method in class org.powertac.customer.AbstractCustomer
O
- org.powertac.common - package org.powertac.common
- org.powertac.common.interfaces - package org.powertac.common.interfaces
- org.powertac.common.repo - package org.powertac.common.repo
- org.powertac.customer - package org.powertac.customer
P
- 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.
- postRatioControl(double) - Method in class org.powertac.common.TariffSubscription
-
Posts the ratio for an EconomicControlEvent to the subscription for the current timeslot.
- preGame() - Method in interface org.powertac.common.interfaces.CompetitionSetup
-
Runs the pre-game cycle of the simulator, which sets all plugin components to their default state.
- processOrder(Order) - Method in interface org.powertac.common.interfaces.Auctioneer
-
Processes an incoming order, typically by saving it on a list for the next market clearing.
- processRevokedTariffs() - Method in interface org.powertac.common.interfaces.TariffMarket
-
Deprecated.
- 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
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
- readBootRecord(URL) - Method in class org.powertac.common.repo.BootstrapDataRepo
- receiveMessage(Object) - Method in interface org.powertac.common.interfaces.VisualizerMessageListener
- recycle() - Method in class org.powertac.common.repo.BootstrapDataRepo
- recycle() - Method in class org.powertac.common.repo.RandomSeedRepo
- recycle() - Method in class org.powertac.common.repo.TariffSubscriptionRepo
-
Clears out the repo in preparation for another simulation.
- 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.
- removeSubscriptionsForTariff(Tariff) - Method in class org.powertac.common.repo.TariffSubscriptionRepo
-
Removes all subscriptions for the given tariff.
- 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
- 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(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.
- 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
- setAuthorizedBrokerList(List<String>) - Method in interface org.powertac.common.interfaces.CompetitionControl
-
Sets the list of brokers authorized to log in to the next game.
- setCustomersCommitted(int) - Method in class org.powertac.common.TariffSubscription
- setDefaultTariff(TariffSpecification) - Method in interface org.powertac.common.interfaces.TariffMarket
-
Convenience method to set the default tariff at the beginning of the game.
- setDeferredBroadcast(boolean) - Method in interface org.powertac.common.interfaces.BrokerProxy
-
Holds up message transmission when true
- setDownRegulationCapacity(double) - Method in class org.powertac.common.RegulationAccumulator
-
Sets the down-regulation value.
- setName(String) - Method in class org.powertac.customer.AbstractCustomer
-
Sets the name for this model
- 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
- setTariffMarket(TariffMarket) - Method in class org.powertac.customer.AbstractCustomer
- setTimeslotPhase(int) - Method in class org.powertac.common.interfaces.TimeslotPhaseProcessor
-
This is the Spring-accessible setter for the phase number
- setUpRegulationCapacity(double) - Method in class org.powertac.common.RegulationAccumulator
-
Sets the up-regulation value.
- shutDown() - Method in interface org.powertac.common.interfaces.CompetitionControl
-
Stops a running simulation, and sends out the SimEnd message to brokers.
- 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
- startOfDay() - Method in class org.powertac.customer.AbstractCustomer
- step() - Method in class org.powertac.customer.AbstractCustomer
-
Called to run the model forward one step.
- subscribe(int) - Method in class org.powertac.common.TariffSubscription
-
Subscribes some number of discrete customers.
- subscribeToTariff(Tariff, CustomerInfo, int) - Method in interface org.powertac.common.interfaces.TariffMarket
-
Subscribes a block of Customers from a single Customer model to the specified Tariff, as long as the Tariff has not expired.
T
- 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
- TariffMarket - Interface in org.powertac.common.interfaces
-
Tariff Market Receives, validates, and stores new tariffs, enforces tariff validity rules.
- 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
- 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
- toString() - Method in class org.powertac.customer.AbstractCustomer
- 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
U
- unsubscribe(int) - Method in class org.powertac.common.TariffSubscription
-
Removes customerCount customers (at most) from this subscription, posts early-withdrawal fees if appropriate.
- 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
- 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
W
- withChunkSize(int) - Method in class org.powertac.common.TariffEvaluator
-
Sets the target size of allocation chunks.
- withEvaluateAllTariffs(boolean) - Method in class org.powertac.common.TariffEvaluator
-
If true, then tariff evaluations are not saved; instead, all tariffs are evaluated each time.
- 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.
- 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.
- 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.
- 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.
All Classes All Packages