Package: inet.power.storage
IdealEpEnergyStorage
simple moduleThis energy storage model stores an infinite amount of energy. It can provide energy for any number of consumers, and it can absorb energy from any number of generators. The ideal energy storage never gets completely charged or depleted. This module is primarily useful for testing energy consumer and energy generator models. See the base module for signals and statistics.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
EpEnergyStorageBase | simple module |
This is an abstract base module for power based energy storage models. It defines shared signals and statistics. |
Properties
Name | Value | Description |
---|---|---|
display | i=block/plug | |
class | IdealEpEnergyStorage |
Signals
Name | Type | Unit |
---|---|---|
residualEnergyCapacityChanged | ||
powerConsumptionChanged | ||
powerGenerationChanged |
Statistics
Name | Title | Source | Record | Unit | Interpolation Mode |
---|---|---|---|---|---|
residualEnergyCapacity | Residual energy capacity | residualEnergyCapacityChanged | vector, last | J | linear |
powerConsumption | Power consumption | powerConsumptionChanged | vector | W | sample-hold |
powerGeneration | Power generation | powerGenerationChanged | vector | W | sample-hold |
Called methods (observed)
function | info | call from |
---|---|---|
inet::power::IdealEpEnergyStorage::addEnergyConsumer | addEnergyConsumer | SensorStateBasedEpEnergyConsumer, StateBasedEpEnergyConsumer |
inet::power::IdealEpEnergyStorage::receiveSignal | powerConsumptionChanged | SensorStateBasedEpEnergyConsumer, StateBasedEpEnergyConsumer |
Source code
// // This energy storage model stores an infinite amount of energy. It can provide // energy for any number of consumers, and it can absorb energy from any number // of generators. The ideal energy storage never gets completely charged or // depleted. This module is primarily useful for testing energy consumer and // energy generator models. See the base module for signals and statistics. // simple IdealEpEnergyStorage extends EpEnergyStorageBase { parameters: @class(IdealEpEnergyStorage); }File: src/inet/power/storage/IdealEpEnergyStorage.ned