moved common model logic out of SimpleModel and into PowerModel-abstract class