Power feed utilization percentage is not accurate #7295

Closed
opened 2025-12-29 20:21:27 +01:00 by adam · 0 comments
Owner

Originally created by @markkuleinio on GitHub (Nov 29, 2022).

Originally assigned to: @arthanson on GitHub.

NetBox version

v3.3.8

Python version

3.9

Steps to Reproduce

  1. Add manufacturer "Test"
  2. Add device type "TestType" (manufacturer Test)
  3. Add device role "Test"
  4. Add site "TestSite"
  5. Add power panel "TestPanel" (site = TestSite)
  6. Add power feed "TestFeed1" (panel TestPanel, AC, 120V, 15A, single-phase, max 80%)
  7. Add device "PowerRail" (role = Test, type = TestType, site = TestSite)
  8. For PowerRail, add power port "Upstream1", and then connect it to power feed TestFeed1
  9. For PowerRail, add power outlet "Outlet1" (power port = Upstream1)
  10. Add device "MyDevice1" (role = Test, type = TestType, site = TestSite)
  11. For MyDevice1, add power port "PS1" (maximum draw = 400, allocated draw = 400), and then connect it to PowerRail port Outlet1

Expected Behavior

Power feed "TestFeed1" shows utilization of 400VA/1440VA = 27.8%

Observed Behavior

Power feed "TestFeed1" shows utilization of 28.0%:

image

Originally created by @markkuleinio on GitHub (Nov 29, 2022). Originally assigned to: @arthanson on GitHub. ### NetBox version v3.3.8 ### Python version 3.9 ### Steps to Reproduce 1. Add manufacturer "Test" 1. Add device type "TestType" (manufacturer Test) 1. Add device role "Test" 1. Add site "TestSite" 1. Add power panel "TestPanel" (site = TestSite) 1. Add power feed "TestFeed1" (panel TestPanel, AC, 120V, 15A, single-phase, max 80%) 1. Add device "PowerRail" (role = Test, type = TestType, site = TestSite) 1. For PowerRail, add power port "Upstream1", and then connect it to power feed TestFeed1 1. For PowerRail, add power outlet "Outlet1" (power port = Upstream1) 1. Add device "MyDevice1" (role = Test, type = TestType, site = TestSite) 1. For MyDevice1, add power port "PS1" (maximum draw = 400, allocated draw = 400), and then connect it to PowerRail port Outlet1 ### Expected Behavior Power feed "TestFeed1" shows utilization of 400VA/1440VA = **27.8%** ### Observed Behavior Power feed "TestFeed1" shows utilization of **28.0%**: ![image](https://user-images.githubusercontent.com/25136274/204460079-56e775c1-9555-41e2-b4b6-fd62d8bbc64d.png)
adam added the type: bugstatus: accepted labels 2025-12-29 20:21:27 +01:00
adam closed this issue 2025-12-29 20:21:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7295