Digital device modelling engine for Proteus VSM CAD