We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
General

General

How do I change the frequency of an excitation signal while a transient simulation is running?

    • FAQFAQ
      Participant

      You can change the frequency of an excitation signal in the middle of a transient simulation by defining if-else condition for the voltage or current excitation. For example, the following condition changes the frequency from freq1 to freq2 at time instance tchange: if(time < tchange, sin(2*freq1*pi*time), sin(2*freq2*pi*time))