Skip to content

Comments

Last core charging signals#10

Merged
elffjs merged 5 commits intomainfrom
ex-3482-last-core-charging-signals
Mar 22, 2025
Merged

Last core charging signals#10
elffjs merged 5 commits intomainfrom
ex-3482-last-core-charging-signals

Conversation

@elffjs
Copy link
Member

@elffjs elffjs commented Mar 19, 2025

Pulling two signals from #9. These seem like the other important charging measurements. We can negotiate the rest tomorrow.

We are searching for target VSS signals for two Tesla signals:

  1. ChargeAmps: This is indeed in amps. The description is "AC charger's sensed input line current". True to that description, the signal only shows up during AC charging. VSS has Charging.ChargeCurrent.Phase{1,2,3}. Most home chargers are one-phase, but in Europe there are some three-phase. I'm trying to find one in order to confirm that this is the average current across the three phases (you expect them to roughly be the same) in those cases.
  2. ChargerVoltage. This is in volts. The description is "RMS value of AC charger's sensed input voltage". This turns out to be misleading and in fact we're sent this value during DC charging as well. VSS has Charging.ChargeVoltage.Phase{1,2,3} for AC and Charging.ChargeVoltage.DC for DC. We need something universal. I've picked "Actual" out of a hat—"Current" would be great except it's an overloaded word in this file. "Measured" would also be fine. I went with UnknownType to be explicit. I could not bring myself to do UnknownCurrentType.

@elffjs elffjs requested a review from KevinJoiner as a code owner March 19, 2025 00:10
@linear
Copy link

linear bot commented Mar 19, 2025

@elffjs
Copy link
Member Author

elffjs commented Mar 20, 2025

Okay I changed Actual to UnknownType. Do we hate it?

unit: A
description: Current AC charging current (rms) at inlet. Negative if returning energy to grid. Used when per-phase numbers are unavailable.

Vehicle.Powertrain.TractionBattery.Charging.ChargeVoltage.UnknownType:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KevinJoiner @lernerjn Please help

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like unkownType because no one is going to use this without looking at the description.

datatype: float
type: sensor
unit: A
description: Current AC charging current (rms) at inlet. Negative if returning energy to grid. Used when per-phase numbers are unavailable.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe spell out what rms means

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thing is they use it without comment in the main file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you either think about it (hey the current is variable so what are you saying) or it's just a number to you, to be compared with other numbers.

I've never heard of something doing any other summary statistic, to be honest with you.

@elffjs elffjs merged commit b4eb846 into main Mar 22, 2025
1 of 4 checks passed
@elffjs elffjs deleted the ex-3482-last-core-charging-signals branch March 22, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants