1. A method of forming a compact model for an electrical device, comprising: obtaining shape information for the device; obtaining nominal information for the device; merging the shape information and the nominal information to form composite data, wherein the merging is performed using a processor; and fitting the compact model to the composite data.