ICcEnergyGenerator¶
Package: inet.power.contract
module interface ICcEnergyGenerator
This interface extends the corresponding energy model interface. It requires implementations to describe energy consumption and energy generation with current [A], and storage capacity with charge [C] and output voltage [V]. The Cc is an abbreviation that is used for charge and current-based interfaces.
See also: ICcEnergyConsumer, ICcEnergySource, ICcEnergySink, ICcEnergyStorage, ICcEnergyManagement
Inheritance diagram¶
Implemented by¶
Name |
Type |
Description |
|---|---|---|
simple module |
This is an abstract base module for current-based energy generator models. It defines shared signals and statistics. |
Extends¶
Name |
Type |
Description |
|---|---|---|
module interface |
The energy generator models describe the energy generation process of devices over time. A solar panel, for example, produces energy based on time, the panel’s position on the globe, its orientation towards the sun, and the actual weather conditions. |
Properties¶
Name |
Value |
Description |
|---|---|---|
display |
i=block/plug |
Signals¶
Name |
Type |
Unit |
Description |
|---|---|---|---|
currentGenerationChanged |
double |
Source code¶
//
// This interface extends the corresponding energy model interface. It requires
// implementations to describe energy consumption and energy generation with
// current [A], and storage capacity with charge [C] and output voltage [V].
// The Cc is an abbreviation that is used for charge and current-based interfaces.
//
// @see ~ICcEnergyConsumer, ~ICcEnergySource, ~ICcEnergySink, ~ICcEnergyStorage, ~ICcEnergyManagement
//
moduleinterface ICcEnergyGenerator extends IEnergyGenerator
{
parameters:
@display("i=block/plug");
@signal[currentGenerationChanged](type=double);
}