org.powertac.visualizer.statistical
Class GradingSystem
java.lang.Object
org.powertac.visualizer.statistical.GradingSystem
public class GradingSystem
- extends Object
This class will compute broker's grade for a particular category. Each category will have the same scale (e.g., 0-100, where 0 is the worst performance while 100 means a broker performs excellent in an observed category.)
- Author:
- Jurica Babic
|
Method Summary |
static double |
getBalancingGrade(double brokerKWh,
double brokerDistributedKWh)
Calculates a grade for broker's balancing performance. |
static double |
getWholesaleMarketGrade(int noOrders,
int noMarketTransactions)
Calculates how well did broker perform in the wholesale market. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GradingSystem
public GradingSystem()
getBalancingGrade
public static double getBalancingGrade(double brokerKWh,
double brokerDistributedKWh)
- Calculates a grade for broker's balancing performance.
- Parameters:
brokerKWh - Total kWh of imbalance from a broker.brokerDistributedKWh - Total distributed kWh for a broker.
- Returns:
- Returns a grade.
getWholesaleMarketGrade
public static double getWholesaleMarketGrade(int noOrders,
int noMarketTransactions)
- Calculates how well did broker perform in the wholesale market. It currently depends on ratio between the number of successful market transactions and the total number of broker's published orders.
- Parameters:
noOrders - noMarketTransactions -
- Returns:
Copyright © 2013 Power TAC. All Rights Reserved.