Package endUser
Class EndUserTariff
- java.lang.Object
-
- endUser.EndUserTariff
-
public class EndUserTariff extends Object
Determines end-user tariffs for consumption or feed-in- Author:
- Farzad Sarfarazi, Johannes Kochems
-
-
Field Summary
Fields Modifier and Type Field Description static de.dlr.gitlab.fame.agent.input.Tree
businessModelParameters
Business-model related input parameters to construct anEndUserTariff
static de.dlr.gitlab.fame.agent.input.GroupBuilder
policyParameters
Policy-related input parameters to construct anEndUserTariff
-
Constructor Summary
Constructors Constructor Description EndUserTariff(de.dlr.gitlab.fame.agent.input.ParameterData policy, de.dlr.gitlab.fame.agent.input.ParameterData businessModel)
Creates anEndUserTariff
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
calcCapacityRelatedPriceInEURPerMW(de.dlr.gitlab.fame.time.TimeStamp targetTime)
Calculate and return the price for peak capacity of a customerdouble
calcFixedPriceInEURPerYear(de.dlr.gitlab.fame.time.TimeStamp targetTime)
Calculate and return the fixed price for, e.g., network chargesdouble
calcPurchasePriceInEURPerMWH(double forecastedMarketPriceInEURPerMWH)
Calculate purchase price based on feed in tariffdouble
calcSalePriceExcludingPowerPriceInEURPerMWH(double forecastedMarketPriceInEURPerMWH, de.dlr.gitlab.fame.time.TimeStamp targetTime)
Calculate and return the price at which a retailer provides power to customers excluding the actual wholesale day-ahead power pricedouble
calcSalePriceInEURperMWH(double forecastedMarketPriceInEURPerMWH, de.dlr.gitlab.fame.time.TimeStamp targetTime)
Calculate and return the price at which a retailer energy power to customersdouble
getStaticPowerPrice(de.dlr.gitlab.fame.time.TimeStamp targetTime)
Gets the static average market priceboolean
isStaticPowerPrice()
Return true if tariff is static
-
-
-
Field Detail
-
policyParameters
public static final de.dlr.gitlab.fame.agent.input.GroupBuilder policyParameters
Policy-related input parameters to construct anEndUserTariff
-
businessModelParameters
public static final de.dlr.gitlab.fame.agent.input.Tree businessModelParameters
Business-model related input parameters to construct anEndUserTariff
-
-
Constructor Detail
-
EndUserTariff
public EndUserTariff(de.dlr.gitlab.fame.agent.input.ParameterData policy, de.dlr.gitlab.fame.agent.input.ParameterData businessModel) throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
Creates anEndUserTariff
- Parameters:
policy
- containing all policy-based tariff componentsbusinessModel
- containing all business-model related tariff components- Throws:
de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
- if any required data is not provided
-
-
Method Detail
-
calcSalePriceInEURperMWH
public double calcSalePriceInEURperMWH(double forecastedMarketPriceInEURPerMWH, de.dlr.gitlab.fame.time.TimeStamp targetTime)
Calculate and return the price at which a retailer energy power to customers- Parameters:
forecastedMarketPriceInEURPerMWH
- expected electricity price at the day-ahead markettargetTime
- for which to calculate the electricity retail price- Returns:
- calculated sales price
-
calcCapacityRelatedPriceInEURPerMW
public double calcCapacityRelatedPriceInEURPerMW(de.dlr.gitlab.fame.time.TimeStamp targetTime)
Calculate and return the price for peak capacity of a customer- Parameters:
targetTime
- to calculate at- Returns:
- capacity price at given time
-
calcFixedPriceInEURPerYear
public double calcFixedPriceInEURPerYear(de.dlr.gitlab.fame.time.TimeStamp targetTime)
Calculate and return the fixed price for, e.g., network charges- Parameters:
targetTime
- at which to calculate- Returns:
- fixed price
-
calcSalePriceExcludingPowerPriceInEURPerMWH
public double calcSalePriceExcludingPowerPriceInEURPerMWH(double forecastedMarketPriceInEURPerMWH, de.dlr.gitlab.fame.time.TimeStamp targetTime)
Calculate and return the price at which a retailer provides power to customers excluding the actual wholesale day-ahead power price- Parameters:
forecastedMarketPriceInEURPerMWH
- expected wholesale market pricetargetTime
- at which to calculate- Returns:
- retail price without wholesale price component
-
isStaticPowerPrice
public boolean isStaticPowerPrice()
Return true if tariff is static- Returns:
- whether or not power price is static
-
getStaticPowerPrice
public double getStaticPowerPrice(de.dlr.gitlab.fame.time.TimeStamp targetTime)
Gets the static average market price- Parameters:
targetTime
- time for which static power price is evaluated- Returns:
- static power price
-
calcPurchasePriceInEURPerMWH
public double calcPurchasePriceInEURPerMWH(double forecastedMarketPriceInEURPerMWH)
Calculate purchase price based on feed in tariff- Parameters:
forecastedMarketPriceInEURPerMWH
- forecasted market price- Returns:
- feed in tariff at given forecasted market price
-
-