How to model a fault current in Python

放肆的年华 提交于 2020-04-18 05:50:48

问题


Basically I am working on FFT analysis of AC current signal with reference to AC voltage signal. You can imagine it in a phasor diagram with V at x-axis (ideally at all times) and I being the changing variable with respect to V. In a power system, the AC current (magnitude and phase) change depends on the loading system.

For now, I am working with Python-generated signals only. Just trying to set up the software system before proceeding with real-time signals. So, as a start, I generate two simple AC signals (both sine wave of 50 Hz but different amplitude with phase shift introduced) to represent stable V and I signal. Extract FFT to get magnitude and phase. And that has work fine so far.

Now that I have briefly introduced what I am trying to get at, as per my subject matter: How to model fault current in Python (Just a single-phase system)?

What I am trying to get? -2 sine wave (50 Hz) -A phase shift between them -Amplitude For V signal remains the same, so no issue) For I signal, I need to make it as fault current: -It would still have same 50 Hz, with phase shift with respect to voltage but the amplitude has to change abruptly from the normal one (to model a sudden surge of current) -It is as shown in the picture below (the blue one)

Fault Current

So, any ideas on how I can do it?

来源:https://stackoverflow.com/questions/61014943/how-to-model-a-fault-current-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!