Skip to content
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

Implement ac current limitation of multi phase converter #20

Closed
wants to merge 2 commits into from
Closed

Implement ac current limitation of multi phase converter #20

wants to merge 2 commits into from

Conversation

lhbueno
Copy link

@lhbueno lhbueno commented Mar 2, 2017

addition of output power limitation in the converter.

@christiankral
Copy link
Owner

The limitation of apparent power is not physical. The limit of the converter is the current limit of the semiconductors. So in case of an undervoltage the current could become a lot larger in the simulation than in a real application where the current is limited by control. I thus do not want to implement your actual proposal.

The actual implementation of power converters in the PowerConverters library relies on the idea, that the DC voltage is adjusted without any limit. The AC active power has to be equal to the DC power due to power conservation in the converter. Consequently there is no control over the DC power in the converter. What current limit shall then be applied?

I propose to implement a physical limit of a maximum AC current. As long as the phase angle is big enough you can reduce the phase angle to maintain (active) power conservation. If phase angle control is not sufficient any more as DC power is too big, you have to trigger an assert to terminate the simulation as you have no other control over the current which is physically meaningful. In case you want to make an additional proposal I suggest that you encapsulate the limitation of the current to a separate block to make the actual converter model more structured, as in the current proposal it is quite difficult to understand what the actual functionality is.

Please consider the example provided in https://gist.github.com/christiankral/ca370b3dd910d5ad0fff46dab12a84e0 which is created with your pull request version:

  • DC voltage is set to 100V
  • DC current is controlled from 0 to 100A within a duration of 5s
  • DC power rises from 0 to 10kW
  • AC power rises from 0 to 10kW
  • even though the maximum power the converter is set to 5kVA, neither current nor reactive power get limited

testmultiphaseconverter

@lhbueno
Copy link
Author

lhbueno commented Mar 7, 2017

I do not want to insist on the implementation of the current limiter by control. However, I corrected some issues of the previously model and I divided into a different block.

The current limiter is calculated based on the parameters that are given to the converter.
Is_max = (Smax * VmpRef * ImpRef / VRef) * sqrt(2/3),
where Smax is given in pu.

The active current (Id) is limited by Is_max.
The reactive current (Iq) is limited by sqrt( (Is_max^2) - (Id_lim^2) ).

Therefore the AC active power will be equal to the DC power (as long as the DC power does not overcome the set AC apparent power) and the AC reactive power will be delivered as much as the AC apparent power permit (reducing the phase angle if necessary)

You can find this changes at:
https://gist.github.com/luizhrbueno/8baa3bd647043f58a15c8984f0536e73

or in the branch:
https://github.com/luizhrbueno/PhotoVoltaics/tree/Implement_AC_current_limitation_of_multi_phase_converter

image

@christiankral
Copy link
Owner

christiankral commented Mar 9, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants