What is SimuPec®:
SimuPec® is a modeling software package specifically designed for power electronics systems within the Matlab/Simulink® Environment either for fixed admittance Simulation (using the fixed admittance Simulator SimuPec_FA®) or for nonfiixed admittance Simulation (using SimuPec®).
From the schematic diagram of the electrical circuit, SimuPec_FA® or SimuPec® automatically generate a Clanguage circuit description file. In the Matlab® environment you compile this Cfile to generate a dllfile which can be used as an CSfunction block in the Simulink® model. This electrical circuit CSfunction block behaves exactly like any other Simulink® builtin block without interaction with SimuPec® anymore. This electrical circuit CSfunction block is very fast and reentrant (can be used more than once in the Simulink® model)
The control system of the power electronics circuit, which is normally modeled using very large number Simulinkblocks, can sometimes be the only cause of slow simulation. In this case, the whole control system “not including the power electronics system” should be converted to CSFunction block using the SimulinkCoder Toolbox (rtw). The power electronics system is already modeled using Simupec® or SimuPec_FA® as CSFunction block.
Simupec® and Simupec_FA® can use any of the simulation modes available from Simulink:

 Normalmode
 Accelaration mode
 Rapid Accelaration mode
 Rapid simulation target
They can also be used to generate Ccode for any of the targets availbles from Simulink®.
Simupec_FA®
The wellknown Pejovicassociated discrete circuit, fixed admittance matrix technique models the switch as an inductor during the ONSwitching state (L_{ON}=h/Gs) and as a capacitor during the OFFSwitching state (C_{OFF}=h*Gs), with h=simulation time step and Gs= fixed admittance of the switch. With a time step of 1µs, and a fixed admittance Gs=1/ohm, for example, L_{ON} is equal to 1µH and C_{OFF} is equal to 1µF, these values are not negligible and can badly affect the simulation accuracy. Using the same time step h and smaller Gs to decrease C_{OFF} will lead to increasing L_{ON} and vice versa. The only possible way to decrease both values (L_{ON} and C_{OFF}) is to use very small simulation step size h.
This simple model introduces artificial oscillations in the simulation results. For practical power electronics engineers, adding such inductances and capacitances to the power electronics circuit is not acceptable.
Many commercial real time simulators are based on this simple technique, despite its serious drawbacks, simply because it is the only fixed admittance matrix available until now.
The new proposed fixed admittance matrix technique models the switching devices i.e. IGBT/DIODE as voltage controlled resistances (German patent applied for). The resistance value in the admittance matrix is set to 1 ohm independed of device type (Diode, Thyristor, IGBT, IGBT/DIODE, etc.), switching state and device current direction, which are taken into consideration in the source/history current Vector.
The power electronics devices in the new fixed admittance matrix SimuPecFA® are modelled as piecewise linear devices. They behave virtually as a small resistance (default value Ron=1e3) during the turnon switching state and large resistance (default value Roff=1e6) during the turnoff switching state. However the contribution to the admittance matrix is a fixed admittance G=1/ohm during both switching states and independent of the current direction, though different values are used in the history source current Vector.
The Figure below Shows, the fixed admittance matrix of a 2level 3 phases DC/AC converter. The admittance of the switching device (IGBT/Diode) is set to a value of 1/ohm independent of the switching state and the current direction. The admittance of the R/L series connected load is set to 1/(R+L/h) = 0.001/ohm .
The sparse fixed admittance matrix is solved only once during the whole simulation run. During the subsequent simulation steps, the simulator needs only to multiply the history source current vector with the already solved fixed sparse LUmatrix to calculate the solution vector. The number of additions and multiplications needed for the solution vector is very small compared to the full LUmatrix solution (less than 0.3%).
Unlike the Pejovic associated discrete circuittechnique, where a very small time step (much less than 1 microsecond) is required to get an acceptable accuracy, the new proposed fixed admittance matrix technique can work with much larger time step (some tens of micro seconds) for the same simulation accuracy.
Electrical machines can be simulated by both Simulators; the non fixed admittance simultor SimuPec® as well as the fixed admittance simultor SimuPecFA®, not only as interfacing models but also as embedded models to the whole power electronics system.
The electrical and mechanical equations of the electrical machines by the fixed admittance matrix simulation are decoupled using the values from the previous fixed Point iteration within the same time step.
The unique features of the new proposed fixed admittance matrix technique make it very suitable for large scale offline, real time and hardware in the loop Simulation.