Uses of Class
org.powertac.common.enumerations.PowerType
-
Packages that use PowerType Package Description org.powertac.common Power TAC domain types, shared between simulation server and brokers.org.powertac.common.enumerations org.powertac.common.msg Message types exchanged between the Power TAC simulation server and brokers.org.powertac.common.repo Repositories that need to exist in both the Power TAC simulation server and in brokers. -
-
Uses of PowerType in org.powertac.common
Methods in org.powertac.common that return PowerType Modifier and Type Method Description PowerTypeCustomerInfo. getPowerType()Returns the type of power consumption and/or production available in this customer model.PowerTypeTariff. getPowerType()Type of power covered by this tariffPowerTypeTariffSpecification. getPowerType()Methods in org.powertac.common with parameters of type PowerType Modifier and Type Method Description booleanRate. isValid(PowerType powerType)CustomerInfoCustomerInfo. withPowerType(PowerType type)Fluent setter to set PowerType for this CustomerInfo.Constructors in org.powertac.common with parameters of type PowerType Constructor Description TariffSpecification(Broker broker, PowerType powerType)Creates a new TariffSpecification for a broker and a specific powerType. -
Uses of PowerType in org.powertac.common.enumerations
Fields in org.powertac.common.enumerations declared as PowerType Modifier and Type Field Description static PowerTypePowerType. BATTERY_STORAGEstatic PowerTypePowerType. CHP_PRODUCTIONstatic PowerTypePowerType. CONSUMPTIONstatic PowerTypePowerType. ELECTRIC_VEHICLEstatic PowerTypePowerType. FOSSIL_PRODUCTIONstatic PowerTypePowerType. INTERRUPTIBLE_CONSUMPTIONstatic PowerTypePowerType. PRODUCTIONstatic PowerTypePowerType. PUMPED_STORAGE_PRODUCTIONstatic PowerTypePowerType. RUN_OF_RIVER_PRODUCTIONstatic PowerTypePowerType. SOLAR_PRODUCTIONstatic PowerTypePowerType. STORAGEstatic PowerTypePowerType. THERMAL_STORAGE_CONSUMPTIONstatic PowerTypePowerType. WIND_PRODUCTIONMethods in org.powertac.common.enumerations that return PowerType Modifier and Type Method Description PowerTypePowerType. getGenericType()Returns the most-specific capacity type for a given PowerType.static PowerTypePowerType. valueOf(String name)Methods in org.powertac.common.enumerations with parameters of type PowerType Modifier and Type Method Description booleanPowerType. canUse(PowerType tariffType)Returns true just in case this powerType is a supertype (can use) the tariffType. -
Uses of PowerType in org.powertac.common.msg
Methods in org.powertac.common.msg that return PowerType Modifier and Type Method Description PowerTypeCustomerBootstrapData. getPowerType()Constructors in org.powertac.common.msg with parameters of type PowerType Constructor Description CustomerBootstrapData(CustomerInfo customer, PowerType powerType, double[] netUsage) -
Uses of PowerType in org.powertac.common.repo
Methods in org.powertac.common.repo with parameters of type PowerType Modifier and Type Method Description List<Tariff>TariffRepo. findActiveTariffs(PowerType type)Returns the list of active tariffs that exactly match the given PowerType.List<Tariff>TariffRepo. findAllActiveTariffs(PowerType type)Returns the list of active tariffs that can be used by a customer of the given PowerType, including those that are more generic than the specific type.CustomerInfoCustomerRepo. findByNameAndPowerType(String name, PowerType type)List<Tariff>TariffRepo. findRecentActiveTariffs(int n, PowerType type)Returns the n most "recent" active tariffs from each broker that can be used by a customer with the given powerType.List<TariffSpecification>TariffRepo. findTariffSpecificationsByBrokerAndType(Broker broker, PowerType type)List<TariffSpecification>TariffRepo. findTariffSpecificationsByPowerType(PowerType type)TariffTariffRepo. getDefaultTariff(PowerType type)
-