-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
1,380 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
syntax = "proto3"; | ||
|
||
package ManagedCharging; | ||
|
||
option go_package = "github.com/teslamotors/vehicle-command/pkg/protocol/protobuf/managedcharging"; | ||
|
||
// The reasons why the site controller may recommend no charge. | ||
// The site controller will only return the highest priority reason to the vehicle. | ||
enum ChargeOnSolarNoChargeReason { | ||
CHARGE_ON_SOLAR_NO_CHARGE_REASON_INVALID = 0; | ||
// The Powerwall is being prioritized over the vehicle to charge. | ||
CHARGE_ON_SOLAR_NO_CHARGE_REASON_POWERWALL_CHARGE_PRIORITY = 1; | ||
// There is not enough solar for the vehicle to charge effectively. | ||
CHARGE_ON_SOLAR_NO_CHARGE_REASON_INSUFFICIENT_SOLAR = 2; | ||
// The site controller is prioritizing export to the grid. This can | ||
// happen when the site controller is in autonomous mode and it is | ||
// most economical to export excess solar to the grid, or during a | ||
// virtual power plant event. | ||
CHARGE_ON_SOLAR_NO_CHARGE_REASON_GRID_EXPORT_PRIORITY = 3; | ||
// Another vehicle is charging on solar at this location and has priority. | ||
CHARGE_ON_SOLAR_NO_CHARGE_REASON_ALTERNATE_VEHICLE_CHARGE_PRIORITY = 4; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.