Uses of Class
org.powertac.common.Timeslot
-
Packages that use Timeslot Package Description 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.genco -
-
Uses of Timeslot in org.powertac.common
Methods in org.powertac.common that return Timeslot Modifier and Type Method Description Timeslot
WeatherForecast. getCurrentTimeslot()
Deprecated.Timeslot
WeatherReport. getCurrentTimeslot()
Deprecated.Timeslot
BrokerTransaction. getPostedTimeslot()
Timeslot when transaction was postedTimeslot
ClearedTrade. getTimeslot()
Timeslot
MarketPosition. getTimeslot()
Timeslot
MarketTransaction. getTimeslot()
Timeslot
Order. getTimeslot()
Timeslot
Orderbook. getTimeslot()
Timeslot
WeatherForecast. getTimeslot()
Deprecated.Methods in org.powertac.common with parameters of type Timeslot Modifier and Type Method Description Broker
Broker. addMarketPosition(MarketPosition posn, Timeslot slot)
Deprecated.MarketPosition
Broker. findMarketPositionByTimeslot(Timeslot slot)
Deprecated.MarketTransaction
TransactionFactory. makeMarketTransaction(Broker broker, Timeslot timeslot, double mWh, double price)
Constructors in org.powertac.common with parameters of type Timeslot Constructor Description ClearedTrade(Timeslot timeslot, double executionMWh, double executionPrice, org.joda.time.Instant dateExecuted)
MarketPosition(Broker broker, Timeslot timeslot, double balance)
MarketTransaction(Broker broker, int when, Timeslot timeslot, double mWh, double price)
Order(Broker broker, Timeslot timeslot, double mWh, Double limitPrice)
Deprecated.Orderbook(Timeslot timeslot, Double clearingPrice, org.joda.time.Instant dateExecuted)
WeatherForecast(Timeslot timeslot, List<WeatherForecastPrediction> predictions)
Deprecated.WeatherReport(Timeslot timeslot, double temperature, double windSpeed, double windDirection, double cloudCover)
Deprecated. -
Uses of Timeslot in org.powertac.common.interfaces
Methods in org.powertac.common.interfaces with parameters of type Timeslot Modifier and Type Method Description MarketTransaction
Accounting. addMarketTransaction(Broker broker, Timeslot timeslot, double price, double mWh)
Adds a market transaction that includes both a cash component and a product commitment for a specific timeslot.List<WeatherReport>
PhysicalEnvironment. generateWeatherData(Timeslot currentTimeslot, List<Timeslot> targetTimeslots)
Generates and returns weather forecasts for every enabled timeslot The physical environment module is responsible for computing weather forecasts for each entry intargetTimeslots
from the perspective of thecurrentTimeslot
.Method parameters in org.powertac.common.interfaces with type arguments of type Timeslot Modifier and Type Method Description List<WeatherReport>
PhysicalEnvironment. generateWeatherData(Timeslot currentTimeslot, List<Timeslot> targetTimeslots)
Generates and returns weather forecasts for every enabled timeslot The physical environment module is responsible for computing weather forecasts for each entry intargetTimeslots
from the perspective of thecurrentTimeslot
. -
Uses of Timeslot in org.powertac.common.repo
Methods in org.powertac.common.repo that return Timeslot Modifier and Type Method Description Timeslot
TimeslotRepo. currentTimeslot()
Returns the timeslot for the current time.Timeslot
TimeslotRepo. findByInstant(org.joda.time.Instant time)
Returns the timeslot (if any) corresponding to a particular Instant.Timeslot
TimeslotRepo. findBySerialNumber(int serialNumber)
Returns the timeslot with the given serial number.Timeslot
TimeslotRepo. findOrCreateBySerialNumber(int serialNumber)
Returns the timeslot with the given serial number.Timeslot
TimeslotRepo. getNext(Timeslot slot)
Returns the following timeslot.Timeslot
TimeslotRepo. makeTimeslot(org.joda.time.Instant startTime)
Creates a timeslot with the given start time.Methods in org.powertac.common.repo that return types with arguments of type Timeslot Modifier and Type Method Description List<Timeslot>
TimeslotRepo. enabledTimeslots()
Returns the list of enabled timeslots, starting with the first by serial number.Methods in org.powertac.common.repo with parameters of type Timeslot Modifier and Type Method Description void
TimeslotRepo. add(Timeslot timeslot)
Adds a timeslot that already exists.List<Orderbook>
OrderbookRepo. findAllByTimeslot(Timeslot timeslot)
Orderbook
OrderbookRepo. findByTimeslot(Timeslot timeslot)
Returns the most recent Orderbook that has been created for the specified timeslot.Orderbook
OrderbookRepo. findSpotByTimeslot(Timeslot timeslot)
Returns the most recent orderbook with a non-null clearing price.Timeslot
TimeslotRepo. getNext(Timeslot slot)
Returns the following timeslot.boolean
TimeslotRepo. isTimeslotEnabled(Timeslot ts)
True just in case the specified timeslot is enabled.Orderbook
OrderbookRepo. makeOrderbook(Timeslot timeslot, Double clearingPrice)
Creates a new Orderbook, with standard defaults (productType = Future, dateExecuted = now). -
Uses of Timeslot in org.powertac.genco
Method parameters in org.powertac.genco with type arguments of type Timeslot Modifier and Type Method Description void
Buyer. generateOrders(org.joda.time.Instant now, List<Timeslot> openSlots)
Generates buy orders.void
CpGenco. generateOrders(org.joda.time.Instant now, List<Timeslot> openSlots)
Generates Orders in the market to sell remaining available capacity.void
Genco. generateOrders(org.joda.time.Instant now, List<Timeslot> openSlots)
Generates Orders in the market to sell available capacity.void
MisoBuyer. generateOrders(org.joda.time.Instant now, List<Timeslot> openSlots)
Generates Orders in the market to sell remaining available capacity.
-