Redesign PowerModel classes
- Remove code duplication
- Provides a Functional implementation that
enables passing a Function as parameter
to defines how the power consumption increases
along the time.
- Introduces the PowerModelSimple that enables
the user to define the power consumption increment
Function without requiring to create a new class.
Signed-off-by:
Manoel Campos <manoelcampos@gmail.com>