You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The translator example that is being developed (available here) uses the JSON config to change the message passing topology such that a translator is used to change the message the Charger sends into a value that the Controller receives. (The Controller is changed to received a value but send a message back to the Charger.)
The co-simulation runs but the values received by the Controller from the Translator is a large negative value for all time steps even though we can see the message sent by the Charger changes over the course of the co-simulation.
Charger log excerpts:
EV 1 time 900.0
...
Sent message from endpoint Charger/EV1.soc to destination EV_1_translator at time 900.0 with payload SOC 0.065843
...
EV 1 time 1800.0
...
Sent message from endpoint Charger/EV1.soc to destination EV_1_translator at time 1800.0 with payload SOC 0.075450
Controller log excerpts:
Granted time: 900.0
Received SOC -9999999999999999464902769475481793196872414789632.00 from input Controller/EV1.soc
Message target endpoint: Charger/EV1.soc
...
Granted time: 1800.0
Received SOC -9999999999999999464902769475481793196872414789632.00 from input Controller/EV1.soc
Message target endpoint: Charger/EV1.soc
What is the expected behavior?
Translators would send received data on.
Describe the bug
The translator example that is being developed (available here) uses the JSON config to change the message passing topology such that a translator is used to change the message the Charger sends into a value that the Controller receives. (The Controller is changed to received a value but send a message back to the Charger.)
The co-simulation runs but the values received by the Controller from the Translator is a large negative value for all time steps even though we can see the message sent by the Charger changes over the course of the co-simulation.
Charger log excerpts:
Controller log excerpts:
What is the expected behavior?
Translators would send received data on.
To Reproduce
Run the example.
Environment (please complete the following information):
translator-config
branchThe text was updated successfully, but these errors were encountered: