Uses of Class
org.powertac.common.Competition
-
Packages that use Competition Package Description org.powertac.accounting org.powertac.auctioneer org.powertac.balancemkt org.powertac.common Power TAC domain types, shared between simulation server and brokers.org.powertac.common.interfaces org.powertac.common.repo Repositories that need to exist in both the Power TAC simulation server and in brokers.org.powertac.customer General customer-model infrastructure.org.powertac.distributionutility org.powertac.du org.powertac.factoredcustomer org.powertac.genco org.powertac.householdcustomer org.powertac.officecomplexcustomer org.powertac.server org.powertac.tariffmarket org.powertac.visualizer.service_ptac -
-
Uses of Competition in org.powertac.accounting
Methods in org.powertac.accounting with parameters of type Competition Modifier and Type Method Description String
AccountingService. initialize(Competition competition, List<String> completedInits)
-
Uses of Competition in org.powertac.auctioneer
Methods in org.powertac.auctioneer with parameters of type Competition Modifier and Type Method Description String
AuctionService. initialize(Competition competition, List<String> completedInits)
-
Uses of Competition in org.powertac.balancemkt
Methods in org.powertac.balancemkt with parameters of type Competition Modifier and Type Method Description String
BalancingMarketService. initialize(Competition competition, List<String> completedInits)
Computes actual distribution and balancing costs by random selection -
Uses of Competition in org.powertac.common
Methods in org.powertac.common that return Competition Modifier and Type Method Description Competition
Competition. addBroker(String brokerUsername)
Adds a broker to the Competition.Competition
Competition. addCustomer(CustomerInfo customer)
Adds a customer to the Competition.static Competition
Competition. currentCompetition()
Returns the current Competition instance.static Competition
Competition. newInstance(String name)
Competition
Competition. withBootstrapDiscardedTimeslots(int count)
Fluent setter for bootstrap interval.Competition
Competition. withBootstrapTimeslotCount(int bootstrapTimeslotCount)
Fluent setter for the bootstrap timeslot count.Competition
Competition. withDeactivateTimeslotsAhead(int deactivateTimeslotsAhead)
Fluent setter for number of timeslots, starting with the current timeslot, that are closed for trading.Competition
Competition. withDescription(String description)
Fluent setter for competition description.Competition
Competition. withDownRegulationDiscount(double value)
Fluent setter for overpriced down-regulation discount rate.Competition
Competition. withEstimatedConsumptionPremium(double value)
Fluent setter for the estimated consumption price premium.Competition
Competition. withExpectedTimeslotCount(int expectedTimeslotCount)
Fluent setter for the expected length of a normal sim session.Competition
Competition. withFixedTimeslotCount(Integer fixedTimeslotCount)
Fluent setter for the expected length of a normal sim session.Competition
Competition. withLatitude(int latitude)
Fluent setter for latitude valueCompetition
Competition. withMaxDownRegulationPaymentRatio(double value)
Fluent setter for the maximum down-regulation payment ratio.Competition
Competition. withMaxUpRegulationPaymentRatio(double value)
Fluent setter for the maximum ratio between consumption price and up-regulation price for which customers will include up-regulation in tariff evaluation.Competition
Competition. withMinimumOrderQuantity(double minOrderQty)
Fluent setter for minimum order quantity.Competition
Competition. withMinimumTimeslotCount(int minimumTimeslotCount)
Fluent setter for minimumTimeslotCount.Competition
Competition. withPomId(String id)
Fluent setter for Pom ID.Competition
Competition. withSimulationBaseTime(long baseTime)
Fluent setter for simulation base time that takes a long.Competition
Competition. withSimulationBaseTime(String baseTime)
Fluent setter for simulation base time that takes a String, interpreted as a standard DateTimeFormat as yyyy-MM-dd.Competition
Competition. withSimulationBaseTime(org.joda.time.Instant simulationBaseTime)
Fluent setter for simulation base time.Competition
Competition. withSimulationModulo(long simulationModulo)
Fluent setter for simulation modulo.Competition
Competition. withSimulationRate(long simulationRate)
Fluent setter for time compression ratio.Competition
Competition. withSimulationTimeslotSeconds(int seconds)
Fluent setter for controlling simulation rate by setting the number of wall-clock seconds per timeslot.Competition
Competition. withTimeslotLength(int timeslotLength)
Fluent setter for timeslot length, interpreted as minutes in sim time.Competition
Competition. withTimeslotsOpen(int timeslotsOpen)
Fluent setter for the open timeslot count.Competition
Competition. withTimezoneOffset(int offset)
Fluent setter for timezone offsetCompetition
Competition. withUpRegulationDiscount(double value)
Fluent setter for overpriced up-regulation discount rate.Methods in org.powertac.common with parameters of type Competition Modifier and Type Method Description void
TimeService. setClockParameters(Competition comp)
Sets base, rate, and modulo from a Competition instancestatic void
Competition. setCurrent(Competition newCurrent)
Makes a Competition instance be the "current" competition - this is needed in a broker when the Competition instance arrives from the server.void
Competition. update(Competition template)
Updates selected fields of this Competition from a template. -
Uses of Competition in org.powertac.common.interfaces
Methods in org.powertac.common.interfaces with parameters of type Competition Modifier and Type Method Description String
InitializationService. initialize(Competition competition, List<String> completedInits)
Initializes a plugin prior to the beginning of a game. -
Uses of Competition in org.powertac.common.repo
Methods in org.powertac.common.repo that return Competition Modifier and Type Method Description Competition
BootstrapDataRepo. getBootstrapCompetition()
Returns the Competition instances from the boot record -
Uses of Competition in org.powertac.customer
Methods in org.powertac.customer with parameters of type Competition Modifier and Type Method Description String
CustomerModelService. initialize(Competition competition, List<String> completedInits)
-
Uses of Competition in org.powertac.distributionutility
Methods in org.powertac.distributionutility with parameters of type Competition Modifier and Type Method Description String
DistributionUtilityService. initialize(Competition competition, List<String> completedInits)
Computes actual distribution and balancing costs by random selection -
Uses of Competition in org.powertac.du
Methods in org.powertac.du with parameters of type Competition Modifier and Type Method Description String
DefaultBrokerService. initialize(Competition competition, List<String> completedInits)
Called by initialization service once at the beginning of each game. -
Uses of Competition in org.powertac.factoredcustomer
Methods in org.powertac.factoredcustomer with parameters of type Competition Modifier and Type Method Description String
FactoredCustomerService. initialize(Competition competition, List<String> completedInits)
This is called once at the beginning of each game. -
Uses of Competition in org.powertac.genco
Methods in org.powertac.genco with parameters of type Competition Modifier and Type Method Description String
SimpleGencoService. initialize(Competition competition, List<String> completedInits)
Creates the gencos and the buyer using the server configuration service. -
Uses of Competition in org.powertac.householdcustomer
Methods in org.powertac.householdcustomer with parameters of type Competition Modifier and Type Method Description String
HouseholdCustomerService. initialize(Competition competition, List<String> completedInits)
This function called once at the beginning of each game by the server initialization service. -
Uses of Competition in org.powertac.officecomplexcustomer
Methods in org.powertac.officecomplexcustomer with parameters of type Competition Modifier and Type Method Description String
OfficeComplexCustomerService. initialize(Competition competition, List<String> completedInits)
This function called once at the beginning of each game by the server initialization service. -
Uses of Competition in org.powertac.server
Methods in org.powertac.server with parameters of type Competition Modifier and Type Method Description String
MessageRouter. initialize(Competition competition, List<String> completedInits)
String
VisualizerProxyService. initialize(Competition competition, List<String> completedInits)
String
WeatherService. initialize(Competition competition, List<String> completedInits)
-
Uses of Competition in org.powertac.tariffmarket
Methods in org.powertac.tariffmarket with parameters of type Competition Modifier and Type Method Description String
CapacityControlService. initialize(Competition competition, List<String> completedInits)
String
TariffMarketService. initialize(Competition competition, List<String> completedInits)
Reads configuration parameters, registers for timeslot phase activation. -
Uses of Competition in org.powertac.visualizer.service_ptac
Methods in org.powertac.visualizer.service_ptac with parameters of type Competition Modifier and Type Method Description void
MessageHandler. handleMessage(Competition c)
void
CompetitionService. setCurrent(Competition comp)
-