Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ public class EmsDayAheadAsset extends Asset<EmsDayAheadAsset> {
new AttributeDescriptor<>(
"lastUpdateForecasts",
ValueType.TEXT,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS));

public static final AttributeDescriptor<Double> TARIFF_EXPORT_DAY_AHEAD =
new AttributeDescriptor<>(
"tariffExportDayAheadForecast",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
.withUnits("EUR", UNITS_PER, UNITS_KILO, UNITS_WATT, UNITS_HOUR);
Expand All @@ -58,7 +56,6 @@ public class EmsDayAheadAsset extends Asset<EmsDayAheadAsset> {
new AttributeDescriptor<>(
"tariffImportDayAheadForecast",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
.withUnits("EUR", UNITS_PER, UNITS_KILO, UNITS_WATT, UNITS_HOUR);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public enum EmsElectricityBatteryConnectionStatusValueType {
new AttributeDescriptor<>(
"connectionStatus",
CONNECTION_STATUS_VALUE_TYPE,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS));

Expand All @@ -82,7 +81,6 @@ public enum EmsElectricityBatteryConnectionStatusValueType {
new AttributeDescriptor<>(
"energyLevel",
ValueType.POSITIVE_NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand All @@ -93,7 +91,6 @@ public enum EmsElectricityBatteryConnectionStatusValueType {
new AttributeDescriptor<>(
"energyLevelPercentage",
ValueType.POSITIVE_NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand All @@ -112,7 +109,6 @@ public enum EmsElectricityBatteryConnectionStatusValueType {
new AttributeDescriptor<>(
"power",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand All @@ -123,7 +119,6 @@ public enum EmsElectricityBatteryConnectionStatusValueType {
new AttributeDescriptor<>(
"powerSetpoint",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public class EmsEnergyOptimisationAsset extends Asset<EmsEnergyOptimisationAsset
new AttributeDescriptor<>(
"energyExportTotal",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
.withUnits(UNITS_KILO, UNITS_WATT, UNITS_HOUR);
Expand All @@ -54,7 +53,6 @@ public class EmsEnergyOptimisationAsset extends Asset<EmsEnergyOptimisationAsset
new AttributeDescriptor<>(
"energyImportTotal",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
.withUnits(UNITS_KILO, UNITS_WATT, UNITS_HOUR);
Expand Down Expand Up @@ -88,7 +86,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"powerConsumption",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand All @@ -99,7 +96,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"powerFlexible",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand All @@ -110,7 +106,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"powerNet",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand All @@ -121,7 +116,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"powerProduction",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand All @@ -136,7 +130,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"powerLimitMaximumProfileManual",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand All @@ -152,7 +145,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"powerLimitMaximumProfileTotal",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand All @@ -166,7 +158,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"powerLimitMinimumProfileManual",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand All @@ -182,7 +173,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"powerLimitMinimumProfileTotal",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand All @@ -192,7 +182,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"tariffExport",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand All @@ -203,7 +192,6 @@ public enum OptimisationMethodValueType {
new AttributeDescriptor<>(
"tariffImport",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.RULE_STATE),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ public class EmsGOPACSAsset extends Asset<EmsGOPACSAsset> {
new AttributeDescriptor<>(
"currentPowerFlexRequest",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand All @@ -52,7 +51,6 @@ public class EmsGOPACSAsset extends Asset<EmsGOPACSAsset> {
new AttributeDescriptor<>(
"powerLimitMaximumProfileFlexOrder",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand All @@ -62,7 +60,6 @@ public class EmsGOPACSAsset extends Asset<EmsGOPACSAsset> {
new AttributeDescriptor<>(
"powerLimitMinimumProfileFlexOrder",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand All @@ -72,7 +69,6 @@ public class EmsGOPACSAsset extends Asset<EmsGOPACSAsset> {
new AttributeDescriptor<>(
"powerMaximumFlexRequest",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand All @@ -82,7 +78,6 @@ public class EmsGOPACSAsset extends Asset<EmsGOPACSAsset> {
new AttributeDescriptor<>(
"powerMinimumFlexRequest",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand Down Expand Up @@ -126,7 +121,6 @@ public class EmsGOPACSAsset extends Asset<EmsGOPACSAsset> {
new AttributeDescriptor<>(
"redispatchRequestedPower",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand Down Expand Up @@ -154,7 +148,6 @@ public class EmsGOPACSAsset extends Asset<EmsGOPACSAsset> {
new AttributeDescriptor<>(
"redispatchSuggestedPower",
ValueType.NUMBER,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 7),
new MetaItem<>(MetaItemType.HAS_PREDICTED_DATA_POINTS),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS))
Expand Down Expand Up @@ -184,15 +177,13 @@ public class EmsGOPACSAsset extends Asset<EmsGOPACSAsset> {
new AttributeDescriptor<>(
"redispatchAnnouncementHistory",
ValueType.JSON_OBJECT,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 90),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS));

public static final AttributeDescriptor<ObjectMap> REDISPATCH_BID_HISTORY =
new AttributeDescriptor<>(
"redispatchBidHistory",
ValueType.JSON_OBJECT,
new MetaItem<>(MetaItemType.DATA_POINTS_MAX_AGE_DAYS, 90),
new MetaItem<>(MetaItemType.READ_ONLY),
new MetaItem<>(MetaItemType.STORE_DATA_POINTS));

Expand Down
Loading