The energy storage models describe devices that absorb energy produced by generators, and provide energy for consumers. For example, an electrochemical battery in a mobile phone provides energy for its display, its CPU, and its wireless communication device. It can also absorb energy produced by a solar panel installed on its display, or by a portable charger plugged into a wall socket.
See also: IEnergyConsumer, IEnergySource, IEnergyGenerator, IEnergySink, IEnergyManagement
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 |
---|---|---|
IEnergySource | module interface |
The energy source models provide energy for multiple energy consumers. |
IEnergySink | module interface |
The energy sink models absorb energy from multiple energy generators. |
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. |
IEpEnergyStorage | 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. |
Name | Type | Description |
---|---|---|
NodeBase | compound module |
Contains the common lower layers (linklayer and networklayer) of Router, StandardHost, WirelessHost etc. |
Name | Value | Description |
---|---|---|
display | i=block/plug |
// // The energy storage models describe devices that absorb energy produced by // generators, and provide energy for consumers. For example, an electrochemical // battery in a mobile phone provides energy for its display, its CPU, and its // wireless communication device. It can also absorb energy produced by a solar // panel installed on its display, or by a portable charger plugged into a wall // socket. // // @see ~IEnergyConsumer, ~IEnergySource, ~IEnergyGenerator, ~IEnergySink, ~IEnergyManagement // @author Levente Meszaros // moduleinterface IEnergyStorage extends IEnergySource, IEnergySink { parameters: @display("i=block/plug"); }