Skip to content

Zero power consumption and zero generation causes EnergyManagement to schedule event at infinity #747

@edlongman

Description

@edlongman

<!> Cannot convert -inf to simtime_t: Out of range (-9223372.036854775807,9223372.036854775807), allowed by scale exponent -12 -- in module (inet::power::SimpleEpEnergyStorage) CentralHubWirelessGrid150m.node[0].energyStorage (id=260), during network initialization

simtime_t remainingTime = unit((targetCapacity - residualCapacity) / totalPower / s(1)).get();

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions