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

# Class SimulationAPI

Namespace: [VM.API.Pre](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre)\
Assembly: VM.API.Pre.dll

This class implements APIs for simulation.

```csharp theme={null}
public static class SimulationAPI
```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[SimulationAPI](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.API.Pre.SimulationAPI.md)

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### ExportDFG(DocumentAnalysis, string)

Export DFG file

```csharp theme={null}
[NotNull(new string[] { "document" })]
[NotNullOrEmpty(new string[] { "targetPath" })]
public static void ExportDFG(this DocumentAnalysis document, string targetPath)
```

#### Parameters

`document` DocumentAnalysis

The [DocumentAnalysis](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.DocumentAnalysis.md) for exporting DFG file. If null, the active document will be used.

`targetPath` [string](https://learn.microsoft.com/dotnet/api/system.string)

The file path to export DFG file exclude file extension.

### ExportDFS(DocumentAnalysis, string)

Export DFS file

```csharp theme={null}
[NotNull(new string[] { "document" })]
[NotNullOrEmpty(new string[] { "targetPath" })]
public static void ExportDFS(this DocumentAnalysis document, string targetPath)
```

#### Parameters

`document` DocumentAnalysis

The [DocumentAnalysis](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.DocumentAnalysis.md) for exporting DFS file. If null, the active document will be used.

`targetPath` [string](https://learn.microsoft.com/dotnet/api/system.string)

The file path to export DFS file exclude file extension.

### ExportDFSXML(DocumentAnalysis, string)

Export DFSXML file

```csharp theme={null}
[NotNull(new string[] { "document" })]
[NotNullOrEmpty(new string[] { "targetPath" })]
public static void ExportDFSXML(this DocumentAnalysis document, string targetPath)
```

#### Parameters

`document` DocumentAnalysis

The [DocumentAnalysis](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.DocumentAnalysis.md) for exporting DFSXML file. If null, the active document will be used.

`targetPath` [string](https://learn.microsoft.com/dotnet/api/system.string)

The file path to export DFSXML file exclude file extension.

### RunSimulation(DocumentAnalysis, SimulationParameter)

Run simulation.

```csharp theme={null}
[NotNull(new string[] { "document" })]
public static void RunSimulation(this DocumentAnalysis document, SimulationRun.SimulationParameter simulationParameter = null)
```

#### Parameters

`document` DocumentAnalysis

The [DocumentAnalysis](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r2/lib/VM.Managed.DAFUL.DocumentAnalysis.md) for simulate. If null, the active document will be used.

`simulationParameter` SimulationRun.SimulationParameter

The simulation parameter.

### SetDynamicNumericalDamping(SubSystemDocument, double)

Sets the dynamic numerical damping.

```csharp theme={null}
public static void SetDynamicNumericalDamping(this SubSystemDocument subSystemDocument, double numericalDamping)
```

#### Parameters

`subSystemDocument` SubSystemDocument

The document to set the dynamic numerical damping.

`numericalDamping` [double](https://learn.microsoft.com/dotnet/api/system.double)

The value of numerical damping.

### SetStaticNumericalDamping(SubSystemDocument, double)

Sets the static numerical damping.

```csharp theme={null}
public static void SetStaticNumericalDamping(this SubSystemDocument subSystemDocument, double numericalDamping)
```

#### Parameters

`subSystemDocument` SubSystemDocument

The document to set the static numerical damping.

`numericalDamping` [double](https://learn.microsoft.com/dotnet/api/system.double)

The value of numerical damping.

### SetThermalNumericalDamping(SubSystemDocument, double)

Sets the thermal numerical damping.

```csharp theme={null}
public static void SetThermalNumericalDamping(this SubSystemDocument subSystemDocument, double numericalDamping)
```

#### Parameters

`subSystemDocument` SubSystemDocument

The document to set the thermal numerical damping.

`numericalDamping` [double](https://learn.microsoft.com/dotnet/api/system.double)

The value of numerical damping.
