We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now in the simulation we pass PreCharge by returning True in simulator.py:
True
simulator.py
async def is_precharged( self, present_voltage_evse: Union[PVEVSEPresentVoltage, RationalNumber] ) -> bool: return True
As a result, we get "EVProcessing":"Finished"
"EVProcessing":"Finished"
When I change it to return False we are stuck in "EVProcessing":"Ongoing" for at least 70s. ISO 15118-20 defines timeout as 60s (Table 215)
False
"EVProcessing":"Ongoing"
Extract from the log below:
... INFO 2023-07-27 06:17:30,203 - iso15118.shared.states (139): Entered state DCPreCharge INFO 2023-07-27 06:17:30,213 - iso15118.shared.exi_codec (299): Decoded message (ns=urn:iso:std:iso:15118:-20:DC): {"DC_PreChargeReq":{"EVPresentVoltage":{"Exponent":3,"Value":20},"EVProcessing":"Ongoing","EVTargetVoltage":{"Exponent":3,"Value":20},"Header":{"SessionID":"6F52A252B6742BF1","TimeStamp":1690438650}}} INFO 2023-07-27 06:17:30,217 - iso15118.shared.comm_session (235): DC_PreChargeReq received INFO 2023-07-27 06:17:30,222 - iso15118.shared.exi_codec (245): Message to encode (ns=urn:iso:std:iso:15118:-20:DC): {"DC_PreChargeRes": {"Header": {"SessionID": "6F52A252B6742BF1", "TimeStamp": 1690438650}, "ResponseCode": "OK", "EVSEPresentVoltage": {"Exponent": 0, "Value": 230}}} INFO 2023-07-27 06:17:30,225 - iso15118.shared.comm_session (428): Sent DC_PreChargeRes ... INFO 2023-07-27 06:18:40,043 - iso15118.shared.comm_session (428): Sent DC_PreChargeRes INFO 2023-07-27 06:18:40,069 - iso15118.shared.exi_codec (299): Decoded message (ns=urn:iso:std:iso:15118:-20:DC): {"DC_PreChargeReq":{"EVPresentVoltage":{"Exponent":3,"Value":20},"EVProcessing":"Ongoing","EVTargetVoltage":{"Exponent":3,"Value":20},"Header":{"SessionID":"6F52A252B6742BF1","TimeStamp":1690438720}}} INFO 2023-07-27 06:18:40,073 - iso15118.shared.comm_session (235): DC_PreChargeReq received INFO 2023-07-27 06:18:40,077 - iso15118.shared.exi_codec (245): Message to encode (ns=urn:iso:std:iso:15118:-20:DC): {"DC_PreChargeRes": {"Header": {"SessionID": "6F52A252B6742BF1", "TimeStamp": 1690438720}, "ResponseCode": "OK", "EVSEPresentVoltage": {"Exponent": 0, "Value": 230}}} ...
The text was updated successfully, but these errors were encountered:
Leaving a note here: Timer to be added here: https://github.com/SwitchEV/iso15118/blob/ee6a7eee57604c8b006d8fd96798619c06fd72d6/iso15118/evcc/states/iso15118_20_states.py#L1510C3-L1510C3
Sorry, something went wrong.
No branches or pull requests
Right now in the simulation we pass PreCharge by returning
True
insimulator.py
:As a result, we get
"EVProcessing":"Finished"
When I change it to return
False
we are stuck in"EVProcessing":"Ongoing"
for at least 70s. ISO 15118-20 defines timeout as 60s (Table 215)Extract from the log below:
The text was updated successfully, but these errors were encountered: