question

deunan avatar image
deunan asked

Simulate Multi RS

Hello,

i'm playing around with Dbus and python. I'm using ve_lib to feed data onto the Dbus. I have 2 Smart Mppt and a Smart shunt connected to Venus-os and it's all working smoothly. Sadly, my hybrid inverter is not a Victron one yet and i'm trying to simulate one via Dbus on com.victronenergy.multi.

I think i have set the relevant paths, but some of the values don't appear on the local dashboard and the VRM.

What i'm doing wrong?

chrome-afn2xcq5bv.pngchrome-nf5zyyo5lz.png self._dbusservice.add_path('/Mode',3)

self._dbusservice.add_path('/State',9)

self._dbusservice.add_path('/Yeld/User',1234)

self._dbusservice.add_path('/Yeld/System',5678)

#AC-Out

self._dbusservice.add_path('/Ac/Out/1/L1/V',230)

self._dbusservice.add_path('/Ac/Out/1/L1/F',50)

self._dbusservice.add_path('/Ac/Out/1/L1/I',1)

self._dbusservice.add_path('/Ac/Out/1/L1/P',230)

#AC-IN

self._dbusservice.add_path('/Ac/In/1/Type',1)

self._dbusservice.add_path('/Ac/In/1/L1/V',230)

self._dbusservice.add_path('/Ac/In/1/L1/F',50)

self._dbusservice.add_path('/Ac/In/1/L1/I',1)

self._dbusservice.add_path('/Ac/In/1/L1/P',230)

self._dbusservice.add_path('/Ac/NumberOfPhases',1)

self._dbusservice.add_path('/Ac/NumberOfInputs',1)

self._dbusservice.add_path('/Ac/ActiveIn/ActiveInput',0)

#DC

self._dbusservice.add_path('/DC/0/Voltage',0)

self._dbusservice.add_path('/DC/0/Current',0)

self._dbusservice.add_path('/DC/0/Temperature',33)

self._dbusservice.add_path('/Soc',33)

#PV

self._dbusservice.add_path('/MppOperationMode',2)

self._dbusservice.add_path('/NrOfTrackers',1)

self._dbusservice.add_path('/Pv/0/V',555)

self._dbusservice.add_path('/Pv/0/P',666)

self._dbusservice.add_path('/Yield/Power',888)

Venus OSdriver
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
dondavici avatar image
dondavici answered ·

Hi,


any progress on this? I have the same problem and I need to find out which information is needed.


Greets

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

mr-manuel avatar image
mr-manuel answered ·

Hi, maybe this could help you to get some inputs https://github.com/mr-manuel/venus-os_dbus-multiplus-emulator

It's not perfect but working. Best would be, if someone could post the dbus values of a real Multi RS.

This could also be helpful https://github.com/victronenergy/dbus-systemcalc-py/tree/master/tests


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Victron Venus OS Open Source intro page

Venus OS GitHub (please do not post to this)

Additional resources still need to be added for this topic