Module Interface ICcEnergyGenerator

Package: inet.power.contract
File: src/inet/power/contract/ICcEnergyGenerator.ned

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

Author: Levente Meszaros

ICcEnergyGenerator

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends:

Name Type Description
IEnergyGenerator 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
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
// @author Levente Meszaros
//
moduleinterface ICcEnergyGenerator extends IEnergyGenerator
{
    parameters:
        @display("i=block/plug");
        @signal[currentGenerationChanged](type=double);
}