IEpEnergyGenerator.ned

NED File src/inet/power/contract/IEpEnergyGenerator.ned

Name Type Description
IEpEnergyGenerator module interface

This interface extends the corresponding energy model interface. It requires implementations to describe energy consumption and energy generation with power [W] and storage capacity with energy [J]. The Ep is an abbreviation that is used for energy and power based interfaces.

Source code

//
// Copyright (C) 2020 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.power.contract;

//
// This interface extends the corresponding energy model interface. It requires
// implementations to describe energy consumption and energy generation with
// power [W] and storage capacity with energy [J]. The Ep is an abbreviation
// that is used for energy and power based interfaces.
//
// @see ~IEpEnergyConsumer, ~IEpEnergySource, ~IEpEnergySink, ~IEpEnergyStorage, ~IEpEnergyManagement
//
moduleinterface IEpEnergyGenerator extends IEnergyGenerator
{
    parameters:
        @display("i=block/plug");
        @signal[powerGenerationChanged](type=double);
}