Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
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))