DeviceEnergyManagementTrait.RequestConstraintBasedForecastCommand.Request

class DeviceEnergyManagementTrait.RequestConstraintBasedForecastCommand.Request


The request payload for the RequestConstraintBasedForecast command.

Summary

Public constructors

Creates a request payload for the RequestConstraintBasedForecast command.

Public properties

DeviceEnergyManagementTrait.AdjustmentCauseEnum

The cause of the request from the EMS.

List<DeviceEnergyManagementTrait.ConstraintsStruct>

A series of turn-up or turn-down power constraints that the EMS is asking the ESA to adhere to in its forecast.

Public constructors

Request

Request(
    constraints: List<DeviceEnergyManagementTrait.ConstraintsStruct> = emptyList(),
    cause: DeviceEnergyManagementTrait.AdjustmentCauseEnum = AdjustmentCauseEnum.LocalOptimization
)

Creates a request payload for the RequestConstraintBasedForecast command.

Public properties

cause

val causeDeviceEnergyManagementTrait.AdjustmentCauseEnum

The cause of the request from the EMS.

constraints

val constraintsList<DeviceEnergyManagementTrait.ConstraintsStruct>

A series of turn-up or turn-down power constraints that the EMS is asking the ESA to adhere to in its forecast. For example, if a grid event requires devices to reduce power (turn down) between 4 p.m. and 6 p.m., and there is excess power on the grid overnight, this may cause an EMS to request that an ESA increase its power demand (turn up) between midnight and 6 a.m.