Skip to content

Commit

Permalink
Fix model 203 current mixed with power
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Aug 9, 2020
1 parent 0931fd4 commit 8172e18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meters/sunspec/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ var modelMap = map[sunspec.ModelId]map[int]map[string]meters.Measurement{
model203.TotWhImpPhB: meters.ImportL2,
model203.TotWhImpPhC: meters.ImportL3,
model203.VA: meters.ApparentPower,
model203.VAphA: meters.ApparentPowerL1,
model203.VAphB: meters.ApparentPowerL2,
model203.VAphC: meters.ApparentPowerL3,
model203.VAR: meters.ReactivePower,
model203.VARphA: meters.ReactivePowerL1,
model203.VARphB: meters.ReactivePowerL2,
model203.VARphC: meters.ReactivePowerL3,
model203.VAphA: meters.CurrentL1,
model203.VAphB: meters.CurrentL2,
model203.VAphC: meters.CurrentL3,
model203.W: meters.Power,
model203.WphA: meters.PowerL1,
model203.WphB: meters.PowerL2,
Expand Down

0 comments on commit 8172e18

Please sign in to comment.