Package net.solarnetwork.domain.datum
Interface EnergyStorageDatum
- All Superinterfaces:
Datum
Standardized API for energy storage system related datum to implement.
- Version:
- 2.1
- Author:
- matt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAn instantaneous sample key forgetAvailableEnergy()values.static final StringAn status sample key forgetEnergyCapacity()values.static final StringDeprecated.static final StringAn instantaneous sample key forgetAvailableEnergyPercentage()values.static final StringAn instantaneous sample key forgetStateOfHealthPercentage()values.Fields inherited from interface net.solarnetwork.domain.datum.Datum
DATUM_TYPE_PROPERTY, DATUM_TYPES_PROPERTY, OP_STATE, OP_STATES, REVERSE_ACCUMULATING_SUFFIX_KEY, SOURCE_ID, TIMESTAMP -
Method Summary
Modifier and TypeMethodDescriptiondefault LongGet the available energy of the storage system, in Wh.default FloatGet the percentage of energy capacity available in the storage.default LongGet the energy capacity of the storage system, in Wh.default FloatGet a percentage of storage "health" in terms of practical total capacity right now versus theoretical total capacity when the storage was manufactured.Methods inherited from interface net.solarnetwork.domain.datum.Datum
asSampleOperations, asSimpleMap, copyWithId, copyWithSamples, getKind, getObjectId, getSampleData, getSourceId, getTimestamp
-
Field Details
-
STATE_OF_CHARGE_PERCENTAGE_KEY
An instantaneous sample key forgetAvailableEnergyPercentage()values.- Since:
- 2.1
- See Also:
-
PERCENTAGE_KEY
Deprecated.since 2.1 useSTATE_OF_CHARGE_PERCENTAGE_KEYAn instantaneous sample key forgetAvailableEnergyPercentage()values.- See Also:
-
STATE_OF_HEALTH_PERCENTAGE_KEY
An instantaneous sample key forgetStateOfHealthPercentage()values.- Since:
- 2.1
- See Also:
-
AVAILABLE_WATT_HOURS_KEY
An instantaneous sample key forgetAvailableEnergy()values.- See Also:
-
CAPACITY_WATT_HOURS_KEY
An status sample key forgetEnergyCapacity()values.- Since:
- 2.1
- See Also:
-
-
Method Details
-
getAvailableEnergyPercentage
Get the percentage of energy capacity available in the storage.The
getAvailableEnergy()value divided by this value, represents the total energy capacity of the storage.- Returns:
- the available energy as a percentage of the total capacity of the storage
-
getStateOfHealthPercentage
Get a percentage of storage "health" in terms of practical total capacity right now versus theoretical total capacity when the storage was manufactured.- Returns:
- the total energy capacity now as a percentage of the theoretical total capacity of the storage when manufactured
- Since:
- 2.1
-
getAvailableEnergy
Get the available energy of the storage system, in Wh.- Returns:
- the available energy of the storage
-
getEnergyCapacity
Get the energy capacity of the storage system, in Wh.- Returns:
- the energy capacity of the storage
- Since:
- 2.1
-
STATE_OF_CHARGE_PERCENTAGE_KEY