When I was doing the same kind of thing, I have encountered the problem which is similar with yours.
I cannot recall the first one. However, the next two is due to typos by the original writer. Just go to the
lines with error and give a new name for "battery" since it is already defined.
The first one is the same problem. You can figure out it yourself.
Thank you.
--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/llQ2ooN9CXg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.