farcaller on Nostr: I have a metric that says how much the inverter produces in watts. I have another ...
I have a metric that says how much the inverter produces in watts. I have another metric that says how much power is passing towards the grid (in kW). So, I suppose, I could do something like this:
(huawei_device_power_sensor_active_power_w > bool 0) * (huawei_device_inverter_active_power_kw * 1000 - huawei_device_power_sensor_active_power_w)
+ (huawei_device_power_sensor_active_power_w <= bool 0) * (huawei_device_inverter_active_power_kw * 1000)
To plot the consumption from specifically the solar energy.
Why is this all so complicated.
(huawei_device_power_sensor_active_power_w > bool 0) * (huawei_device_inverter_active_power_kw * 1000 - huawei_device_power_sensor_active_power_w)
+ (huawei_device_power_sensor_active_power_w <= bool 0) * (huawei_device_inverter_active_power_kw * 1000)
To plot the consumption from specifically the solar energy.
Why is this all so complicated.