-
Notifications
You must be signed in to change notification settings - Fork 5
/
WholesalePriceSource.java
31 lines (28 loc) · 1.04 KB
/
WholesalePriceSource.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* © 2021. TU Dortmund University,
* Institute of Energy Systems, Energy Efficiency and Energy Economics,
* Research group Distribution grid planning and operation
*/
package edu.ie3.datamodel.io.source;
import edu.ie3.datamodel.models.timeseries.individual.IndividualTimeSeries;
import edu.ie3.datamodel.models.value.EnergyPriceValue;
import edu.ie3.util.interval.ClosedInterval;
import java.time.ZonedDateTime;
/** Describes a data source for wholesale prices */
public interface WholesalePriceSource {
/**
* Return the whole sale price for the given time interval
*
* @param timeInterval Queried time interval
* @return wholesale price data for the specified time range as a TimeSeries
*/
IndividualTimeSeries<EnergyPriceValue> getWholesalePrice(
ClosedInterval<ZonedDateTime> timeInterval);
/**
* Return the whole sale price for the given time
*
* @param time Queried time
* @return wholesale data for the specified time
*/
IndividualTimeSeries<EnergyPriceValue> getWholesalePrice(ZonedDateTime time);
}