External constant frequency in Programmable Voltage Source (Three-Phase) produces current, internal constant does not
Show older comments
Hi everyone,
I am using the Simscape Electrical Programmable Voltage Source (Three-Phase) block and noticed a behavior that I cannot fully explain and didnt find anything in the documentation.

When I configure the block as follows:
- Frequency configuration: External
- Frequency input: Constant = 50 Hz
- Phase shift = 0°
my system shows a grid current of about +3 A, although there should ideally be 0 A, since the inverter reference is synchronized to the grid.
However, when I configure the block internally:
- Frequency configuration: Constant
- Frequency = 50 Hz
- Phase shift = 0°
the current in the system is exactly 0 A, which is the expected behavior.
So it seems that an external constant frequency of 50 Hz does not behave identically to the internal constant frequency parameter, even though the value is the same.
My concern is that I will later need to apply a variable frequency signal, so I need to use the external frequency port. Before doing that, I want to understand why a constant external input behaves differently from the internal constant parameter.
Has anyone encountered this behavior before or knows how the block internally handles the external frequency input?
Thanks in advance!
Accepted Answer
More Answers (0)
Categories
Find more on Electrical Sensors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!