NED File src/inet/power/contract/IEpEnergySource.ned
Name | Type | Description |
---|---|---|
IEpEnergySource | 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, ~IEpEnergyGenerator, ~IEpEnergySink, ~IEpEnergyStorage, ~IEpEnergyManagement // moduleinterface IEpEnergySource extends IEnergySource { parameters: @display("i=block/plug"); @signal[powerConsumptionChanged](type=double); }