This is an abstract base module for power based energy consumer models. It defines shared signals and statistics.
See also: EpEnergySourceBase, EpEnergyGeneratorBase, EpEnergySinkBase, EpEnergyStorage
Author: Levente Meszaros
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
AlternatingEpEnergyConsumer | simple module |
This energy consumer model alternates between two modes called consumption and sleep mode. In consumption mode it consumes a randomly selected constant power for a random time interval. In sleep mode it doesn't consume energy for another random time interval. |
StateBasedEpEnergyConsumer | simple module |
This module provides a radio power consumer model. The power consumption is determined by the radio mode, the transmitter state and the receiver state using constant parameters. |
Name | Value | Description |
---|---|---|
display | i=block/plug |
Name | Type | Unit |
---|---|---|
powerConsumptionChanged | double |
Name | Title | Source | Record | Unit | Interpolation Mode |
---|---|---|---|---|---|
powerConsumption | Power consumption | powerConsumptionChanged | vector | sample-hold |
// // This is an abstract base module for power based energy consumer models. // It defines shared signals and statistics. // // @see ~EpEnergySourceBase, ~EpEnergyGeneratorBase, ~EpEnergySinkBase, ~EpEnergyStorage // @author Levente Meszaros // simple EpEnergyConsumerBase like IEpEnergyConsumer { parameters: @display("i=block/plug"); @signal[powerConsumptionChanged](type=double); @statistic[powerConsumption](title="Power consumption"; source=powerConsumptionChanged; record=vector; interpolationmode=sample-hold); }