Package entsoe
Class Utils
java.lang.Object
entsoe.Utils
Utility functions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BigDecimalgetTransnetBWGrossPrice(BigDecimal spotPrice) Gross price example calculation for TransnetBW (Germany)static StringpadIntegerWithSpaces(int number, int minWidth) Pad integer with spacesstatic StringpadIntegerWithZeros(int number, int minWidth) Pad integer with zeros
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
getTransnetBWGrossPrice
Gross price example calculation for TransnetBW (Germany)- Parameters:
spotPrice- the spot price in cent/kWh- Returns:
- The estimated Gross Price for transnetBW customers
-
padIntegerWithZeros
Pad integer with zeros- Parameters:
number- the number to padminWidth- the desired length of the padded number- Returns:
- the padded number
-
padIntegerWithSpaces
Pad integer with spaces- Parameters:
number- the number to padminWidth- the desired length of the padded number- Returns:
- the padded number
-