Package: inet.power.base
CcEnergySinkBase
simple moduleThis is an abstract base module for current based energy sink models. It defines signals and statistics.
See also: CcEnergyConsumerBase, CcEnergySourceBase, CcEnergyGeneratorBase, CcEnergyStorageBase
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Properties
Name | Value | Description |
---|---|---|
display | i=block/plug |
Signals
Name | Type | Unit |
---|---|---|
currentGenerationChanged |
Statistics
Name | Title | Source | Record | Unit | Interpolation Mode |
---|---|---|---|---|---|
currentGeneration | Current generation | currentGenerationChanged | vector | A | sample-hold |
Source code
// // This is an abstract base module for current based energy sink models. // It defines signals and statistics. // // @see ~CcEnergyConsumerBase, ~CcEnergySourceBase, ~CcEnergyGeneratorBase, ~CcEnergyStorageBase // simple CcEnergySinkBase like ICcEnergySink { parameters: @display("i=block/plug"); @signal[currentGenerationChanged]; @statistic[currentGeneration](title="Current generation"; source=currentGenerationChanged; record=vector; interpolationmode=sample-hold; unit=A); }File: src/inet/power/base/CcEnergySinkBase.ned