victronenergy / venus

Victron Energy Unix/Linux OS

Home Page:https://github.com/victronenergy/venus/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

systemcalc additions

kwindrem opened this issue · comments

As part of GuiMods, I have been modifying dbus-systemcalc.py. These should probably be merged into the stock code to support new devices being shown on the gui-v2 overview page. (I currently have no plans to migrate GuiMods flow page enhancements to gui-v2. The stock code is great as it is.)

Add support for motor drive
This is a motor-based propulsion system for boats that also serves as a charger when under sail or in from water current at anchor. (That's what I was told -- not an expert).

Add support for wind generator
This is a sub-type of com.victronenergy.dcsource (specifically -8 in this case)

There may be other dcsource subtypes that need to be addressed but have not looked at the list.

I also included wind and motor drive power in the calculated DC System power.

Modified ALTERNATOR to fill in a zero power value rather than a None value. Apparently some alternators do not report a power value if not running or if power is below a threshold. Without this modification, the alternator disappears from the flow page when it stops.