Skip to content

Race conditions cause the simulator to get "stuck" and not proceed #151

@shankari

Description

@shankari

When I tried to apply @Abby-Wheelis's changes in #120 to support error conditions in the AC ISO demo, it looked like they weren't triggering errors. I was worried that maybe the MQTT messages weren't being sent properly, so I tried to copy over the errors from the dropdown.

Image

However, in this case, the AC ISO15118-2 sim_command

sleep 1;iso_wait_slac_matched;iso_start_v2g_session ac,-1,-1;iso_wait_pwr_ready;iso_draw_power_regulated 16,3;sleep 36000#iso_stop_charging;iso_wait_v2g_session_stopped;unplug#iso_pause_charging;iso_wait_for_resume#iso_start_bcb_toogle 3;iso_wait_pwm_is_running;iso_start_v2g_session AC_three_phase_core,-1,-1;iso_wait_pwr_ready;iso_draw_power_regulated 16,3;sleep 36000

worked consistently, but the error sim_command did not

sleep 1;iec_wait_pwr_ready;sleep 1;draw_power_regulated 32,3;sleep 5;diode_fail;sleep 36000#unplug#iso_wait_for_resume#sleep 1;iec_wait_pwr_ready;sleep 1;draw_power_regulated 32,3;sleep 5;diode_fail;sleep 36000

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions