Module Interface ICcEnergySource

Package: inet.power.contract
File: src/inet/power/contract/ICcEnergySource.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, ICcEnergyGenerator, ICcEnergySink, ICcEnergyStorage, ICcEnergyManagement

Author: Levente Meszaros

ICcEnergySource

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
IEnergySource module interface

The energy source models provide energy for multiple energy consumers.

Known subclasses:

Name Type Description
ICcEnergyStorage module interface

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.

Properties:

Name Value Description
display i=block/plug

Signals:

Name Type Unit
currentConsumptionChanged 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, ~ICcEnergyGenerator, ~ICcEnergySink, ~ICcEnergyStorage, ~ICcEnergyManagement
// @author Levente Meszaros
//
moduleinterface ICcEnergySource extends IEnergySource
{
    parameters:
        @display("i=block/plug");
        @signal[currentConsumptionChanged](type=double);
}