August 22, 2023 at 10:41 pm
Ansys Employee
Hi Suruchi,
You may find the power injected by the source using the sourcepower script command. You are correct, the amplitude of the source is linked to the power and you can set the desired power by changing the amplitude of the source. You can find out the source power (P1) for an amplitude of 1 (let's call it A1) using the sourcepower command. As the power of the source is directly proportional to the square of its amplitude, you can calculate the new amplitude (A2) for the desired (P2) power as: A2 = A1*sqrt(P2)/sqrt(P1). You can then set this amplitude to have the required amount power injected into the simulation.
Regards,
Amrita