(ver 1.0) Final iteration ofpower plant code