How do I dq0-transform voltage and current in phasor-mode?

7 views (last 30 days)
Hi, I'm trying to conduct a dq0-transform with simPowersystems in phasor-mode. My model is a very basic one, 3phase-voltagesource (400 V, 50 deg, 50 Hz) connected to an inductor in series and then to another 3phase-voltagesource (400 V, 0 deg, 50 Hz). I'm using the block "abc to dq0" and it seems to work in continuous-mode but not in phasor(50 hz)-mode.
I've searched for solutions but I haven't found any that made me wiser.
Can someone point me at the right direction?

Answers (1)

Sebastian Castro
Sebastian Castro on 25 Jun 2015
What exactly are you trying, and how does it not work? Do you have a screenshot and/or error message?
My understanding is that Phasor mode makes the assumption that "wt" is periodic at the prescribed frequency (in your case, 50 Hz). So, "t" is simply your simulation time which you can pick out using a Clock block in the Simulink > Sources library. Therefore "wt" is that time multiplied by the frequency in rad/s (2*pi*50).
- Sebastian
  2 Comments
Ahmet
Ahmet on 25 Jun 2015
I am using a Three-Phase V-I Measurement-block to get the values for Vabc and Iabc, which I then send directly to the abc-input on the dq0-transform-block. I get the error message [Complex signal mismatch. Input port 1 expects a signal of numeric type real. However, it is driven by a signal of numeric type complex]... I get this from the dq0-block and sometimes from the Three-Phase V-I Measurement-block (the last one is a bit weird because it can handle complex signals and has been working properly until I wanted to get the dq0-values).
Sebastian Castro
Sebastian Castro on 25 Jun 2015
Yeah, when you switch to phasor mode it changes the format of the voltages. You can look at the Three-Phase V-I Measurement and notice that you can output different formats like Complex, Magnitude-Phase, just Magnitude, etc.
The default is "Complex", so if you change to one of the other settings your data types will at least match... though I'm not sure what it means to do this transform on the phasor representation magnitudes and/or phases.

Sign in to comment.

Categories

Find more on Simscape Electrical 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!