How do I use the Simpowersystems Controlled Current Source with Phasor simulation?

2 visualizaciones (últimos 30 días)
I'm modelling a 50Hz AC grid with distributed PV generation. The PV will be modelled as a three-phase current source with the injected current controlled by an external signal.
What I need is for the current to be made up of three 50Hz sinewaves with constant phase (120 degrees apart) and frequency but with the amplitudes controlled by the external signal.
I've tried using three simulink CCS blocks to achieve this. In continuous or discrete simulation it generates the correct sinusoidal output when fed by a variable amplitude sinewave.
However, when fed by a sinweave in phasor simulation, the actual magnitude of the phasor appears to vary sinusoidally, whereas for a simulink AC voltage source for example, the result is a constant magnitude phasor.
I've read the CCS block description and it states that for phasor simulation the input signal must be complex, however, this has not solved my problem.
Am I missing something obvious, or does someone know of a better method I could use to achieve the same effect?
  1 comentario
Sev
Sev el 18 de Feb. de 2016
Hi I encountered the same problem. I want to use the controlled current source with a complex number (phasor) as input signal to have a output current with phase shift. That was is described in the MATLAB help, but this does not work and I get following error message: Complex signal mismatch. Input port 3 of 'singlephaseinverter/powergui/EquivalentModel1/Sources/Mux' expects a signal of numeric type real. However, it is driven by a signal of numeric type complex
Thanks for help. Severin

Iniciar sesión para comentar.

Respuestas (1)

Joel Van Sickel
Joel Van Sickel el 18 de Ag. de 2021

Categorías

Más información sobre Building and Simulating Electronic, Mechatronic, and Electrical Power System Networks en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by