> ## 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 Flow

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

```csharp theme={null}
public sealed class Flow : ItemsContainerModelBase<Power>, IObservableObject, IDisposableObject, IValidatable, IHasName, IHasGuid
```

#### Inheritance

object ←
ObservableObject ←
[ValidatableBase](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs) ←
[ItemsContainerModelBase\<Power>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md) ←
[Flow](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.Flow.md)

#### Implements

IObservableObject,
IDisposableObject,
IValidatable,
IHasName,
IHasGuid

#### Inherited Members

[ItemsContainerModelBase\<Power>.AddItem(Power)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_AddItem__0_),
[ItemsContainerModelBase\<Power>.Contains(Guid)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_Contains_System_Guid_),
[ItemsContainerModelBase\<Power>.Contains(Power)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_Contains__0_),
[ItemsContainerModelBase\<Power>.RemoveItem(Guid)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_RemoveItem_System_Guid_),
[ItemsContainerModelBase\<Power>.TryGetItem(Guid, out Power)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_TryGetItem_System_Guid__0__),
[ItemsContainerModelBase\<Power>.All](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_All),
[ItemsContainerModelBase\<Power>.ItemsCount](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_ItemsCount),
[ItemsContainerModelBase\<Power>.ObservableItems](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_ObservableItems),
[ItemsContainerModelBase\<Power>.this\[int\]](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_Item_System_Int32_),
[ValidatableBase.RaisePropertyChanged(string)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.SuspendValidate()](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.Validate()](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.Validate(ValidationContext)](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.CanValidate](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.Errors](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.HasValidationAttribute](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.HasValidator](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.IsValid](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.ValidateTrigger](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
[ValidatableBase.ErrorsChanged](https://github.com/AnsysVirtualMotion/DAFUL/blob/9110677a5f6a53d7604f8dfd35b4c5fceb59e8e0/DAFUL/Common/VM.Extensions/Models/ValidatableBase.cs),
ObservableObject.Dispose(),
ObservableObject.RaisePropertyChanged(string),
ObservableObject.RaisePropertyChanged(string, object, object),
ObservableObject.IsDisposed,
ObservableObject.TryDisposing,
ObservableObject.Disposed,
ObservableObject.Disposing,
ObservableObject.PropertyChanged

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/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/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/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### Flow(Guid, string)

```csharp theme={null}
public Flow(Guid guid, string name)
```

#### Parameters

`guid` Guid

`name` string

## Properties

### CarrierGearRole

```csharp theme={null}
public GearRoles CarrierGearRole { get; set; }
```

#### Property Value

[GearRoles](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.GearRoles.md)

### Guid

```csharp theme={null}
[JsonProperty]
public Guid Guid { get; }
```

#### Property Value

Guid

### IsValid

```csharp theme={null}
public override bool IsValid { get; }
```

#### Property Value

bool

### MotorMaxRPM

```csharp theme={null}
public int MotorMaxRPM { get; set; }
```

#### Property Value

int

### Name

```csharp theme={null}
public string Name { get; set; }
```

#### Property Value

string

### Pinion1ToothCount

```csharp theme={null}
public int Pinion1ToothCount { get; set; }
```

#### Property Value

int

### Pinion2ToothCount

```csharp theme={null}
public int Pinion2ToothCount { get; set; }
```

#### Property Value

int

### PlanetaryType

```csharp theme={null}
public PlanetaryTypes PlanetaryType { get; set; }
```

#### Property Value

[PlanetaryTypes](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.PlanetaryTypes.md)

### PowerSplitMap

```csharp theme={null}
public TorqueMap PowerSplitMap { get; set; }
```

#### Property Value

[TorqueMap](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.TorqueMap.md)

### Powers

```csharp theme={null}
[JsonIgnore]
public IObservableCollection<Power> Powers { get; }
```

#### Property Value

IObservableCollection\<[Power](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.Power.md)>

### RingGearRole

```csharp theme={null}
public GearRoles RingGearRole { get; set; }
```

#### Property Value

[GearRoles](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.GearRoles.md)

### RingToothCount

```csharp theme={null}
public int RingToothCount { get; set; }
```

#### Property Value

int

### SunGearRole

```csharp theme={null}
public GearRoles SunGearRole { get; set; }
```

#### Property Value

[GearRoles](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.GearRoles.md)

### SunToothCount

```csharp theme={null}
public int SunToothCount { get; set; }
```

#### Property Value

int

### UsePowerSplitModule

```csharp theme={null}
public bool UsePowerSplitModule { get; set; }
```

#### Property Value

bool

## Methods

### GetPower(int)

```csharp theme={null}
public Power GetPower(int index)
```

#### Parameters

`index` int

#### Returns

[Power](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.Power.md)

### GetPowerCount()

```csharp theme={null}
public int GetPowerCount()
```

#### Returns

int

### GetPowers()

```csharp theme={null}
public IEnumerable<Power> GetPowers()
```

#### Returns

IEnumerable\<[Power](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.Power.md)>
