runing apis-main
Closed this issue · 1 comments
subaruclover commented
I have several questions about running apis-main:
- With
bash start.sh
, connection refused, error message as follows:
(HARDWARE:LOCAL:ERROR:E001) Communication failed with Device Driver ; io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: localhost/127.0.0.1:4390 [jp.co.sony.csl.dcoes.apis.main.app.controller.DeviceControlling$Sender_.lambda$executeWithRetry_$1(DeviceControlling.java:511)]
The error message pops after bash start2.sh
, bash start3.sh
, bash start4.sh
, communication connection among different apis-main could not be established.
-
What is the expected output with running apis-main alone? Is it Log files?
-
Is the dcdc exchange 1-to-1 or N-to-N? So far, I have observed 1-to-1, 1-to-2, 2-to-1 power exchange between different apis-mains.
- Is it possible to have dynamic changes in the
scenario.json
files for energy sharing?
dai-kawamo commented
Thank you for clone the software!
- apis-main get the data from emulator in the default setting. If emulator is not running this error occurs.
- apis-main cannot run alone and need to run emulator. Log file is in apis-main directory.
- The exchange is 1-to-1 and individual exchange is done by deal. If one unit join two deals, it seems that 1-to-2 or 2-to-1 is occuring. Deal information is in the left side of apis-main_controller (localhost:4382)