主权项 |
1. A method for managing the charging and/or discharging of an energy storage device, the method comprising:
receiving, at a processing device, clearing price data from an energy market server associated with a wholesale energy market and in communication with the processing device and the energy storage device, the clearing price data including an accepted price of a fixed amount of energy for delivery at a particular time and at a particular location; receiving, at the processing device, storage device parameters from the energy storage device in communication with the processing device, the storage device parameters including a charge rate of the energy storage device, a discharge rate of the energy storage device, a total capacity of the energy storage device, and a current capacity of the energy storage device; obtaining, at the processing device, a plurality of clearing price data points from the received clearing price data that span a plurality of dates, each clearing price data point being indicative of a clearing price of a unit of energy on a certain date; for each date represented in the plurality of clearing price data points:
generating, at the processing device, a distribution of the clearing price data points corresponding to the date;determining, at the processing device, a lower quantile price point of the distribution based on the total capacity of the energy storage device and the charge rate of the energy storage device; anddetermining, at the processing device, an upper quantile price point of the distribution based on the total capacity of the energy storage device and the discharge rate of the energy storage device; selecting, at the processing device, a first set of the lower quantile price points from the determined lower quantiles; selecting, at the processing device, a second set of the upper quantile price points from the determined upper quantiles; determining, at the processing device, a buy bid indicating an offered price for a purchase of energy at a first prescribed time based on the first set; determining, at the processing device, a sell bid indicating an offered price for a sale of energy at a second prescribed time based on the second set; transmitting the buy bid to the energy market server when the current capacity of the energy storage device is less than a maximum threshold, wherein when the buy bid transmitted to the energy market server is accepted by the energy wholesale market, the energy market server transmitting a charge instruction to the energy storage device instructing the energy storage device to enter into a charge mode at the first prescribed time and charge the purchased energy for a prescribed charging period starting at the first prescribed time; and transmitting the sell bid to the energy market server when the current capacity of the energy storage device is greater than a minimum threshold, wherein when the sell bid transmitted to the energy market server is accepted by the energy wholesale market, the energy market server transmitting a discharge instruction to the energy storage device instructing the energy storage device to enter into a discharge mode at the second prescribed time and discharge the sold energy for a prescribed discharging period starting at the second prescribed time. |