├── .gitignore ├── service ├── dse-modbus-simulator │ ├── down │ ├── log │ │ └── run │ └── run ├── flashmq │ ├── run │ └── log │ │ └── run ├── nginx │ └── run ├── localsettings │ ├── log │ │ └── run │ └── run ├── dbus-systemcalc-py │ ├── log │ │ └── run │ └── run ├── dbus-modbus-client │ ├── log │ │ └── run │ └── run └── dbus-generator-starter │ ├── log │ └── run │ └── run ├── simulations ├── bct │ ├── description │ ├── setup │ ├── fuel1.csv │ ├── fuel2.csv │ ├── watertank1.csv │ └── watertank2.csv ├── x │ ├── grid.csv │ ├── vebus.csv │ ├── wind.csv │ ├── alternator.csv │ ├── evcharger.csv │ ├── smartshunt.csv │ ├── solarcharger.csv │ ├── description │ ├── setup │ └── dcgenset.csv ├── y │ ├── grid.csv │ ├── vebus.csv │ ├── wind.csv │ ├── alternator.csv │ ├── evcharger.csv │ ├── smartshunt.csv │ ├── solarcharger.csv │ ├── description │ └── setup ├── a │ ├── description │ ├── vebus.dat │ ├── battery.dat │ ├── charger.dat │ └── setup ├── b │ ├── description │ ├── battery.dat │ └── setup ├── c │ ├── description │ ├── battery.dat │ └── setup ├── t │ ├── description │ ├── setup │ ├── diesel.csv │ ├── water.csv │ ├── blackwater.csv │ ├── windcharger.csv │ └── battery.csv ├── u │ ├── description │ ├── setup │ ├── diesel3.csv │ ├── diesel2.csv │ ├── greywater.csv │ ├── diesel1.csv │ ├── watertank2.csv │ ├── watertank1.csv │ ├── windcharger.csv │ ├── alternator.csv │ └── battery.csv ├── v │ ├── description │ └── setup ├── w │ ├── description │ └── evcs.csv ├── gdh │ ├── description │ └── setup ├── na │ ├── description │ ├── setup │ ├── diesel1.csv │ ├── diesel2.csv │ ├── diesel3.csv │ ├── charger.csv │ ├── battery.csv │ ├── vebus2.csv │ └── vebus1.csv ├── nt │ ├── description │ ├── setup │ ├── diesel.csv │ ├── water.csv │ ├── blackwater.csv │ ├── windcharger.csv │ └── battery.csv ├── sw │ ├── description │ ├── setup │ └── switch.csv ├── g │ ├── description │ ├── battery.dat │ ├── charger.dat │ └── setup ├── m │ ├── description │ ├── vebus.dat │ └── setup ├── j │ ├── description │ ├── battery.dat │ ├── battery2.dat │ ├── battery3.dat │ ├── battery4.dat │ └── setup ├── lp │ ├── description │ ├── bms_a.dat │ ├── bms_b.dat │ ├── lynx_parrallel.dat │ └── setup ├── s │ ├── description │ ├── setup │ ├── freezer.csv │ ├── watertemp.csv │ ├── diesel3.csv │ ├── diesel1.csv │ ├── diesel2.csv │ ├── lpg1.csv │ ├── watertank1.csv │ ├── watertank2.csv │ ├── watertank3.csv │ ├── watertank4.csv │ ├── greywater.csv │ ├── salon.csv │ ├── fridge.csv │ ├── generator.csv │ ├── lynxparallel.csv │ ├── battery2.csv │ └── battery1.csv ├── ss │ ├── description │ ├── setup │ └── smartswitch.csv ├── z │ └── description ├── d │ ├── description │ ├── vebus.dat │ ├── battery.dat │ └── setup ├── dse │ └── description ├── e │ ├── description │ ├── vebus.dat │ ├── battery.dat │ └── setup ├── f │ ├── description │ ├── vebus.dat │ ├── battery.dat │ └── setup ├── gdf │ ├── description │ └── setup ├── i │ ├── description │ ├── vebus.dat │ └── setup ├── r │ ├── description │ ├── setup │ ├── freezer.csv │ ├── watertemp.csv │ ├── dieseltank.csv │ ├── watertank.csv │ ├── salon.csv │ ├── fridge.csv │ └── dcsystem.csv ├── n │ ├── description │ └── setup ├── k │ ├── description │ ├── vebus.dat │ └── setup ├── l │ ├── description │ ├── vebus.dat │ ├── battery.dat │ └── setup ├── lpp │ ├── description │ ├── bms_a.dat │ ├── bms_b.dat │ ├── vebus.dat │ ├── lynxparallel.dat │ └── setup ├── p │ ├── description │ ├── tank1.dat │ ├── tank2.dat │ ├── tank3.dat │ ├── vebus.dat │ ├── battery.dat │ ├── solarcharger.dat │ └── setup ├── q │ ├── description │ ├── vebus.dat │ ├── battery1.dat │ ├── battery2.dat │ ├── battery3.dat │ ├── solarcharger.dat │ └── setup ├── h │ ├── description │ ├── battery.dat │ ├── inverter.dat │ └── setup ├── o │ ├── vebus.dat │ ├── description │ └── setup └── xy │ ├── evcharger.csv │ ├── grid.csv │ ├── alternator.csv │ ├── wind.csv │ └── smartshunt.csv ├── .dockerignore ├── version ├── bin └── dbus-spy ├── run_all.sh ├── flashmq.conf ├── scripts ├── run_recording.sh ├── start_services.sh ├── run_with_simulation.sh └── simulate.sh ├── venus_app.conf ├── dockerfile.dbus-spy ├── .github └── workflows │ └── docker-hub-push.yml ├── dbus-system.conf ├── get_recording_tsv.sh ├── recompile_and_replace_simulation.sh ├── LICENSE ├── .gitmodules ├── dockerfile └── run.sh /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | dbus-spy/ -------------------------------------------------------------------------------- /service/dse-modbus-simulator/down: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /simulations/bct/description: -------------------------------------------------------------------------------- 1 | Balance CT -------------------------------------------------------------------------------- /simulations/x/grid.csv: -------------------------------------------------------------------------------- 1 | ../xy/grid.csv -------------------------------------------------------------------------------- /simulations/x/vebus.csv: -------------------------------------------------------------------------------- 1 | ../xy/vebus.csv -------------------------------------------------------------------------------- /simulations/x/wind.csv: -------------------------------------------------------------------------------- 1 | ../xy/wind.csv -------------------------------------------------------------------------------- /simulations/y/grid.csv: -------------------------------------------------------------------------------- 1 | ../xy/grid.csv -------------------------------------------------------------------------------- /simulations/y/vebus.csv: -------------------------------------------------------------------------------- 1 | ../xy/vebus.csv -------------------------------------------------------------------------------- /simulations/y/wind.csv: -------------------------------------------------------------------------------- 1 | ../xy/wind.csv -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *.png 3 | -------------------------------------------------------------------------------- /simulations/a/description: -------------------------------------------------------------------------------- 1 | Navetta 68 2 | -------------------------------------------------------------------------------- /simulations/b/description: -------------------------------------------------------------------------------- 1 | BMV 700 only 2 | -------------------------------------------------------------------------------- /simulations/c/description: -------------------------------------------------------------------------------- 1 | BMV 702 only 2 | -------------------------------------------------------------------------------- /simulations/t/description: -------------------------------------------------------------------------------- 1 | A simple boat 2 | -------------------------------------------------------------------------------- /simulations/u/description: -------------------------------------------------------------------------------- 1 | 3-phase yacht 2 | -------------------------------------------------------------------------------- /simulations/v/description: -------------------------------------------------------------------------------- 1 | Multi-RS only 2 | -------------------------------------------------------------------------------- /simulations/w/description: -------------------------------------------------------------------------------- 1 | EV-charger only 2 | -------------------------------------------------------------------------------- /simulations/x/alternator.csv: -------------------------------------------------------------------------------- 1 | ../xy/alternator.csv -------------------------------------------------------------------------------- /simulations/x/evcharger.csv: -------------------------------------------------------------------------------- 1 | ../xy/evcharger.csv -------------------------------------------------------------------------------- /simulations/x/smartshunt.csv: -------------------------------------------------------------------------------- 1 | ../xy/smartshunt.csv -------------------------------------------------------------------------------- /simulations/y/alternator.csv: -------------------------------------------------------------------------------- 1 | ../xy/alternator.csv -------------------------------------------------------------------------------- /simulations/y/evcharger.csv: -------------------------------------------------------------------------------- 1 | ../xy/evcharger.csv -------------------------------------------------------------------------------- /simulations/y/smartshunt.csv: -------------------------------------------------------------------------------- 1 | ../xy/smartshunt.csv -------------------------------------------------------------------------------- /simulations/gdh/description: -------------------------------------------------------------------------------- 1 | HATZ DC genset only 2 | -------------------------------------------------------------------------------- /simulations/na/description: -------------------------------------------------------------------------------- 1 | Navetta 68 (new UI) 2 | -------------------------------------------------------------------------------- /simulations/nt/description: -------------------------------------------------------------------------------- 1 | A simple boat (new UI) 2 | -------------------------------------------------------------------------------- /simulations/sw/description: -------------------------------------------------------------------------------- 1 | Digital switching demo 2 | -------------------------------------------------------------------------------- /simulations/x/solarcharger.csv: -------------------------------------------------------------------------------- 1 | ../xy/solarcharger.csv -------------------------------------------------------------------------------- /simulations/y/solarcharger.csv: -------------------------------------------------------------------------------- 1 | ../xy/solarcharger.csv -------------------------------------------------------------------------------- /simulations/g/description: -------------------------------------------------------------------------------- 1 | Charger + BMV - simple boat 2 | -------------------------------------------------------------------------------- /simulations/m/description: -------------------------------------------------------------------------------- 1 | Multigrid with VE.Bus BMS 2 | -------------------------------------------------------------------------------- /simulations/j/description: -------------------------------------------------------------------------------- 1 | Multiple batteries (4 x BMV 700) 2 | -------------------------------------------------------------------------------- /simulations/lp/description: -------------------------------------------------------------------------------- 1 | Parallel Lynx BMS - 2 X 500A 2 | -------------------------------------------------------------------------------- /simulations/s/description: -------------------------------------------------------------------------------- 1 | 50ft yacht – 24V Quattro 24/5000 2 | -------------------------------------------------------------------------------- /simulations/ss/description: -------------------------------------------------------------------------------- 1 | Energy Solutions SmartSwitch 2 | -------------------------------------------------------------------------------- /simulations/x/description: -------------------------------------------------------------------------------- 1 | GUI-v2 demo system with DC genset 2 | -------------------------------------------------------------------------------- /simulations/y/description: -------------------------------------------------------------------------------- 1 | GUI-v2 demo system with AC genset 2 | -------------------------------------------------------------------------------- /simulations/z/description: -------------------------------------------------------------------------------- 1 | Original demo mode recordings 2 | -------------------------------------------------------------------------------- /simulations/d/description: -------------------------------------------------------------------------------- 1 | Multi + BMV - Off-grid with generator 2 | -------------------------------------------------------------------------------- /simulations/dse/description: -------------------------------------------------------------------------------- 1 | Interactive DSE Modbus Simulator 2 | -------------------------------------------------------------------------------- /simulations/e/description: -------------------------------------------------------------------------------- 1 | Multi + BMV - Boat without generator 2 | -------------------------------------------------------------------------------- /simulations/f/description: -------------------------------------------------------------------------------- 1 | Quattro + BMV - boat with generator 2 | -------------------------------------------------------------------------------- /simulations/gdf/description: -------------------------------------------------------------------------------- 1 | Fischer Panda AGT DC genset only 2 | -------------------------------------------------------------------------------- /simulations/i/description: -------------------------------------------------------------------------------- 1 | Quattro without BMV - Hybrid generator 2 | -------------------------------------------------------------------------------- /simulations/r/description: -------------------------------------------------------------------------------- 1 | 35ft yacht - 12V MultiPlus 12/1600 2 | -------------------------------------------------------------------------------- /version: -------------------------------------------------------------------------------- 1 | v99.99~99 2 | Victron Energy 3 | 20210416100626 4 | 5 | -------------------------------------------------------------------------------- /service/flashmq/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec /usr/bin/flashmq 4 | -------------------------------------------------------------------------------- /simulations/n/description: -------------------------------------------------------------------------------- 1 | Fischer Panda Generator - Genset - three phase 2 | -------------------------------------------------------------------------------- /service/nginx/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec /usr/sbin/nginx -g 'daemon off;' -------------------------------------------------------------------------------- /simulations/k/description: -------------------------------------------------------------------------------- 1 | Quattro without BMV - Hybrid generator - three phase 2 | -------------------------------------------------------------------------------- /simulations/l/description: -------------------------------------------------------------------------------- 1 | Quattro + BMV - boat with generator - three phase 2 | -------------------------------------------------------------------------------- /bin/dbus-spy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/bin/dbus-spy -------------------------------------------------------------------------------- /simulations/lpp/description: -------------------------------------------------------------------------------- 1 | Parallel Lynx BMS - 2 X 500A - 1 BMS in pending state 2 | -------------------------------------------------------------------------------- /simulations/p/description: -------------------------------------------------------------------------------- 1 | Multi + SmartShunt + Solar + Tanks - RV without generator 2 | -------------------------------------------------------------------------------- /simulations/q/description: -------------------------------------------------------------------------------- 1 | Multi + 3 x SmartShunt + Solar - Yacht without generator 2 | -------------------------------------------------------------------------------- /run_all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | for letter in {a..z}; do 4 | ./run.sh -s $letter 5 | done 6 | -------------------------------------------------------------------------------- /service/flashmq/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec multilog t s99999 n8 /log/flashmq 4 | -------------------------------------------------------------------------------- /simulations/h/description: -------------------------------------------------------------------------------- 1 | VE.Direct Inverter + BMV - typical vehicle - charged from alternator 2 | -------------------------------------------------------------------------------- /service/localsettings/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec multilog t s99999 n8 /log/localsettings 4 | -------------------------------------------------------------------------------- /simulations/a/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/a/vebus.dat -------------------------------------------------------------------------------- /simulations/d/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/d/vebus.dat -------------------------------------------------------------------------------- /simulations/e/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/e/vebus.dat -------------------------------------------------------------------------------- /simulations/f/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/f/vebus.dat -------------------------------------------------------------------------------- /simulations/i/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/i/vebus.dat -------------------------------------------------------------------------------- /simulations/k/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/k/vebus.dat -------------------------------------------------------------------------------- /simulations/l/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/l/vebus.dat -------------------------------------------------------------------------------- /simulations/m/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/m/vebus.dat -------------------------------------------------------------------------------- /simulations/o/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/o/vebus.dat -------------------------------------------------------------------------------- /simulations/p/tank1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/p/tank1.dat -------------------------------------------------------------------------------- /simulations/p/tank2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/p/tank2.dat -------------------------------------------------------------------------------- /simulations/p/tank3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/p/tank3.dat -------------------------------------------------------------------------------- /simulations/p/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/p/vebus.dat -------------------------------------------------------------------------------- /simulations/q/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/q/vebus.dat -------------------------------------------------------------------------------- /simulations/a/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/a/battery.dat -------------------------------------------------------------------------------- /simulations/a/charger.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/a/charger.dat -------------------------------------------------------------------------------- /simulations/b/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/b/battery.dat -------------------------------------------------------------------------------- /simulations/c/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/c/battery.dat -------------------------------------------------------------------------------- /simulations/d/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/d/battery.dat -------------------------------------------------------------------------------- /simulations/e/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/e/battery.dat -------------------------------------------------------------------------------- /simulations/f/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/f/battery.dat -------------------------------------------------------------------------------- /simulations/g/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/g/battery.dat -------------------------------------------------------------------------------- /simulations/g/charger.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/g/charger.dat -------------------------------------------------------------------------------- /simulations/h/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/h/battery.dat -------------------------------------------------------------------------------- /simulations/j/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/j/battery.dat -------------------------------------------------------------------------------- /simulations/l/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/l/battery.dat -------------------------------------------------------------------------------- /simulations/lp/bms_a.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/lp/bms_a.dat -------------------------------------------------------------------------------- /simulations/lp/bms_b.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/lp/bms_b.dat -------------------------------------------------------------------------------- /simulations/lpp/bms_a.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/lpp/bms_a.dat -------------------------------------------------------------------------------- /simulations/lpp/bms_b.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/lpp/bms_b.dat -------------------------------------------------------------------------------- /simulations/lpp/vebus.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/lpp/vebus.dat -------------------------------------------------------------------------------- /simulations/p/battery.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/p/battery.dat -------------------------------------------------------------------------------- /service/dbus-systemcalc-py/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec multilog t s99999 n8 /log/dbus-systemcalc-py 4 | -------------------------------------------------------------------------------- /simulations/h/inverter.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/h/inverter.dat -------------------------------------------------------------------------------- /simulations/j/battery2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/j/battery2.dat -------------------------------------------------------------------------------- /simulations/j/battery3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/j/battery3.dat -------------------------------------------------------------------------------- /simulations/j/battery4.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/j/battery4.dat -------------------------------------------------------------------------------- /simulations/q/battery1.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/q/battery1.dat -------------------------------------------------------------------------------- /simulations/q/battery2.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/q/battery2.dat -------------------------------------------------------------------------------- /simulations/q/battery3.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/q/battery3.dat -------------------------------------------------------------------------------- /service/dbus-modbus-client/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec multilog t s25000 n4 /var/log/dbus-modbus-client 4 | -------------------------------------------------------------------------------- /simulations/p/solarcharger.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/p/solarcharger.dat -------------------------------------------------------------------------------- /simulations/q/solarcharger.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/q/solarcharger.dat -------------------------------------------------------------------------------- /service/dbus-generator-starter/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec multilog t s99999 n8 /log/dbus-generator-starter 4 | -------------------------------------------------------------------------------- /service/dbus-modbus-client/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec /opt/victronenergy/dbus-modbus-client/dbus-modbus-client.py 4 | -------------------------------------------------------------------------------- /service/dbus-systemcalc-py/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec /opt/victronenergy/dbus-systemcalc-py/dbus_systemcalc.py 4 | -------------------------------------------------------------------------------- /service/dse-modbus-simulator/log/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec multilog t s25000 n4 /var/log/dse-modbus-simulator 4 | -------------------------------------------------------------------------------- /simulations/lp/lynx_parrallel.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/lp/lynx_parrallel.dat -------------------------------------------------------------------------------- /simulations/lpp/lynxparallel.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/victronenergy/venus-docker/HEAD/simulations/lpp/lynxparallel.dat -------------------------------------------------------------------------------- /service/dbus-generator-starter/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec /opt/victronenergy/dbus-generator-starter/dbus_generator.py 4 | -------------------------------------------------------------------------------- /service/localsettings/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec /opt/victronenergy/localsettings/localsettings.py --path=/data/conf 4 | -------------------------------------------------------------------------------- /simulations/o/description: -------------------------------------------------------------------------------- 1 | Quattro + BMV - boat with generator (single phase) + Fischer Panda Generator (three phase) - Simulations F + N 2 | -------------------------------------------------------------------------------- /simulations/b/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 1 4 | -------------------------------------------------------------------------------- /simulations/h/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 4 | -------------------------------------------------------------------------------- /simulations/j/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 4 | -------------------------------------------------------------------------------- /simulations/nt/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 4 | -------------------------------------------------------------------------------- /simulations/t/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 4 | -------------------------------------------------------------------------------- /service/dse-modbus-simulator/run: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec 2>&1 3 | exec /opt/victronenergy/dse-modbus-simulator/main.py \ 4 | --app-dir=/opt/victronenergy/dse-modbus-simulator/ \ 5 | --web-host=0.0.0.0 --web-port=8000 \ 6 | --modbus-host=0.0.0.0 --modbus-port=502 7 | -------------------------------------------------------------------------------- /simulations/ss/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/Relay/0/ShowUIControl 0 2 | com.victronenergy.settings /Settings/Relay/1/ShowUIControl 0 3 | com.victronenergy.system /SwitchableOutput/0/Settings/ShowUIControl 0 4 | com.victronenergy.system /SwitchableOutput/1/Settings/ShowUIControl 0 5 | -------------------------------------------------------------------------------- /simulations/sw/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/Relay/0/ShowUIControl 0 2 | com.victronenergy.settings /Settings/Relay/1/ShowUIControl 0 3 | com.victronenergy.system /SwitchableOutput/0/Settings/ShowUIControl 0 4 | com.victronenergy.system /SwitchableOutput/1/Settings/ShowUIControl 0 5 | -------------------------------------------------------------------------------- /simulations/v/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 4 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 5 | -------------------------------------------------------------------------------- /flashmq.conf: -------------------------------------------------------------------------------- 1 | thread_count 1 2 | 3 | plugin /usr/libexec/flashmq/libflashmq-dbus-plugin.so 4 | 5 | # Don't register on VRM 6 | plugin_opt_skip_broker_registration true 7 | 8 | max_packet_size 65536 9 | 10 | listen { 11 | protocol mqtt 12 | port 1883 13 | } 14 | 15 | listen { 16 | protocol websockets 17 | port 9001 18 | } 19 | -------------------------------------------------------------------------------- /simulations/n/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 2 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 4 | com.victronenergy.settings /Settings/Relay/Function 0 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/d/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 0 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 2 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/f/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 2 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 3 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/g/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 3 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/i/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 0 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 2 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 1 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/k/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 0 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 2 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 1 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/m/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 0 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 1 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/p/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 3 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/r/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 3 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/q/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService com.victronenergy.battery/279 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 3 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/o/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 2 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 3 5 | com.victronenergy.settings /Settings/Relay/Function 0 6 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 7 | -------------------------------------------------------------------------------- /simulations/s/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 2 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 3 5 | com.victronenergy.settings /Settings/Relay/Function 1 6 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 7 | -------------------------------------------------------------------------------- /simulations/u/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 2 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 3 5 | com.victronenergy.settings /Settings/Relay/Function 1 6 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 7 | -------------------------------------------------------------------------------- /scripts/run_recording.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Use this to run killed/new recordings in a running container 4 | 5 | if [ $# -eq 0 ]; then 6 | echo "Usage: $0 . The recording file must exist in /opt/victronenergy/dbus-recorder" 7 | echo "e.g. $0 vebus-marine.dat" 8 | exit 1 9 | fi 10 | 11 | python3 /opt/victronenergy/dbus-recorder/dbusrecorder.py -p --file=/opt/victronenergy/dbus-recorder/$1 & 12 | -------------------------------------------------------------------------------- /simulations/lp/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 1 2 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 3 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/2/Enabled 1 4 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/3/Enabled 1 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /simulations/lpp/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 1 2 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 3 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/2/Enabled 1 4 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/3/Enabled 1 5 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 6 | -------------------------------------------------------------------------------- /scripts/start_services.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Create dummy relays before systemcalc is started 4 | mkdir -p /dev/gpio/relay_1 && touch /dev/gpio/relay_1/value 5 | 6 | cd /opt/victronenergy/dbus-systemcalc-py/ || exit 7 | vrmid=$(python3 -c 'from ext.velib_python.ve_utils import get_vrm_portal_id; print(get_vrm_portal_id())') 8 | mkdir -p /data/venus && echo "$vrmid" > /data/venus/unique-id 9 | 10 | service dbus start 11 | svscan /service & 12 | -------------------------------------------------------------------------------- /simulations/l/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 2 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 3 5 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_vebus/257/Enabled 0 6 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 7 | -------------------------------------------------------------------------------- /simulations/x/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 3 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Relay/Function 0 6 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 7 | com.victronenergy.settings /Settings/Gui/ColorScheme 0 8 | -------------------------------------------------------------------------------- /simulations/y/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 3 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 2 5 | com.victronenergy.settings /Settings/Relay/Function 1 6 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 7 | com.victronenergy.settings /Settings/Gui/ColorScheme 0 8 | -------------------------------------------------------------------------------- /scripts/run_with_simulation.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | RUN_DIR="/root" 4 | SIMULATIONS="$RUN_DIR/simulations" 5 | 6 | ARGS="" 7 | while [ -n "$1" ]; do 8 | case "$1" in 9 | --*) 10 | ARGS="$ARGS $1"; 11 | shift 12 | ;; 13 | *) 14 | break 15 | ;; 16 | esac 17 | done 18 | 19 | if [ $# -ne 0 ] && test -d $SIMULATIONS/$1; then 20 | echo "Running with simulation ($1)" 21 | $RUN_DIR/start_services.sh 22 | $RUN_DIR/simulate.sh $ARGS $1 & 23 | sleep infinity 24 | fi 25 | -------------------------------------------------------------------------------- /venus_app.conf: -------------------------------------------------------------------------------- 1 | server { 2 | listen 80 default_server; 3 | listen [::]:80 default_server; 4 | root /var/www/venus_app; 5 | index index.html; 6 | server_name _; 7 | location / { 8 | try_files $uri $uri/ =404; 9 | } 10 | location ~ ^/websocket-mqtt$ { 11 | proxy_pass http://127.0.0.1:9001; 12 | proxy_http_version 1.1; 13 | proxy_set_header Upgrade $http_upgrade; 14 | proxy_set_header Connection "Upgrade"; 15 | proxy_set_header Host $host; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /dockerfile.dbus-spy: -------------------------------------------------------------------------------- 1 | # Dockerfile for dbus-spy build. A copy of dbus-spy is already included in the 2 | # venus-docker repo. This is here in case you ever need to rebuild it. You will 3 | # need access to the velib repository. 4 | 5 | FROM ubuntu:20.04 6 | 7 | RUN apt-get update 8 | RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y qtbase5-dev qtchooser qtbase5-dev-tools libncurses-dev make g++ 9 | COPY dbus-spy /root/dbus-spy 10 | WORKDIR /root/dbus-spy/software 11 | RUN qmake && make && make install 12 | -------------------------------------------------------------------------------- /.github/workflows/docker-hub-push.yml: -------------------------------------------------------------------------------- 1 | name: Build and Push to Docker Hub 2 | on: 3 | push: 4 | branches: 5 | - master 6 | jobs: 7 | build: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - uses: actions/checkout@v2 11 | - name: Build Docker image 12 | run: sh ./build.sh 13 | - name: Push to Docker Hub 14 | run: | 15 | docker tag mqtt victronenergy/venus-docker:latest 16 | echo '${{ secrets.DOCKERHUB_TOKEN }}' | docker login --username aleximb --password-stdin 17 | docker push victronenergy/venus-docker:latest 18 | -------------------------------------------------------------------------------- /dbus-system.conf: -------------------------------------------------------------------------------- 1 | 2 | 3 | tcp:host=localhost,bind=*,port=3000,family=ipv4 4 | ANONYMOUS 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 1024 13 | 50000 14 | 15 | -------------------------------------------------------------------------------- /simulations/e/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 3 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/0/Name Service battery 6 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/5/Name Starter battery 7 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/6/Enabled 0 8 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 9 | -------------------------------------------------------------------------------- /get_recording_tsv.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | SIMULATION=$1 4 | CONTAINER=`docker ps -aqf ancestor=mqtt` 5 | 6 | if test -z "$CONTAINER"; then 7 | echo "Starting container" 8 | ./run.sh -s a 9 | CONTAINER=`docker ps -aqf ancestor=mqtt` 10 | fi 11 | 12 | if test -n "$SIMULATION" && test -f $SIMULATION; then 13 | FILENAME=`basename $1` 14 | docker cp $SIMULATION $CONTAINER:/root/$FILENAME 15 | FILENAME="${FILENAME%.*}" 16 | docker exec $CONTAINER sh -c "python /opt/victronenergy/dbus-recorder/tools/dump.py /root/$FILENAME.dat > /root/$FILENAME.tsv" 17 | docker cp $CONTAINER:/root/$FILENAME.tsv . 18 | else 19 | echo "usage: $0 simulation" 20 | echo "Simulation must be a .dat file in simulations/x/" 21 | fi 22 | -------------------------------------------------------------------------------- /simulations/r/freezer.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.temperature.adc_builtin0_8 2 | /TemperatureType INT32 1 1 3 | /Offset DOUBLE 0.0 0 4 | /Scale DOUBLE 1.0 1 5 | /Temperature INT32 -18 -18C 6 | /RawUnit STRING V V 7 | /RawValue DOUBLE 2.930032968521118 3 8 | /FilterLength INT32 10 10s 9 | /CustomName STRING Freezer Freezer 10 | /Status UINT32 0 Ok 11 | /DeviceInstance UINT32 24 24 12 | /Connected UINT32 1 1 13 | /ProductName STRING Generic Temperature Input Generic Temperature Input 14 | /ProductId UINT32 41314 A162 15 | /Mgmt/Connection STRING Temperature input 1 Temperature input 1 16 | /Mgmt/ProcessVersion STRING 1.32 1.32 17 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 18 | 19 | 0 /RawValue DOUBLE 2.51 3 20 | 90 /RawValue DOUBLE 2.52 3 21 | -------------------------------------------------------------------------------- /simulations/s/freezer.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.temperature.adc_builtin0_8 2 | /TemperatureType INT32 6 6 3 | /Offset DOUBLE 0.0 0 4 | /Scale DOUBLE 1.0 1 5 | /Temperature INT32 -18 -18C 6 | /RawUnit STRING V V 7 | /RawValue DOUBLE 2.930032968521118 3 8 | /FilterLength INT32 10 10s 9 | /CustomName STRING Freezer Freezer 10 | /Status UINT32 0 Ok 11 | /DeviceInstance UINT32 24 24 12 | /Connected UINT32 1 1 13 | /ProductName STRING Generic Temperature Input Generic Temperature Input 14 | /ProductId UINT32 41314 A162 15 | /Mgmt/Connection STRING Temperature input 1 Temperature input 1 16 | /Mgmt/ProcessVersion STRING 1.32 1.32 17 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 18 | 19 | 0 /RawValue DOUBLE 2.51 3 20 | 60 /RawValue DOUBLE 2.52 3 21 | -------------------------------------------------------------------------------- /simulations/r/watertemp.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.temperature.adc_builtin0_7 2 | /TemperatureType INT32 1 1 3 | /Offset DOUBLE 0.0 0 4 | /Scale DOUBLE 1.0 1 5 | /Temperature INT32 12 12C 6 | /RawUnit STRING V V 7 | /RawValue DOUBLE 2.8 3 8 | /FilterLength INT32 10 10s 9 | /CustomName STRING Water tank temperature Water tank temperature 10 | /Status UINT32 0 Ok 11 | /DeviceInstance UINT32 25 25 12 | /Connected UINT32 1 1 13 | /ProductName STRING Generic Temperature Input Generic Temperature Input 14 | /ProductId UINT32 41314 A162 15 | /Mgmt/Connection STRING Temperature input 1 Temperature input 1 16 | /Mgmt/ProcessVersion STRING 1.32 1.32 17 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 18 | 19 | 0 /RawValue DOUBLE 2.8 3 20 | 90 /RawValue DOUBLE 2.9 3 21 | -------------------------------------------------------------------------------- /simulations/s/watertemp.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.temperature.adc_builtin0_7 2 | /TemperatureType INT32 1 1 3 | /Offset DOUBLE 0.0 0 4 | /Scale DOUBLE 1.0 1 5 | /Temperature INT32 12 12C 6 | /RawUnit STRING V V 7 | /RawValue DOUBLE 2.8 3 8 | /FilterLength INT32 10 10s 9 | /CustomName STRING Water tank temperature Water tank temperature 10 | /Status UINT32 0 Ok 11 | /DeviceInstance UINT32 25 25 12 | /Connected UINT32 1 1 13 | /ProductName STRING Generic Temperature Input Generic Temperature Input 14 | /ProductId UINT32 41314 A162 15 | /Mgmt/Connection STRING Temperature input 1 Temperature input 1 16 | /Mgmt/ProcessVersion STRING 1.32 1.32 17 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 18 | 19 | 0 /RawValue DOUBLE 2.8 3 20 | 60 /RawValue DOUBLE 2.9 3 21 | -------------------------------------------------------------------------------- /simulations/gdf/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 0 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Relay/Function 0 6 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_dcgenset/0/0/Enabled 1 7 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_dcgenset/0/Enabled 1 8 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_dcgenset/0/Name "Genset Starter" 9 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 10 | -------------------------------------------------------------------------------- /simulations/gdh/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 0 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Relay/Function 0 6 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_dcgenset/1/0/Enabled 1 7 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_dcgenset/1/Enabled 1 8 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_dcgenset/1/Name "Genset Starter" 9 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 10 | -------------------------------------------------------------------------------- /simulations/c/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 0 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/256/Enabled 1 6 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/256/Name Main 7 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/256/1/Enabled 1 8 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/256/1/Name Starter 9 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 10 | -------------------------------------------------------------------------------- /recompile_and_replace_simulation.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TSV=$1 4 | REPLACE_FILE=$2 5 | CONTAINER=`docker ps -aqf ancestor=mqtt` 6 | 7 | if test -z "$CONTAINER"; then 8 | echo "Starting container" 9 | ./run.sh -s a 10 | CONTAINER=`docker ps -aqf ancestor=mqtt` 11 | fi 12 | 13 | if test -n "$TSV" && test -n "$REPLACE_FILE" && test -f $REPLACE_FILE; then 14 | docker cp $TSV $CONTAINER:/root 15 | REPLACE_FILE_NAME=`basename $REPLACE_FILE` 16 | docker exec $CONTAINER sh -c "python /opt/victronenergy/dbus-recorder/tools/assemble.py /root/$TSV /root/$REPLACE_FILE_NAME" 17 | docker cp $CONTAINER:/root/$REPLACE_FILE_NAME . 18 | mv $REPLACE_FILE_NAME $REPLACE_FILE 19 | else 20 | echo "usage: $0 " 21 | echo "Replace file must be a .dat file in simulations/x/" 22 | fi 23 | -------------------------------------------------------------------------------- /simulations/a/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 0 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_charger/10/0/Name Stern thruster batteries 6 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_charger/10/1/Name Bow thruster batteries 7 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_charger/10/2/Enabled 0 8 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/256/Name Service batteries 9 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 1 10 | -------------------------------------------------------------------------------- /simulations/bct/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 1 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/Relay/Function 1 6 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/0/Enabled 1 7 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/1/Enabled 1 8 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/2/Enabled 1 9 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/289/Enabled 1 10 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 1 11 | -------------------------------------------------------------------------------- /simulations/na/setup: -------------------------------------------------------------------------------- 1 | com.victronenergy.settings /Settings/SystemSetup/BatteryService default 2 | com.victronenergy.settings /Settings/SystemSetup/HasDcSystem 1 3 | com.victronenergy.settings /Settings/SystemSetup/AcInput1 0 4 | com.victronenergy.settings /Settings/SystemSetup/AcInput2 0 5 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_charger/10/0/Name Stern thruster batteries 6 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_charger/10/1/Name Bow thruster batteries 7 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_charger/10/2/Enabled 0 8 | com.victronenergy.settings /Settings/SystemSetup/Batteries/Configuration/com_victronenergy_battery/256/Name Service batteries 9 | com.victronenergy.settings /Settings/Gui/ElectricalPowerIndicator 0 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Victron Energy BV 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "localsettings"] 2 | path = localsettings 3 | url = https://github.com/victronenergy/localsettings.git 4 | [submodule "dbus-recorder"] 5 | path = dbus-recorder 6 | url = https://github.com/victronenergy/dbus-recorder.git 7 | [submodule "dbus-systemcalc-py"] 8 | path = dbus-systemcalc-py 9 | url = https://github.com/victronenergy/dbus-systemcalc-py.git 10 | [submodule "dbus-tools"] 11 | path = dbus-tools 12 | url = https://github.com/victronenergy/dbus-tools 13 | [submodule "venus-html5-app"] 14 | path = venus-html5-app 15 | url = https://github.com/victronenergy/venus-html5-app.git 16 | [submodule "dbus_generator"] 17 | path = dbus_generator 18 | url = https://github.com/victronenergy/dbus_generator.git 19 | [submodule "dbus-flashmq"] 20 | path = dbus-flashmq 21 | url = https://github.com/victronenergy/dbus-flashmq.git 22 | [submodule "flashmq"] 23 | path = flashmq 24 | url = https://github.com/halfgaar/FlashMQ.git 25 | [submodule "dbus-modbus-client"] 26 | path = dbus-modbus-client 27 | url = https://github.com/victronenergy/dbus-modbus-client.git 28 | [submodule "dse-modbus-simulator"] 29 | path = dse-modbus-simulator 30 | url = https://github.com/victronenergy/dse-modbus-simulator.git 31 | -------------------------------------------------------------------------------- /simulations/na/diesel1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_1 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.2 0.200m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Day tank Day tank 15 | /DeviceInstance UINT32 21 21 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 60 60% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.192 0.192m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 4 /RawValue DOUBLE 36.74984359741211 37 34 | -------------------------------------------------------------------------------- /simulations/s/diesel3.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin1_4 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.050 0.050m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Day Tank Day Tank 15 | /DeviceInstance UINT32 25 25 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 40 40% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 72 72 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.020 0.020m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 72 72 34 | 60 /RawValue DOUBLE 72 72 35 | -------------------------------------------------------------------------------- /simulations/na/diesel2.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_2 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.2 0.200m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Storage tank Storage tank 15 | /DeviceInstance UINT32 22 22 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 62 62% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 37.74984359741211 38 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.152 0.152m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 4 /RawValue DOUBLE 37.74984359741211 38 34 | -------------------------------------------------------------------------------- /simulations/na/diesel3.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_3 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.2 0.200m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Generator tank Generator tank 15 | /DeviceInstance UINT32 23 23 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 77 77% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 57.74984359741211 58 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.084 0.084m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 4 /RawValue DOUBLE 57.74984359741211 58 34 | -------------------------------------------------------------------------------- /simulations/s/diesel1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_1 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.550 0.550m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Diesel STBD Diesel STBD 15 | /DeviceInstance UINT32 23 23 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 45 45% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 81 81 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.248 0.248m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 81 81 34 | 60 /RawValue DOUBLE 81 81 35 | -------------------------------------------------------------------------------- /simulations/s/diesel2.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_0 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.550 0.550m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Diesel PORT Diesel PORT 15 | /DeviceInstance UINT32 24 24 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 8 8% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 14.4 14.4 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.044 0.044m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 14.4 14.4 34 | 60 /RawValue DOUBLE 14.4 14.4 35 | -------------------------------------------------------------------------------- /simulations/s/lpg1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin1_3 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.033 0.033m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING LPG Tank LPG Tank 15 | /DeviceInstance UINT32 28 28 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 8 LPG 18 | /Level UINT32 61 61% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 109.1 109.1 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180.0ohm 28 | /Remaining DOUBLE 0.020 0.020m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 109.1 109.1 34 | 60 /RawValue DOUBLE 109.1 109.1 35 | -------------------------------------------------------------------------------- /simulations/bct/fuel1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_1 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.381 0.381m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Stbd fuel tank Stbd fuel tank 15 | /DeviceInstance UINT32 21 21 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 33 33% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 3 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.129 0.129m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 60 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/bct/fuel2.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_2 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.380 0.380m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Port fuel tank Port fuel tank 15 | /DeviceInstance UINT32 23 23 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 43 43% 19 | /Mgmt/Connection STRING Tank Level input 4 Tank Level input 4 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.164 0.164m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 60 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/s/watertank1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_4 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.200 0.200m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh Water STBD Fresh Water STBD 15 | /DeviceInstance UINT32 20 20 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 100 100% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 180 180 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.2 0.2m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 180 180 34 | 60 /RawValue DOUBLE 180 180 35 | -------------------------------------------------------------------------------- /simulations/s/watertank2.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_3 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.230 0.230m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh Water PORT Fresh Water PORT 15 | /DeviceInstance UINT32 21 21 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 20 20% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36 36 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.046 0.046m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36 36 34 | 60 /RawValue DOUBLE 36 36 35 | -------------------------------------------------------------------------------- /simulations/na/charger.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.charger.socketcan_can0_di10_uc15639 2 | /Ac/In/CurrentLimit DOUBLE 10.0 10.0A 3 | /Ac/In/L1/I DOUBLE 1.10000002384 1.1A 4 | /Ac/In/L1/P ARRAY [] 5 | /Alarms/HighVoltage UINT32 0 0 6 | /Alarms/LowVoltage UINT32 0 0 7 | /Connected UINT32 1 1 8 | /Dc/0/Current DOUBLE 11.7 11.7A 9 | /Dc/0/Temperature ARRAY [] 10 | /Dc/0/Voltage DOUBLE 27.0 27.00V 11 | /Dc/1/Current DOUBLE 0.0 0.0A 12 | /Dc/1/Voltage DOUBLE 26.4 26.40V 13 | /Dc/2/Current DOUBLE 1.0 1.0A 14 | /Dc/2/Voltage DOUBLE 26.4 26.40V 15 | /DeviceInstance BYTE 10 10 16 | /ErrorCode BYTE 0 0 17 | /FirmwareVersion UINT32 518 v2.06 18 | /HardwareVersion ARRAY [] 19 | /Mgmt/Connection STRING VE.Can VE.Can 20 | /Mgmt/ProcessName STRING vecan-dbus vecan-dbus 21 | /Mgmt/ProcessVersion STRING 2.29 2.29 22 | /Mode BYTE 1 1 23 | /N2kUniqueNumber UINT32 15639 15639 24 | /NrOfOutputs BYTE 3 3 25 | /ProductId UINT16 262 0x106 26 | /ProductName STRING Skylla-i 24/100 (3) Skylla-i 24/100 (3) 27 | /Relay/0/State UINT32 1 1 28 | /Serial STRING HQ12424SLBZ HQ12424SLBZ 29 | /State BYTE 6 6 30 | 31 | 1 /Dc/0/Voltage DOUBLE 27.05 27.05V 32 | 1 /Dc/2/Voltage DOUBLE 26.41 26.41V 33 | 2 /Dc/0/Voltage DOUBLE 27.0 27.00V 34 | 2 /Dc/2/Voltage DOUBLE 26.4 26.40V 35 | -------------------------------------------------------------------------------- /simulations/s/watertank3.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin1_1 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.23 0.23m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh Water Aft Fresh water Aft 15 | /DeviceInstance UINT32 26 26 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 89 89% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 160.2 160.2 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.205 0.205m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 160.2 160.2 34 | 60 /RawValue DOUBLE 160.2 160.2 35 | -------------------------------------------------------------------------------- /simulations/nt/diesel.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_1 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.032 0.032m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Diesel Diesel 15 | /DeviceInstance UINT32 20 20 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 72 72% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.023 0.023m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 4 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/s/watertank4.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin1_2 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.15 0.15m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh Water Front Fresh Water Front 15 | /DeviceInstance UINT32 27 27 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 84 84% 19 | /Mgmt/Connection STRING Tank Level input 2 Tank Level input 2 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 151.2 151.2 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.126 0.126m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 151.2 151.2 34 | 60 /RawValue DOUBLE 151.2 151.2 35 | -------------------------------------------------------------------------------- /simulations/t/diesel.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_1 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.130 0.130m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Diesel Diesel 15 | /DeviceInstance UINT32 20 20 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 60 60% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.078 0.078m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 30 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/bct/watertank1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_4 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.400 0.400m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Stbd freshwater tank Stbd freshwater tank 15 | /DeviceInstance UINT32 20 20 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 42 42% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.169 0.169m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 60 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/bct/watertank2.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_3 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.400 0.400m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Port freshwater tank Port freshwater tank 15 | /DeviceInstance UINT32 22 22 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 56 56% 19 | /Mgmt/Connection STRING Tank Level input 2 Tank Level input 2 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.227 0.227m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 60 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/u/diesel3.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_3 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.130 0.130m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Diesel day Diesel day 15 | /DeviceInstance UINT32 23 23 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 77 77% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 57.74984359741211 58 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.078 0.078m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 57.673744201660156 58 34 | 30 /RawValue DOUBLE 57.74984359741211 58 35 | -------------------------------------------------------------------------------- /simulations/r/dieseltank.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_3 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.130 0.130m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Diesel tank Diesel tank 15 | /DeviceInstance UINT32 21 21 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 60 60% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.078 0.078m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 90 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/u/diesel2.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_2 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.130 0.130m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Diesel port Diesel port 15 | /DeviceInstance UINT32 22 22 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 62 62% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 37.74984359741211 38 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.078 0.078m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 37.673744201660156 38 34 | 30 /RawValue DOUBLE 37.74984359741211 38 35 | -------------------------------------------------------------------------------- /simulations/nt/water.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_2 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.100 0.100m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh water Fresh water 15 | /DeviceInstance UINT32 21 21 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 44 44% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.044 0.044m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 4 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/s/greywater.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_2 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.060 0.060m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Grey Water Grey Water 15 | /DeviceInstance UINT32 22 22 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 2 Waste water 18 | /Level UINT32 72 72% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.043 0.043m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 60 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/t/water.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_2 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.130 0.300m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh water Fresh water 15 | /DeviceInstance UINT32 21 21 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 77 77% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.230 0.230m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 60 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/u/greywater.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_6 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.300 0.300m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Grey water Grey water 15 | /DeviceInstance UINT32 26 26 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 33 33% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.100 0.100m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 60 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/nt/blackwater.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_3 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.052 0.052m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Black water Black water 15 | /DeviceInstance UINT32 22 22 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 5 Black water 18 | /Level UINT32 89 89% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 40.74984359741211 41 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.046 0.046m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 41.673744201660156 42 34 | 4 /RawValue DOUBLE 41.74984359741211 42 35 | -------------------------------------------------------------------------------- /simulations/t/blackwater.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_3 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.130 0.300m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh water Fresh water 15 | /DeviceInstance UINT32 22 22 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 5 Black water 18 | /Level UINT32 82 82% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 40.74984359741211 41 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.230 0.230m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 41.673744201660156 42 34 | 60 /RawValue DOUBLE 41.74984359741211 42 35 | -------------------------------------------------------------------------------- /simulations/u/diesel1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_1 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.130 0.130m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Diesel starboard Diesel starboard 15 | /DeviceInstance UINT32 21 21 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 0 Fuel 18 | /Level UINT32 60 60% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.078 0.078m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 30 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/r/watertank.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_4 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.130 0.130m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh water tank Fresh water tank 15 | /DeviceInstance UINT32 20 20 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 79 79% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.103 0.103m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 90 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/u/watertank2.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_5 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.300 0.300m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh water port Fresh water port 15 | /DeviceInstance UINT32 25 25 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 33 33% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.100 0.100m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 60 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/u/watertank1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.tank.adc_builtin0_4 2 | /Alarms/High/Active INT32 90 90 3 | /Alarms/High/Delay INT32 5 5s 4 | /Alarms/High/Enable INT32 0 Disabled 5 | /Alarms/High/Restore INT32 80 80 6 | /Alarms/High/State ARRAY [] 7 | /Alarms/Low/Active INT32 10 10 8 | /Alarms/Low/Delay INT32 30 30s 9 | /Alarms/Low/Enable INT32 0 Disabled 10 | /Alarms/Low/Restore INT32 15 15 11 | /Alarms/Low/State ARRAY [] 12 | /Capacity DOUBLE 0.130 0.300m3 13 | /Connected UINT32 1 1 14 | /CustomName STRING Fresh water starboard Fresh water starboard 15 | /DeviceInstance UINT32 24 24 16 | /FilterLength INT32 10 10s 17 | /FluidType INT32 1 Fresh water 18 | /Level UINT32 77 77% 19 | /Mgmt/Connection STRING Tank Level input 1 Tank Level input 1 20 | /Mgmt/ProcessName STRING dbus-adc dbus-adc 21 | /Mgmt/ProcessVersion STRING 1.32 1.32 22 | /ProductId UINT32 41313 A161 23 | /ProductName STRING Generic Tank Input Generic Tank Input 24 | /RawUnit STRING Ω Ω 25 | /RawValue DOUBLE 36.74984359741211 37 26 | /RawValueEmpty DOUBLE 0.0 0ohm 27 | /RawValueFull DOUBLE 180.0 180ohm 28 | /Remaining DOUBLE 0.230 0.230m3 29 | /Shape STRING 30 | /Standard INT32 0 European 31 | /Status UINT32 0 Ok 32 | 33 | 0 /RawValue DOUBLE 36.673744201660156 37 34 | 60 /RawValue DOUBLE 36.74984359741211 37 35 | -------------------------------------------------------------------------------- /simulations/r/salon.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.temperature.ruuvi_f00f00d00002 2 | /TemperatureType INT32 2 2 3 | /CustomName STRING Salon Salon 4 | /ProductId UINT32 49193 C029 5 | /ProductName STRING RuuviTag RuuviTag 6 | /DeviceInstance UINT32 29 29 7 | /Connected UINT32 1 1 8 | /Mgmt/Connection STRING Bluetooth LE Bluetooth LE 9 | /Mgmt/ProcessVersion STRING 0.3 0.3 10 | /Mgmt/ProcessName STRING dbus-ble-sensors dbus-ble-sensors 11 | /DeviceName STRING Ruuvi 41EA Ruuvi F002 12 | /SeqNo UINT32 445 445 13 | /TxPower DOUBLE 4.0 4dBm 14 | /BatteryVoltage DOUBLE 3.1750001907348633 3.18V 15 | /AccelZ DOUBLE 1.0119999647140503 1.01g 16 | /AccelY DOUBLE -0.08399999886751175 -0.08g 17 | /AccelX DOUBLE 0.04800000041723251 0.05g 18 | /Pressure DOUBLE 100.19400024414062 100.2kPa 19 | /Humidity DOUBLE 32.61000061035156 33% 20 | /Temperature DOUBLE 18.1 18.1C 21 | 22 | 0 /Temperature DOUBLE 18.1 18.1C 23 | 0 /Humidity DOUBLE 32.60749816894531 33% 24 | 0 /Pressure DOUBLE 100.19499969482422 100.2kPa 25 | 0 /AccelX DOUBLE 0.0560000017285347 0.06g 26 | 0 /AccelZ DOUBLE 1.0240000486373901 1.02g 27 | 90 /Temperature DOUBLE 18.2 18.2C 28 | 90 /Humidity DOUBLE 32.60749816894531 32% 29 | 90 /Pressure DOUBLE 100.19499969482422 100.1kPa 30 | 90 /AccelX DOUBLE 0.0560000017285347 0.05g 31 | 90 /AccelZ DOUBLE 1.0240000486373901 1.01g 32 | -------------------------------------------------------------------------------- /simulations/s/salon.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.temperature.ruuvi_f00f00d00002 2 | /TemperatureType INT32 2 2 3 | /CustomName STRING Salon Salon 4 | /ProductId UINT32 49193 C029 5 | /ProductName STRING RuuviTag RuuviTag 6 | /DeviceInstance UINT32 29 29 7 | /Connected UINT32 1 1 8 | /Mgmt/Connection STRING Bluetooth LE Bluetooth LE 9 | /Mgmt/ProcessVersion STRING 0.3 0.3 10 | /Mgmt/ProcessName STRING dbus-ble-sensors dbus-ble-sensors 11 | /DeviceName STRING Ruuvi 41EA Ruuvi F002 12 | /SeqNo UINT32 445 445 13 | /TxPower DOUBLE 4.0 4dBm 14 | /BatteryVoltage DOUBLE 3.1750001907348633 3.18V 15 | /AccelZ DOUBLE 1.0119999647140503 1.01g 16 | /AccelY DOUBLE -0.08399999886751175 -0.08g 17 | /AccelX DOUBLE 0.04800000041723251 0.05g 18 | /Pressure DOUBLE 100.19400024414062 100.2kPa 19 | /Humidity DOUBLE 32.61000061035156 33% 20 | /Temperature DOUBLE 18.1 18.1C 21 | 22 | 0 /Temperature DOUBLE 18.1 18.1C 23 | 0 /Humidity DOUBLE 32.60749816894531 33% 24 | 0 /Pressure DOUBLE 100.19499969482422 100.2kPa 25 | 0 /AccelX DOUBLE 0.0560000017285347 0.06g 26 | 0 /AccelZ DOUBLE 1.0240000486373901 1.02g 27 | 60 /Temperature DOUBLE 18.2 18.2C 28 | 60 /Humidity DOUBLE 32.60749816894531 32% 29 | 60 /Pressure DOUBLE 100.19499969482422 100.1kPa 30 | 60 /AccelX DOUBLE 0.0560000017285347 0.05g 31 | 60 /AccelZ DOUBLE 1.0240000486373901 1.01g 32 | -------------------------------------------------------------------------------- /simulations/r/fridge.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.temperature.ruuvi_f00f00d00001 2 | /TemperatureType INT32 1 1 3 | /CustomName STRING Refrigerator Refrigerator 4 | /ProductId UINT32 49193 C029 5 | /ProductName STRING RuuviTag RuuviTag 6 | /DeviceInstance UINT32 28 28 7 | /Connected UINT32 1 1 8 | /Mgmt/Connection STRING Bluetooth LE Bluetooth LE 9 | /Mgmt/ProcessVersion STRING 0.3 0.3 10 | /Mgmt/ProcessName STRING dbus-ble-sensors dbus-ble-sensors 11 | /DeviceName STRING Ruuvi 41EA Ruuvi F001 12 | /SeqNo UINT32 445 445 13 | /TxPower DOUBLE 4.0 4dBm 14 | /BatteryVoltage DOUBLE 3.1750001907348633 3.18V 15 | /AccelZ DOUBLE 1.0119999647140503 1.01g 16 | /AccelY DOUBLE -0.08399999886751175 -0.08g 17 | /AccelX DOUBLE 0.04800000041723251 0.05g 18 | /Pressure DOUBLE 100.19400024414062 100.2kPa 19 | /Humidity DOUBLE 32.61000061035156 33% 20 | /Temperature DOUBLE 4.4 4.4C 21 | 22 | 0 /Temperature DOUBLE 4.4 4.4C 23 | 0 /Humidity DOUBLE 32.60749816894531 33% 24 | 0 /Pressure DOUBLE 100.19499969482422 100.2kPa 25 | 0 /AccelX DOUBLE 0.0560000017285347 0.06g 26 | 0 /AccelZ DOUBLE 1.0240000486373901 1.02g 27 | 90 /Temperature DOUBLE 4.8 4.8C 28 | 90 /Humidity DOUBLE 32.60749816894531 32% 29 | 90 /Pressure DOUBLE 100.19499969482422 100.1kPa 30 | 90 /AccelX DOUBLE 0.0560000017285347 0.05g 31 | 90 /AccelZ DOUBLE 1.0240000486373901 1.01g 32 | -------------------------------------------------------------------------------- /simulations/s/fridge.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.temperature.ruuvi_f00f00d00001 2 | /TemperatureType INT32 1 1 3 | /CustomName STRING Refrigerator Refrigerator 4 | /ProductId UINT32 49193 C029 5 | /ProductName STRING RuuviTag RuuviTag 6 | /DeviceInstance UINT32 28 28 7 | /Connected UINT32 1 1 8 | /Mgmt/Connection STRING Bluetooth LE Bluetooth LE 9 | /Mgmt/ProcessVersion STRING 0.3 0.3 10 | /Mgmt/ProcessName STRING dbus-ble-sensors dbus-ble-sensors 11 | /DeviceName STRING Ruuvi 41EA Ruuvi F001 12 | /SeqNo UINT32 445 445 13 | /TxPower DOUBLE 4.0 4dBm 14 | /BatteryVoltage DOUBLE 3.1750001907348633 3.18V 15 | /AccelZ DOUBLE 1.0119999647140503 1.01g 16 | /AccelY DOUBLE -0.08399999886751175 -0.08g 17 | /AccelX DOUBLE 0.04800000041723251 0.05g 18 | /Pressure DOUBLE 100.19400024414062 100.2kPa 19 | /Humidity DOUBLE 32.61000061035156 33% 20 | /Temperature DOUBLE 4.4 4.4C 21 | 22 | 0 /Temperature DOUBLE 4.4 4.4C 23 | 0 /Humidity DOUBLE 32.60749816894531 33% 24 | 0 /Pressure DOUBLE 100.19499969482422 100.2kPa 25 | 0 /AccelX DOUBLE 0.0560000017285347 0.06g 26 | 0 /AccelZ DOUBLE 1.0240000486373901 1.02g 27 | 60 /Temperature DOUBLE 4.8 4.8C 28 | 60 /Humidity DOUBLE 32.60749816894531 32% 29 | 60 /Pressure DOUBLE 100.19499969482422 100.1kPa 30 | 60 /AccelX DOUBLE 0.0560000017285347 0.05g 31 | 60 /AccelZ DOUBLE 1.0240000486373901 1.01g 32 | -------------------------------------------------------------------------------- /simulations/s/generator.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.generator.startstop0 2 | /Mgmt/ProcessName STRING /opt/victronenergy/dbus-generator-starter/dbus_generator.py /opt/victronenergy/dbus-generator-starter/dbus_generator.py 3 | /Mgmt/ProcessVersion STRING 1.6.7 1.6.7 4 | /Mgmt/Connection STRING generator generator 5 | /DeviceInstance INT32 0 0 6 | /ProductId ARRAY [] --- 7 | /ProductName STRING Generator start/stop Generator start/stop 8 | /FirmwareVersion ARRAY [] --- 9 | /HardwareVersion ARRAY [] --- 10 | /Connected INT32 1 1 11 | /Type INT32 0 0 12 | /State INT32 0 Stopped 13 | /RunningByConditionCode INT32 0 0 14 | /Error INT32 0 No error 15 | /RunningByCondition STRING 16 | /Runtime INT32 0 0h, 0m, 0s 17 | /TodayRuntime INT32 0 0h, 0m, 0s 18 | /TestRunIntervalRuntime INT32 0 0h, 0m, 0s 19 | /NextTestRun ARRAY [] --- 20 | /SkipTestRun ARRAY [] --- 21 | /ManualStart INT32 0 0 22 | /ManualStartTimer INT32 0 0 23 | /QuietHours INT32 0 0 24 | /Alarms/NoGeneratorAtAcIn INT32 0 0 25 | /Alarms/ServiceIntervalExceeded INT32 0 0 26 | /Alarms/AutoStartDisabled INT32 0 0 27 | /AutoStartEnabled INT32 1 1 28 | /AccumulatedRuntime INT32 124850 124850 29 | /Capabilities INT32 0 0 30 | /ServiceCounter ARRAY [] --- 31 | /ServiceCounterReset INT32 0 0 32 | /GensetService STRING com.victronenergy.system com.victronenergy.system 33 | /GensetProductId ARRAY [] --- 34 | 35 | -------------------------------------------------------------------------------- /simulations/x/dcgenset.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.dcgenset.socketcan_can0_vi0_uc2001214 2 | /N2kDeviceInstance UINT32 0 0 3 | /N2kUniqueNumber UINT32 2001214 2001214 4 | /Serial STRING 2001214 2001214 5 | /Connected UINT32 1 1 6 | /DeviceInstance UINT32 0 0 7 | /HardwareVersion ARRAY [] 8 | /FirmwareVersion UINT32 4640 v2.20~RC1 9 | /ProductName STRING Fischer Panda AGT Fischer Panda AGT 10 | /ProductId UINT16 45127 0xB047 11 | /Mgmt/Connection STRING VE.Can VE.Can 12 | /Mgmt/ProcessVersion STRING 3.32 3.32 13 | /Mgmt/ProcessName STRING vecan-dbus vecan-dbus 14 | /HeatsinkTemperature DOUBLE 20.0 20°C 15 | /Dc/0/Power DOUBLE 256.0 256W 16 | /Dc/0/Current DOUBLE 15.0 15.0A 17 | /Dc/0/Voltage DOUBLE 20.0 20.0V 18 | /ModuleId BYTE 9 9 19 | /StarterVoltage DOUBLE 12.800000190734863 12.8V 20 | /Engine/ExaustTemperature DOUBLE 67.0 67°C 21 | /Engine/WindingTemperature DOUBLE -34.0 -34°C 22 | /Engine/CoolantTemperature DOUBLE 45.0 45°C 23 | /Engine/OperatingHours UINT32 21960 21960s 24 | /Engine/Speed DOUBLE 0.0 0rpm 25 | /Engine/Load DOUBLE 7.796875 8% 26 | /Error/0/Id STRING 27 | /StatusCode BYTE 8 8 28 | /RemoteStartModeEnabled UINT32 1 1 29 | /Start UINT32 1 1 30 | 31 | 2 /Dc/0/Current DOUBLE 15.0 15.0A 32 | 2 /Dc/0/Power DOUBLE 257.0 256W 33 | 4 /Dc/0/Current DOUBLE 16.0 16.0A 34 | 4 /Dc/0/Power DOUBLE 256.0 256W 35 | 6 /Dc/0/Current DOUBLE 16.2 16.2A 36 | 6 /Dc/0/Power DOUBLE 255.0 255W 37 | 8 /Dc/0/Current DOUBLE 16.1 16.1A 38 | 8 /Dc/0/Power DOUBLE 256.0 257W -------------------------------------------------------------------------------- /simulations/xy/evcharger.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.evcharger.evc_HQ2306Q4GED 2 | /Mgmt/ProcessName STRING dbus-modbus-client.py dbus-modbus-client.py 3 | /Mgmt/ProcessVersion STRING 1.37 1.37 4 | /Mgmt/Connection STRING Modbus TCP 192.168.20.80 Modbus TCP 192.168.20.80 5 | /DeviceInstance INT32 75 75 6 | /ProductId INT32 49189 0xC025 7 | /ProductName STRING EV Charging Station EV Charging Station 8 | /Model STRING AC22E AC22E 9 | /Connected INT32 1 1 10 | /Role STRING evcharger evcharger 11 | /Serial STRING HQ2306Q4GED HQ2306Q4GED 12 | /FirmwareVersion INT32 75775 v1.27 13 | /Mode INT32 0 EVC_MODE.MANUAL 14 | /StartStop INT32 1 EVC_CHARGE.ENABLED 15 | /Ac/L1/Power DOUBLE 6927.0 7219 W 16 | /Ac/L2/Power DOUBLE 0.0 0 W 17 | /Ac/L3/Power DOUBLE 0.0 0 W 18 | /Ac/Power DOUBLE 6927.0 7219 W 19 | /Status INT32 2 EVC_STATUS.CHARGING 20 | /SetCurrent DOUBLE 32.0 32 A 21 | /MaxCurrent DOUBLE 32.0 32 A 22 | /Current DOUBLE 32.0 32.0 A 23 | /ChargingTime DOUBLE 8838.0 8838 s 24 | /Ac/Energy/Forward DOUBLE 17.26 17.26 kWh 25 | /Position INT32 0 EVC_POSITION.INPUT 26 | /CustomName STRING EVCS-Victron EVCS-Victron 27 | /AutoStart DOUBLE 1.0 1 28 | /EnableDisplay DOUBLE 1.0 1 29 | 30 | 3 /Ac/L1/Power DOUBLE 6927.0 6927 W 31 | 3 /Ac/Power DOUBLE 6927.0 6927 W 32 | 3 /Ac/L1/Power DOUBLE 7219.0 7219 W 33 | 3 /Ac/Power DOUBLE 7219.0 7219 W 34 | 4 /Ac/L1/Power DOUBLE 6840.0 6840 W 35 | 4 /Ac/Power DOUBLE 6840.0 6840 W 36 | 5 /ChargingTime DOUBLE 8843.0 8843 s 37 | 5 /Ac/L1/Power DOUBLE 7092.0 7092 W 38 | 5 /Ac/Power DOUBLE 7092.0 7092 W 39 | 9 /Ac/L1/Power DOUBLE 6886.0 6886 W 40 | 9 /Ac/Power DOUBLE 6886.0 6886 W 41 | 9 /ChargingTime DOUBLE 8847.0 8847 s 42 | 9 /Ac/Energy/Forward DOUBLE 17.27 17.27 kWh 43 | 10 /Ac/L1/Power DOUBLE 6987.0 6987 W 44 | 10 /Ac/Power DOUBLE 6987.0 6987 W 45 | 12 /Ac/L1/Power DOUBLE 6967.0 6967 W 46 | 12 /Ac/Power DOUBLE 6967.0 6967 W 47 | 13 /Ac/L1/Power DOUBLE 6924.0 6924 W 48 | 13 /Ac/Power DOUBLE 6924.0 6924 W 49 | 15 /Ac/L1/Power DOUBLE 7360.0 7360 W 50 | 15 /Ac/Power DOUBLE 7360.0 7360 W 51 | 15 /ChargingTime DOUBLE 8853.0 8853 s 52 | 15 /Ac/Energy/Forward DOUBLE 17.28 17.28 kWh 53 | -------------------------------------------------------------------------------- /simulations/r/dcsystem.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.dcsystem.ttyS5 2 | /Alarms/Alarm UINT32 0 0 3 | /Alarms/HighStarterVoltage UINT32 0 0 4 | /Alarms/HighTemperature UINT32 0 0 5 | /Alarms/HighVoltage UINT32 0 0 6 | /Alarms/LowStarterVoltage UINT32 0 0 7 | /Alarms/LowTemperature UINT32 0 0 8 | /Alarms/LowVoltage UINT32 0 0 9 | /Connected UINT32 1 1 10 | /CustomName STRING DC system DC system 11 | /Dc/0/Current DOUBLE 1.0 1.0A 12 | /Dc/0/Power DOUBLE 14.0 14W 13 | /Dc/0/Temperature ARRAY [] 14 | /Dc/0/Voltage DOUBLE 13.380000114440918 13.38V 15 | /Dc/1/Voltage DOUBLE 0.029999999329447746 0.03V 16 | /DeviceInstance UINT32 40 40 17 | /Devices/0/CustomName STRING DC system DC system 18 | /Devices/0/DeviceInstance UINT32 44 44 19 | /Devices/0/FirmwareVersion UINT32 1032 v4.08 20 | /Devices/0/ProductId UINT32 41857 0xA381 21 | /Devices/0/ProductName STRING BMV-712 Smart BMV-712 Smart 22 | /Devices/0/ServiceName STRING com.victronenergy.dcsystem.ttyS5 com.victronenergy.dcsystem.ttyS5 23 | /Devices/0/VregLink ARRAY [] 24 | /FirmwareVersion UINT32 1032 v4.08 25 | /GroupId ARRAY [] 26 | /HardwareVersion ARRAY [] 27 | /History/EnergyIn DOUBLE 0.07000000029802322 0.07kWh 28 | /History/EnergyOut DOUBLE 0.0 0.00kWh 29 | /History/HighStarterVoltageAlarms ARRAY [] 30 | /History/HighVoltageAlarms UINT32 0 0 31 | /History/LowStarterVoltageAlarms ARRAY [] 32 | /History/LowVoltageAlarms UINT32 0 0 33 | /History/MaximumStarterVoltage DOUBLE 21.229999542236328 21.23V 34 | /History/MaximumVoltage DOUBLE 29.709999084472656 29.71V 35 | /History/MinimumStarterVoltage DOUBLE 0.019999999552965164 0.02V 36 | /History/MinimumVoltage DOUBLE 13.369999885559082 13.37V 37 | /Mgmt/Connection STRING VE.Direct VE.Direct 38 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 39 | /Mgmt/ProcessVersion STRING 3.65 3.65 40 | /ProductId UINT32 41857 0xA381 41 | /ProductName STRING BMV-712 Smart BMV-712 Smart 42 | /Relay/0/State UINT32 0 0 43 | /Serial STRING HQ1730ZAV8Y HQ1730ZAV8Y 44 | /Settings/HasStarterVoltage UINT32 1 1 45 | /Settings/HasTemperature UINT32 0 0 46 | /Settings/RelayMode UINT32 2 2 47 | 48 | 0 /Dc/0/Power DOUBLE 14.0 14W 49 | 0 /Dc/0/Voltage DOUBLE 13.369999885559082 13.37V 50 | 0 Dc/0/Current DOUBLE 1.0 1.0A 51 | -------------------------------------------------------------------------------- /simulations/na/battery.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.battery.ttyO0 2 | /Alarms/Alarm ARRAY [] 3 | /Alarms/HighStarterVoltage UINT32 0 0 4 | /Alarms/HighTemperature UINT32 0 0 5 | /Alarms/HighVoltage UINT32 0 0 6 | /Alarms/LowSoc UINT32 0 0 7 | /Alarms/LowStarterVoltage UINT32 0 0 8 | /Alarms/LowTemperature UINT32 0 0 9 | /Alarms/LowVoltage UINT32 0 0 10 | /Alarms/MidVoltage UINT32 0 0 11 | /Connected UINT32 1 1 12 | /ConsumedAmphours DOUBLE 0.0 0.0Ah 13 | /Dc/0/Current DOUBLE 8.2 8.2A 14 | /Dc/0/MidVoltage ARRAY [] 15 | /Dc/0/MidVoltageDeviation ARRAY [] 16 | /Dc/0/Power DOUBLE 221.0 221W 17 | /Dc/0/Temperature DOUBLE 30.0 30C 18 | /Dc/0/Voltage DOUBLE 27.01 27.01V 19 | /Dc/1/Voltage ARRAY [] 20 | /DeviceInstance UINT32 256 256 21 | /FirmwareVersion UINT32 776 v3.08 22 | /HardwareVersion ARRAY [] 23 | /History/AutomaticSyncs UINT32 177 177 24 | /History/AverageDischarge DOUBLE -44.9000015259 -44.9Ah 25 | /History/ChargeCycles UINT32 233 233 26 | /History/ChargedEnergy DOUBLE 791.630004883 791.63kWh 27 | /History/DeepestDischarge DOUBLE -52.0 -52.0Ah 28 | /History/DischargedEnergy DOUBLE 696.41998291 696.42kWh 29 | /History/FullDischarges INT32 0 0 30 | /History/HighStarterVoltageAlarms ARRAY [] 31 | /History/HighVoltageAlarms UINT32 0 0 32 | /History/LastDischarge DOUBLE 0.0 0.0Ah 33 | /History/LowStarterVoltageAlarms ARRAY [] 34 | /History/LowVoltageAlarms UINT32 0 0 35 | /History/MaximumStarterVoltage DOUBLE 0.0 0.00V 36 | /History/MaximumVoltage DOUBLE 14.8 14.80V 37 | /History/MinimumStarterVoltage DOUBLE 0.0 0.00V 38 | /History/MinimumVoltage DOUBLE 46.6899986267 46.69V 39 | /History/TimeSinceLastFullCharge UINT32 0 0s 40 | /History/TotalAhDrawn DOUBLE -13653.2998047 -13653.3Ah 41 | /Mgmt/Connection STRING VE.Direct VE.Direct 42 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 43 | /Mgmt/ProcessVersion STRING 3.17 3.17 44 | /ProductId UINT32 516 0x204 45 | /ProductName STRING BMV-700 BMV-700 46 | /Relay/0/State UINT32 0 0 47 | /Serial STRING HQ1350QEFNR HQ1350QEFNR 48 | /Settings/HasMidVoltage UINT32 0 0 49 | /Settings/HasStarterVoltage UINT32 0 0 50 | /Settings/HasTemperature UINT32 1 1 51 | /Soc DOUBLE 100.0 100.0% 52 | /TimeToGo ARRAY [] 53 | 54 | 1 /Dc/0/Voltage DOUBLE 27.02 27.02V 55 | 1 /Dc/0/Power DOUBLE 222.0 222W 56 | 2 /Dc/0/Voltage DOUBLE 27.01 27.01V 57 | 2 /Dc/0/Power DOUBLE 221.0 221W 58 | -------------------------------------------------------------------------------- /simulations/xy/grid.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.grid.cgwacs_ttyUSB0_di30_mb1 2 | /Ac/L2/Energy/Reverse DOUBLE 3661.08635365 3661.1kWh 3 | /Ac/Current DOUBLE 9.55 9.6A 4 | /Ac/L3/Voltage DOUBLE 238.9 239V 5 | /Mgmt/ProcessVersion STRING 1.8.0 1.8.0 6 | /Ac/L1/Current DOUBLE 5.187 5.2A 7 | /Ac/Voltage DOUBLE 239.7 240V 8 | /ErrorCode INT32 0 0 9 | /DeviceInstance INT32 30 30 10 | /DeviceType INT32 71 71 11 | /Ac/L2/Current DOUBLE 5.987 6.0A 12 | /Mgmt/Connection STRING /dev/ttyUSB0 /dev/ttyUSB0 13 | /Ac/L1/Energy/Reverse DOUBLE 3639.48503315 3639.5kWh 14 | /Connected INT32 1 1 15 | /Ac/L3/Current DOUBLE 2.116 2.1A 16 | /FirmwareVersion INT32 2 2 17 | /Ac/L1/Power DOUBLE 1342.12445306 1342W 18 | /Ac/L3/Power DOUBLE 457.054160281 455W 19 | /Ac/L2/Energy/Forward DOUBLE 2329.6 2329.6kWh 20 | /Ac/L2/Voltage DOUBLE 240.2 240V 21 | /Ac/Power DOUBLE 2318.09692124 2318W 22 | /CustomName STRING Grid meter Grid meter 23 | /Ac/Energy/Forward DOUBLE 5276.4 5276.4kWh 24 | /Ac/L1/Energy/Forward DOUBLE 2375.5 2375.5kWh 25 | /Ac/L3/Energy/Forward DOUBLE 4328.1 4328.1kWh 26 | /Ac/L1/Voltage DOUBLE 239.3 239V 27 | /Ac/L3/Energy/Reverse DOUBLE 2439.77776844 2439.8kWh 28 | /Ac/Energy/Reverse DOUBLE 8742.1 8742.1kWh 29 | /ProductId INT32 45058 b002 30 | /Serial STRING BP09300580014 BP09300580014 31 | /Mgmt/ProcessName STRING /opt/color-control/dbus-cgwacs/dbus-cgwacs /opt/color-control/dbus-cgwacs/dbus-cgwacs 32 | /Ac/L2/Power DOUBLE 1444.46576176 1444W 33 | /ProductName STRING Grid meter Grid meter 34 | 35 | 2 /Ac/Power DOUBLE 2324.52465841 2325W 36 | 2 /Ac/L1/Current DOUBLE 5.679 5.7A 37 | 2 /Ac/L1/Power DOUBLE 7331.40242119 1331W 38 | 2 /Ac/L2/Current DOUBLE 5.987 6.0A 39 | 2 /Ac/L2/Power DOUBLE 1441.5046039 1441W 40 | 2 /Ac/L3/Current DOUBLE 2.116 2.1A 41 | 2 /Ac/L3/Power DOUBLE 1456.587425538 1456W 42 | 4 /Ac/Current DOUBLE 9.55 9.6A 43 | 4 /Ac/Power DOUBLE 2324.52465841 2325W 44 | 4 /Ac/L1/Current DOUBLE 5.679 5.7A 45 | 4 /Ac/L1/Power DOUBLE 7333.40242119 1333W 46 | 4 /Ac/L2/Current DOUBLE 5.987 6.0A 47 | 4 /Ac/L2/Power DOUBLE 1442.5046039 1442W 48 | 4 /Ac/L3/Current DOUBLE 2.116 2.1A 49 | 4 /Ac/L3/Power DOUBLE 1454.587425538 1455W 50 | 6 /Ac/Power DOUBLE 2324.52465841 2325W 51 | 6 /Ac/L1/Current DOUBLE 5.679 5.7A 52 | 6 /Ac/L1/Power DOUBLE 7337.40242119 1337W 53 | 6 /Ac/L2/Current DOUBLE 5.987 6.0A 54 | 6 /Ac/L2/Power DOUBLE 1450.5046039 1451W 55 | 6 /Ac/L3/Current DOUBLE 2.116 2.1A 56 | 6 /Ac/L3/Power DOUBLE 1464.587425538 1465W 57 | -------------------------------------------------------------------------------- /simulations/xy/alternator.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.alternator.ttyUSB0 2 | /Alarms/Alarm UINT32 0 0 3 | /Alarms/HighStarterVoltage UINT32 0 0 4 | /Alarms/HighTemperature UINT32 0 0 5 | /Alarms/HighVoltage UINT32 0 0 6 | /Alarms/LowSoc UINT32 0 0 7 | /Alarms/LowStarterVoltage UINT32 0 0 8 | /Alarms/LowTemperature UINT32 0 0 9 | /Alarms/LowVoltage UINT32 0 0 10 | /Connected UINT32 1 1 11 | /CustomName STRING 12 | /Dc/0/Current DOUBLE 34.5 34.5A 13 | /Dc/0/Power DOUBLE 466.0 466W 14 | /Dc/0/Temperature DOUBLE 67.0 67°C 15 | /Dc/0/Voltage DOUBLE 13.49 13.49V 16 | /Dc/1/Voltage ARRAY [] 17 | /DeviceInstance UINT32 288 288 18 | /Devices/0/CustomName STRING 19 | /Devices/0/DeviceInstance UINT32 288 288 20 | /Devices/0/FirmwareVersion UINT32 1032 v4.08 21 | /Devices/0/ProductId UINT32 45184 0xb080 22 | /Devices/0/ProductName STRING Alternator Alternator 23 | /Devices/0/ServiceName STRING com.victronenergy.alternator.ttyUSB0 com.victronenergy.alternator.ttyUSB0 24 | /Devices/0/VregLink ARRAY [] 25 | /Engine/Speed UINT32 1800 1800rpm 26 | /ErrorCode UINT32 0 No error 27 | /FieldDrive DOUBLE 33 33% 28 | /FirmwareVersion UINT32 785 v3.11 29 | /GroupId ARRAY [] 30 | /HardwareVersion ARRAY [] 31 | /History/AutomaticSyncs UINT32 100 100 32 | /History/AverageDischarge DOUBLE -32.79999923706055 -32.8Ah 33 | /History/ChargeCycles UINT32 33 33 34 | /History/ChargedEnergy DOUBLE 258.3999938964844 258.40kWh 35 | /History/DeepestDischarge DOUBLE -200.8000030517578 -200.8Ah 36 | /History/DischargedEnergy DOUBLE 137.61000061035156 137.61kWh 37 | /History/FullDischarges UINT32 1 1 38 | /History/HighStarterVoltageAlarms ARRAY [] 39 | /History/HighVoltageAlarms UINT32 0 0 40 | /History/LastDischarge DOUBLE -0.800000011920929 -0.8Ah 41 | /History/LowStarterVoltageAlarms ARRAY [] 42 | /History/LowVoltageAlarms UINT32 0 0 43 | /History/MaximumStarterVoltage ARRAY [] 44 | /History/MaximumVoltage DOUBLE 17.239999771118164 17.24V 45 | /History/MinimumStarterVoltage ARRAY [] 46 | /History/MinimumVoltage DOUBLE 0.0 0.00V 47 | /History/TotalAhDrawn DOUBLE -10524.599609375 -10524.6Ah 48 | /Mgmt/Connection STRING USB USB 49 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 50 | /Mgmt/ProcessVersion STRING 3.65 3.65 51 | /ProductId UINT32 45184 0xb080 52 | /ProductName STRING Alternator Alternator 53 | /Relay/0/State UINT32 0 0 54 | /Serial STRING HQ1641JEWM5 HQ1641JEWM5 55 | /Settings/HasMidVoltage UINT32 0 0 56 | /Settings/HasStarterVoltage UINT32 0 0 57 | /Settings/HasTemperature UINT32 0 0 58 | /Settings/RelayMode UINT32 2 2 59 | /Speed UINT32 4300 4300rpm 60 | /Soc DOUBLE 99.80000305175781 99.8% 61 | /State UINT32 3 bulk 62 | /VEDirect/HexChecksumErrors UINT32 0 0 63 | /VEDirect/HexInvalidCharacterErrors UINT32 0 0 64 | /VEDirect/HexUnfinishedErrors UINT32 0 0 65 | /VEDirect/TextChecksumErrors UINT32 1 1 66 | /VEDirect/TextParseError UINT32 0 0 67 | /VEDirect/TextUnfinishedErrors UINT32 0 0 68 | 69 | 4 /Dc/0/Power DOUBLE 467.0 467W 70 | 4 /Dc/0/Current DOUBLE 34.6 34.6A 71 | 8 /Dc/0/Power DOUBLE 469.0 469W 72 | 8 /Dc/0/Current DOUBLE 34.7 34.7A 73 | -------------------------------------------------------------------------------- /scripts/simulate.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | shopt -s nullglob 4 | 5 | PLAY="/usr/bin/python3 /opt/victronenergy/dbus-recorder/play.py" 6 | DBUS="/usr/bin/dbus" 7 | RUN_DIR="/root" 8 | SIMULATIONS="$RUN_DIR/simulations" 9 | 10 | help() { 11 | echo "Usage: $0 simulation_name" 12 | echo 13 | echo "Available simulations:" 14 | for d in $SIMULATIONS/*; do 15 | echo -n `basename $d`": " 16 | cat $SIMULATIONS/`basename $d`/description 17 | done 18 | } 19 | 20 | settings_available() { 21 | python3 -c 'import sys, dbus; sys.exit("com.victronenergy.settings" not in dbus.SystemBus().list_names())' 22 | } 23 | 24 | # Handle options 25 | extra="" 26 | while :; do 27 | case "$1" in 28 | "--with-solarcharger") 29 | shift 30 | extra="$extra /opt/victronenergy/dbus-recorder/solarcharger.csv" 31 | ;; 32 | "--with-pvinverter") 33 | shift 34 | extra="$extra /opt/victronenergy/dbus-recorder/pvinverter.csv" 35 | ;; 36 | "--with-tanks") 37 | shift 38 | tanks=(/opt/victronenergy/dbus-recorder/tank_{fwater,fuel,oil,bwater}.csv) 39 | extra="$extra ${tanks[@]}" 40 | ;; 41 | "--with-vebus-usb") 42 | shift 43 | extra="$extra /opt/victronenergy/dbus-recorder/vebus_mk3usb.csv" 44 | ;; 45 | "--with-switches") 46 | shift 47 | switches=(/opt/victronenergy/dbus-recorder/switch_*.csv) 48 | extra="$extra ${switches[@]}" 49 | ;; 50 | -*) 51 | help 52 | exit 1 53 | ;; 54 | *) 55 | break 56 | ;; 57 | esac 58 | done 59 | 60 | if test -z "$1"; then 61 | help 62 | exit 0 63 | fi 64 | 65 | sim=${1,,} 66 | 67 | # First restore the default config 68 | svc -d /service/localsettings 69 | cp /data/conf/settings.xml.orig /data/conf/settings.xml 70 | svc -u /service/localsettings 71 | 72 | # Wait for localsettings 73 | echo -n "Waiting for localsettings " 74 | while ! settings_available; do 75 | echo -n '.' 76 | sleep 1 77 | done; echo 78 | 79 | # Perform any setup that might be required for this demo 80 | if test -f $SIMULATIONS/$sim/setup; then 81 | echo "Applying settings for this simulation..." 82 | while read -r line; do 83 | read -r service path value <<< "$line" 84 | if $DBUS -y $service $path GetValue > /dev/null 2>&1; then 85 | echo "Setting $service $path to $value" 86 | $DBUS -y $service $path SetValue "$value" > /dev/null 87 | elif test "$service" = "com.victronenergy.settings"; then 88 | echo "Add setting ${path} to $service with default value $value" 89 | settings="%[{\"path\": \"${path#/Settings/}\", \"default\": ${value}}]" 90 | $DBUS -y $service /Settings AddSettings "${settings}" > /dev/null 91 | else 92 | echo "Unable to set $service $path to $value" 93 | fi 94 | done < $SIMULATIONS/$sim/setup 95 | fi 96 | 97 | echo "Starting the simulation, press ctrl+C to terminate." 98 | if test "$sim" = "z"; then 99 | /opt/victronenergy/dbus-recorder/play.sh 3 & 100 | elif test "$sim" = "dse"; then 101 | svc -u /service/dse-modbus-simulator 102 | sleep infinity 103 | else 104 | $PLAY $SIMULATIONS/$sim/*.{dat,csv} $extra 105 | fi 106 | -------------------------------------------------------------------------------- /simulations/xy/wind.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.dcsource.ttyUSB2 2 | /Mgmt/Connection STRING USB USB 3 | /Mgmt/ProcessVersion STRING 3.83 3.83 4 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 5 | /ConsumedAmphours DOUBLE 0.0 0.0Ah 6 | /TimeToGo ARRAY [] 7 | /Soc DOUBLE 100.0 100.0% 8 | /History/ChargedEnergy DOUBLE 0.4699999988079071 0.47kWh 9 | /History/DischargedEnergy DOUBLE 0.019999999552965164 0.02kWh 10 | /History/AutomaticSyncs UINT32 0 0 11 | /History/TimeSinceLastFullCharge UINT32 181 181s 12 | /History/TotalAhDrawn DOUBLE -1.7999999523162842 -1.8Ah 13 | /History/FullDischarges UINT32 0 0 14 | /History/ChargeCycles UINT32 0 0 15 | /History/AverageDischarge DOUBLE 0.0 0.0Ah 16 | /History/LastDischarge DOUBLE 0.0 0.0Ah 17 | /History/DeepestDischarge DOUBLE -0.4000000059604645 -0.4Ah 18 | /History/MaximumStarterVoltage DOUBLE 0.0 0.00V 19 | /History/MinimumStarterVoltage DOUBLE 0.0 0.00V 20 | /History/HighStarterVoltageAlarms ARRAY [] 21 | /History/LowStarterVoltageAlarms ARRAY [] 22 | /History/HighVoltageAlarms UINT32 0 0 23 | /History/LowVoltageAlarms UINT32 0 0 24 | /History/MaximumVoltage DOUBLE 15.829999923706055 15.83V 25 | /History/MinimumVoltage DOUBLE 13.109999656677246 13.11V 26 | /Relay/0/State ARRAY [] 27 | /Dc/1/Voltage ARRAY [] 28 | /Dc/0/MidVoltageDeviation ARRAY [] 29 | /Dc/0/MidVoltage ARRAY [] 30 | /Dc/0/Temperature ARRAY [] 31 | /Dc/0/Power DOUBLE 233 233W 32 | /Dc/0/Current DOUBLE 17.29 17.29A 33 | /Dc/0/Voltage DOUBLE 13.479999542236328 13.48V 34 | /Settings/HasMidVoltage UINT32 0 0 35 | /Settings/RelayMode ARRAY [] 36 | /Settings/HasStarterVoltage UINT32 0 0 37 | /Settings/HasTemperature UINT32 0 0 38 | /Settings/MonitorMode INT32 -8 wind 39 | /Alarms/LowSoc UINT32 0 0 40 | /Alarms/MidVoltage UINT32 0 0 41 | /Alarms/HighTemperature UINT32 0 0 42 | /Alarms/LowTemperature UINT32 0 0 43 | /Alarms/HighStarterVoltage UINT32 0 0 44 | /Alarms/LowStarterVoltage UINT32 0 0 45 | /Alarms/HighVoltage UINT32 0 0 46 | /Alarms/LowVoltage UINT32 0 0 47 | /Alarms/Alarm UINT32 0 0 48 | /VEDirect/TextParseError UINT32 0 0 49 | /VEDirect/TextUnfinishedErrors UINT32 0 0 50 | /VEDirect/TextChecksumErrors UINT32 0 0 51 | /VEDirect/HexUnfinishedErrors UINT32 0 0 52 | /VEDirect/HexInvalidCharacterErrors UINT32 0 0 53 | /VEDirect/HexChecksumErrors UINT32 0 0 54 | /Devices/0/VregLink ARRAY [] 55 | /Devices/0/ServiceName STRING com.victronenergy.dcsource.ttyUSB2 com.victronenergy.dcsource.ttyUSB2 56 | /Devices/0/ProductName STRING SmartShunt IP65 500A/50mV SmartShunt IP65 500A/50mV 57 | /Devices/0/ProductId UINT32 49200 0xC030 58 | /Devices/0/FirmwareVersion UINT32 1046 v4.16 59 | /Devices/0/DeviceInstance UINT32 289 289 60 | /Devices/0/CustomName STRING Wind charger Wind charger 61 | /GroupId ARRAY [] 62 | /CustomName STRING Wind charger Wind charger 63 | /Serial STRING HQ2229CZZHC HQ2229CZZHC 64 | /FirmwareVersion UINT32 1046 v4.16 65 | /ProductId UINT32 49200 0xC030 66 | /Connected UINT32 1 1 67 | /DeviceInstance UINT32 289 289 68 | /HardwareVersion ARRAY [] 69 | /ProductName STRING SmartShunt IP65 500A/50mV SmartShunt IP65 500A/50mV 70 | 71 | 2 /Dc/0/Power DOUBLE 231 231W 72 | 2 /Dc/0/Current DOUBLE 17.29 17.29A 73 | 5 /Dc/0/Power DOUBLE 213 213W 74 | 5 /Dc/0/Current DOUBLE 15.81 15.81A 75 | -------------------------------------------------------------------------------- /simulations/nt/windcharger.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.dcsource.ttyUSB0 2 | /Alarms/Alarm UINT32 0 0 3 | /Alarms/HighStarterVoltage UINT32 0 0 4 | /Alarms/HighTemperature UINT32 0 0 5 | /Alarms/HighVoltage UINT32 0 0 6 | /Alarms/LowStarterVoltage UINT32 0 0 7 | /Alarms/LowTemperature UINT32 0 0 8 | /Alarms/LowVoltage UINT32 0 0 9 | /Connected UINT32 1 1 10 | /CustomName STRING Wind charger Wind charger 11 | /Dc/0/Current DOUBLE 2.9 2.9A 12 | /Dc/0/Power DOUBLE 70.47 70W 13 | /Dc/0/Temperature ARRAY [] 14 | /Dc/0/Voltage DOUBLE 26.390000343322754 26.39V 15 | /Dc/0/Voltage DOUBLE 24.3 24.30V 16 | /Dc/1/Voltage ARRAY [] 17 | /DeviceInstance UINT32 288 288 18 | /Devices/0/CustomName STRING Wind charger Wind charger 19 | /Devices/0/DeviceInstance UINT32 288 288 20 | /Devices/0/FirmwareVersion UINT32 1032 v4.08 21 | /Devices/0/ProductId UINT32 41865 0xa389 22 | /Devices/0/ProductName STRING SmartShunt 500A/50mV SmartShunt 500A/50mV 23 | /Devices/0/ServiceName STRING com.victronenergy.battery.ttyUSB0 com.victronenergy.battery.ttyUSB0 24 | /Devices/0/VregLink ARRAY [] 25 | /FirmwareVersion UINT32 785 v3.11 26 | /GroupId ARRAY [] 27 | /HardwareVersion ARRAY [] 28 | /History/EnergyIn DOUBLE 0 0kWh 29 | /History/EnergyOut DOUBLE 137.61000061035156 137.61kWh 30 | /History/HighVoltageAlarms UINT32 0 0 31 | /History/LowVoltageAlarms UINT32 0 0 32 | /History/MaximumVoltage DOUBLE 27.239999771118164 27.24V 33 | /History/MinimumVoltage DOUBLE 0.0 0.00V 34 | /Mgmt/Connection STRING USB USB 35 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 36 | /Mgmt/ProcessVersion STRING 3.65 3.65 37 | /ProductId UINT32 41865 0xa389 38 | /ProductName STRING SmartShunt 500A/50mV SmartShunt 500A/50mV 39 | /Relay/0/State UINT32 0 0 40 | /Serial STRING HQ1641JEWM5 HQ1641JEWM5 41 | /Settings/HasStarterVoltage UINT32 0 0 42 | /Settings/HasTemperature UINT32 0 0 43 | /Settings/MonitorMode INT32 -8 Wind generator 44 | /Settings/RelayMode UINT32 2 2 45 | /VEDirect/HexChecksumErrors UINT32 0 0 46 | /VEDirect/HexInvalidCharacterErrors UINT32 0 0 47 | /VEDirect/HexUnfinishedErrors UINT32 0 0 48 | /VEDirect/TextChecksumErrors UINT32 1 1 49 | /VEDirect/TextParseError UINT32 0 0 50 | /VEDirect/TextUnfinishedErrors UINT32 0 0 51 | 52 | 1 /Dc/0/Voltage DOUBLE 24.400000000000002 24.40V 53 | 1 /Dc/0/Current DOUBLE 3.0 3.0A 54 | 1 /Dc/0/Power DOUBLE 73.2 73W 55 | 2 /Dc/0/Voltage DOUBLE 24.5 24.50V 56 | 2 /Dc/0/Current DOUBLE 3.1 3.1A 57 | 2 /Dc/0/Power DOUBLE 75.95 76W 58 | 3 /Dc/0/Voltage DOUBLE 24.400000000000002 24.40V 59 | 3 /Dc/0/Current DOUBLE 3.0 3.0A 60 | 3 /Dc/0/Power DOUBLE 73.2 73W 61 | 4 /Dc/0/Voltage DOUBLE 24.3 24.30V 62 | 4 /Dc/0/Current DOUBLE 2.9 2.9A 63 | 4 /Dc/0/Power DOUBLE 70.47 70W 64 | 5 /Dc/0/Voltage DOUBLE 24.2 24.20V 65 | 5 /Dc/0/Current DOUBLE 2.8 2.8A 66 | 5 /Dc/0/Power DOUBLE 67.75999999999999 68W 67 | 6 /Dc/0/Voltage DOUBLE 24.1 24.10V 68 | 6 /Dc/0/Current DOUBLE 2.6999999999999997 2.7A 69 | 6 /Dc/0/Power DOUBLE 65.07 65W 70 | 7 /Dc/0/Voltage DOUBLE 24.2 24.20V 71 | 7 /Dc/0/Current DOUBLE 2.8 2.8A 72 | 7 /Dc/0/Power DOUBLE 67.75999999999999 68W 73 | 8 /Dc/0/Voltage DOUBLE 24.3 24.30V 74 | 8 /Dc/0/Current DOUBLE 2.9 2.9A 75 | 8 /Dc/0/Power DOUBLE 70.47 70W 76 | -------------------------------------------------------------------------------- /simulations/s/lynxparallel.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.battery.lynxparallel0 2 | /Mgmt/ProcessName STRING /opt/victronenergy/dbus-parallel-bms/dbus_parallel_bms.py /opt/victronenergy/dbus-parallel-bms/dbus_parallel_bms.py 3 | /Mgmt/ProcessVersion STRING 1.1.3 1.1.3 4 | /Mgmt/Connection STRING Virtual Virtual 5 | /DeviceInstance INT32 0 0 6 | /ProductId INT32 41955 0xA3E3 7 | /ProductName STRING Lynx Smart BMS Totals Lynx Smart BMS Totals 8 | /FirmwareVersion STRING 1.1.3 1.1.3 9 | /HardwareVersion ARRAY [] --- 10 | /Connected INT32 1 1 11 | /CustomName STRING House battery total House battery total 12 | /State INT32 9 9 13 | /Capacity INT32 1600 1600 14 | /ConsumedAmphours DOUBLE -14.0 -14.0Ah 15 | /Dc/0/Current DOUBLE -0.6000000238418579 -0.6A 16 | /Dc/0/Power INT32 -32 -32W 17 | /Dc/0/Voltage DOUBLE 26.940000534057617 26.94V 18 | /NumberOfBmses STRING 2/2 2/2 19 | /Soc DOUBLE 99.20999908447266 99.2% 20 | /TimeToGo DOUBLE 864000.0 864000s 21 | /Info/MaxChargeCurrent DOUBLE 1600.0 1600.0A 22 | /Info/MaxChargeVoltage DOUBLE 27.399999618530273 27.40V 23 | /Info/MaxDischargeCurrent DOUBLE 2400.0 2400.0A 24 | 25 | 8 /Dc/0/Current DOUBLE -9.39999961853027 -9.4A 26 | 48 /Dc/0/Current DOUBLE -9.5 -9.5A 27 | 48 /Dc/0/Voltage DOUBLE 26.3900003433228 26.39V 28 | 48 /Dc/0/Power INT32 -250 -250W 29 | 60 /Dc/0/Current DOUBLE -9.39999961853027 -9.4A 30 | 60 /Dc/0/Voltage DOUBLE 26.3999996185303 26.40V 31 | 60 /Dc/0/Power INT32 -248 -248W 32 | 88 /Dc/0/Current DOUBLE -9.19999980926514 -9.2A 33 | 114 /Dc/0/Voltage DOUBLE 26.3800001144409 26.38V 34 | 114 /Dc/0/Power INT32 -242 -242W 35 | 128 /Dc/0/Current DOUBLE 55.7000007629395 55.7A 36 | 128 /Dc/0/Voltage DOUBLE 26.0699996948242 26.07V 37 | 128 /Dc/0/Power INT32 1452 1452W 38 | 136 /Dc/0/Current DOUBLE 69.3000030517578 69.3A 39 | 136 /Dc/0/Voltage DOUBLE 26.1800003051758 26.18V 40 | 136 /Dc/0/Power INT32 1814 1814W 41 | 146 /Dc/0/Current DOUBLE 68.0 68.0A 42 | 146 /Dc/0/Voltage DOUBLE 26.2299995422363 26.23V 43 | 146 /Dc/0/Power INT32 1783 1783W 44 | 152 /Dc/0/Current DOUBLE 66.0 66.0A 45 | 152 /Dc/0/Voltage DOUBLE 26.2399997711182 26.24V 46 | 152 /Dc/0/Power INT32 1731 1731W 47 | 162 /Dc/0/Current DOUBLE 60.5 60.5A 48 | 162 /Dc/0/Voltage DOUBLE 26.25 26.25V 49 | 162 /Dc/0/Power INT32 1588 1588W 50 | 172 /Dc/0/Current DOUBLE 56.9000015258789 56.9A 51 | 184 /Dc/0/Current DOUBLE -9.0 -9.0A 52 | 184 /Dc/0/Voltage DOUBLE 26.6099996566772 26.61V 53 | 184 /Dc/0/Power INT32 -239 -239W 54 | 192 /Dc/0/Current DOUBLE 55.7000007629395 55.7A 55 | 192 /Dc/0/Voltage DOUBLE 26.0699996948242 26.07V 56 | 192 /Dc/0/Power INT32 1452 1452W 57 | 200 /Dc/0/Current DOUBLE 69.3000030517578 69.3A 58 | 200 /Dc/0/Voltage DOUBLE 26.1800003051758 26.18V 59 | 200 /Dc/0/Power INT32 1814 1814W 60 | 210 /Dc/0/Current DOUBLE 68.0 68.0A 61 | 210 /Dc/0/Voltage DOUBLE 26.2299995422363 26.23V 62 | 210 /Dc/0/Power INT32 1783 1783W 63 | 216 /Dc/0/Current DOUBLE 66.0 66.0A 64 | 216 /Dc/0/Voltage DOUBLE 26.2399997711182 26.24V 65 | 216 /Dc/0/Power INT32 1731 1731W 66 | 226 /Dc/0/Current DOUBLE 60.5 60.5A 67 | 226 /Dc/0/Voltage DOUBLE 26.25 26.25V 68 | 226 /Dc/0/Power INT32 1588 1588W 69 | 236 /Dc/0/Current DOUBLE 56.9000015258789 56.9A 70 | 248 /Dc/0/Current DOUBLE -9.0 -9.0A 71 | 248 /Dc/0/Voltage DOUBLE 26.6099996566772 26.61V 72 | 248 /Dc/0/Power INT32 -239 -239W 73 | -------------------------------------------------------------------------------- /simulations/xy/smartshunt.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.battery.ttyUSB1 2 | /Mgmt/Connection STRING USB USB 3 | /Mgmt/ProcessVersion STRING 3.83 3.83 4 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 5 | /ConsumedAmphours DOUBLE 0.0 0.0Ah 6 | /TimeToGo ARRAY [] 7 | /Soc DOUBLE 86.0 86.2% 8 | /History/ChargedEnergy DOUBLE 0.4699999988079071 0.47kWh 9 | /History/DischargedEnergy DOUBLE 0.019999999552965164 0.02kWh 10 | /History/AutomaticSyncs UINT32 0 0 11 | /History/TimeSinceLastFullCharge UINT32 181 181s 12 | /History/TotalAhDrawn DOUBLE -1.7999999523162842 -1.8Ah 13 | /History/FullDischarges UINT32 0 0 14 | /History/ChargeCycles UINT32 0 0 15 | /History/AverageDischarge DOUBLE 0.0 0.0Ah 16 | /History/LastDischarge DOUBLE 0.0 0.0Ah 17 | /History/DeepestDischarge DOUBLE -0.4000000059604645 -0.4Ah 18 | /History/MaximumStarterVoltage DOUBLE 0.0 0.00V 19 | /History/MinimumStarterVoltage DOUBLE 0.0 0.00V 20 | /History/HighStarterVoltageAlarms ARRAY [] 21 | /History/LowStarterVoltageAlarms ARRAY [] 22 | /History/HighVoltageAlarms UINT32 0 0 23 | /History/LowVoltageAlarms UINT32 0 0 24 | /History/MaximumVoltage DOUBLE 15.829999923706055 15.83V 25 | /History/MinimumVoltage DOUBLE 13.109999656677246 13.11V 26 | /Relay/0/State ARRAY [] 27 | /Dc/1/Voltage ARRAY [] 28 | /Dc/0/MidVoltageDeviation ARRAY [] 29 | /Dc/0/MidVoltage ARRAY [] 30 | /Dc/0/Temperature DOUBLE 21 21° 31 | /Dc/0/Power DOUBLE 1645 1645W 32 | /Dc/0/Current DOUBLE 121 121.0A 33 | /Dc/0/Voltage DOUBLE 13.479999542236328 13.48V 34 | /Settings/HasMidVoltage UINT32 0 0 35 | /Settings/RelayMode ARRAY [] 36 | /Settings/HasStarterVoltage UINT32 0 0 37 | /Settings/HasTemperature UINT32 0 0 38 | /Alarms/LowSoc UINT32 0 0 39 | /Alarms/MidVoltage UINT32 0 0 40 | /Alarms/HighTemperature UINT32 0 0 41 | /Alarms/LowTemperature UINT32 0 0 42 | /Alarms/HighStarterVoltage UINT32 0 0 43 | /Alarms/LowStarterVoltage UINT32 0 0 44 | /Alarms/HighVoltage UINT32 0 0 45 | /Alarms/LowVoltage UINT32 0 0 46 | /Alarms/Alarm UINT32 0 0 47 | /VEDirect/TextParseError UINT32 0 0 48 | /VEDirect/TextUnfinishedErrors UINT32 0 0 49 | /VEDirect/TextChecksumErrors UINT32 0 0 50 | /VEDirect/HexUnfinishedErrors UINT32 0 0 51 | /VEDirect/HexInvalidCharacterErrors UINT32 0 0 52 | /VEDirect/HexChecksumErrors UINT32 0 0 53 | /Devices/0/VregLink ARRAY [] 54 | /Devices/0/ServiceName STRING com.victronenergy.battery.ttyUSB1 com.victronenergy.battery.ttyUSB1 55 | /Devices/0/ProductName STRING SmartShunt IP65 500A/50mV SmartShunt IP65 500A/50mV 56 | /Devices/0/ProductId UINT32 49200 0xC030 57 | /Devices/0/FirmwareVersion UINT32 1046 v4.16 58 | /Devices/0/DeviceInstance UINT32 289 289 59 | /Devices/0/CustomName STRING House House 60 | /GroupId ARRAY [] 61 | /CustomName STRING House House 62 | /Serial STRING HQ2229CZZHC HQ2229CZZHC 63 | /FirmwareVersion UINT32 1046 v4.16 64 | /ProductId UINT32 49200 0xC030 65 | /Connected UINT32 1 1 66 | /DeviceInstance UINT32 289 289 67 | /HardwareVersion ARRAY [] 68 | /ProductName STRING SmartShunt IP65 500A/50mV SmartShunt IP65 500A/50mV 69 | 70 | 1 /Dc/0/Power DOUBLE 1646 1646W 71 | 1 /Dc/0/Current DOUBLE 122 122.0A 72 | 5 /Dc/0/Power DOUBLE 1659 1659W 73 | 5 /Dc/0/Current DOUBLE 124 124.0A 74 | 10 /Dc/0/Voltage DOUBLE 13.49 13.49V 75 | 10 /Dc/0/Power DOUBLE 1658 1658W 76 | 10 /Dc/0/Current DOUBLE 123 123.0A 77 | -------------------------------------------------------------------------------- /dockerfile: -------------------------------------------------------------------------------- 1 | # Compile html5 app 2 | FROM node:lts-alpine AS html5-app 3 | COPY venus-html5-app/package.json . 4 | COPY venus-html5-app/package-lock.json . 5 | RUN npm install 6 | COPY venus-html5-app . 7 | ENV PUBLIC_URL=/ 8 | ENV REACT_APP_ENABLE_LANG_OVERRIDE=true 9 | RUN npm run build 10 | 11 | # Build flashmq 12 | FROM ubuntu:20.04 AS flashmq 13 | ARG DEBIAN_FRONTEND=noninteractive 14 | RUN apt-get update 15 | RUN apt-get install -y g++ make cmake libssl-dev file docbook2x 16 | COPY flashmq . 17 | RUN nproc=$(nproc) && cmake -DCMAKE_BUILD_TYPE=Release && make -j "$nproc" 18 | 19 | # Build dbus-flashmq 20 | FROM ubuntu:20.04 AS dbus-flashmq 21 | ARG DEBIAN_FRONTEND=noninteractive 22 | RUN apt-get update 23 | RUN apt-get install -y g++ make cmake pkg-config libdbus-1-dev 24 | COPY dbus-flashmq . 25 | RUN nproc=$(nproc) && cmake -DCMAKE_BUILD_TYPE=Release && make -j "$nproc" 26 | 27 | # Venus-docker build 28 | FROM ubuntu:20.04 29 | WORKDIR /root 30 | 31 | RUN apt-get update 32 | RUN apt-get install -y python3 python3-gi 33 | RUN apt-get install -y python3-lxml python3-requests python3-dbus python3-paho-mqtt 34 | RUN apt-get install -y python3-pymodbus python3-dnslib python3-pip 35 | RUN apt-get install -y vim daemontools 36 | RUN apt-get install -y libqt5core5a libqt5dbus5 libqt5xml5 libncurses6 37 | RUN apt-get install -y nginx 38 | 39 | # flashmq 40 | COPY --from=flashmq flashmq /usr/bin/flashmq 41 | COPY --from=dbus-flashmq libflashmq-dbus-plugin.so /usr/libexec/flashmq/libflashmq-dbus-plugin.so 42 | COPY flashmq.conf /etc/flashmq/flashmq.conf 43 | 44 | # dbus 45 | COPY dbus-tools/dbus /usr/bin/dbus 46 | COPY dbus-system.conf /etc/dbus-1/system.d/victron.conf 47 | 48 | # dbus-spy 49 | COPY bin/dbus-spy /usr/local/bin/dbus-spy 50 | 51 | # Daemontools 52 | RUN mkdir /log 53 | COPY service /service 54 | 55 | # DSE genset modbus simulator 56 | COPY dse-modbus-simulator /opt/victronenergy/dse-modbus-simulator 57 | RUN pip install --no-cache-dir --upgrade pip && \ 58 | pip install --no-cache-dir -r /opt/victronenergy/dse-modbus-simulator/requirements.txt 59 | RUN chmod u+x /opt/victronenergy/dse-modbus-simulator/main.py 60 | 61 | # Service code 62 | COPY localsettings /opt/victronenergy/localsettings 63 | COPY dbus-systemcalc-py /opt/victronenergy/dbus-systemcalc-py 64 | COPY dbus-recorder /opt/victronenergy/dbus-recorder 65 | COPY dbus_generator /opt/victronenergy/dbus-generator-starter 66 | COPY dbus-modbus-client /opt/victronenergy/dbus-modbus-client 67 | COPY settings.xml /data/conf/settings.xml 68 | COPY settings.xml /data/conf/settings.xml.orig 69 | COPY version /opt/victronenergy/version 70 | 71 | # Run config 72 | COPY scripts/start_services.sh /root 73 | COPY scripts/run_with_simulation.sh /root 74 | COPY scripts/run_recording.sh /root/bin/ 75 | 76 | RUN chmod u+x /root/bin/* /root/start_services.sh /root/run_with_simulation.sh 77 | 78 | # Simulations 79 | COPY scripts/simulate.sh /root 80 | COPY simulations /root/simulations 81 | 82 | # Html5 app 83 | COPY venus_app.conf /etc/nginx/sites-available 84 | COPY --from=html5-app ./dist/ /var/www/venus_app/ 85 | RUN ln -s /etc/nginx/sites-available/venus_app.conf /etc/nginx/sites-enabled 86 | RUN rm /etc/nginx/sites-enabled/default 87 | 88 | EXPOSE 80 89 | EXPOSE 9001 90 | EXPOSE 1883 91 | EXPOSE 3000 92 | EXPOSE 8000 93 | EXPOSE 502 94 | -------------------------------------------------------------------------------- /simulations/nt/battery.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.battery.ttyO0 2 | /Alarms/HighTemperature UINT32 0 0 3 | /History/MaximumVoltage DOUBLE 32.3699989319 32.37V 4 | /History/AutomaticSyncs UINT32 212 212 5 | /History/AverageDischarge DOUBLE -132.100006104 -132.1Ah 6 | /History/HighVoltageAlarms UINT32 0 0 7 | /HardwareVersion ARRAY [] 8 | /History/TotalAhDrawn DOUBLE -48760.3007812 -48760.3Ah 9 | /History/DeepestDischarge DOUBLE -210.100006104 -210.1Ah 10 | /Mgmt/ProcessVersion STRING 3.25 3.25 11 | /Alarms/Alarm ARRAY [] 12 | /Alarms/MidVoltage UINT32 0 0 13 | /Alarms/HighVoltage UINT32 0 0 14 | /History/ChargeCycles UINT32 166 166 15 | /Alarms/LowTemperature UINT32 0 0 16 | /Alarms/HighStarterVoltage UINT32 0 0 17 | /DeviceInstance UINT32 256 256 18 | /History/LowStarterVoltageAlarms ARRAY [] 19 | /Alarms/LowStarterVoltage UINT32 0 0 20 | /History/MinimumStarterVoltage DOUBLE 0.0 0.00V 21 | /Mgmt/Connection STRING VE.Direct VE.Direct 22 | /TimeToGo DOUBLE 38039.9960938 38040s 23 | /Connected UINT32 1 1 24 | /Settings/HasTemperature UINT32 0 0 25 | /Alarms/LowVoltage UINT32 0 0 26 | /Relay/0/State UINT32 0 0 27 | /Soc DOUBLE 98.4000015259 98.4% 28 | /Dc/0/Temperature ARRAY [] 29 | /History/MaximumStarterVoltage DOUBLE 16.1000003815 16.10V 30 | /Dc/0/Voltage DOUBLE 24.3 24.30V 31 | /Settings/HasMidVoltage UINT32 0 0 32 | /Dc/0/MidVoltageDeviation ARRAY [] 33 | /Devices/0/VregLink ARRAY [] 34 | /CustomName STRING House battery House battery 35 | /FirmwareVersion UINT32 776 v3.08 36 | /Dc/1/Voltage DOUBLE 25.1 25.1V 37 | /History/TimeSinceLastFullCharge UINT32 3476 3476s 38 | /Dc/0/Current DOUBLE -3.6 -3.6A 39 | /History/LastDischarge DOUBLE -4.90000009537 -4.9Ah 40 | /History/LowVoltageAlarms UINT32 0 0 41 | /History/MinimumVoltage DOUBLE 23.7800006866 23.78V 42 | /ConsumedAmphours DOUBLE -5.0 -5.0Ah 43 | /History/HighStarterVoltageAlarms ARRAY [] 44 | /History/DischargedEnergy DOUBLE 1253.89001465 1253.89kWh 45 | /Dc/0/Power DOUBLE -87.48 -87W 46 | /Settings/HasStarterVoltage UINT32 1 1 47 | /History/ChargedEnergy DOUBLE 1216.06994629 1216.07kWh 48 | /History/FullDischarges INT32 0 0 49 | /Serial STRING HQ1631Z2PQ3 HQ1631Z2PQ3 50 | /Alarms/LowSoc UINT32 0 0 51 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 52 | /Dc/0/MidVoltage ARRAY [] 53 | /ProductId UINT32 516 0x204 54 | /ProductName STRING BMV-702 BMV-702 55 | 56 | 1 /Dc/0/Voltage DOUBLE 24.400000000000002 24.40V 57 | 1 /Dc/0/Current DOUBLE -3.5 -3.5A 58 | 1 /Dc/0/Power DOUBLE -85.4 -85W 59 | 2 /Dc/0/Voltage DOUBLE 24.5 24.50V 60 | 2 /Dc/0/Current DOUBLE -3.4 -3.4A 61 | 2 /Dc/0/Power DOUBLE -83.3 -83W 62 | 3 /Dc/0/Voltage DOUBLE 24.400000000000002 24.40V 63 | 3 /Dc/0/Current DOUBLE -3.5 -3.5A 64 | 3 /Dc/0/Power DOUBLE -85.4 -85W 65 | 4 /Dc/0/Voltage DOUBLE 24.3 24.30V 66 | 4 /Dc/0/Current DOUBLE -3.6 -3.6A 67 | 4 /Dc/0/Power DOUBLE -87.48 -87W 68 | 5 /Dc/0/Voltage DOUBLE 24.2 24.20V 69 | 5 /Dc/0/Current DOUBLE -3.7 -3.7A 70 | 5 /Dc/0/Power DOUBLE -89.54 -90W 71 | 6 /Dc/0/Voltage DOUBLE 24.1 24.10V 72 | 6 /Dc/0/Current DOUBLE -3.8000000000000003 -3.8A 73 | 6 /Dc/0/Power DOUBLE -91.58000000000001 -92W 74 | 7 /Dc/0/Voltage DOUBLE 24.2 24.20V 75 | 7 /Dc/0/Current DOUBLE -3.7 -3.7A 76 | 7 /Dc/0/Power DOUBLE -89.54 -90W 77 | 8 /Dc/0/Voltage DOUBLE 24.3 24.30V 78 | 8 /Dc/0/Current DOUBLE -3.6 -3.6A 79 | 8 /Dc/0/Power DOUBLE -87.48 -87W 80 | -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | available() { 4 | echo "Available simulations:" 5 | for d in simulations/*; do 6 | echo -n `basename $d`": " 7 | cat $d/description 8 | done 9 | } 10 | 11 | kill_others() { 12 | echo "Killing previous dockers:" 13 | docker ps -q --filter "ancestor=mqtt" | xargs -r docker kill 14 | echo "" 15 | } 16 | 17 | help() { 18 | echo "Usage: $0 [-h|--help] [-s|--simulation ]" 19 | available 20 | } 21 | POSITIONAL=() 22 | ARGS=() 23 | while [[ $# -gt 0 ]]; do 24 | key="$1" 25 | 26 | case $key in 27 | -h|--help) 28 | help 29 | exit 0 30 | ;; 31 | -s|--simulation) 32 | SIMULATION="$2" 33 | shift # past argument 34 | shift # past value 35 | ;; 36 | --kill) 37 | KILL=true 38 | shift # past argument 39 | ;; 40 | --with-*) 41 | ARGS+=("$1") 42 | shift 43 | ;; 44 | *) # unknown option 45 | POSITIONAL+=("$1") 46 | shift # past argument 47 | ;; 48 | esac 49 | done 50 | 51 | RUNNING_CONTAINERS=`docker ps | grep mqtt | wc -l` 52 | APP_PORT=$((8080+$RUNNING_CONTAINERS)) 53 | WSPORT=$((9001+$RUNNING_CONTAINERS)) 54 | MQTTPORT=$((1883+$RUNNING_CONTAINERS)) 55 | DBUSTCPPORT=$((3000+$RUNNING_CONTAINERS)) 56 | DSE_SIMULATOR_WEBUI_PORT=$((8000+$RUNNING_CONTAINERS)) 57 | DSE_SIMULATOR_MODBUS_PORT=$((502+$RUNNING_CONTAINERS)) 58 | 59 | if test -n "$POSITIONAL"; then 60 | echo "Positional argument(s) ($POSITIONAL) passed. Did you mean to run with -s?" 61 | available 62 | exit 1 63 | elif test -z "$SIMULATION"; then 64 | if test "$KILL" = "true"; then kill_others; fi 65 | cat << EndOfMessage 66 | After running ./start_services.sh, the following comes available: 67 | - Web interfaces 68 | - Html5 app at http://localhost:${APP_PORT} 69 | - DSE genset simulator at http://localhost:${DSE_SIMULATOR_WEBUI_PORT} 70 | - Other services 71 | - websocket at port ${WSPORT} 72 | - mqtt at port ${MQTTPORT} 73 | - dbus at port ${DBUSTCPPORT} 74 | 75 | EndOfMessage 76 | docker run -it --rm -p $WSPORT:9001 -p $MQTTPORT:1883 -p $DBUSTCPPORT:3000 -p $APP_PORT:80 -p $DSE_SIMULATOR_WEBUI_PORT:8000 mqtt || exit 1 77 | exit 0 78 | else 79 | if test -f simulations/$SIMULATION/setup; then 80 | if test "$KILL" = "true"; then kill_others; fi 81 | docker run -d --rm -p $WSPORT:9001 -p $MQTTPORT:1883 -p $DBUSTCPPORT:3000 -p $APP_PORT:80 mqtt /root/run_with_simulation.sh ${ARGS[@]} $SIMULATION || exit 1 82 | elif test "$SIMULATION" = "z"; then 83 | if test "$KILL" = "true"; then kill_others; fi 84 | docker run -d --rm -p $WSPORT:9001 -p $MQTTPORT:1883 -p $DBUSTCPPORT:3000 -p $APP_PORT:80 mqtt /root/run_with_simulation.sh z || exit 1 85 | elif test "$SIMULATION" = "dse"; then 86 | if test "$KILL" = "true"; then kill_others; fi 87 | docker run -d --rm -p $DSE_SIMULATOR_WEBUI_PORT:8000 -p 0.0.0.0:$DSE_SIMULATOR_MODBUS_PORT:502 mqtt /root/run_with_simulation.sh dse || exit 1 88 | echo "DSE simulator web ui available at localhost:${DSE_SIMULATOR_WEBUI_PORT} and its modbus server at 0.0.0.0:${DSE_SIMULATOR_MODBUS_PORT} (unit id 1)" 89 | exit 0 90 | else 91 | echo "Simulation ($SIMULATION) does not exist in simulations/" 92 | available 93 | exit 1 94 | fi 95 | echo "Html5 app available at: localhost:${APP_PORT}, websocket port: ${WSPORT}, mqtt port: ${MQTTPORT}, dbus port: ${DBUSTCPPORT}" 96 | fi 97 | 98 | 99 | -------------------------------------------------------------------------------- /simulations/t/windcharger.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.dcsource.ttyUSB0 2 | /Alarms/Alarm UINT32 0 0 3 | /Alarms/HighStarterVoltage UINT32 0 0 4 | /Alarms/HighTemperature UINT32 0 0 5 | /Alarms/HighVoltage UINT32 0 0 6 | /Alarms/LowStarterVoltage UINT32 0 0 7 | /Alarms/LowTemperature UINT32 0 0 8 | /Alarms/LowVoltage UINT32 0 0 9 | /Connected UINT32 1 1 10 | /CustomName STRING Wind charger Wind charger 11 | /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 12 | /Dc/0/Power DOUBLE 220.76300048828125 230W 13 | /Dc/0/Temperature ARRAY [] 14 | /Dc/0/Voltage DOUBLE 26.390000343322754 26.39V 15 | /Dc/1/Voltage ARRAY [] 16 | /DeviceInstance UINT32 288 288 17 | /Devices/0/CustomName STRING Wind charger Wind charger 18 | /Devices/0/DeviceInstance UINT32 288 288 19 | /Devices/0/FirmwareVersion UINT32 1032 v4.08 20 | /Devices/0/ProductId UINT32 41865 0xa389 21 | /Devices/0/ProductName STRING SmartShunt 500A/50mV SmartShunt 500A/50mV 22 | /Devices/0/ServiceName STRING com.victronenergy.battery.ttyUSB0 com.victronenergy.battery.ttyUSB0 23 | /Devices/0/VregLink ARRAY [] 24 | /FirmwareVersion UINT32 785 v3.11 25 | /GroupId ARRAY [] 26 | /HardwareVersion ARRAY [] 27 | /History/EnergyIn DOUBLE 0 0kWh 28 | /History/EnergyOut DOUBLE 137.61000061035156 137.61kWh 29 | /History/HighVoltageAlarms UINT32 0 0 30 | /History/LowVoltageAlarms UINT32 0 0 31 | /History/MaximumVoltage DOUBLE 27.239999771118164 27.24V 32 | /History/MinimumVoltage DOUBLE 0.0 0.00V 33 | /Mgmt/Connection STRING USB USB 34 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 35 | /Mgmt/ProcessVersion STRING 3.65 3.65 36 | /ProductId UINT32 41865 0xa389 37 | /ProductName STRING SmartShunt 500A/50mV SmartShunt 500A/50mV 38 | /Relay/0/State UINT32 0 0 39 | /Serial STRING HQ1641JEWM5 HQ1641JEWM5 40 | /Settings/HasStarterVoltage UINT32 0 0 41 | /Settings/HasTemperature UINT32 0 0 42 | /Settings/MonitorMode INT32 -8 Wind generator 43 | /Settings/RelayMode UINT32 2 2 44 | /VEDirect/HexChecksumErrors UINT32 0 0 45 | /VEDirect/HexInvalidCharacterErrors UINT32 0 0 46 | /VEDirect/HexUnfinishedErrors UINT32 0 0 47 | /VEDirect/TextChecksumErrors UINT32 1 1 48 | /VEDirect/TextParseError UINT32 0 0 49 | /VEDirect/TextUnfinishedErrors UINT32 0 0 50 | 51 | 6 /Dc/0/Power DOUBLE 300.797000885009766 310W 52 | 6 /Dc/0/Current DOUBLE 20.299999952316284 20.3A 53 | 6 /Dc/0/Power DOUBLE 300.77400016784668 310W 54 | 6 /Dc/0/Voltage DOUBLE 26.380000114440918 26.38V 55 | 9 /Dc/0/Power DOUBLE 220.746000289916992 230W 56 | 9 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 57 | 9 /Dc/0/Power DOUBLE 220.76300048828125 230W 58 | 9 /Dc/0/Voltage DOUBLE 26.390000343322754 26.39V 59 | 12 /Dc/0/Power DOUBLE 210.423999786376953 210W 60 | 12 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 61 | 15 /Dc/0/Power DOUBLE 200.084999084472656 200W 62 | 15 /Dc/0/Current DOUBLE 5.5 5.5A 63 | 18 /Dc/0/Power DOUBLE 210.423999786376953 210W 64 | 18 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 65 | 27 /Dc/0/Power DOUBLE 220.76300048828125 230W 66 | 27 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 67 | 27 /Dc/0/Power DOUBLE 220.746000289916992 230W 68 | 27 /Dc/0/Voltage DOUBLE 26.380000114440918 26.38V 69 | 36 /Dc/0/Power DOUBLE 210.408000946044922 210W 70 | 36 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 71 | 39 /Dc/0/Power DOUBLE 250.422000885009766 250W 72 | 39 /Dc/0/Current DOUBLE 5.899999976158142 5.9A 73 | 42 /Dc/0/Power DOUBLE 210.408000946044922 210W 74 | 42 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 75 | 48 /Dc/0/Power DOUBLE 220.746000289916992 230W 76 | 48 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 77 | 51 /Dc/0/Power DOUBLE 210.408000946044922 210W 78 | 51 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 79 | 54 /Dc/0/Power DOUBLE 220.746000289916992 230W 80 | 54 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 81 | 60 /Dc/0/Power DOUBLE 240.083999633789062 240W 82 | 60 /Dc/0/Current DOUBLE 5.7999999523162842 5.8A 83 | -------------------------------------------------------------------------------- /simulations/u/windcharger.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.dcsource.ttyUSB0 2 | /Alarms/Alarm UINT32 0 0 3 | /Alarms/HighStarterVoltage UINT32 0 0 4 | /Alarms/HighTemperature UINT32 0 0 5 | /Alarms/HighVoltage UINT32 0 0 6 | /Alarms/LowStarterVoltage UINT32 0 0 7 | /Alarms/LowTemperature UINT32 0 0 8 | /Alarms/LowVoltage UINT32 0 0 9 | /Connected UINT32 1 1 10 | /CustomName STRING Wind charger Wind charger 11 | /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 12 | /Dc/0/Power DOUBLE 220.76300048828125 230W 13 | /Dc/0/Temperature ARRAY [] 14 | /Dc/0/Voltage DOUBLE 26.390000343322754 26.39V 15 | /Dc/1/Voltage ARRAY [] 16 | /DeviceInstance UINT32 288 288 17 | /Devices/0/CustomName STRING Wind charger Wind charger 18 | /Devices/0/DeviceInstance UINT32 288 288 19 | /Devices/0/FirmwareVersion UINT32 1032 v4.08 20 | /Devices/0/ProductId UINT32 41865 0xa389 21 | /Devices/0/ProductName STRING SmartShunt 500A/50mV SmartShunt 500A/50mV 22 | /Devices/0/ServiceName STRING com.victronenergy.battery.ttyUSB0 com.victronenergy.battery.ttyUSB0 23 | /Devices/0/VregLink ARRAY [] 24 | /FirmwareVersion UINT32 785 v3.11 25 | /GroupId ARRAY [] 26 | /HardwareVersion ARRAY [] 27 | /History/EnergyIn DOUBLE 0 0kWh 28 | /History/EnergyOut DOUBLE 137.61000061035156 137.61kWh 29 | /History/HighVoltageAlarms UINT32 0 0 30 | /History/LowVoltageAlarms UINT32 0 0 31 | /History/MaximumVoltage DOUBLE 27.239999771118164 27.24V 32 | /History/MinimumVoltage DOUBLE 0.0 0.00V 33 | /Mgmt/Connection STRING USB USB 34 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 35 | /Mgmt/ProcessVersion STRING 3.65 3.65 36 | /ProductId UINT32 41865 0xa389 37 | /ProductName STRING SmartShunt 500A/50mV SmartShunt 500A/50mV 38 | /Relay/0/State UINT32 0 0 39 | /Serial STRING HQ1641JEWM5 HQ1641JEWM5 40 | /Settings/HasStarterVoltage UINT32 0 0 41 | /Settings/HasTemperature UINT32 0 0 42 | /Settings/MonitorMode INT32 -8 Wind generator 43 | /Settings/RelayMode UINT32 2 2 44 | /VEDirect/HexChecksumErrors UINT32 0 0 45 | /VEDirect/HexInvalidCharacterErrors UINT32 0 0 46 | /VEDirect/HexUnfinishedErrors UINT32 0 0 47 | /VEDirect/TextChecksumErrors UINT32 1 1 48 | /VEDirect/TextParseError UINT32 0 0 49 | /VEDirect/TextUnfinishedErrors UINT32 0 0 50 | 51 | 6 /Dc/0/Power DOUBLE 300.797000885009766 310W 52 | 6 /Dc/0/Current DOUBLE 20.299999952316284 20.3A 53 | 6 /Dc/0/Power DOUBLE 300.77400016784668 310W 54 | 6 /Dc/0/Voltage DOUBLE 26.380000114440918 26.38V 55 | 9 /Dc/0/Power DOUBLE 220.746000289916992 230W 56 | 9 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 57 | 9 /Dc/0/Power DOUBLE 220.76300048828125 230W 58 | 9 /Dc/0/Voltage DOUBLE 26.390000343322754 26.39V 59 | 12 /Dc/0/Power DOUBLE 210.423999786376953 210W 60 | 12 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 61 | 15 /Dc/0/Power DOUBLE 200.084999084472656 200W 62 | 15 /Dc/0/Current DOUBLE 5.5 5.5A 63 | 18 /Dc/0/Power DOUBLE 210.423999786376953 210W 64 | 18 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 65 | 27 /Dc/0/Power DOUBLE 220.76300048828125 230W 66 | 27 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 67 | 27 /Dc/0/Power DOUBLE 220.746000289916992 230W 68 | 27 /Dc/0/Voltage DOUBLE 26.380000114440918 26.38V 69 | 36 /Dc/0/Power DOUBLE 210.408000946044922 210W 70 | 36 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 71 | 39 /Dc/0/Power DOUBLE 250.422000885009766 250W 72 | 39 /Dc/0/Current DOUBLE 5.899999976158142 5.9A 73 | 42 /Dc/0/Power DOUBLE 210.408000946044922 210W 74 | 42 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 75 | 48 /Dc/0/Power DOUBLE 220.746000289916992 230W 76 | 48 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 77 | 51 /Dc/0/Power DOUBLE 210.408000946044922 210W 78 | 51 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 79 | 54 /Dc/0/Power DOUBLE 220.746000289916992 230W 80 | 54 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 81 | 60 /Dc/0/Power DOUBLE 240.083999633789062 240W 82 | 60 /Dc/0/Current DOUBLE 5.7999999523162842 5.8A 83 | -------------------------------------------------------------------------------- /simulations/na/vebus2.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.vebus.ttyUSB0 2 | /Ac/ActiveIn/ActiveInput UINT32 240 240 3 | /Ac/ActiveIn/Connected UINT32 0 no 4 | /Ac/ActiveIn/CurrentLimitIsAdjustable UINT32 0 0 5 | /Ac/ActiveIn/L1/F DOUBLE 0.0 0.0Hz 6 | /Ac/ActiveIn/L1/I DOUBLE 0.0 0.0A 7 | /Ac/ActiveIn/L1/P INT32 0 0W 8 | /Ac/ActiveIn/L1/S INT32 0 0VA 9 | /Ac/ActiveIn/L1/V DOUBLE 0.0 0V 10 | /Ac/ActiveIn/P INT32 0 0W 11 | /Ac/ActiveIn/S INT32 0 0VA 12 | /Ac/NumberOfAcInputs INT32 0 0 13 | /Ac/NumberOfPhases UINT32 1 1 14 | /Ac/Out/L1/F DOUBLE 50.0255126953 50.0Hz 15 | /Ac/Out/L1/I DOUBLE 0.3 0.3A 16 | /Ac/Out/L1/P INT32 36 36W 17 | /Ac/Out/L1/S INT32 36 36VA 18 | /Ac/Out/L1/V DOUBLE 120.4 120V 19 | /Ac/Out/P INT32 -125 -125W 20 | /Ac/Out/S INT32 127 127VA 21 | /Ac/PowerMeasurementType UINT32 4 4 22 | /Alarms/HighTemperature UINT32 0 ok 23 | /Alarms/L1/HighTemperature UINT32 0 ok 24 | /Alarms/L1/LowBattery UINT32 0 ok 25 | /Alarms/L1/Overload UINT32 0 ok 26 | /Alarms/L1/Ripple UINT32 0 ok 27 | /Alarms/L2/HighTemperature UINT32 0 ok 28 | /Alarms/L2/LowBattery UINT32 0 ok 29 | /Alarms/L2/Overload UINT32 0 ok 30 | /Alarms/L2/Ripple UINT32 0 ok 31 | /Alarms/L3/HighTemperature UINT32 0 ok 32 | /Alarms/L3/LowBattery UINT32 0 ok 33 | /Alarms/L3/Overload UINT32 0 ok 34 | /Alarms/L3/Ripple UINT32 0 ok 35 | /Alarms/LowBattery UINT32 0 ok 36 | /Alarms/Overload UINT32 0 ok 37 | /Alarms/Ripple UINT32 0 ok 38 | /Alarms/TemperatureSensor UINT32 0 0 39 | /Alarms/VoltageSensor UINT32 0 0 40 | /Connected BYTE 1 1 41 | /CustomName STRING 120V appliances 120V appliances 42 | /Dc/0/Current DOUBLE -1.71 -1.71A 43 | /Dc/0/MaxChargeCurrent DOUBLE 52.0 52.0A 44 | /Dc/0/Power INT32 -46 -46W 45 | /Dc/0/Temperature DOUBLE -273.0 -273.00°C 46 | /Dc/0/Voltage DOUBLE 27.01 27.01V 47 | /DeviceInstance UINT16 289 289 48 | /Devices/0/Assistants ARRAY[BYTE] [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] None 49 | /Devices/0/Version UINT32 2610431 2610431 50 | /Devices/NumberOfMultis INT32 1 1 51 | /Energy/AcIn1ToAcOut DOUBLE 0.0 0.00kWh 52 | /Energy/AcIn1ToInverter DOUBLE 0.0 0.00kWh 53 | /Energy/AcIn2ToAcOut DOUBLE 0.0 0.00kWh 54 | /Energy/AcIn2ToInverter DOUBLE 0.0 0.00kWh 55 | /Energy/AcOutToAcIn1 DOUBLE 0.0 0.00kWh 56 | /Energy/AcOutToAcIn2 DOUBLE 0.0 0.00kWh 57 | /Energy/InverterToAcIn1 DOUBLE 0.0 0.00kWh 58 | /Energy/InverterToAcIn2 DOUBLE 0.0 0.00kWh 59 | /Energy/InverterToAcOut DOUBLE 0.0 0.00kWh 60 | /Energy/OutToInverter DOUBLE 0.309475541115 0.31kWh 61 | /ExtraBatteryCurrent DOUBLE 0.0 0.0A 62 | /FirmwareFeatures/BolFrame BYTE 1 1 63 | /FirmwareFeatures/BolUBatAndTBatSense BYTE 1 1 64 | /FirmwareFeatures/CommandWriteViaId BYTE 1 1 65 | /FirmwareFeatures/IBatSOCBroadcast BYTE 1 1 66 | /FirmwareFeatures/NewPanelFrame BYTE 1 1 67 | /FirmwareFeatures/SetChargeState BYTE 1 1 68 | /FirmwareSubVersion UINT32 0 69 | /FirmwareVersion UINT32 1073 431 70 | /Interfaces/Mk2/ProductId UINT32 4464 4464 71 | /Interfaces/Mk2/ProductName STRING MK3 MK3 72 | /Interfaces/Mk2/Version UINT32 1170204 1170204 73 | /Leds/Absorption BYTE 0 off 74 | /Leds/Bulk BYTE 0 off 75 | /Leds/Float BYTE 0 off 76 | /Leds/Inverter BYTE 1 on 77 | /Leds/LowBattery BYTE 0 off 78 | /Leds/Mains BYTE 0 off 79 | /Leds/Overload BYTE 0 off 80 | /Leds/Temperature BYTE 0 off 81 | /Mgmt/Connection STRING VE.Bus VE.Bus 82 | /Mgmt/ProcessName STRING mk2-dbus mk2-dbus 83 | /Mgmt/ProcessVersion STRING 2.74 2.74 84 | /Mode UINT32 3 on 85 | /ModeIsAdjustable UINT32 1 1 86 | /ProductId UINT32 10002 2712 87 | /ProductName STRING Inverter 24/3000/70-50 Inverter 24/3000/70-50 88 | /Quirks UINT16 2 2 89 | /RedetectSystem UINT32 0 90 | /ShortIds UINT32 1 1 91 | /State UINT32 9 inverting 92 | /VebusChargeState UINT32 0 init 93 | /VebusError BYTE 0 0 94 | /VebusMainState UINT32 4 invert 95 | /VebusSetChargeState UINT32 0 0 96 | 97 | 1 /Ac/Out/L1/F DOUBLE 50.02 50.0Hz 98 | 1 /Ac/Out/L1/I DOUBLE 0.3 0.3A 99 | 1 /Ac/Out/L1/P INT32 37 37W 100 | 1 /Ac/Out/L1/V DOUBLE 120.0 120V 101 | 1 /Dc/0/Current DOUBLE -1.71 -1.71A 102 | 1 /Dc/0/Voltage DOUBLE 27.01 27.01V 103 | 2 /Ac/Out/L1/F DOUBLE 50.01 50.0Hz 104 | 2 /Ac/Out/L1/I DOUBLE 0.3 0.3A 105 | 2 /Ac/Out/L1/P INT32 38 38W 106 | 2 /Ac/Out/L1/V DOUBLE 120.0 120V 107 | 2 /Dc/0/Current DOUBLE -1.72 -1.72A 108 | 2 /Dc/0/Voltage DOUBLE 27.02 27.02V 109 | -------------------------------------------------------------------------------- /simulations/na/vebus1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.vebus.ttyO1 2 | /Ac/ActiveIn/ActiveInput UINT32 240 240 3 | /Ac/ActiveIn/Connected UINT32 0 no 4 | /Ac/ActiveIn/CurrentLimitIsAdjustable UINT32 0 0 5 | /Ac/ActiveIn/L1/F DOUBLE 0.0 0.0Hz 6 | /Ac/ActiveIn/L1/I DOUBLE 0.0 0.0A 7 | /Ac/ActiveIn/L1/P INT32 0 0W 8 | /Ac/ActiveIn/L1/S INT32 0 0VA 9 | /Ac/ActiveIn/L1/V DOUBLE 0.0 0V 10 | /Ac/ActiveIn/P INT32 0 0W 11 | /Ac/ActiveIn/S INT32 0 0VA 12 | /Ac/NumberOfAcInputs INT32 0 0 13 | /Ac/NumberOfPhases UINT32 1 1 14 | /Ac/Out/L1/F DOUBLE 50.0255126953 50.0Hz 15 | /Ac/Out/L1/I DOUBLE 0.6 0.6A 16 | /Ac/Out/L1/P INT32 127 127W 17 | /Ac/Out/L1/S INT32 130 130VA 18 | /Ac/Out/L1/V DOUBLE 229.559997559 230V 19 | /Ac/Out/P INT32 125 125W 20 | /Ac/Out/S INT32 127 127VA 21 | /Ac/PowerMeasurementType UINT32 4 4 22 | /Alarms/HighTemperature UINT32 0 ok 23 | /Alarms/L1/HighTemperature UINT32 0 ok 24 | /Alarms/L1/LowBattery UINT32 0 ok 25 | /Alarms/L1/Overload UINT32 0 ok 26 | /Alarms/L1/Ripple UINT32 0 ok 27 | /Alarms/L2/HighTemperature UINT32 0 ok 28 | /Alarms/L2/LowBattery UINT32 0 ok 29 | /Alarms/L2/Overload UINT32 0 ok 30 | /Alarms/L2/Ripple UINT32 0 ok 31 | /Alarms/L3/HighTemperature UINT32 0 ok 32 | /Alarms/L3/LowBattery UINT32 0 ok 33 | /Alarms/L3/Overload UINT32 0 ok 34 | /Alarms/L3/Ripple UINT32 0 ok 35 | /Alarms/LowBattery UINT32 0 ok 36 | /Alarms/Overload UINT32 0 ok 37 | /Alarms/Ripple UINT32 0 ok 38 | /Alarms/TemperatureSensor UINT32 0 0 39 | /Alarms/VoltageSensor UINT32 0 0 40 | /Connected BYTE 1 1 41 | /CustomName STRING 230V appliances 230V appliances 42 | /Dc/0/Current DOUBLE -5.35 -5.35A 43 | /Dc/0/MaxChargeCurrent DOUBLE 52.0 52.0A 44 | /Dc/0/Power INT32 -144 -144W 45 | /Dc/0/Temperature DOUBLE -273.0 -273.00°C 46 | /Dc/0/Voltage DOUBLE 27.01 27.01V 47 | /DeviceInstance UINT16 288 288 48 | /Devices/0/Assistants ARRAY[BYTE] [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] None 49 | /Devices/0/Version UINT32 2610431 2610431 50 | /Devices/NumberOfMultis INT32 1 1 51 | /Energy/AcIn1ToAcOut DOUBLE 0.0 0.00kWh 52 | /Energy/AcIn1ToInverter DOUBLE 0.0 0.00kWh 53 | /Energy/AcIn2ToAcOut DOUBLE 0.0 0.00kWh 54 | /Energy/AcIn2ToInverter DOUBLE 0.0 0.00kWh 55 | /Energy/AcOutToAcIn1 DOUBLE 0.0 0.00kWh 56 | /Energy/AcOutToAcIn2 DOUBLE 0.0 0.00kWh 57 | /Energy/InverterToAcIn1 DOUBLE 0.0 0.00kWh 58 | /Energy/InverterToAcIn2 DOUBLE 0.0 0.00kWh 59 | /Energy/InverterToAcOut DOUBLE 0.0 0.00kWh 60 | /Energy/OutToInverter DOUBLE 0.309475541115 0.31kWh 61 | /ExtraBatteryCurrent DOUBLE 0.0 0.0A 62 | /FirmwareFeatures/BolFrame BYTE 1 1 63 | /FirmwareFeatures/BolUBatAndTBatSense BYTE 1 1 64 | /FirmwareFeatures/CommandWriteViaId BYTE 1 1 65 | /FirmwareFeatures/IBatSOCBroadcast BYTE 1 1 66 | /FirmwareFeatures/NewPanelFrame BYTE 1 1 67 | /FirmwareFeatures/SetChargeState BYTE 1 1 68 | /FirmwareSubVersion UINT32 0 69 | /FirmwareVersion UINT32 1073 431 70 | /Interfaces/Mk2/ProductId UINT32 4464 4464 71 | /Interfaces/Mk2/ProductName STRING MK3 MK3 72 | /Interfaces/Mk2/Version UINT32 1170204 1170204 73 | /Leds/Absorption BYTE 0 off 74 | /Leds/Bulk BYTE 0 off 75 | /Leds/Float BYTE 0 off 76 | /Leds/Inverter BYTE 1 on 77 | /Leds/LowBattery BYTE 0 off 78 | /Leds/Mains BYTE 0 off 79 | /Leds/Overload BYTE 0 off 80 | /Leds/Temperature BYTE 0 off 81 | /Mgmt/Connection STRING VE.Bus VE.Bus 82 | /Mgmt/ProcessName STRING mk2-dbus mk2-dbus 83 | /Mgmt/ProcessVersion STRING 2.74 2.74 84 | /Mode UINT32 3 on 85 | /ModeIsAdjustable UINT32 1 1 86 | /ProductId UINT32 9744 2610 87 | /ProductName STRING Inverter 24/3000/70-50 Inverter 24/3000/70-50 88 | /Quirks UINT16 2 2 89 | /RedetectSystem UINT32 0 90 | /ShortIds UINT32 1 1 91 | /State UINT32 9 inverting 92 | /VebusChargeState UINT32 0 init 93 | /VebusError BYTE 0 0 94 | /VebusMainState UINT32 4 invert 95 | /VebusSetChargeState UINT32 0 0 96 | 97 | 1 /Ac/Out/L1/F DOUBLE 50.02 50.0Hz 98 | 1 /Ac/Out/L1/I DOUBLE 0.6 0.6A 99 | 1 /Ac/Out/L1/P INT32 127 127W 100 | 1 /Ac/Out/L1/V DOUBLE 230.0 230V 101 | 1 /Dc/0/Current DOUBLE -5.35 -5.35A 102 | 1 /Dc/0/Voltage DOUBLE 27.01 27.01V 103 | 2 /Ac/Out/L1/F DOUBLE 50.01 50.0Hz 104 | 2 /Ac/Out/L1/I DOUBLE 0.6 0.6A 105 | 2 /Ac/Out/L1/P INT32 128 128W 106 | 2 /Ac/Out/L1/V DOUBLE 230.0 230V 107 | 2 /Dc/0/Current DOUBLE -5.34 -5.34A 108 | 2 /Dc/0/Voltage DOUBLE 27.02 27.02V 109 | -------------------------------------------------------------------------------- /simulations/u/alternator.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.alternator.ttyUSB0 2 | /Alarms/Alarm UINT32 0 0 3 | /Alarms/HighStarterVoltage UINT32 0 0 4 | /Alarms/HighTemperature UINT32 0 0 5 | /Alarms/HighVoltage UINT32 0 0 6 | /Alarms/LowSoc UINT32 0 0 7 | /Alarms/LowStarterVoltage UINT32 0 0 8 | /Alarms/LowTemperature UINT32 0 0 9 | /Alarms/LowVoltage UINT32 0 0 10 | /Connected UINT32 1 1 11 | /CustomName STRING 12 | /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 13 | /Dc/0/Power DOUBLE 220.76300048828125 230W 14 | /Dc/0/Temperature ARRAY [] 15 | /Dc/0/Voltage DOUBLE 26.390000343322754 26.39V 16 | /Dc/1/Voltage ARRAY [] 17 | /DeviceInstance UINT32 288 288 18 | /Devices/0/CustomName STRING 19 | /Devices/0/DeviceInstance UINT32 288 288 20 | /Devices/0/FirmwareVersion UINT32 1032 v4.08 21 | /Devices/0/ProductId UINT32 45184 0xb080 22 | /Devices/0/ProductName STRING Wakespeed WS500 Alternator Regulator Wakespeed WS500 Alternator Regulator 23 | /Devices/0/ServiceName STRING com.victronenergy.alternator.ttyUSB0 com.victronenergy.alternator.ttyUSB0 24 | /Devices/0/VregLink ARRAY [] 25 | /FirmwareVersion UINT32 785 v3.11 26 | /GroupId ARRAY [] 27 | /HardwareVersion ARRAY [] 28 | /History/AutomaticSyncs UINT32 100 100 29 | /History/AverageDischarge DOUBLE -32.79999923706055 -32.8Ah 30 | /History/ChargeCycles UINT32 33 33 31 | /History/ChargedEnergy DOUBLE 258.3999938964844 258.40kWh 32 | /History/DeepestDischarge DOUBLE -200.8000030517578 -200.8Ah 33 | /History/DischargedEnergy DOUBLE 137.61000061035156 137.61kWh 34 | /History/FullDischarges UINT32 1 1 35 | /History/HighStarterVoltageAlarms ARRAY [] 36 | /History/HighVoltageAlarms UINT32 0 0 37 | /History/LastDischarge DOUBLE -0.800000011920929 -0.8Ah 38 | /History/LowStarterVoltageAlarms ARRAY [] 39 | /History/LowVoltageAlarms UINT32 0 0 40 | /History/MaximumStarterVoltage ARRAY [] 41 | /History/MaximumVoltage DOUBLE 17.239999771118164 17.24V 42 | /History/MinimumStarterVoltage ARRAY [] 43 | /History/MinimumVoltage DOUBLE 0.0 0.00V 44 | /History/TotalAhDrawn DOUBLE -10524.599609375 -10524.6Ah 45 | /Mgmt/Connection STRING USB USB 46 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 47 | /Mgmt/ProcessVersion STRING 3.65 3.65 48 | /ProductId UINT32 45184 0xb080 49 | /ProductName STRING Wakespeed WS500 Alternator Regulator Wakespeed WS500 Alternator Regulator 50 | /Relay/0/State UINT32 0 0 51 | /Serial STRING HQ1641JEWM5 HQ1641JEWM5 52 | /Settings/HasMidVoltage UINT32 0 0 53 | /Settings/HasStarterVoltage UINT32 0 0 54 | /Settings/HasTemperature UINT32 0 0 55 | /Settings/RelayMode UINT32 2 2 56 | /Soc DOUBLE 99.80000305175781 99.8% 57 | /VEDirect/HexChecksumErrors UINT32 0 0 58 | /VEDirect/HexInvalidCharacterErrors UINT32 0 0 59 | /VEDirect/HexUnfinishedErrors UINT32 0 0 60 | /VEDirect/TextChecksumErrors UINT32 1 1 61 | /VEDirect/TextParseError UINT32 0 0 62 | /VEDirect/TextUnfinishedErrors UINT32 0 0 63 | 64 | 6 /Dc/0/Power DOUBLE 300.797000885009766 310W 65 | 6 /Dc/0/Current DOUBLE 20.299999952316284 20.3A 66 | 6 /Dc/0/Power DOUBLE 300.77400016784668 310W 67 | 6 /Dc/0/Voltage DOUBLE 26.380000114440918 26.38V 68 | 9 /Dc/0/Power DOUBLE 220.746000289916992 230W 69 | 9 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 70 | 9 /Dc/0/Power DOUBLE 220.76300048828125 230W 71 | 9 /Dc/0/Voltage DOUBLE 26.390000343322754 26.39V 72 | 12 /Dc/0/Power DOUBLE 210.423999786376953 210W 73 | 12 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 74 | 15 /Dc/0/Power DOUBLE 200.084999084472656 200W 75 | 15 /Dc/0/Current DOUBLE 5.5 5.5A 76 | 18 /Dc/0/Power DOUBLE 210.423999786376953 210W 77 | 18 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 78 | 27 /Dc/0/Power DOUBLE 220.76300048828125 230W 79 | 27 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 80 | 27 /Dc/0/Power DOUBLE 220.746000289916992 230W 81 | 27 /Dc/0/Voltage DOUBLE 26.380000114440918 26.38V 82 | 36 /Dc/0/Power DOUBLE 210.408000946044922 210W 83 | 36 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 84 | 39 /Dc/0/Power DOUBLE 250.422000885009766 250W 85 | 39 /Dc/0/Current DOUBLE 5.899999976158142 5.9A 86 | 42 /Dc/0/Power DOUBLE 210.408000946044922 210W 87 | 42 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 88 | 48 /Dc/0/Power DOUBLE 220.746000289916992 230W 89 | 48 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 90 | 51 /Dc/0/Power DOUBLE 210.408000946044922 210W 91 | 51 /Dc/0/Current DOUBLE 5.600000023841858 5.6A 92 | 54 /Dc/0/Power DOUBLE 220.746000289916992 230W 93 | 54 /Dc/0/Current DOUBLE 5.7000000476837158 5.7A 94 | 60 /Dc/0/Power DOUBLE 240.083999633789062 240W 95 | 60 /Dc/0/Current DOUBLE 5.7999999523162842 5.8A 96 | 60 /Soc DOUBLE 99.69999694824219 99.7% 97 | -------------------------------------------------------------------------------- /simulations/u/battery.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.battery.socketcan_can1_vi0_uc167120 2 | /Alarms/LowCellVoltage BYTE 0 0 3 | /Balancing BYTE 0 0 4 | /Capacity UINT16 200 200Ah 5 | /Connected UINT32 1 1 6 | /ConsumedAmphours DOUBLE 10.0 10.0Ah 7 | /CustomName STRING Lynx Smart BMS HQ21302VUDQ 8 | /Dc/0/Current DOUBLE 9.2 9.2 9 | /Dc/0/Power INT32 238 238W 10 | /Dc/0/Temperature ARRAY [] 11 | /Dc/0/Voltage DOUBLE 26.4 26.4V 12 | /DeviceInstance UINT32 0 0 13 | /Diagnostics/LastErrors/1/Error BYTE 32 32 14 | /Diagnostics/LastErrors/1/Time ARRAY [] 15 | /Diagnostics/LastErrors/2/Error BYTE 32 32 16 | /Diagnostics/LastErrors/2/Time ARRAY [] 17 | /Diagnostics/LastErrors/3/Error BYTE 0 0 18 | /Diagnostics/LastErrors/3/Time ARRAY [] 19 | /Diagnostics/LastErrors/4/Error BYTE 0 0 20 | /Diagnostics/LastErrors/4/Time ARRAY [] 21 | /Diagnostics/ShutDownsDueError ARRAY [] 22 | /ErrorCode BYTE 0 0 23 | /FirmwareVersion UINT32 66303 v1.02 24 | /HardwareVersion ARRAY [] 25 | /History/AutomaticSyncs INT32 10 10 26 | /History/AverageDischarge ARRAY [] 27 | /History/CanBeCleared UINT32 1 1 28 | /History/ChargeCycles INT32 2 2 29 | /History/ChargedEnergy DOUBLE 11.4399995803833 11.44kWh 30 | /History/Clear ARRAY [] 31 | /History/DeepestDischarge DOUBLE -25.0 -25.0Ah 32 | /History/DischargedEnergy DOUBLE 8.5 8.50kWh 33 | /History/FullDischarges INT32 0 0 34 | /History/LastDischarge ARRAY [] 35 | /History/MaximumCellVoltage ARRAY [] 36 | /History/MaximumTemperature ARRAY [] 37 | /History/MaximumVoltage DOUBLE 57.15999984741211 57.16V 38 | /History/MinimumCellVoltage ARRAY [] 39 | /History/MinimumTemperature ARRAY [] 40 | /History/MinimumVoltage DOUBLE 26.069999694824219 26.07V 41 | /History/TimeSinceLastFullCharge ARRAY [] 42 | /History/TotalAhDrawn DOUBLE 160.8000030517578 160.8Ah 43 | /Info/BatteryLowVoltage DOUBLE 41.599998474121094 41.60V 44 | /Info/MaxChargeCurrent DOUBLE 50.0 50.0A 45 | /Info/MaxChargeVoltage DOUBLE 54.0 54.00V 46 | /Info/MaxDischargeCurrent DOUBLE 600.0 600.0A 47 | /Io/AllowToCharge BYTE 1 1 48 | /Io/AllowToDischarge BYTE 1 1 49 | /Io/ExternalRelay ARRAY [] 50 | /Io/ProgrammableContact ARRAY [] 51 | /Mgmt/Connection STRING VE.Can VE.Can 52 | /Mgmt/ProcessName STRING vecan-dbus vecan-dbus 53 | /Mgmt/ProcessVersion STRING 2.69 2.69 54 | /Mode BYTE 3 3 55 | /N2kDeviceInstance UINT32 0 0 56 | /N2kUniqueNumber UINT32 167120 167120 57 | /ProductId UINT16 41957 0xA3E5 58 | /ProductName STRING Lynx Smart BMS 500 Lynx Smart BMS 500 59 | /Serial STRING 0167120 HQ21302VUDQ 0167120 HQ21302VUDQ 60 | /Settings/Battery/Capacity UINT16 50 50Ah 61 | /Settings/Battery/NominalVoltage BYTE 48 48V 62 | /Settings/BluetoothMode BYTE 1 1 63 | /Settings/HasSettings UINT32 1 1 64 | /Settings/HasTemperature UINT32 1 1 65 | /Settings/RestoreDefaults UINT32 0 0 66 | /Soc DOUBLE 95.0 95.0% 67 | /State ARRAY [] 68 | /System/BatteriesParallel ARRAY [] 69 | /System/BatteriesSeries ARRAY [] 70 | /System/MaxCellTemperature ARRAY [] 71 | /System/MaxCellVoltage ARRAY [] 72 | /System/MinCellTemperature ARRAY [] 73 | /System/MinCellVoltage ARRAY [] 74 | /System/NrOfBatteries ARRAY [] 75 | /System/NrOfCellsPerBattery ARRAY [] 76 | /SystemSwitch BYTE 1 1 77 | /TimeToGo ARRAY [] 78 | 79 | 4 /Dc/0/Current DOUBLE -9.399999618530273 -9.4A 80 | 24 /Dc/0/Current DOUBLE -9.5 -9.5A 81 | 24 /Dc/0/Voltage DOUBLE 26.390000343322754 26.39V 82 | 30 /Dc/0/Current DOUBLE -9.399999618530273 -9.4A 83 | 30 /Dc/0/Voltage DOUBLE 26.399999618530273 26.40V 84 | 44 /Dc/0/Current DOUBLE -9.199999809265137 -9.2A 85 | 44 /Dc/0/Power INT32 -231 -231W 86 | 49 /Dc/0/Power INT32 -227 -227W 87 | 57 /Dc/0/Voltage DOUBLE 26.380000114440918 26.38V 88 | 64 /Dc/0/Current DOUBLE 55.70000076293945 55.7A 89 | 64 /Dc/0/Voltage DOUBLE 26.069999694824219 26.07V 90 | 68 /Dc/0/Current DOUBLE 69.30000305175781 69.3A 91 | 68 /Dc/0/Power INT32 1901 1901W 92 | 68 /Dc/0/Voltage DOUBLE 26.180000305175781 26.18V 93 | 73 /Dc/0/Current DOUBLE 68.0 68.0A 94 | 73 /Dc/0/Power INT32 2231 2231W 95 | 73 /Dc/0/Voltage DOUBLE 26.229999542236328 26.23V 96 | 76 /Dc/0/Current DOUBLE 66.0 66.0A 97 | 76 /Dc/0/Power INT32 2181 2181W 98 | 76 /Dc/0/Voltage DOUBLE 26.239999771118164 26.24V 99 | 81 /Dc/0/Current DOUBLE 60.5 60.5A 100 | 81 /Dc/0/Voltage DOUBLE 26.25 26.25V 101 | 83 /Dc/0/Power INT32 2111 2111W 102 | 86 /Dc/0/Current DOUBLE 56.900001525878906 56.9A 103 | 86 /Dc/0/Power INT32 1957 1957W 104 | 92 /Dc/0/Current DOUBLE -9.0 -9.0A 105 | 92 /Dc/0/Power INT32 3675 3675W 106 | 92 /Dc/0/Voltage DOUBLE 26.609999656677246 26.61V 107 | 96 /Dc/0/Current DOUBLE 55.70000076293945 55.7A 108 | 96 /Dc/0/Voltage DOUBLE 26.069999694824219 26.07V 109 | 100 /Dc/0/Current DOUBLE 69.30000305175781 69.3A 110 | 100 /Dc/0/Power INT32 1901 1901W 111 | 100 /Dc/0/Voltage DOUBLE 26.180000305175781 26.18V 112 | 105 /Dc/0/Current DOUBLE 68.0 68.0A 113 | 105 /Dc/0/Power INT32 2231 2231W 114 | 105 /Dc/0/Voltage DOUBLE 26.229999542236328 26.23V 115 | 108 /Dc/0/Current DOUBLE 66.0 66.0A 116 | 108 /Dc/0/Power INT32 2181 2181W 117 | 108 /Dc/0/Voltage DOUBLE 26.239999771118164 26.24V 118 | 113 /Dc/0/Current DOUBLE 60.5 60.5A 119 | 113 /Dc/0/Voltage DOUBLE 26.25 26.25V 120 | 115 /Dc/0/Power INT32 2111 2111W 121 | 118 /Dc/0/Current DOUBLE 56.900001525878906 56.9A 122 | 118 /Dc/0/Power INT32 1957 1957W 123 | 124 /Dc/0/Current DOUBLE -9.0 -9.0A 124 | 124 /Dc/0/Power INT32 3675 3675W 125 | 124 /Dc/0/Voltage DOUBLE 26.609999656677246 26.61V 126 | -------------------------------------------------------------------------------- /simulations/t/battery.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.battery.ttyO0 2 | /Alarms/HighTemperature UINT32 0 0 3 | /History/MaximumVoltage DOUBLE 32.3699989319 32.37V 4 | /History/AutomaticSyncs UINT32 212 212 5 | /History/AverageDischarge DOUBLE -132.100006104 -132.1Ah 6 | /History/HighVoltageAlarms UINT32 0 0 7 | /HardwareVersion ARRAY [] 8 | /History/TotalAhDrawn DOUBLE -48760.3007812 -48760.3Ah 9 | /History/DeepestDischarge DOUBLE -210.100006104 -210.1Ah 10 | /Mgmt/ProcessVersion STRING 3.25 3.25 11 | /Alarms/Alarm ARRAY [] 12 | /Alarms/MidVoltage UINT32 0 0 13 | /Alarms/HighVoltage UINT32 0 0 14 | /History/ChargeCycles UINT32 166 166 15 | /Alarms/LowTemperature UINT32 0 0 16 | /Alarms/HighStarterVoltage UINT32 0 0 17 | /DeviceInstance UINT32 256 256 18 | /History/LowStarterVoltageAlarms ARRAY [] 19 | /Alarms/LowStarterVoltage UINT32 0 0 20 | /History/MinimumStarterVoltage DOUBLE 0.0 0.00V 21 | /Mgmt/Connection STRING VE.Direct VE.Direct 22 | /TimeToGo DOUBLE 38039.9960938 38040s 23 | /Connected UINT32 1 1 24 | /Settings/HasTemperature UINT32 0 0 25 | /Alarms/LowVoltage UINT32 0 0 26 | /Relay/0/State UINT32 0 0 27 | /Soc DOUBLE 98.4000015259 98.4% 28 | /Dc/0/Temperature ARRAY [] 29 | /History/MaximumStarterVoltage DOUBLE 16.1000003815 16.10V 30 | /Dc/0/Voltage DOUBLE 26.5400009155 26.54V 31 | /Settings/HasMidVoltage UINT32 0 0 32 | /Dc/0/MidVoltageDeviation ARRAY [] 33 | /Devices/0/VregLink ARRAY [] 34 | /CustomName STRING House battery House battery 35 | /FirmwareVersion UINT32 776 v3.08 36 | /Dc/1/Voltage DOUBLE 12.5099999998 12.51V 37 | /History/TimeSinceLastFullCharge UINT32 3476 3476s 38 | /Dc/0/Current DOUBLE -15.1000003815 -15.1A 39 | /History/LastDischarge DOUBLE -4.90000009537 -4.9Ah 40 | /History/LowVoltageAlarms UINT32 0 0 41 | /History/MinimumVoltage DOUBLE 23.7800006866 23.78V 42 | /ConsumedAmphours DOUBLE -5.0 -5.0Ah 43 | /History/HighStarterVoltageAlarms ARRAY [] 44 | /History/DischargedEnergy DOUBLE 1253.89001465 1253.89kWh 45 | /Dc/0/Power DOUBLE -387.484008789 -387W 46 | /Settings/HasStarterVoltage UINT32 1 1 47 | /History/ChargedEnergy DOUBLE 1216.06994629 1216.07kWh 48 | /History/FullDischarges INT32 0 0 49 | /Serial STRING HQ1631Z2PQ3 HQ1631Z2PQ3 50 | /Alarms/LowSoc UINT32 0 0 51 | /Mgmt/ProcessName STRING vedirect-dbus vedirect-dbus 52 | /Dc/0/MidVoltage ARRAY [] 53 | /ProductId UINT32 516 0x204 54 | /ProductName STRING BMV-702 BMV-702 55 | 56 | 6 /History/TimeSinceLastFullCharge UINT32 3476 3476s 57 | 6 /Dc/0/Power DOUBLE -400.753997803 -401W 58 | 6 /Dc/0/Current DOUBLE -15.1000003815 -15.1A 59 | 6 /TimeToGo DOUBLE 37919.9960938 37920s 60 | 6 /History/LastDischarge DOUBLE -5.0 -5.0Ah 61 | 6 /History/TimeSinceLastFullCharge UINT32 3478 3478s 62 | 8 /Dc/0/Power DOUBLE -408.716003418 -409W 63 | 8 /Dc/0/Current DOUBLE -15.3999996185 -15.4A 64 | 8 /TimeToGo DOUBLE 37739.9960938 37740s 65 | 10 /History/TimeSinceLastFullCharge UINT32 3480 3480s 66 | 12 /Dc/0/Power DOUBLE -406.062011719 -406W 67 | 12 /Dc/0/Current DOUBLE -15.3000001907 -15.3A 68 | 12 /TimeToGo DOUBLE 37559.9960938 37560s 69 | 14 /History/TimeSinceLastFullCharge UINT32 3482 3482s 70 | 16 /Dc/0/Power DOUBLE -408.716003418 -409W 71 | 16 /Dc/0/Current DOUBLE -15.3999996185 -15.4A 72 | 16 /TimeToGo DOUBLE 37440.0 37440s 73 | 18 /History/TimeSinceLastFullCharge UINT32 3484 3484s 74 | 20 /Dc/0/Power DOUBLE -421.985992432 -422W 75 | 20 /Dc/0/Current DOUBLE -15.8999996185 -15.9A 76 | 20 /TimeToGo DOUBLE 37320.0 37320s 77 | 22 /History/TimeSinceLastFullCharge UINT32 3486 3486s 78 | 24 /Dc/0/Power DOUBLE -440.563995361 -441W 79 | 24 /Dc/0/Current DOUBLE -16.6000003815 -16.6A 80 | 24 /TimeToGo DOUBLE 37080.0 37080s 81 | 24 /Dc/0/Power DOUBLE -440.398010254 -440W 82 | 24 /Dc/0/Voltage DOUBLE 26.5300006866 26.53V 83 | 24 /Dc/1/Voltage DOUBLE 12.5300006866 12.53V 84 | 26 /History/TimeSinceLastFullCharge UINT32 3488 3488s 85 | 28 /ConsumedAmphours DOUBLE -5.09999990463 -5.1Ah 86 | 28 /Dc/0/Power DOUBLE -419.17401123 -419W 87 | 28 /Dc/0/Current DOUBLE -15.8000001907 -15.8A 88 | 28 /TimeToGo DOUBLE 36900.0 36900s 89 | 28 /Dc/0/Power DOUBLE -419.332000732 -419W 90 | 28 /Dc/0/Voltage DOUBLE 26.5400009155 26.54V 91 | 28 /Dc/1/Voltage DOUBLE 12.5400009155 12.54V 92 | 30 /History/TimeSinceLastFullCharge UINT32 3490 3490s 93 | 32 /Dc/0/Power DOUBLE -411.369995117 -411W 94 | 32 /Dc/0/Current DOUBLE -15.5 -15.5A 95 | 32 /TimeToGo DOUBLE 36780.0 36780s 96 | 34 /History/TotalAhDrawn DOUBLE -48760.3984375 -48760.4Ah 97 | 34 /History/TimeSinceLastFullCharge UINT32 3492 3492s 98 | 36 /Dc/0/Power DOUBLE -445.872009277 -446W 99 | 36 /Dc/0/Current DOUBLE -16.7999992371 -16.8A 100 | 36 /TimeToGo DOUBLE 36600.0 36600s 101 | 36 /Dc/0/Power DOUBLE -445.70401001 -446W 102 | 36 /Dc/0/Voltage DOUBLE 26.5300006866 26.53V 103 | 36 /Dc/1/Voltage DOUBLE 12.5300006866 12.53V 104 | 38 /History/TimeSinceLastFullCharge UINT32 3494 3494s 105 | 40 /Dc/0/Power DOUBLE -421.82699585 -422W 106 | 40 /Dc/0/Current DOUBLE -15.8999996185 -15.9A 107 | 40 /Soc DOUBLE 98.3000030518 98.3% 108 | 40 /TimeToGo DOUBLE 36420.0 36420s 109 | 42 /History/TimeSinceLastFullCharge UINT32 3496 3496s 110 | 44 /Dc/0/Power DOUBLE -429.786010742 -430W 111 | 44 /Dc/0/Current DOUBLE -16.2000007629 -16.2A 112 | 46 /TimeToGo DOUBLE 36300.0 36300s 113 | 46 /History/TimeSinceLastFullCharge UINT32 3498 3498s 114 | 48 /Dc/0/Power DOUBLE -437.744995117 -438W 115 | 48 /Dc/0/Current DOUBLE -16.5 -16.5A 116 | 48 /TimeToGo DOUBLE 36120.0 36120s 117 | 50 /History/TimeSinceLastFullCharge UINT32 3500 3500s 118 | 52 /Dc/0/Power DOUBLE -413.868011475 -414W 119 | 52 /Dc/0/Current DOUBLE -15.6000003815 -15.6A 120 | 52 /TimeToGo DOUBLE 36000.0 36000s 121 | 54 /History/LastDischarge DOUBLE -5.09999990463 -5.1Ah 122 | 54 /History/TimeSinceLastFullCharge UINT32 3502 3502s 123 | 58 /Dc/0/Power DOUBLE -429.786010742 -430W 124 | 58 /Dc/0/Current DOUBLE -16.2000007629 -16.2A 125 | 58 /TimeToGo DOUBLE 35880.0 35880s 126 | 58 /History/TimeSinceLastFullCharge UINT32 3504 3504s 127 | 60 /Dc/0/Power DOUBLE -435.092010498 -435W 128 | 60 /Dc/0/Current DOUBLE -16.3999996185 -16.4A 129 | 60 /TimeToGo DOUBLE 35700.0 35700s 130 | -------------------------------------------------------------------------------- /simulations/w/evcs.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.evcharger.evc_HQ2207QPZ33 2 | /Mgmt/ProcessName STRING dbus-modbus-client.py dbus-modbus-client.py 3 | /Mgmt/ProcessVersion STRING 1.32 1.32 4 | /Mgmt/Connection STRING Modbus TCP 10.10.11.102 Modbus TCP 10.10.11.102 5 | /DeviceInstance INT32 62 62 6 | /ProductId INT32 49189 0xC025 7 | /ProductName STRING EV Charging Station EV Charging Station 8 | /Model STRING AC22E AC22E 9 | /Connected INT32 1 1 10 | /Role STRING evcharger evcharger 11 | /Serial STRING HQ2207QPZ33 HQ2207QPZ33 12 | /FirmwareVersion INT32 75265 1.26~1 13 | /Mode INT32 0 EVC_MODE.MANUAL 14 | /StartStop INT32 0 EVC_CHARGE.DISABLED 15 | /Ac/L1/Power DOUBLE 0.0 0 W 16 | /Ac/L2/Power DOUBLE 0.0 0 W 17 | /Ac/L3/Power DOUBLE 0.0 0 W 18 | /Ac/Power DOUBLE 0.0 0 W 19 | /Status INT32 6 EVC_STATUS.WAIT_START 20 | /SetCurrent DOUBLE 30.0 30 A 21 | /MaxCurrent DOUBLE 32.0 32 A 22 | /Current DOUBLE 0.0 0.0 A 23 | /ChargingTime DOUBLE 4375.0 4375 s 24 | /Ac/Energy/Forward DOUBLE 12.3 12.30 kWh 25 | /Position INT32 0 EVC_POSITION.OUTPUT 26 | /CustomName STRING EVCS M3 EVCS M3 27 | /AutoStart DOUBLE 1.0 1 28 | /EnableDisplay DOUBLE 1.0 1 29 | 30 | 7 /StartStop INT32 1 1 31 | 11 /Status INT32 2 EVC_STATUS.CHARGING 32 | 11 /Current DOUBLE 30.0 30.0 A 33 | 15 /ChargingTime DOUBLE 4380.0 4380 s 34 | 17 /Ac/L1/Power DOUBLE 49.0 49 W 35 | 17 /Ac/Power DOUBLE 44.0 44 W 36 | 18 /Ac/L1/Power DOUBLE 414.0 414 W 37 | 18 /Ac/Power DOUBLE 372.0 372 W 38 | 19 /Ac/L1/Power DOUBLE 157.0 157 W 39 | 19 /Ac/Power DOUBLE 141.0 141 W 40 | 19 /ChargingTime DOUBLE 4384.0 4384 s 41 | 20 /Ac/L1/Power DOUBLE 21.0 21 W 42 | 20 /Ac/Power DOUBLE 19.0 19 W 43 | 21 /Ac/L1/Power DOUBLE 234.0 234 W 44 | 21 /Ac/Power DOUBLE 211.0 211 W 45 | 22 /Ac/L1/Power DOUBLE 824.0 824 W 46 | 22 /Ac/Power DOUBLE 741.0 741 W 47 | 23 /Ac/L1/Power DOUBLE 1361.0 1361 W 48 | 23 /Ac/Power DOUBLE 1225.0 1225 W 49 | 23 /ChargingTime DOUBLE 4388.0 4388 s 50 | 24 /Ac/L1/Power DOUBLE 1591.0 1591 W 51 | 24 /Ac/Power DOUBLE 1432.0 1432 W 52 | 25 /Ac/L1/Power DOUBLE 1580.0 1580 W 53 | 25 /Ac/Power DOUBLE 1422.0 1422 W 54 | 26 /Ac/L1/Power DOUBLE 1606.0 1606 W 55 | 26 /Ac/Power DOUBLE 1445.0 1445 W 56 | 27 /Ac/L1/Power DOUBLE 1638.0 1638 W 57 | 27 /Ac/L2/Power DOUBLE 1058.0 1058 W 58 | 27 /Ac/Power DOUBLE 2427.0 2427 W 59 | 27 /ChargingTime DOUBLE 4392.0 4392 s 60 | 28 /Ac/L1/Power DOUBLE 1913.0 1913 W 61 | 28 /Ac/L2/Power DOUBLE 1735.0 1735 W 62 | 28 /Ac/Power DOUBLE 3284.0 3284 W 63 | 29 /Ac/L1/Power DOUBLE 2246.0 2246 W 64 | 29 /Ac/L2/Power DOUBLE 2194.0 2194 W 65 | 29 /Ac/Power DOUBLE 3996.0 3996 W 66 | 30 /Ac/L1/Power DOUBLE 2481.0 2481 W 67 | 30 /Ac/L2/Power DOUBLE 2564.0 2564 W 68 | 30 /Ac/Power DOUBLE 4541.0 4541 W 69 | 31 /Ac/L1/Power DOUBLE 2692.0 2692 W 70 | 31 /Ac/L2/Power DOUBLE 2680.0 2680 W 71 | 31 /Ac/Power DOUBLE 4835.0 4835 W 72 | 31 /ChargingTime DOUBLE 4396.0 4396 s 73 | 31 /Ac/Energy/Forward DOUBLE 12.31 12.31 kWh 74 | 32 /Ac/L1/Power DOUBLE 2844.0 2844 W 75 | 32 /Ac/L2/Power DOUBLE 2692.0 2692 W 76 | 32 /Ac/Power DOUBLE 4983.0 4983 W 77 | 33 /Ac/L1/Power DOUBLE 2757.0 2757 W 78 | 33 /Ac/L2/Power DOUBLE 2768.0 2768 W 79 | 33 /Ac/Power DOUBLE 4972.0 4972 W 80 | 35 /Ac/L1/Power DOUBLE 2765.0 2765 W 81 | 35 /Ac/L2/Power DOUBLE 2794.0 2794 W 82 | 35 /Ac/L3/Power DOUBLE 649.0 649 W 83 | 35 /Ac/Power DOUBLE 5589.0 5589 W 84 | 35 /Ac/L1/Power DOUBLE 2969.0 2969 W 85 | 35 /Ac/L2/Power DOUBLE 2980.0 2980 W 86 | 35 /Ac/L3/Power DOUBLE 2752.0 2752 W 87 | 35 /Ac/Power DOUBLE 7831.0 7831 W 88 | 35 /ChargingTime DOUBLE 4400.0 4400 s 89 | 36 /Ac/L1/Power DOUBLE 3356.0 3356 W 90 | 36 /Ac/L2/Power DOUBLE 3249.0 3249 W 91 | 36 /Ac/L3/Power DOUBLE 3331.0 3331 W 92 | 37 /Ac/Power DOUBLE 8943.0 8943 W 93 | 37 /Ac/L1/Power DOUBLE 3678.0 3678 W 94 | 37 /Ac/L2/Power DOUBLE 3659.0 3659 W 95 | 38 /Ac/L3/Power DOUBLE 3679.0 3679 W 96 | 38 /Ac/Power DOUBLE 9916.0 9916 W 97 | 39 /Ac/L1/Power DOUBLE 3619.0 3619 W 98 | 39 /Ac/L2/Power DOUBLE 3690.0 3690 W 99 | 39 /Ac/L3/Power DOUBLE 3669.0 3669 W 100 | 39 /Ac/Power DOUBLE 9881.0 9881 W 101 | 40 /Ac/L1/Power DOUBLE 3738.0 3738 W 102 | 40 /Ac/L2/Power DOUBLE 3813.0 3813 W 103 | 40 /Ac/L3/Power DOUBLE 3694.0 3694 W 104 | 40 /Ac/Power DOUBLE 10121.0 10121 W 105 | 40 /ChargingTime DOUBLE 4404.0 4404 s 106 | 40 /Ac/Energy/Forward DOUBLE 12.32 12.32 kWh 107 | 40 /Ac/L1/Power DOUBLE 3688.0 3688 W 108 | 40 /Ac/L2/Power DOUBLE 3841.0 3841 W 109 | 40 /Ac/L3/Power DOUBLE 3748.0 3748 W 110 | 40 /Ac/Power DOUBLE 10150.0 10150 W 111 | 41 /Ac/L1/Power DOUBLE 3766.0 3766 W 112 | 41 /Ac/L2/Power DOUBLE 3790.0 3790 W 113 | 41 /Ac/L3/Power DOUBLE 3763.0 3763 W 114 | 41 /Ac/Power DOUBLE 10188.0 10188 W 115 | 42 /Ac/L1/Power DOUBLE 3851.0 3851 W 116 | 42 /Ac/L2/Power DOUBLE 3775.0 3775 W 117 | 43 /Ac/L3/Power DOUBLE 3700.0 3700 W 118 | 43 /Ac/Power DOUBLE 10195.0 10195 W 119 | 44 /Ac/L1/Power DOUBLE 3832.0 3832 W 120 | 44 /Ac/L2/Power DOUBLE 3687.0 3687 W 121 | 44 /Ac/L3/Power DOUBLE 3765.0 3765 W 122 | 44 /Ac/Power DOUBLE 10156.0 10156 W 123 | 44 /ChargingTime DOUBLE 4408.0 4408 s 124 | 44 /Ac/Energy/Forward DOUBLE 12.33 12.33 kWh 125 | 45 /Ac/L1/Power DOUBLE 3845.0 3845 W 126 | 45 /Ac/L2/Power DOUBLE 3727.0 3727 W 127 | 45 /Ac/L3/Power DOUBLE 3705.0 3705 W 128 | 45 /Ac/Power DOUBLE 10151.0 10151 W 129 | 46 /Ac/L1/Power DOUBLE 3796.0 3796 W 130 | 46 /Ac/L2/Power DOUBLE 3711.0 3711 W 131 | 46 /Ac/L3/Power DOUBLE 3778.0 3778 W 132 | 46 /Ac/Power DOUBLE 10162.0 10162 W 133 | 47 /Ac/L1/Power DOUBLE 3728.0 3728 W 134 | 47 /Ac/L2/Power DOUBLE 3775.0 3775 W 135 | 47 /Ac/L3/Power DOUBLE 3832.0 3832 W 136 | 47 /Ac/Power DOUBLE 10202.0 10202 W 137 | 48 /Ac/L1/Power DOUBLE 3731.0 3731 W 138 | 48 /Ac/L2/Power DOUBLE 3764.0 3764 W 139 | 48 /Ac/L3/Power DOUBLE 3798.0 3798 W 140 | 48 /Ac/Power DOUBLE 10165.0 10165 W 141 | 48 /ChargingTime DOUBLE 4412.0 4412 s 142 | 48 /Ac/Energy/Forward DOUBLE 12.35 12.35 kWh 143 | 49 /Ac/L1/Power DOUBLE 3829.0 3829 W 144 | 49 /Ac/L2/Power DOUBLE 3752.0 3752 W 145 | 49 /Ac/L3/Power DOUBLE 3690.0 3690 W 146 | 49 /Ac/Power DOUBLE 10144.0 10144 W 147 | 50 /Ac/L1/Power DOUBLE 3780.0 3780 W 148 | 50 /Ac/L2/Power DOUBLE 3663.0 3663 W 149 | 50 /Ac/L3/Power DOUBLE 3744.0 3744 W 150 | 50 /Ac/Power DOUBLE 10069.0 10069 W 151 | 51 /Ac/L1/Power DOUBLE 3770.0 3770 W 152 | 51 /Ac/L2/Power DOUBLE 3673.0 3673 W 153 | 51 /Ac/L3/Power DOUBLE 3820.0 3820 W 154 | 51 /Ac/Power DOUBLE 10138.0 10138 W 155 | 52 /Ac/L1/Power DOUBLE 3816.0 3816 W 156 | 52 /Ac/L2/Power DOUBLE 3735.0 3735 W 157 | 52 /Ac/L3/Power DOUBLE 3743.0 3743 W 158 | 52 /Ac/Power DOUBLE 10165.0 10165 W 159 | 52 /ChargingTime DOUBLE 4416.0 4416 s 160 | 52 /Ac/Energy/Forward DOUBLE 12.36 12.36 kWh 161 | 53 /Ac/L1/Power DOUBLE 3842.0 3842 W 162 | 53 /Ac/L2/Power DOUBLE 3706.0 3706 W 163 | 53 /Ac/L3/Power DOUBLE 3704.0 3704 W 164 | 53 /Ac/Power DOUBLE 10128.0 10128 W 165 | 57 /Ac/L1/Power DOUBLE 3873.0 3873 W 166 | 57 /Ac/L2/Power DOUBLE 3749.0 3749 W 167 | 57 /Ac/L3/Power DOUBLE 3711.0 3711 W 168 | 57 /Ac/Power DOUBLE 10201.0 10201 W 169 | 57 /Ac/L1/Power DOUBLE 3829.0 3829 W 170 | 57 /Ac/L2/Power DOUBLE 3708.0 3708 W 171 | 57 /Ac/L3/Power DOUBLE 3725.0 3725 W 172 | 57 /Ac/Power DOUBLE 10137.0 10137 W 173 | 57 /ChargingTime DOUBLE 4422.0 4422 s 174 | 58 /Ac/Energy/Forward DOUBLE 12.37 12.37 kWh 175 | 58 /Ac/L1/Power DOUBLE 3780.0 3780 W 176 | 58 /Ac/L2/Power DOUBLE 3806.0 3806 W 177 | 58 /Ac/L3/Power DOUBLE 3720.0 3720 W 178 | 59 /Ac/Power DOUBLE 10176.0 10176 W 179 | 60 /Ac/L1/Power DOUBLE 3838.0 3838 W 180 | 60 /Ac/L2/Power DOUBLE 3734.0 3734 W 181 | 60 /Ac/L3/Power DOUBLE 3710.0 3710 W 182 | 60 /Ac/Power DOUBLE 10154.0 10154 W 183 | -------------------------------------------------------------------------------- /simulations/ss/smartswitch.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.switch.socketcan_can0_vi0_uc68165 2 | /SwitchableOutput/3/Settings/ShowUIControl UINT32 1 1 3 | /SwitchableOutput/3/Settings/FuseRating INT32 5 5A 4 | /SwitchableOutput/3/Settings/ValidTypes BYTE 7 7 5 | /SwitchableOutput/3/Settings/Type BYTE 2 2 6 | /SwitchableOutput/3/Settings/Group STRING 7 | /SwitchableOutput/3/Settings/CustomName STRING Fan manual override Fan manual override 8 | /SwitchableOutput/3/Name STRING Ch 4 Ch 4 9 | /SwitchableOutput/3/Temperature DOUBLE 27.497024536132812 27.5°C 10 | /SwitchableOutput/3/Voltage DOUBLE 10.100000381469727 10.1V 11 | /SwitchableOutput/3/Current DOUBLE 0.0 0.0A 12 | /SwitchableOutput/3/Dimming INT32 73 73% 13 | /SwitchableOutput/3/Status BYTE 9 9 14 | /SwitchableOutput/3/State UINT32 1 1 15 | /SwitchableOutput/2/Settings/ShowUIControl UINT32 1 1 16 | /SwitchableOutput/2/Settings/FuseRating INT32 5 5A 17 | /SwitchableOutput/2/Settings/ValidTypes BYTE 7 7 18 | /SwitchableOutput/2/Settings/Type BYTE 2 2 19 | /SwitchableOutput/2/Settings/Group STRING Group 1 Group 1 20 | /SwitchableOutput/2/Settings/CustomName STRING Channel 3 Channel 3 21 | /SwitchableOutput/2/Name STRING Ch 3 Ch 3 22 | /SwitchableOutput/2/Temperature DOUBLE 27.405223846435547 27.4°C 23 | /SwitchableOutput/2/Voltage DOUBLE 0.0 0.0V 24 | /SwitchableOutput/2/Current DOUBLE 0.0 0.0A 25 | /SwitchableOutput/2/Dimming INT32 34 34% 26 | /SwitchableOutput/2/Status BYTE 0 0 27 | /SwitchableOutput/2/State UINT32 0 0 28 | /SwitchableOutput/1/Settings/ShowUIControl UINT32 1 1 29 | /SwitchableOutput/1/Settings/FuseRating INT32 3 3A 30 | /SwitchableOutput/1/Settings/ValidTypes BYTE 7 7 31 | /SwitchableOutput/1/Settings/Type BYTE 0 0 32 | /SwitchableOutput/1/Settings/Group STRING Group 1 Group 1 33 | /SwitchableOutput/1/Settings/CustomName STRING Channel 2 Channel 2 34 | /SwitchableOutput/1/Name STRING Ch 2 Ch 2 35 | /SwitchableOutput/1/Temperature DOUBLE 27.153610229492188 27.2°C 36 | /SwitchableOutput/1/Voltage DOUBLE 0.0 0.0V 37 | /SwitchableOutput/1/Current DOUBLE 0.0 0.0A 38 | /SwitchableOutput/1/Dimming INT32 100 100% 39 | /SwitchableOutput/1/Status BYTE 0 0 40 | /SwitchableOutput/1/State UINT32 0 0 41 | /SwitchableOutput/0/Settings/ShowUIControl UINT32 1 1 42 | /SwitchableOutput/0/Settings/FuseRating INT32 4 4A 43 | /SwitchableOutput/0/Settings/ValidTypes BYTE 7 7 44 | /SwitchableOutput/0/Settings/Type BYTE 0 0 45 | /SwitchableOutput/0/Settings/Group STRING 46 | /SwitchableOutput/0/Settings/CustomName STRING 47 | /SwitchableOutput/0/Name STRING Ch 1 Ch 1 48 | /SwitchableOutput/0/Temperature DOUBLE 27.34400177001953 27.3°C 49 | /SwitchableOutput/0/Voltage DOUBLE 0.0 0.0V 50 | /SwitchableOutput/0/Current DOUBLE 0.0 0.0A 51 | /SwitchableOutput/0/Dimming INT32 100 100% 52 | /SwitchableOutput/0/Status BYTE 0 0 53 | /SwitchableOutput/0/State UINT32 0 0 54 | /CustomName STRING Garage switches 55 | /N2kDeviceInstance UINT32 0 0 56 | /N2kUniqueNumber UINT32 68165 68165 57 | /Serial STRING 2629 2629 58 | /Connected UINT32 1 1 59 | /DeviceInstance UINT32 0 0 60 | /HardwareVersion ARRAY [] 61 | /FirmwareVersion UINT32 272 v1.10 62 | /ProductName STRING SmartSwitchDC4 SmartSwitchDC4 63 | /ProductId UINT16 45170 0xB072 64 | /Mgmt/Connection STRING VE.Can VE.Can 65 | /Mgmt/ProcessVersion STRING 3.52 3.52 66 | /Mgmt/ProcessName STRING vecan-dbus vecan-dbus 67 | /ModuleVoltage DOUBLE 12.0 12.0V 68 | /NrOfChannels BYTE 4 4 69 | /State INT32 256 256 70 | 71 | 8 /SwitchableOutput/3/Temperature DOUBLE 27.50768280029297 27.5°C 72 | 18 /SwitchableOutput/0/Temperature DOUBLE 27.3453426361084 27.3°C 73 | 23 /SwitchableOutput/2/State UINT32 1 1 74 | 24 /SwitchableOutput/2/Status BYTE 8 8 75 | 24 /SwitchableOutput/1/State UINT32 1 1 76 | 24 /SwitchableOutput/1/Status BYTE 0 0 77 | 24 /SwitchableOutput/1/State UINT32 0 0 78 | 25 /SwitchableOutput/1/Voltage DOUBLE 2.200000047683716 2.2V 79 | 25 /SwitchableOutput/2/Voltage DOUBLE 5.900000095367432 5.9V 80 | 26 /SwitchableOutput/1/Voltage DOUBLE 0.0 0.0V 81 | 28 /SwitchableOutput/0/Temperature DOUBLE 27.33867835998535 27.3°C 82 | 38 /SwitchableOutput/0/Temperature DOUBLE 27.353322982788086 27.4°C 83 | 39 /SwitchableOutput/0/Temperature DOUBLE 27.3453426361084 27.3°C 84 | 49 /SwitchableOutput/0/Temperature DOUBLE 27.353322982788086 27.4°C 85 | 49 /SwitchableOutput/1/Temperature DOUBLE 27.213537216186523 27.2°C 86 | 51 /SwitchableOutput/0/State UINT32 1 1 87 | 52 /SwitchableOutput/0/State UINT32 0 0 88 | 52 /SwitchableOutput/3/State UINT32 0 0 89 | 53 /SwitchableOutput/0/Voltage DOUBLE 0.20000000298023224 0.2V 90 | 53 /SwitchableOutput/3/Status BYTE 0 0 91 | 53 /SwitchableOutput/3/Status BYTE 9 9 92 | 53 /SwitchableOutput/3/State UINT32 1 1 93 | 54 /SwitchableOutput/0/Voltage DOUBLE 0.0 0.0V 94 | 54 /SwitchableOutput/3/Voltage DOUBLE 9.0 9.0V 95 | 55 /SwitchableOutput/3/Voltage DOUBLE 10.100000381469727 10.1V 96 | 59 /SwitchableOutput/0/Temperature DOUBLE 27.36663055419922 27.4°C 97 | 59 /SwitchableOutput/2/Temperature DOUBLE 27.46510124206543 27.5°C 98 | 70 /SwitchableOutput/0/Temperature DOUBLE 27.370628356933594 27.4°C 99 | 70 /SwitchableOutput/3/Temperature DOUBLE 27.554235458374023 27.6°C 100 | 80 /SwitchableOutput/0/Temperature DOUBLE 27.37327766418457 27.4°C 101 | 88 /SwitchableOutput/0/State UINT32 1 1 102 | 88 /SwitchableOutput/0/Status BYTE 0 0 103 | 88 /SwitchableOutput/0/State UINT32 0 0 104 | 88 /SwitchableOutput/0/Voltage DOUBLE 0.4000000059604645 0.4V 105 | 88 /SwitchableOutput/3/State UINT32 0 0 106 | 89 /SwitchableOutput/3/Status BYTE 0 0 107 | 89 /SwitchableOutput/0/Voltage DOUBLE 0.0 0.0V 108 | 89 /SwitchableOutput/3/Voltage DOUBLE 0.10000000149011612 0.1V 109 | 90 /SwitchableOutput/0/Temperature DOUBLE 27.38925552368164 27.4°C 110 | 90 /SwitchableOutput/3/Voltage DOUBLE 0.0 0.0V 111 | 95 /SwitchableOutput/1/State UINT32 1 1 112 | 95 /SwitchableOutput/1/Status BYTE 8 8 113 | 95 /SwitchableOutput/2/Dimming INT32 33 33% 114 | 95 /SwitchableOutput/2/Dimming INT32 34 34% 115 | 96 /SwitchableOutput/2/Dimming INT32 33 33% 116 | 96 /SwitchableOutput/1/Status BYTE 0 0 117 | 96 /SwitchableOutput/1/State UINT32 0 0 118 | 96 /SwitchableOutput/2/Dimming INT32 37 37% 119 | 96 /SwitchableOutput/2/Dimming INT32 43 43% 120 | 96 /SwitchableOutput/2/Dimming INT32 50 50% 121 | 96 /SwitchableOutput/2/Dimming INT32 57 57% 122 | 96 /SwitchableOutput/2/Dimming INT32 65 65% 123 | 96 /SwitchableOutput/1/Voltage DOUBLE 0.20000000298023224 0.2V 124 | 96 /SwitchableOutput/2/Dimming INT32 69 69% 125 | 96 /SwitchableOutput/2/Dimming INT32 72 72% 126 | 96 /SwitchableOutput/2/Dimming INT32 74 74% 127 | 96 /SwitchableOutput/2/Dimming INT32 75 75% 128 | 97 /SwitchableOutput/2/Status BYTE 9 9 129 | 97 /SwitchableOutput/1/Voltage DOUBLE 0.0 0.0V 130 | 97 /SwitchableOutput/2/Voltage DOUBLE 10.300000190734863 10.3V 131 | 97 /SwitchableOutput/1/State UINT32 1 1 132 | 98 /SwitchableOutput/1/Status BYTE 9 9 133 | 98 /SwitchableOutput/1/Voltage DOUBLE 11.800000190734863 11.8V 134 | 99 /SwitchableOutput/1/Status BYTE 0 0 135 | 99 /SwitchableOutput/1/State UINT32 0 0 136 | 99 /SwitchableOutput/1/Voltage DOUBLE 0.10000000149011612 0.1V 137 | 99 /SwitchableOutput/2/Dimming INT32 73 73% 138 | 99 /SwitchableOutput/2/Dimming INT32 72 72% 139 | 99 /SwitchableOutput/2/Dimming INT32 71 71% 140 | 99 /SwitchableOutput/2/Dimming INT32 69 69% 141 | 99 /SwitchableOutput/2/Dimming INT32 65 65% 142 | 99 /SwitchableOutput/2/Dimming INT32 60 60% 143 | 99 /SwitchableOutput/2/Dimming INT32 54 54% 144 | 99 /SwitchableOutput/2/Dimming INT32 48 48% 145 | 99 /SwitchableOutput/2/Dimming INT32 43 43% 146 | 99 /SwitchableOutput/2/Dimming INT32 40 40% 147 | 99 /SwitchableOutput/2/Dimming INT32 37 37% 148 | 99 /SwitchableOutput/2/Dimming INT32 35 35% 149 | 99 /SwitchableOutput/2/Dimming INT32 34 34% 150 | 99 /SwitchableOutput/2/Dimming INT32 33 33% 151 | 99 /SwitchableOutput/2/Dimming INT32 32 32% 152 | 99 /SwitchableOutput/2/Dimming INT32 31 31% 153 | 100 /SwitchableOutput/2/Status BYTE 8 8 154 | 100 /SwitchableOutput/1/Voltage DOUBLE 0.0 0.0V 155 | 100 /SwitchableOutput/2/Voltage DOUBLE 5.599999904632568 5.6V 156 | 101 /SwitchableOutput/0/Temperature DOUBLE 27.397245407104492 27.4°C 157 | 101 /SwitchableOutput/2/Voltage DOUBLE 5.5 5.5V 158 | 111 /SwitchableOutput/0/Temperature DOUBLE 27.395917892456055 27.4°C 159 | 111 /SwitchableOutput/1/Temperature DOUBLE 27.242834091186523 27.2°C 160 | -------------------------------------------------------------------------------- /simulations/sw/switch.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.switch.socketcan_can0_vi1_uc68165 2 | /SwitchableOutput/0/Settings/ShowUIControl UINT32 1 1 3 | /SwitchableOutput/0/Settings/ValidTypes UINT32 8 8 4 | /SwitchableOutput/0/Settings/Type UINT32 3 3 5 | /SwitchableOutput/0/Settings/Group STRING 6 | /SwitchableOutput/0/Settings/CustomName STRING Temperature setpoint Temperature setpoint 7 | /SwitchableOutput/0/Settings/DimmingMin DOUBLE -100.0 -100.0 8 | /SwitchableOutput/0/Settings/DimmingMax DOUBLE 100.0 100.0 9 | /SwitchableOutput/0/Settings/StepSize DOUBLE 0.5 0.5 10 | /SwitchableOutput/0/Settings/Decimals UINT32 1 1 11 | /SwitchableOutput/0/Name STRING Ch 1 Ch 1 12 | /SwitchableOutput/0/Measurement DOUBLE 25.0 25.0 13 | /SwitchableOutput/0/Dimming DOUBLE 25.5 25.5 14 | /SwitchableOutput/0/Status UINT32 0 0 15 | /SwitchableOutput/0/State UINT32 0 0 16 | /SwitchableOutput/1/Settings/ShowUIControl UINT32 1 1 17 | /SwitchableOutput/1/Settings/ValidTypes UINT32 16 16 18 | /SwitchableOutput/1/Settings/Type UINT32 4 4 19 | /SwitchableOutput/1/Settings/Group STRING 20 | /SwitchableOutput/1/Settings/CustomName STRING Multi-step Multi-step 21 | /SwitchableOutput/1/Settings/DimmingMax DOUBLE 5.0 5.0 22 | /SwitchableOutput/1/Name STRING Ch 2 Ch 2 23 | /SwitchableOutput/1/Dimming DOUBLE 0.0 0.0 24 | /SwitchableOutput/1/Status UINT32 0 0 25 | /SwitchableOutput/1/State UINT32 0 0 26 | /SwitchableOutput/2/Settings/ShowUIControl UINT32 1 1 27 | /SwitchableOutput/2/Settings/ValidTypes UINT32 64 64 28 | /SwitchableOutput/2/Settings/Type UINT32 6 6 29 | /SwitchableOutput/2/Settings/Group STRING 30 | /SwitchableOutput/2/Settings/CustomName STRING Dropdown Dropdown 31 | /SwitchableOutput/2/Settings/Labels ARRAY(STRING) ["Option 1", "Option 2", "Option 3", "Option 4", "Option 5", "Option 6"] 32 | /SwitchableOutput/2/Name STRING Ch 3 Ch 3 33 | /SwitchableOutput/2/Dimming DOUBLE 0.0 0.0 34 | /SwitchableOutput/2/Status UINT32 0 0 35 | /SwitchableOutput/2/State UINT32 0 0 36 | /SwitchableOutput/3/Settings/ShowUIControl UINT32 1 1 37 | /SwitchableOutput/3/Settings/ValidTypes UINT32 128 128 38 | /SwitchableOutput/3/Settings/Type UINT32 7 7 39 | /SwitchableOutput/3/Settings/Group STRING 40 | /SwitchableOutput/3/Settings/CustomName STRING Slider Slider 41 | /SwitchableOutput/3/Settings/DimmingMin DOUBLE 0.0 0.0 42 | /SwitchableOutput/3/Settings/DimmingMax DOUBLE 10.0 10.0 43 | /SwitchableOutput/3/Settings/StepSize DOUBLE 0.1 0.1 44 | /SwitchableOutput/3/Settings/Decimals UINT32 2 2 45 | /SwitchableOutput/3/Settings/Unit STRING dB dB 46 | /SwitchableOutput/3/Name STRING Ch 4 Ch 4 47 | /SwitchableOutput/3/Dimming DOUBLE 0.0 0.0 48 | /SwitchableOutput/3/Measurement DOUBLE 25.0 25.0 49 | /SwitchableOutput/3/Status UINT32 0 0 50 | /SwitchableOutput/3/State UINT32 0 0 51 | /SwitchableOutput/4/Settings/ShowUIControl UINT32 1 1 52 | /SwitchableOutput/4/Settings/ValidTypes UINT32 256 256 53 | /SwitchableOutput/4/Settings/Type UINT32 8 8 54 | /SwitchableOutput/4/Settings/Group STRING 55 | /SwitchableOutput/4/Settings/CustomName STRING Numeric input Numeric input 56 | /SwitchableOutput/4/Settings/DimmingMin DOUBLE 0.0 0.0 57 | /SwitchableOutput/4/Settings/DimmingMax DOUBLE 1.0 1.0 58 | /SwitchableOutput/4/Settings/StepSize DOUBLE 0.001 0.001 59 | /SwitchableOutput/4/Settings/Decimals UINT32 3 3 60 | /SwitchableOutput/4/Settings/Unit STRING mm mm 61 | /SwitchableOutput/4/Name STRING Ch 5 Ch 5 62 | /SwitchableOutput/4/Dimming DOUBLE 0.0 0.0 63 | /SwitchableOutput/4/Status UINT32 0 0 64 | /SwitchableOutput/4/State UINT32 0 0 65 | /SwitchableOutput/50/Settings/ShowUIControl UINT32 1 1 66 | /SwitchableOutput/5/Settings/ValidTypes UINT32 512 512 67 | /SwitchableOutput/5/Settings/Type UINT32 9 9 68 | /SwitchableOutput/5/Settings/Group STRING 69 | /SwitchableOutput/5/Settings/CustomName STRING Three-state switch Three-state switch 70 | /SwitchableOutput/5/Name STRING Ch 6 Ch 6 71 | /SwitchableOutput/5/Status UINT32 0 0 72 | /SwitchableOutput/5/State UINT32 0 0 73 | /SwitchableOutput/5/Auto UINT32 0 0 74 | /SwitchableOutput/6/Settings/ShowUIControl UINT32 1 1 75 | /SwitchableOutput/6/Settings/ValidTypes UINT32 1024 1024 76 | /SwitchableOutput/6/Settings/Type UINT32 10 10 77 | /SwitchableOutput/6/Settings/Group STRING 78 | /SwitchableOutput/6/Settings/CustomName STRING Bilge pump Bilge pump 79 | /SwitchableOutput/6/Name STRING Ch 7 Ch 7 80 | /SwitchableOutput/6/Status UINT32 0 0 81 | /SwitchableOutput/6/State UINT32 0 0 82 | /SwitchableOutput/7/Settings/ShowUIControl UINT32 1 1 83 | /SwitchableOutput/7/Settings/ValidTypes UINT32 2048 2048 84 | /SwitchableOutput/7/Settings/Type UINT32 11 11 85 | /SwitchableOutput/7/Settings/Group STRING 86 | /SwitchableOutput/7/Settings/CustomName STRING RGB RGB 87 | /SwitchableOutput/7/Name STRING Ch 8 Ch 8 88 | /SwitchableOutput/7/Status UINT32 0 0 89 | /SwitchableOutput/7/State UINT32 0 0 90 | /SwitchableOutput/7/LightControls ARRAY(DOUBLE) [0, 100, 100, 0, 0] [0, 100, 100, 0, 0] 91 | /SwitchableOutput/8/Settings/ShowUIControl UINT32 1 1 92 | /SwitchableOutput/8/Settings/ValidTypes UINT32 8192 8192 93 | /SwitchableOutput/8/Settings/Type UINT32 13 13 94 | /SwitchableOutput/8/Settings/Group STRING 95 | /SwitchableOutput/8/Settings/CustomName STRING RGBW RGBW 96 | /SwitchableOutput/8/Name STRING Ch 9 Ch 9 97 | /SwitchableOutput/8/Status UINT32 0 0 98 | /SwitchableOutput/8/State UINT32 0 0 99 | /SwitchableOutput/8/LightControls ARRAY(DOUBLE) [0, 100, 100, 100, 0] [0, 100, 100, 100, 0] 100 | /SwitchableOutput/9/Settings/ShowUIControl UINT32 1 1 101 | /SwitchableOutput/9/Settings/ValidTypes UINT32 4096 4096 102 | /SwitchableOutput/9/Settings/Type UINT32 12 12 103 | /SwitchableOutput/9/Settings/Group STRING 104 | /SwitchableOutput/9/Settings/CustomName STRING CCT CCT 105 | /SwitchableOutput/9/Name STRING Ch 10 Ch 10 106 | /SwitchableOutput/9/Status UINT32 0 0 107 | /SwitchableOutput/9/State UINT32 0 0 108 | /SwitchableOutput/9/LightControls ARRAY(DOUBLE) [0, 0, 100, 0, 2700] [0, 0, 100, 0, 2700] 109 | /SwitchableOutput/10/Settings/ShowUIControl UINT32 1 1 110 | /SwitchableOutput/10/Settings/ValidTypes UINT32 0 0 111 | /SwitchableOutput/10/Settings/Type UINT32 1 1 112 | /SwitchableOutput/10/Settings/Group STRING 113 | /SwitchableOutput/10/Settings/CustomName STRING Momentary Momentary 114 | /SwitchableOutput/10/Name STRING Ch 11 Ch 11 115 | /SwitchableOutput/10/Status UINT32 0 0 116 | /SwitchableOutput/10/State UINT32 0 0 117 | /SwitchableOutput/11/Settings/ShowUIControl UINT32 1 1 118 | /SwitchableOutput/11/Settings/ValidTypes UINT32 2 2 119 | /SwitchableOutput/11/Settings/Type UINT32 1 1 120 | /SwitchableOutput/11/Settings/Group STRING 121 | /SwitchableOutput/11/Settings/CustomName STRING Toggle Toggle 122 | /SwitchableOutput/11/Name STRING Ch 12 Ch 12 123 | /SwitchableOutput/11/Status UINT32 0 0 124 | /SwitchableOutput/11/State UINT32 0 0 125 | /SwitchableOutput/12/Settings/ShowUIControl UINT32 1 1 126 | /SwitchableOutput/12/Settings/ValidTypes UINT32 4 4 127 | /SwitchableOutput/12/Settings/Type UINT32 2 2 128 | /SwitchableOutput/12/Settings/Group STRING 129 | /SwitchableOutput/12/Settings/CustomName STRING Dimming Dimming 130 | /SwitchableOutput/12/Name STRING Ch 13 Ch 13 131 | /SwitchableOutput/12/Status UINT32 0 0 132 | /SwitchableOutput/12/State UINT32 0 0 133 | /SwitchableOutput/12/Dimming DOUBLE 50.0 50.0 134 | /CustomName STRING Switch demo Switch demo 135 | /N2kDeviceInstance UINT32 0 0 136 | /N2kUniqueNumber UINT32 12345 12345 137 | /Serial STRING 12345 12345 138 | /Connected UINT32 1 1 139 | /DeviceInstance UINT32 10 10 140 | /HardwareVersion ARRAY [] 141 | /FirmwareVersion UINT32 65791 v1.00 142 | /ProductName STRING Switch demo Switch demo 143 | /ProductId UINT16 45170 0xB072 144 | /Mgmt/Connection STRING VE.Can VE.Can 145 | /Mgmt/ProcessVersion STRING 3.52 3.52 146 | /Mgmt/ProcessName STRING vecan-dbus vecan-dbus 147 | /State INT32 256 256 148 | 149 | 0 /SwitchableOutput/0/State UINT32 1 1 150 | 0 /SwitchableOutput/1/State UINT32 1 1 151 | 0 /SwitchableOutput/2/State UINT32 1 1 152 | 0 /SwitchableOutput/3/State UINT32 1 1 153 | 0 /SwitchableOutput/4/State UINT32 1 1 154 | 0 /SwitchableOutput/5/State UINT32 1 1 155 | 0 /SwitchableOutput/6/State UINT32 1 1 156 | 0 /SwitchableOutput/7/State UINT32 1 1 157 | 0 /SwitchableOutput/8/State UINT32 1 1 158 | 0 /SwitchableOutput/9/State UINT32 1 1 159 | 0 /SwitchableOutput/10/State UINT32 1 1 160 | 0 /SwitchableOutput/6/Status UINT32 0 0 161 | 30 /SwitchableOutput/6/Status UINT32 9 9 -------------------------------------------------------------------------------- /simulations/s/battery2.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.battery.socketcan_vecan0_vi2_uc478888 2 | /CustomName STRING House battery 2 3 | /N2kDeviceInstance UINT32 0 0 4 | /N2kUniqueNumber UINT32 478888 478888 5 | /Serial STRING 0478888 HQ2437NJ463 0478888 HQ2437NJ463 6 | /Connected UINT32 1 1 7 | /DeviceInstance UINT32 2 2 8 | /HardwareVersion ARRAY [] 9 | /FirmwareVersion UINT32 70655 v1.13 10 | /ProductName STRING Lynx Smart BMS NG Lynx Smart BMS NG 11 | /ProductId UINT16 41959 0xA3E7 12 | /Mgmt/Connection STRING VE.Can VE.Can 13 | /Mgmt/ProcessVersion STRING 3.42 3.42 14 | /Mgmt/ProcessName STRING vecan-dbus vecan-dbus 15 | /ParallelConnectThreshold ARRAY [] 16 | /DeviceState UINT32 249 249 17 | /Balancer/Status UINT32 1 1 18 | /Mode UINT32 3 3 19 | /NrOfDistributors UINT32 0 0 20 | /Errors/SmartLithium/InvalidConfiguration UINT32 0 0 21 | /Errors/SmartLithium/NrOfBatteries UINT32 0 0 22 | /Errors/SmartLithium/Voltage UINT32 0 0 23 | /Errors/SmartLithium/Communication UINT32 0 0 24 | /Alarms/LowSoc UINT32 0 0 25 | /Alarms/BmsCable UINT32 0 0 26 | /Alarms/Contactor UINT32 0 0 27 | /Alarms/HighInternalTemperature UINT32 0 0 28 | /Alarms/HighCurrent UINT32 0 0 29 | /Alarms/HighTemperature UINT32 0 0 30 | /Alarms/LowCellVoltage UINT32 0 0 31 | /Info/MaxDischargeCurrent DOUBLE 1200.0 1200.0A 32 | /Info/BatteryLowVoltage DOUBLE 20.799999237060547 20.80V 33 | /Info/MaxChargeCurrent DOUBLE 800.0 800.0A 34 | /Info/MaxChargeVoltage DOUBLE 27.399999618530273 27.40V 35 | /Io/ProgrammableContact ARRAY [] 36 | /Io/ExternalRelay ARRAY [] 37 | /Io/AllowToDischarge UINT32 1 1 38 | /Io/AllowToCharge UINT32 1 1 39 | /Diagnostics/LastErrors/4/Time UINT32 1734620520 1734620520 40 | /Diagnostics/LastErrors/4/Error UINT32 0 0 41 | /Diagnostics/LastErrors/3/Time UINT32 1734620520 1734620520 42 | /Diagnostics/LastErrors/3/Error UINT32 0 0 43 | /Diagnostics/LastErrors/2/Time UINT32 1734620520 1734620520 44 | /Diagnostics/LastErrors/2/Error UINT32 0 0 45 | /Diagnostics/LastErrors/1/Time UINT32 1734620520 1734620520 46 | /Diagnostics/LastErrors/1/Error UINT32 0 0 47 | /Diagnostics/ShutDownsDueError ARRAY [] 48 | /System/MaxCellTemperature DOUBLE 22.70001220703125 23 degrees 49 | /System/MinCellTemperature DOUBLE 21.70001220703125 22 degrees 50 | /System/MaxCellVoltage DOUBLE 3.380000114440918 3.38V 51 | /System/MinCellVoltage DOUBLE 3.359999895095825 3.36V 52 | /System/NrOfCellsPerBattery INT32 4 4 53 | /System/BatteriesSeries INT32 1 1 54 | /System/BatteriesParallel INT32 4 4 55 | /System/NrOfBatteries INT32 4 4 56 | /SystemSwitch UINT32 1 1 57 | /ErrorCode UINT32 0 0 58 | /State UINT32 9 9 59 | /Settings/BluetoothMode UINT32 1 1 60 | /Settings/RestoreDefaults UINT32 0 0 61 | /Settings/Battery/Capacity UINT16 800 800Ah 62 | /Settings/Battery/NominalVoltage UINT32 48 48V 63 | /Settings/HasSettings UINT32 1 1 64 | /Settings/HasTemperature UINT32 1 1 65 | /History/CanBeCleared UINT32 1 1 66 | /History/Clear ARRAY [] 67 | /History/MaximumTemperature DOUBLE 36.399993896484375 36 degrees 68 | /History/MinimumTemperature DOUBLE -273.1499938964844 -273 degrees 69 | /History/MaximumCellVoltage DOUBLE 3.559999942779541 3.56V 70 | /History/MinimumCellVoltage DOUBLE 3.130000114440918 3.13V 71 | /History/ChargedEnergy DOUBLE 120.81999969482422 120.82kWh 72 | /History/DischargedEnergy DOUBLE 94.12999725341797 94.13kWh 73 | /History/AutomaticSyncs INT32 148 148 74 | /History/TimeSinceLastFullCharge INT32 96075 96075s 75 | /History/MaximumVoltage DOUBLE 26.27 26.27V 76 | /History/MinimumVoltage DOUBLE 0.70 0.70V 77 | /History/TotalAhDrawn DOUBLE 1797.9000244140625 1797.9Ah 78 | /History/FullDischarges INT32 0 0 79 | /History/ChargeCycles INT32 4 4 80 | /History/AverageDischarge ARRAY [] 81 | /History/LastDischarge ARRAY [] 82 | /History/DeepestDischarge DOUBLE -602.2000122070312 -602.2Ah 83 | /TimeToGo UINT32 864000 864000s 84 | /Soc DOUBLE 99.20999908447266 99.2% 85 | /ConsumedAmphours DOUBLE -7.0 -7.0Ah 86 | /Dc/0/Temperature DOUBLE 22.20001220703125 22 degrees 87 | /Dc/0/Power INT32 -16 -16W 88 | /Dc/0/Current DOUBLE -0.30000001192092896 -0.3A 89 | /Dc/0/Voltage DOUBLE 26.27 26.27V 90 | /Capacity UINT16 800 800Ah 91 | 92 | 8 /Dc/0/Current DOUBLE -4.699999809265135 -4.7A 93 | 8 /System/MaxCellVoltage DOUBLE 3.355 3.355V 94 | 8 /System/MinCellVoltage DOUBLE 3.299 3.299V 95 | 48 /Dc/0/Current DOUBLE -4.75 -4.8A 96 | 48 /Dc/0/Voltage DOUBLE 26.3900003433228 26.39V 97 | 48 /Dc/0/Power INT32 -125 -125W 98 | 48 /System/MaxCellVoltage DOUBLE 3.356 3.356V 99 | 48 /System/MinCellVoltage DOUBLE 3.315 3.315V 100 | 60 /Dc/0/Current DOUBLE -4.699999809265135 -4.7A 101 | 60 /Dc/0/Voltage DOUBLE 26.3999996185303 26.40V 102 | 60 /Dc/0/Power INT32 -124 -124W 103 | 60 /System/MaxCellVoltage DOUBLE 3.348 3.348V 104 | 60 /System/MinCellVoltage DOUBLE 3.298 3.298V 105 | 88 /Dc/0/Current DOUBLE -4.59999990463257 -4.6A 106 | 88 /System/MaxCellVoltage DOUBLE 3.366 3.366V 107 | 88 /System/MinCellVoltage DOUBLE 3.308 3.308V 108 | 98 /System/MaxCellVoltage DOUBLE 3.345 3.345V 109 | 98 /System/MinCellVoltage DOUBLE 3.305 3.305V 110 | 114 /Dc/0/Voltage DOUBLE 26.3800001144409 26.38V 111 | 114 /Dc/0/Power INT32 -121 -121W 112 | 114 /System/MaxCellVoltage DOUBLE 3.345 3.345V 113 | 114 /System/MinCellVoltage DOUBLE 3.295 3.295V 114 | 128 /Dc/0/Current DOUBLE 27.85000038146975 27.9A 115 | 128 /Dc/0/Voltage DOUBLE 26.0699996948242 26.07V 116 | 128 /Dc/0/Power INT32 726 726W 117 | 128 /System/MaxCellVoltage DOUBLE 3.352 3.352V 118 | 128 /System/MinCellVoltage DOUBLE 3.281 3.281V 119 | 136 /Dc/0/Current DOUBLE 34.6500015258789 34.7A 120 | 136 /Dc/0/Voltage DOUBLE 26.1800003051758 26.18V 121 | 136 /Dc/0/Power INT32 907 907W 122 | 136 /System/MaxCellVoltage DOUBLE 3.333 3.333V 123 | 136 /System/MinCellVoltage DOUBLE 3.294 3.294V 124 | 146 /Dc/0/Current DOUBLE 34.0 34.0A 125 | 146 /Dc/0/Voltage DOUBLE 26.2299995422363 26.23V 126 | 146 /Dc/0/Power INT32 891 891W 127 | 146 /System/MaxCellVoltage DOUBLE 3.34 3.34V 128 | 146 /System/MinCellVoltage DOUBLE 3.303 3.303V 129 | 152 /Dc/0/Current DOUBLE 33.0 33.0A 130 | 152 /Dc/0/Voltage DOUBLE 26.2399997711182 26.24V 131 | 152 /Dc/0/Power INT32 865 865W 132 | 152 /System/MaxCellVoltage DOUBLE 3.341 3.341V 133 | 152 /System/MinCellVoltage DOUBLE 3.286 3.286V 134 | 162 /Dc/0/Current DOUBLE 30.25 30.2A 135 | 162 /Dc/0/Voltage DOUBLE 26.25 26.25V 136 | 162 /Dc/0/Power INT32 794 794W 137 | 162 /System/MaxCellVoltage DOUBLE 3.365 3.365V 138 | 162 /System/MinCellVoltage DOUBLE 3.298 3.298V 139 | 166 /System/MaxCellVoltage DOUBLE 3.351 3.351V 140 | 166 /System/MinCellVoltage DOUBLE 3.286 3.286V 141 | 172 /Dc/0/Current DOUBLE 28.45000076293945 28.5A 142 | 172 /System/MaxCellVoltage DOUBLE 3.345 3.345V 143 | 172 /System/MinCellVoltage DOUBLE 3.301 3.301V 144 | 184 /Dc/0/Current DOUBLE -4.5 -4.5A 145 | 184 /Dc/0/Voltage DOUBLE 26.6099996566772 26.61V 146 | 184 /Dc/0/Power INT32 -119 -119W 147 | 184 /System/MaxCellVoltage DOUBLE 3.338 3.338V 148 | 184 /System/MinCellVoltage DOUBLE 3.304 3.304V 149 | 192 /Dc/0/Current DOUBLE 27.85000038146975 27.9A 150 | 192 /Dc/0/Voltage DOUBLE 26.0699996948242 26.07V 151 | 192 /Dc/0/Power INT32 726 726W 152 | 192 /System/MaxCellVoltage DOUBLE 3.344 3.344V 153 | 192 /System/MinCellVoltage DOUBLE 3.297 3.297V 154 | 200 /Dc/0/Current DOUBLE 34.6500015258789 34.7A 155 | 200 /Dc/0/Voltage DOUBLE 26.1800003051758 26.18V 156 | 200 /Dc/0/Power INT32 907 907W 157 | 200 /System/MaxCellVoltage DOUBLE 3.344 3.344V 158 | 200 /System/MinCellVoltage DOUBLE 3.319 3.319V 159 | 210 /Dc/0/Current DOUBLE 34.0 34.0A 160 | 210 /Dc/0/Voltage DOUBLE 26.2299995422363 26.23V 161 | 210 /Dc/0/Power INT32 891 891W 162 | 210 /System/MaxCellVoltage DOUBLE 3.35 3.35V 163 | 210 /System/MinCellVoltage DOUBLE 3.289 3.289V 164 | 216 /Dc/0/Current DOUBLE 33.0 33.0A 165 | 216 /Dc/0/Voltage DOUBLE 26.2399997711182 26.24V 166 | 216 /Dc/0/Power INT32 865 865W 167 | 216 /System/MaxCellVoltage DOUBLE 3.358 3.358V 168 | 216 /System/MinCellVoltage DOUBLE 3.288 3.288V 169 | 226 /Dc/0/Current DOUBLE 30.25 30.2A 170 | 226 /Dc/0/Voltage DOUBLE 26.25 26.25V 171 | 226 /Dc/0/Power INT32 794 794W 172 | 226 /System/MaxCellVoltage DOUBLE 3.352 3.352V 173 | 226 /System/MinCellVoltage DOUBLE 3.28 3.28V 174 | 230 /System/MaxCellVoltage DOUBLE 3.337 3.337V 175 | 230 /System/MinCellVoltage DOUBLE 3.302 3.302V 176 | 236 /Dc/0/Current DOUBLE 28.45000076293945 28.5A 177 | 236 /System/MaxCellVoltage DOUBLE 3.357 3.357V 178 | 236 /System/MinCellVoltage DOUBLE 3.302 3.302V 179 | 248 /Dc/0/Current DOUBLE -4.5 -4.5A 180 | 248 /Dc/0/Voltage DOUBLE 26.6099996566772 26.61V 181 | 248 /Dc/0/Power INT32 -119 -119W 182 | 248 /System/MaxCellVoltage DOUBLE 3.349 3.349V 183 | 248 /System/MinCellVoltage DOUBLE 3.297 3.297V 184 | -------------------------------------------------------------------------------- /simulations/s/battery1.csv: -------------------------------------------------------------------------------- 1 | com.victronenergy.battery.socketcan_vecan0_vi1_uc478868 2 | /CustomName STRING House battery 1 3 | /N2kDeviceInstance UINT32 0 0 4 | /N2kUniqueNumber UINT32 478868 478868 5 | /Serial STRING 0478868 HQ2437XXP7K 0478868 HQ2437XXP7K 6 | /Connected UINT32 1 1 7 | /DeviceInstance UINT32 1 1 8 | /HardwareVersion ARRAY [] 9 | /FirmwareVersion UINT32 70655 v1.13 10 | /ProductName STRING Lynx Smart BMS NG Lynx Smart BMS NG 11 | /ProductId UINT16 41959 0xA3E7 12 | /Mgmt/Connection STRING VE.Can VE.Can 13 | /Mgmt/ProcessVersion STRING 3.42 3.42 14 | /Mgmt/ProcessName STRING vecan-dbus vecan-dbus 15 | /ParallelConnectThreshold ARRAY [] 16 | /DeviceState UINT32 249 249 17 | /Balancer/Status UINT32 1 1 18 | /Mode UINT32 3 3 19 | /NrOfDistributors BYTE 0 0 20 | /Errors/SmartLithium/InvalidConfiguration UINT32 0 0 21 | /Errors/SmartLithium/NrOfBatteries UINT32 0 0 22 | /Errors/SmartLithium/Voltage UINT32 0 0 23 | /Errors/SmartLithium/Communication UINT32 0 0 24 | /Alarms/LowSoc UINT32 0 0 25 | /Alarms/BmsCable UINT32 0 0 26 | /Alarms/Contactor UINT32 0 0 27 | /Alarms/HighInternalTemperature UINT32 0 0 28 | /Alarms/HighCurrent UINT32 0 0 29 | /Alarms/HighTemperature UINT32 0 0 30 | /Alarms/LowCellVoltage UINT32 0 0 31 | /Info/MaxDischargeCurrent DOUBLE 1200.0 1200.0A 32 | /Info/BatteryLowVoltage DOUBLE 21.599998474121094 21.60V 33 | /Info/MaxChargeCurrent DOUBLE 800.0 800.0A 34 | /Info/MaxChargeVoltage DOUBLE 27.399999618530273 27.40V 35 | /Io/ProgrammableContact ARRAY [] 36 | /Io/ExternalRelay ARRAY [] 37 | /Io/AllowToDischarge UINT32 1 1 38 | /Io/AllowToCharge UINT32 1 1 39 | /Diagnostics/LastErrors/4/Time UINT32 1736418540 1736418540 40 | /Diagnostics/LastErrors/4/Error UINT32 2 2 41 | /Diagnostics/LastErrors/3/Time UINT32 1736418900 1736418900 42 | /Diagnostics/LastErrors/3/Error UINT32 2 2 43 | /Diagnostics/LastErrors/2/Time UINT32 1736419320 1736419320 44 | /Diagnostics/LastErrors/2/Error UINT32 2 2 45 | /Diagnostics/LastErrors/1/Time UINT32 1747054380 1747054380 46 | /Diagnostics/LastErrors/1/Error UINT32 36 36 47 | /Diagnostics/ShutDownsDueError ARRAY [] 48 | /System/MaxCellTemperature DOUBLE 22.899993896484375 23 degrees 49 | /System/MinCellTemperature DOUBLE 21.70001220703125 22 degrees 50 | /System/MaxCellVoltage DOUBLE 3.390000104904175 3.39V 51 | /System/MinCellVoltage DOUBLE 3.3499999046325684 3.35V 52 | /System/NrOfCellsPerBattery INT32 4 4 53 | /System/BatteriesSeries INT32 1 1 54 | /System/BatteriesParallel INT32 4 4 55 | /System/NrOfBatteries INT32 4 4 56 | /SystemSwitch UINT32 1 1 57 | /ErrorCode UINT32 0 0 58 | /State UINT32 9 9 59 | /Settings/BluetoothMode BYTE 1 1 60 | /Settings/RestoreDefaults UINT32 0 0 61 | /Settings/Battery/Capacity UINT16 800 800Ah 62 | /Settings/Battery/NominalVoltage BYTE 24 24V 63 | /Settings/HasSettings UINT32 1 1 64 | /Settings/HasTemperature UINT32 1 1 65 | /History/CanBeCleared UINT32 1 1 66 | /History/Clear ARRAY [] 67 | /History/MaximumTemperature DOUBLE 55.800018310546875 56 degrees 68 | /History/MinimumTemperature DOUBLE -273.1499938964844 -273 degrees 69 | /History/MaximumCellVoltage DOUBLE 3.619999885559082 3.62V 70 | /History/MinimumCellVoltage DOUBLE 2.740000009536743 2.74V 71 | /History/ChargedEnergy DOUBLE 135.27000427246094 135.27kWh 72 | /History/DischargedEnergy DOUBLE 113.25 113.25kWh 73 | /History/AutomaticSyncs INT32 426 426 74 | /History/TimeSinceLastFullCharge INT32 96076 96076s 75 | /History/MaximumVoltage DOUBLE 28.145000457763672 28.15V 76 | /History/MinimumVoltage DOUBLE 13.949999809265137 13.95V 77 | /History/TotalAhDrawn DOUBLE 1728.0999755859375 1728.1Ah 78 | /History/FullDischarges INT32 5 5 79 | /History/ChargeCycles INT32 2 2 80 | /History/AverageDischarge ARRAY [] 81 | /History/LastDischarge ARRAY [] 82 | /History/DeepestDischarge DOUBLE -600.5999755859375 -600.6Ah 83 | /TimeToGo UINT32 864000 864000s 84 | /Soc DOUBLE 99.20999908447266 99.2% 85 | /ConsumedAmphours DOUBLE -7.0 -7.0Ah 86 | /Dc/0/Temperature DOUBLE 22.20001220703125 22 degrees 87 | /Dc/0/Power INT32 -16 -16W 88 | /Dc/0/Current DOUBLE -0.30000001192092896 -0.3A 89 | /Dc/0/Voltage DOUBLE 26.3900003433228 26.39V 90 | /Capacity UINT16 800 800Ah 91 | 92 | 8 /Dc/0/Current DOUBLE -4.699999809265135 -4.7A 93 | 8 /System/MaxCellVoltage DOUBLE 3.355 3.355V 94 | 8 /System/MinCellVoltage DOUBLE 3.299 3.299V 95 | 48 /Dc/0/Current DOUBLE -4.75 -4.8A 96 | 48 /Dc/0/Voltage DOUBLE 26.3900003433228 26.39V 97 | 48 /Dc/0/Power INT32 -125 -125W 98 | 48 /System/MaxCellVoltage DOUBLE 3.356 3.356V 99 | 48 /System/MinCellVoltage DOUBLE 3.315 3.315V 100 | 60 /Dc/0/Current DOUBLE -4.699999809265135 -4.7A 101 | 60 /Dc/0/Voltage DOUBLE 26.3999996185303 26.40V 102 | 60 /Dc/0/Power INT32 -124 -124W 103 | 60 /System/MaxCellVoltage DOUBLE 3.348 3.348V 104 | 60 /System/MinCellVoltage DOUBLE 3.298 3.298V 105 | 88 /Dc/0/Current DOUBLE -4.59999990463257 -4.6A 106 | 88 /System/MaxCellVoltage DOUBLE 3.366 3.366V 107 | 88 /System/MinCellVoltage DOUBLE 3.308 3.308V 108 | 98 /System/MaxCellVoltage DOUBLE 3.345 3.345V 109 | 98 /System/MinCellVoltage DOUBLE 3.305 3.305V 110 | 114 /Dc/0/Voltage DOUBLE 26.3800001144409 26.38V 111 | 114 /Dc/0/Power INT32 -121 -121W 112 | 114 /System/MaxCellVoltage DOUBLE 3.345 3.345V 113 | 114 /System/MinCellVoltage DOUBLE 3.295 3.295V 114 | 128 /Dc/0/Current DOUBLE 27.85000038146975 27.9A 115 | 128 /Dc/0/Voltage DOUBLE 26.0699996948242 26.07V 116 | 128 /Dc/0/Power INT32 726 726W 117 | 128 /System/MaxCellVoltage DOUBLE 3.352 3.352V 118 | 128 /System/MinCellVoltage DOUBLE 3.281 3.281V 119 | 136 /Dc/0/Current DOUBLE 34.6500015258789 34.7A 120 | 136 /Dc/0/Voltage DOUBLE 26.1800003051758 26.18V 121 | 136 /Dc/0/Power INT32 907 907W 122 | 136 /System/MaxCellVoltage DOUBLE 3.333 3.333V 123 | 136 /System/MinCellVoltage DOUBLE 3.294 3.294V 124 | 146 /Dc/0/Current DOUBLE 34.0 34.0A 125 | 146 /Dc/0/Voltage DOUBLE 26.2299995422363 26.23V 126 | 146 /Dc/0/Power INT32 891 891W 127 | 146 /System/MaxCellVoltage DOUBLE 3.34 3.34V 128 | 146 /System/MinCellVoltage DOUBLE 3.303 3.303V 129 | 152 /Dc/0/Current DOUBLE 33.0 33.0A 130 | 152 /Dc/0/Voltage DOUBLE 26.2399997711182 26.24V 131 | 152 /Dc/0/Power INT32 865 865W 132 | 152 /System/MaxCellVoltage DOUBLE 3.341 3.341V 133 | 152 /System/MinCellVoltage DOUBLE 3.286 3.286V 134 | 162 /Dc/0/Current DOUBLE 30.25 30.2A 135 | 162 /Dc/0/Voltage DOUBLE 26.25 26.25V 136 | 162 /Dc/0/Power INT32 794 794W 137 | 162 /System/MaxCellVoltage DOUBLE 3.365 3.365V 138 | 162 /System/MinCellVoltage DOUBLE 3.298 3.298V 139 | 166 /System/MaxCellVoltage DOUBLE 3.351 3.351V 140 | 166 /System/MinCellVoltage DOUBLE 3.286 3.286V 141 | 172 /Dc/0/Current DOUBLE 28.45000076293945 28.5A 142 | 172 /System/MaxCellVoltage DOUBLE 3.345 3.345V 143 | 172 /System/MinCellVoltage DOUBLE 3.301 3.301V 144 | 184 /Dc/0/Current DOUBLE -4.5 -4.5A 145 | 184 /Dc/0/Voltage DOUBLE 26.6099996566772 26.61V 146 | 184 /Dc/0/Power INT32 -119 -119W 147 | 184 /System/MaxCellVoltage DOUBLE 3.338 3.338V 148 | 184 /System/MinCellVoltage DOUBLE 3.304 3.304V 149 | 192 /Dc/0/Current DOUBLE 27.85000038146975 27.9A 150 | 192 /Dc/0/Voltage DOUBLE 26.0699996948242 26.07V 151 | 192 /Dc/0/Power INT32 726 726W 152 | 192 /System/MaxCellVoltage DOUBLE 3.344 3.344V 153 | 192 /System/MinCellVoltage DOUBLE 3.297 3.297V 154 | 200 /Dc/0/Current DOUBLE 34.6500015258789 34.7A 155 | 200 /Dc/0/Voltage DOUBLE 26.1800003051758 26.18V 156 | 200 /Dc/0/Power INT32 907 907W 157 | 200 /System/MaxCellVoltage DOUBLE 3.344 3.344V 158 | 200 /System/MinCellVoltage DOUBLE 3.319 3.319V 159 | 210 /Dc/0/Current DOUBLE 34.0 34.0A 160 | 210 /Dc/0/Voltage DOUBLE 26.2299995422363 26.23V 161 | 210 /Dc/0/Power INT32 891 891W 162 | 210 /System/MaxCellVoltage DOUBLE 3.35 3.35V 163 | 210 /System/MinCellVoltage DOUBLE 3.289 3.289V 164 | 216 /Dc/0/Current DOUBLE 33.0 33.0A 165 | 216 /Dc/0/Voltage DOUBLE 26.2399997711182 26.24V 166 | 216 /Dc/0/Power INT32 865 865W 167 | 216 /System/MaxCellVoltage DOUBLE 3.358 3.358V 168 | 216 /System/MinCellVoltage DOUBLE 3.288 3.288V 169 | 226 /Dc/0/Current DOUBLE 30.25 30.2A 170 | 226 /Dc/0/Voltage DOUBLE 26.25 26.25V 171 | 226 /Dc/0/Power INT32 794 794W 172 | 226 /System/MaxCellVoltage DOUBLE 3.352 3.352V 173 | 226 /System/MinCellVoltage DOUBLE 3.28 3.28V 174 | 230 /System/MaxCellVoltage DOUBLE 3.337 3.337V 175 | 230 /System/MinCellVoltage DOUBLE 3.302 3.302V 176 | 236 /Dc/0/Current DOUBLE 28.45000076293945 28.5A 177 | 236 /System/MaxCellVoltage DOUBLE 3.357 3.357V 178 | 236 /System/MinCellVoltage DOUBLE 3.302 3.302V 179 | 248 /Dc/0/Current DOUBLE -4.5 -4.5A 180 | 248 /Dc/0/Voltage DOUBLE 26.6099996566772 26.61V 181 | 248 /Dc/0/Power INT32 -119 -119W 182 | 248 /System/MaxCellVoltage DOUBLE 3.349 3.349V 183 | 248 /System/MinCellVoltage DOUBLE 3.297 3.297V 184 | --------------------------------------------------------------------------------