> ## 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/2025-r1/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](https://learn.microsoft.com/dotnet/api/system.object) ←
ObservableObject ←
ValidatableBase ←
[ItemsContainerModelBase\<Power>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1.md) ←
[Flow](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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/2025-r1/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/2025-r1/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/2025-r1/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/2025-r1/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/2025-r1/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/2025-r1/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/2025-r1/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/2025-r1/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/2025-r1/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsContainerModelBase-1#VM_Models_Pre_Drivetrain_VehicleSimulator_ItemsContainerModelBase_1_Item_System_Int32_),
ValidatableBase.RaisePropertyChanged(string),
ValidatableBase.SuspendValidate(),
ValidatableBase.Validate(),
ValidatableBase.Validate(ValidationContext),
ValidatableBase.CanValidate,
ValidatableBase.Errors,
ValidatableBase.HasValidationAttribute,
ValidatableBase.HasValidator,
ValidatableBase.IsValid,
ValidatableBase.ValidateTrigger,
ValidatableBase.ErrorsChanged,
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/2025-r1/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-r1/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-r1/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](https://learn.microsoft.com/dotnet/api/system.guid)

`name` [string](https://learn.microsoft.com/dotnet/api/system.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/2025-r1/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.GearRoles.md)

### Guid

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

#### Property Value

[Guid](https://learn.microsoft.com/dotnet/api/system.guid)

### IsValid

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

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### MotorMaxRPM

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

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### Name

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

#### Property Value

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

### Pinion1ToothCount

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

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### Pinion2ToothCount

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

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### PlanetaryType

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

#### Property Value

[PlanetaryTypes](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/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/2025-r1/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/2025-r1/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/2025-r1/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.GearRoles.md)

### RingToothCount

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

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### SunGearRole

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

#### Property Value

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

### SunToothCount

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

#### Property Value

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### UsePowerSplitModule

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

#### Property Value

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## Methods

### GetPower(int)

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

#### Parameters

`index` [int](https://learn.microsoft.com/dotnet/api/system.int32)

#### Returns

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

### GetPowerCount()

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

#### Returns

[int](https://learn.microsoft.com/dotnet/api/system.int32)

### GetPowers()

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

#### Returns

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)\<[Power](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/2025-r1/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.Power.md)>
