Simplifications and refactoring in grid-converter control methods #138
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.
This pull request contains some minor changes and fixes:
Grid converter control methods and examples are simplified (both code and comments). Furthermore, some extra features are deleted, such as the possibility to choose the measurement point between the filter-capacitor and PCC voltages. Option to choose PSC method was also deleted, i.e., only RFPSC is directly available (but for advanced users PSC can be easily obtained by modifying a few lines of the code). The reason for these simplifications is to limit the complexity of the code and configurations. Additions can be considered later after the steady state is first found.
Some file and class names were changed. Naming conventions were unified.
Implementation of the frequency converter with a diode bridge is partly reverted to the earlier version for its simpler usage (i.e., compatibility with the basic Drive class). However, the DC capacitor is now (optionally) modeled in the VoltageSourceConverter (renamed, was Inverter earlier).
Discrete signals are now plotted using the staircase waveform in grid converter plots.
The selection of the overmodulation method in the PWM class is now done when the class is initiated (instead of passing this option as an argument when calling the PWM). The grid converter control methods use the minimum-phase-error (MPE) method by default.