Use parse_duration() for lifespan attribute of power def.
Merge pull request #429 from hean01/timeunit

Use parse_duration() for lifespan attribute of power def.