Passive devices characterization and modeling