This energy storage model maintains a residual energy capacity by integrating the difference between the total consumed power and the total generated power over time. It initiates node crash when the residual energy capacity reaches zero. This model doesn't have various properties such as self-discharge, memory effect, overcharging, temperature-dependence, etc. that real world batteries have. See the base module for signals and statistics.
See also: SimpleEpEnergyManagement
Author: Levente Meszaros
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
EpEnergyStorageBase | simple module |
This is an abstract base module for power based energy storage models. It defines shared signals and statistics. |
Name | Type | Default value | Description |
---|---|---|---|
nominalCapacity | double |
the maximum amount of energy stored |
|
initialCapacity | double | nominalCapacity |
the initially stored amount of energy |
printCapacityStep | double | 0.01 * nominalCapacity |
displays residual capacity changes in the log |
Name | Value | Description |
---|---|---|
display | i=block/plug | |
class | SimpleEpEnergyStorage |
Name | Type | Unit |
---|---|---|
residualEnergyCapacityChanged | ||
powerConsumptionChanged | ||
powerGenerationChanged |
Name | Title | Source | Record | Unit | Interpolation Mode |
---|---|---|---|---|---|
residualEnergyCapacity | Residual energy capacity | residualEnergyCapacityChanged | vector | linear | |
powerConsumption | Power consumption | powerConsumptionChanged | vector | sample-hold | |
powerGeneration | Power generation | powerGenerationChanged | vector | sample-hold |
// // This energy storage model maintains a residual energy capacity by integrating // the difference between the total consumed power and the total generated power // over time. It initiates node crash when the residual energy capacity reaches // zero. This model doesn't have various properties such as self-discharge, memory // effect, overcharging, temperature-dependence, etc. that real world batteries // have. See the base module for signals and statistics. // // @see ~SimpleEpEnergyManagement // @author Levente Meszaros // simple SimpleEpEnergyStorage extends EpEnergyStorageBase { parameters: double nominalCapacity @unit(J); // the maximum amount of energy stored double initialCapacity @unit(J) = default(nominalCapacity); // the initially stored amount of energy double printCapacityStep @unit(J) = default(0.01 * nominalCapacity); // displays residual capacity changes in the log @class(SimpleEpEnergyStorage); }