Hi
How can I insert a variable calculated during a simulation to block. I know, we can write the initialization commands and the blocks pick up the variable value. But I want my circuit to sense the current and calculate the time values and provide that as a delay to the block.
Fig attached.
I want to provide a delay ‘t1’ for my pulse2 i.e. pulse2 should start after pulse1. Either I should be able to provide delay t1 to the sawtooth waveform as shown or I use a delay block. But Plecs throws an error, as it does not pick the value from running simulation.
Can you please help?