Do you have a Git code example of how energy is implemented using a simple network? Just to relate to it.
I've read a lot about how to use the energy framework, but the problem is It's not working with me properly, and it's probably because I'm missing something somewhere.
Even if someone could write down a pseudocode of how it's done instead of writing an actual one, it would be truly helpful.
I'm looking for something like:
1- Import the framework to our node class
2- set up initial values to your ini file
3- customize how energy is changing in your network using functions like:
A( int a)
B ( double c, double z)
.
.
Doesn't have to be precise. But really when there's multiple inheritance and tens of imports between libraries, it's really hard to determine WHERE to do the change and how to add it.
I even ordered a book from amazon about omnet++ to help but even that was quite abstract and preliminary.
I'm open for any energy related manual or documentation.
OMNeT++ is truly a power fun tool but it gets more complicated to use the more you try to customize your own simulation.
Kindly advise.