The determination of reduced order models for local and global analysis of power systems