Support Resources Video Library How to use the PSIM dll block

How to use the PSIM dll block

Categories: Video Library

An external PSIM  dll block (dynamic link library) allows users to write code in C-C++, compile it into DLL using Microsoft Visual C-C++, and link it with PSIM. These blocks can be used in either the power circuit or the control circuit.
A DLL block receives values from PSIM as inputs, performs the calculation, and sends the results back to PSIM. PSIM calls the DLL routine at each simulation time step. However, when the inputs of the DLL block are connected to one of these discrete elements (zero-order hold, unit delay, discrete integrators and differentiators, z-domain transfer function blocks, and digital filters), the DLL block is called only at the discrete sampling times.

Back to video library overview