-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong implementation of PhotoVoltaics.Components.MultiPhaseConverter #11
Comments
OK, I found a solution. The issue was using QuasiRMS voltage and current sensors, as the product of their output, multiplied by 3, equals the apparent power (not real power). Changing this calculation to real power (the converter shall be based on real power balance), the implementation works fine. |
What version of PhotoVoltaics did you create your results with? Please have a look at b10fdd1 and check out example |
The PV module generates a total power of 185W. This is the maximum power that it can provide to the system (Smax). So the output apparent power (AC) should be equal to the generated power (regardless the losses). Therefore the feedback should be supplied by the apparent power (AC) and not the real power (AC). Give a look in these two papers for better understanding: |
The power converter is an ideal DC/AC converter. As we do not consider any loss of converter, input DC power of the PV module needs to be equal the active power of the AC side. This is solely a consequence of the active power balance of any system: active power is a conserved quantity. Consequently, the apparent power of AC side is equal (power factor = 1) or greater than the real power (power factor < 1).
DC power always equals the active power of the AC side. The energy meter always counts active power and needs to show the same energy harvest on the DC and AC side of the converter (if the converter is loss free). In an ideal case you can supply a purely capacitive or inductive load by an inverter without the need for activePower. So the reactive power is "generated" by the power converter. Definitely, It cannot be case, that the DC power and the AC apparent power are equal, except for power factor = 1. |
I had a misconception about the inverter. I thought that the apparent output power could not be superior to the DC power. However, the powerDC is equal to the activePowerAC just if the apparent power of the converter is high enough to provide both active and reactive power as it is showed in the figure bellow: @christiankral do you think that is required to set a limitation to the apparent power in the converter due to the fact that the real inverters have? |
We could limit the current RMS value. This is more physical, as the semiconductors cause the actual (current) limitations. Otherwise, if we limit apparent power, in case we had a small AC voltage, the AC currents would become higher than they would be in a real application. I will work on an implementation. |
@luizhrbueno There is a bug in the implementation of the multi phase converter model. It actually revealed the issue when I double checked
PhotoVoltaics.Examples.SimpleModuleMultiPhase
based on 37e277f: I added a power sensor on grid side and used power factor = 1 to test the model with varying irradiance input. The power values are then equal.After changing the power factor to 0.9 (the original value), the gird (real) power is smaller than the PV power. This is wrong.
The issue is related with performing a phase shift in
add
. Then the current phasor is calculated with the wrong magnitude as only the phase shift is changed, butP = 3*U*I*cos(phi)
Could you please consider a fix?
The text was updated successfully, but these errors were encountered: