From b36e73aa4c2c187212ea4c43dcf29305ae63bff3 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Tue, 28 Mar 2023 15:10:38 -0400 Subject: [PATCH 1/2] Don't restrict chargers to AC-sourcing Really, chargers are something that is sourced from a power bus. --- schemas/groups/electrical.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/groups/electrical.json b/schemas/groups/electrical.json index f40a08d1..8cfa8ded 100644 --- a/schemas/groups/electrical.json +++ b/schemas/groups/electrical.json @@ -502,9 +502,9 @@ } } } - }, + }, "chargers": { - "description": "Data about AC sourced battery charger", + "description": "Data about an AC/DC sourced battery charger", "patternProperties": { "(^[A-Za-z0-9]+$)": { "type": "object", From 56b232635fc978004817b39ea6eaa4caf3aafdb5 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Tue, 28 Mar 2023 15:20:47 -0400 Subject: [PATCH 2/2] Add DC-DC convertors Like chargers, but without stages and modes of charge. --- schemas/groups/electrical.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/schemas/groups/electrical.json b/schemas/groups/electrical.json index 8cfa8ded..8430deb3 100644 --- a/schemas/groups/electrical.json +++ b/schemas/groups/electrical.json @@ -520,6 +520,38 @@ } } }, + "converters": { + "description": "Data about a voltage step up/down DC-DC converter", + "patternProperties": { + "(^[A-Za-z0-9]+$)": { + "type": "object", + "title": "Charger", + "description": "DC-DC converter", + "allOf": [{ + "$ref": "#/definitions/identity" + },{ + "$ref": "#/definitions/dcQualities" + }], + "properties": { + "inputVoltage": { + "description": "Voltage being supplied to the converter", + "$ref": "../definitions.json#/definitions/numberValue", + "units": "V" + }, + "inputCurrent": { + "description": "Amperage being supplied to the converter", + "$ref": "../definitions.json#/definitions/numberValue", + "units": "A" + }, + "inputPower": { + "description": "Power being supplied to the converter", + "$ref": "../definitions.json#/definitions/numberValue", + "units": "W" + } + } + } + } + }, "alternators": { "description": "Data about an Alternator charging device", "patternProperties": {