Can the forward voltage of switches be linked with a look-up table without C-script programming?

I’m modelling the losses within a bidirectional converter. The forward voltages of the IGBTs and diodes varies with their mean current value. I created a look-up table for their relation, but is there a way to link its output forward voltage values with the IGBTs and diodes (without programming)? Or do I have to manually insert them in every simulation?

Hello, you could add a series-connected controllable voltage source whose value is determined by custom logic calculations (perhaps via a lookup table) that you define. But if you just want the value of Vf to change based on the system parameters and not dynamically during a simulation, I recommend that you assign a variable to the block parameter and use the initialization commands to define your variables and calculate what the value of Vf should be, rather than provide an actual numerical value each time. Let me know if that’s not clear.