Package org.powertac.genco
Class MisoBuyer
- java.lang.Object
 - 
- org.powertac.common.Broker
 - 
- org.powertac.genco.MisoBuyer
 
 
 
- 
@Domain @ConfigurableInstance public class MisoBuyer extends Broker
Buys energy to meet demand in a large wholesale market. Demand is determined by running a model composed of a mean value, daily and weekly seasonal components, accompanying white noise, and a residual trend modeled by a smoothed zero-reverting random walk, originally trained on two years of MISO north-central region actual demand. The result is further adjusted using matching temperature data to reflect heating/cooling load.- Author:
 - John Collins
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgenerateOrders(org.joda.time.Instant now, List<Timeslot> openSlots)Generates Orders in the market to sell remaining available capacity.doublegetCoolCoef()doublegetCoolThreshold()doublegetHeatCoef()doublegetHeatThreshold()doublegetScaleFactor()doublegetTempAlpha()voidinit(BrokerProxy proxy, int seedId, ContextService service)MisoBuyerwithCoolCoef(double value)MisoBuyerwithCoolThreshold(double value)MisoBuyerwithHeatCoef(double value)MisoBuyerwithHeatThreshold(double value)MisoBuyerwithScaleFactor(double value)MisoBuyerwithTempAlpha(double value)- 
Methods inherited from class org.powertac.common.Broker
addMarketPosition, addMarketPosition, findMarketPositionByTimeslot, findMarketPositionByTimeslot, getCashBalance, getId, getIdPrefix, getKey, getPassword, getUsername, isEnabled, isLocal, isWholesale, receiveMessage, setEnabled, setIdPrefix, setKey, setLocal, setPassword, setQueueName, setWholesale, toQueueName, toString, updateCash 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
MisoBuyer
public MisoBuyer(String username)
 
 - 
 
- 
Method Detail
- 
init
public void init(BrokerProxy proxy, int seedId, ContextService service)
 
- 
generateOrders
public void generateOrders(org.joda.time.Instant now, List<Timeslot> openSlots)Generates Orders in the market to sell remaining available capacity. 
- 
getCoolThreshold
public double getCoolThreshold()
 
- 
withCoolThreshold
@ConfigurableValue(valueType="Double", description="temperature threshold for cooling") public MisoBuyer withCoolThreshold(double value)
 
- 
getCoolCoef
public double getCoolCoef()
 
- 
withCoolCoef
@ConfigurableValue(valueType="Double", description="Multiplier: cooling MWh / degree-hour") public MisoBuyer withCoolCoef(double value)
 
- 
getHeatThreshold
public double getHeatThreshold()
 
- 
withHeatThreshold
@ConfigurableValue(valueType="Double", description="temperature threshold for heating") public MisoBuyer withHeatThreshold(double value)
 
- 
getHeatCoef
public double getHeatCoef()
 
- 
withHeatCoef
@ConfigurableValue(valueType="Double", description="multiplier: heating MWh / degree-hour (negative for heating)") public MisoBuyer withHeatCoef(double value)
 
- 
getTempAlpha
public double getTempAlpha()
 
- 
withTempAlpha
@ConfigurableValue(valueType="Double", description="exponential smoothing parameter for temperature") public MisoBuyer withTempAlpha(double value)
 
- 
getScaleFactor
public double getScaleFactor()
 
- 
withScaleFactor
@ConfigurableValue(valueType="Double", description="overall scale factor for demand profile") public MisoBuyer withScaleFactor(double value)
 
 - 
 
 -