-
Notifications
You must be signed in to change notification settings - Fork 19
Compatibility check and publish response code #164
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
base: main
Are you sure you want to change the base?
Conversation
…te ChargeParameterDiscovery. This will be added here. Signed-off-by: Martin Lukas <martin.lukas@chargebyte.com>
…send via feedback to the Iso module. Signed-off-by: Martin Lukas <martin.lukas@chargebyte.com>
| // the EVerest environment (power supply, grid), here we assume that both are the same | ||
|
|
||
| bool compatiblity_flag = true; | ||
| const auto ev_max_limits_cpd = ev_max_limits; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you add another copy here? Why not using the argument ev_max_limits as const ref
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
up to now i was not sure how to handle the CPD and RATED index. I thought to work with new named vars to keep a kind sort of readability. But when we now get rid of the CPD and RATED index it can be removed or implemented in other way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you like to use variables for this, it's better to use const ref instead of copying each variable.
include/iso15118/detail/d20/state/dc_charge_parameter_discovery.hpp
Outdated
Show resolved
Hide resolved
cb38711 to
8a92f25
Compare
Signed-off-by: Martin Lukas <martin.lukas@chargebyte.com>
c8b084b to
4d31def
Compare
…concerns part CC.5.6 2a in standard IEC61851-23. The test case defines a powersupply voltage of 900V. But this must be meet the requirement from mentioned part min(V_ev +50, V_evse, 500). So here the V_Evse must be <= 450V. Signed-off-by: Martin Lukas <martin.lukas@chargebyte.com>
4d31def to
863ac54
Compare
Fix wrong parameter usage in compatibility check. Signed-off-by: Martin Lukas <martin.lukas@chargebyte.com>
902e5a8 to
59c71bf
Compare
|
I took a closer look at For me the g) section also describes a check in which the charger changes the In addition, |
Describe your changes
This PR adds the compatibility check according to the standard IEC61851-23 CC.5.6.
Furthermore, adding the response code to the feedback to get this information available for other modules.
This is helpful for process view in PLC, HMI etc.
Issue ticket number and link
Checklist before requesting a review