From 138964bc81ef9e84a274f83e34a022b43731985c Mon Sep 17 00:00:00 2001
From: dersecure <133936386+dersecure@users.noreply.github.com>
Date: Mon, 10 Aug 2026 06:35:12 -0600
Subject: [PATCH] Model 122: correct WAval units from var to W
WAval is defined as 'Amount of Watts available' and its scale factor as
'Scale factor for available Watts', but the point declares units of var.
The value looks carried over from VArAval, which immediately precedes it
and is correctly var. Both the JSON and SMDX representations carry the
same value, so both are corrected.
W is the units string already used for watt-valued points elsewhere in the
model set, for example WRtg, MaxChaRte and MaxDisChaRte in model 120.
---
json/model_122.json | 2 +-
smdx/smdx_00122.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/json/model_122.json b/json/model_122.json
index f8040cb..b9068a4 100644
--- a/json/model_122.json
+++ b/json/model_122.json
@@ -164,7 +164,7 @@
"sf": "WAval_SF",
"size": 1,
"type": "uint16",
- "units": "var"
+ "units": "W"
},
{
"desc": "Scale factor for available Watts.",
diff --git a/smdx/smdx_00122.xml b/smdx/smdx_00122.xml
index 4f150ea..9aa28b0 100644
--- a/smdx/smdx_00122.xml
+++ b/smdx/smdx_00122.xml
@@ -25,7 +25,7 @@
-
+
0