Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

How to approximate Diracs delta function?

0 votes
I need to make voltage source controlled with Dirac's function.

To make either triangle or rectangle impuls which area is equal to 1.

Can you please help me?
asked Dec 21, 2020 by ana (14 points)

1 Answer

0 votes
Attached is an example of how to construct Dirac approximations for square and triangular approximation types.  The example includes how to construct a single event or a periodic event. The approach uses simple geometry to ensure that an impulse of the specified width has a total area of 1. The integration of the Dirac approximations is 1, as expected.

Note that a few parameters are specified in the Model Initialization Commands.
answered Dec 22, 2020 by Bryan Lieblick (1,795 points)
Thank you so much!!!