[Feature] Add a wizard for two level inverter filters calculation.#42
Draft
jalinei wants to merge 12 commits intoOpenMagnetics:mainfrom
Draft
[Feature] Add a wizard for two level inverter filters calculation.#42jalinei wants to merge 12 commits intoOpenMagnetics:mainfrom
jalinei wants to merge 12 commits intoOpenMagnetics:mainfrom
Conversation
…verter. Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Author
|
Not sure how to deal with the DC Bus fluctuation. One flow would be the following :
|
Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
…nd Single phase inverters. Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
…e tests cases. Signed-off-by: Jean Alinei <jean.alinei@owntech.org>
Author
|
I've added multiple tests cases and a special debug class. Debug plots must be compiled with a special cmake flag Then test cases can be called like any other tests. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


So far the proposed wizard would permit designing inductors for L, LC, and LCL filters.
The feature proposal is linked with the topology extension for MAS proposed under :
OpenMagnetics/MAS#18
The MAS twoLevelInverter topology permits to defines all parameters linked with the system above.
In the MKF, I propose a draft solver to find the design constraints on the magnetic of the filter in order to be able to size them using OpenMagnetics.
The current proposal first determine the inverter reference, using different state of the art modulation technics such as SPWM, SVPWM, or THIPWM.
Then PWM carrier are computed (either Sawtooth or Triangular are supported).
Then we compute the comparison of the reference and the carrier, and we deal with dead-time and rise-time of the switches.
This gives the voltage waveform for each switching node of the inverter.
Then, depending on the filter topology, we compute the voltage drop across the first inductor, and the current flowing in the first inductor.
From that, we derive the harmonics using a simple DFT.
The harmonics are fed to OM to compute magnetic losses, encompassing both fundamental frequencies and switching frequencies.
Self-criticism and TODOs: