Docs › OCPP 2.1 › PullDynamicScheduleUpdate

PullDynamicScheduleUpdate OCPP 2.1

Der Simulator antwortet mit NotSupported, prüft die Nachricht aber gegen das Schema.

Request

FeldTypEinschränkungen / Beschreibung
chargingProfileIdintegerPflichtId of charging profile to update.
JSON-Schema (Request)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:2:2025:1:PullDynamicScheduleUpdateRequest",
  "comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
  "definitions": {
    "CustomDataType": {
      "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": [
        "vendorId"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "chargingProfileId": {
      "description": "Id of charging profile to update.\r\n",
      "type": "integer"
    },
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    }
  },
  "required": [
    "chargingProfileId"
  ]
}

Response

FeldTypEinschränkungen / Beschreibung
scheduleUpdateobjectUpdates to a ChargingSchedulePeriodType for dynamic charging profiles.
scheduleUpdate.limitnumberOptional only when not required by the _operationMode_, as in CentralSetpoint, ExternalSetpoint, ExternalLimits, LocalFrequency, LocalLoadBalancing. + Charging rate limit during the schedule period, in the applicable _chargingRateUnit_. This SHOULD be a non-negative value; a negative value is only supported for backwards compatibility with older systems that use a negative value to specify a discharging limit. For AC this field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.
scheduleUpdate.limit_L2number*(2.1)* Charging rate limit on phase L2 in the applicable _chargingRateUnit_.
scheduleUpdate.limit_L3number*(2.1)* Charging rate limit on phase L3 in the applicable _chargingRateUnit_.
scheduleUpdate.dischargeLimitnumbermaximum 0.0
*(2.1)* Limit in _chargingRateUnit_ that the EV is allowed to discharge with. Note, these are negative values in order to be consistent with _setpoint_, which can be positive and negative. + For AC this field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.
scheduleUpdate.dischargeLimit_L2numbermaximum 0.0
*(2.1)* Limit in _chargingRateUnit_ on phase L2 that the EV is allowed to discharge with.
scheduleUpdate.dischargeLimit_L3numbermaximum 0.0
*(2.1)* Limit in _chargingRateUnit_ on phase L3 that the EV is allowed to discharge with.
scheduleUpdate.setpointnumber*(2.1)* Setpoint in _chargingRateUnit_ that the EV should follow as close as possible. Use negative values for discharging. + When a limit and/or _dischargeLimit_ are given the overshoot when following _setpoint_ must remain within these values. This field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.
scheduleUpdate.setpoint_L2number*(2.1)* Setpoint in _chargingRateUnit_ that the EV should follow on phase L2 as close as possible.
scheduleUpdate.setpoint_L3number*(2.1)* Setpoint in _chargingRateUnit_ that the EV should follow on phase L3 as close as possible.
scheduleUpdate.setpointReactivenumber*(2.1)* Setpoint for reactive power (or current) in _chargingRateUnit_ that the EV should follow as closely as possible. Positive values for inductive, negative for capacitive reactive power or current. + This field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.
scheduleUpdate.setpointReactive_L2number*(2.1)* Setpoint for reactive power (or current) in _chargingRateUnit_ that the EV should follow on phase L2 as closely as possible.
scheduleUpdate.setpointReactive_L3number*(2.1)* Setpoint for reactive power (or current) in _chargingRateUnit_ that the EV should follow on phase L3 as closely as possible.
statusstringPflichtenum: Accepted, Rejected
Result of request.
statusInfoobjectElement providing more information about the status.
statusInfo.reasonCodestringPflichtmaxLength 20
A predefined code for the reason why the status is returned in this response. The string is case-insensitive.
statusInfo.additionalInfostringmaxLength 1024
Additional text to provide detailed information.
JSON-Schema (Response)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "$id": "urn:OCPP:Cp:2:2025:1:PullDynamicScheduleUpdateResponse",
  "comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
  "definitions": {
    "ChargingProfileStatusEnumType": {
      "description": "Result of request.\r\n\r\n",
      "javaType": "ChargingProfileStatusEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "Accepted",
        "Rejected"
      ]
    },
    "ChargingScheduleUpdateType": {
      "description": "Updates to a ChargingSchedulePeriodType for dynamic charging profiles.\r\n\r\n",
      "javaType": "ChargingScheduleUpdate",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "limit": {
          "description": "Optional only when not required by the _operationMode_, as in CentralSetpoint, ExternalSetpoint, ExternalLimits, LocalFrequency,  LocalLoadBalancing. +\r\nCharging rate limit during the schedule period, in the applicable _chargingRateUnit_. \r\nThis SHOULD be a non-negative value; a negative value is only supported for backwards compatibility with older systems that use a negative value to specify a discharging limit.\r\nFor AC this field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.\r\n",
          "type": "number"
        },
        "limit_L2": {
          "description": "*(2.1)* Charging rate limit on phase L2  in the applicable _chargingRateUnit_. \r\n",
          "type": "number"
        },
        "limit_L3": {
          "description": "*(2.1)* Charging rate limit on phase L3  in the applicable _chargingRateUnit_. \r\n",
          "type": "number"
        },
        "dischargeLimit": {
          "description": "*(2.1)* Limit in _chargingRateUnit_ that the EV is allowed to discharge with. Note, these are negative values in order to be consistent with _setpoint_, which can be positive and negative.  +\r\nFor AC this field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.\r\n",
          "type": "number",
          "maximum": 0.0
        },
        "dischargeLimit_L2": {
          "description": "*(2.1)* Limit in _chargingRateUnit_ on phase L2 that the EV is allowed to discharge with. \r\n",
          "type": "number",
          "maximum": 0.0
        },
        "dischargeLimit_L3": {
          "description": "*(2.1)* Limit in _chargingRateUnit_ on phase L3 that the EV is allowed to discharge with. \r\n",
          "type": "number",
          "maximum": 0.0
        },
        "setpoint": {
          "description": "*(2.1)* Setpoint in _chargingRateUnit_ that the EV should follow as close as possible. Use negative values for discharging. +\r\nWhen a limit and/or _dischargeLimit_ are given the overshoot when following _setpoint_ must remain within these values.\r\nThis field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.\r\n",
          "type": "number"
        },
        "setpoint_L2": {
          "description": "*(2.1)* Setpoint in _chargingRateUnit_ that the EV should follow on phase L2 as close as possible.\r\n",
          "type": "number"
        },
        "setpoint_L3": {
          "description": "*(2.1)* Setpoint in _chargingRateUnit_ that the EV should follow on phase L3 as close as possible. \r\n",
          "type": "number"
        },
        "setpointReactive": {
          "description": "*(2.1)* Setpoint for reactive power (or current) in _chargingRateUnit_ that the EV should follow as closely as possible. Positive values for inductive, negative for capacitive reactive power or current.  +\r\nThis field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.\r\n",
          "type": "number"
        },
        "setpointReactive_L2": {
          "description": "*(2.1)* Setpoint for reactive power (or current) in _chargingRateUnit_ that the EV should follow on phase L2 as closely as possible. \r\n",
          "type": "number"
        },
        "setpointReactive_L3": {
          "description": "*(2.1)* Setpoint for reactive power (or current) in _chargingRateUnit_ that the EV should follow on phase L3 as closely as possible. \r\n",
          "type": "number"
        },
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        }
      }
    },
    "StatusInfoType": {
      "description": "Element providing more information about the status.\r\n",
      "javaType": "StatusInfo",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "reasonCode": {
          "description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
          "type": "string",
          "maxLength": 20
        },
        "additionalInfo": {
          "description": "Additional text to provide detailed information.\r\n",
          "type": "string",
          "maxLength": 1024
        },
        "customData": {
          "$ref": "#/definitions/CustomDataType"
        }
      },
      "required": [
        "reasonCode"
      ]
    },
    "CustomDataType": {
      "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": [
        "vendorId"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "scheduleUpdate": {
      "$ref": "#/definitions/ChargingScheduleUpdateType"
    },
    "status": {
      "$ref": "#/definitions/ChargingProfileStatusEnumType"
    },
    "statusInfo": {
      "$ref": "#/definitions/StatusInfoType"
    },
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    }
  },
  "required": [
    "status"
  ]
}

Quelle: Open Charge Alliance, OCPP 2.1 – JSON-Schemas, unverändert wiedergegeben. © Open Charge Alliance. Lizenz: CC BY-ND 4.0. Die vollständige Spezifikation gibt es bei der Open Charge Alliance. ocpp-sim ist nicht mit der OCA verbunden.