Skip to main content
Open topic with navigation CAPL Functions » Smart Charging » SCC Modeling Libraries (Simulation Setup) » V2G Data Queries » EV Functions » SCC_GetConsumptionCostData

SCC_GetConsumptionCostData

Valid for: CANoe DE • CANoe4SW DE

Note

Function Syntax

void SCC_GetConsumptionCostData ( long i1, long i2, long i3, float& StartValue, long& CostCount )

Description

Gets the start value and the number of Cost subelements of the ConsumptionCost element with the selected indices.

Parameters

  • i1: Selected index of the target SAScheduleTuple.
  • i2: Selected index of the target SalesTariffEntry.
  • i3: Selected index of the target ConsumptionCost element.
  • StartValue: Gets the start value of the selected ConsumptionCost element (via reference).
  • CostCount: Gets the number of cost subelements of the selected ConsumptionCost element (via reference).

Return Values

Example