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 -
-
Uses of Competition in org.powertac.accounting
Methods in org.powertac.accounting with parameters of type Competition Modifier and Type Method Description StringAccountingService. 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 StringAuctionService. 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 StringBalancingMarketService. 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 CompetitionCompetition. addBroker(String brokerUsername)Adds a broker to the Competition.CompetitionCompetition. addCustomer(CustomerInfo customer)Adds a customer to the Competition.static CompetitionCompetition. currentCompetition()Returns the current Competition instance.static CompetitionCompetition. newInstance(String name)CompetitionCompetition. withBootstrapDiscardedTimeslots(int count)Fluent setter for bootstrap interval.CompetitionCompetition. withBootstrapTimeslotCount(int bootstrapTimeslotCount)Fluent setter for the bootstrap timeslot count.CompetitionCompetition. withDeactivateTimeslotsAhead(int deactivateTimeslotsAhead)Fluent setter for number of timeslots, starting with the current timeslot, that are closed for trading.CompetitionCompetition. withDescription(String description)Fluent setter for competition description.CompetitionCompetition. withDownRegulationDiscount(double value)Fluent setter for overpriced down-regulation discount rate.CompetitionCompetition. withEstimatedConsumptionPremium(double value)Fluent setter for the estimated consumption price premium.CompetitionCompetition. withExpectedTimeslotCount(int expectedTimeslotCount)Fluent setter for the expected length of a normal sim session.CompetitionCompetition. withFixedTimeslotCount(Integer fixedTimeslotCount)Fluent setter for the expected length of a normal sim session.CompetitionCompetition. withLatitude(int latitude)Fluent setter for latitude valueCompetitionCompetition. withMaxDownRegulationPaymentRatio(double value)Fluent setter for the maximum down-regulation payment ratio.CompetitionCompetition. 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.CompetitionCompetition. withMinimumOrderQuantity(double minOrderQty)Fluent setter for minimum order quantity.CompetitionCompetition. withMinimumTimeslotCount(int minimumTimeslotCount)Fluent setter for minimumTimeslotCount.CompetitionCompetition. withPomId(String id)Fluent setter for Pom ID.CompetitionCompetition. withSimulationBaseTime(long baseTime)Fluent setter for simulation base time that takes a long.CompetitionCompetition. withSimulationBaseTime(String baseTime)Fluent setter for simulation base time that takes a String, interpreted as a standard DateTimeFormat as yyyy-MM-dd.CompetitionCompetition. withSimulationBaseTime(org.joda.time.Instant simulationBaseTime)Fluent setter for simulation base time.CompetitionCompetition. withSimulationModulo(long simulationModulo)Fluent setter for simulation modulo.CompetitionCompetition. withSimulationRate(long simulationRate)Fluent setter for time compression ratio.CompetitionCompetition. withSimulationTimeslotSeconds(int seconds)Fluent setter for controlling simulation rate by setting the number of wall-clock seconds per timeslot.CompetitionCompetition. withTimeslotLength(int timeslotLength)Fluent setter for timeslot length, interpreted as minutes in sim time.CompetitionCompetition. withTimeslotsOpen(int timeslotsOpen)Fluent setter for the open timeslot count.CompetitionCompetition. withTimezoneOffset(int offset)Fluent setter for timezone offsetCompetitionCompetition. 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 voidTimeService. setClockParameters(Competition comp)Sets base, rate, and modulo from a Competition instancestatic voidCompetition. 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.voidCompetition. 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 StringInitializationService. 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 CompetitionBootstrapDataRepo. 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 StringCustomerModelService. 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 StringDistributionUtilityService. 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 StringDefaultBrokerService. 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 StringFactoredCustomerService. 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 StringSimpleGencoService. 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 StringHouseholdCustomerService. 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 StringOfficeComplexCustomerService. 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 StringMessageRouter. initialize(Competition competition, List<String> completedInits)StringVisualizerProxyService. initialize(Competition competition, List<String> completedInits)StringWeatherService. 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 StringCapacityControlService. initialize(Competition competition, List<String> completedInits)StringTariffMarketService. initialize(Competition competition, List<String> completedInits)Reads configuration parameters, registers for timeslot phase activation.
-