BPM simulator for active and passive semiconductor IOC