> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionSCCSetCurrentRegulationTolerance

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/SmartCharging/Functions/CAPLfunctionSCCSetCurrentRegulationTolerance.md)

**CAPL Functions** » [Smart Charging](../CAPLFunctionsSmartChargingOverview.md) » [SCC Modeling Libraries (Simulation Setup)](../CAPLFunctionsSmartChargingOverview.md#BMNodeayerDLL) » [V2G Simulation Data](../CAPLFunctionsSmartChargingOverview.md#V2GSimDataWrite) » [EVSE Functions](../CAPLFunctionsSmartChargingOverview.md#V2GSimDataWrite) » SCC\_SetCurrentRegulationTolerance

# SCC\_SetCurrentRegulationTolerance

[Valid for](../../../Shared/FeatureAvailability.md):  CANoe DE  •  CANoe4SW DE

## Function Syntax

```plaintext theme={null}
long SCC_SetCurrentRegulationTolerance 
( float CurrentRegulationTolerance )
```

## Description

This function sets the EVSECurrentRegulationTolerance.

## Parameters

* **CurrentRegulationTolerance**: Value to set for EVSECurrentRegulationTolerance parameter of the ChargeParameterDiscoveryRes.

## Return Values

* **0**: Not successful
* **1**: Successful

## Example

—
