Turbo
Turbo
This namespace holds top-level commands and queries related to Turbo Systems
CreateDesignPoints
This command class creates multiple new design points and returns a list of those design points
Suppose you want to create 5 design points with a single command. This can be achieved by the following code: MyDPlist = Turbo.CreateDesignPoints( NumberOfPoints=5, Retained=True) Here the design points are also flagged as retained.
Return
List of DataReferences to the new design point entities.- Type List<DataReference>
Required Arguments
- NumberOfPoints The specified number of design points to create
- Type int
Optional Arguments
- Example
Required example does not exist.
CreateDP
This command class creates a new design point, ensuring the Parameter Manager GUI is updated correctly
-
Return
A DataReference to the new design point entity. - Type DataReference
DeleteDP
This command class deletes the specified design point, ensuring the Parameter Manager GUI is updated correctly
Required Arguments
- DesignPoint The design point data reference.
- Type DataReference
SetParameterInDP
This command class updates the parameter manager with the design point defined by the Performance Map.
The following code uses SetParameterInDP to set the parameter values for mass flow rate (P1) and percentage speed (P2) in design point 1: designPoint1 = Parameters.GetDesignPoint(Name="1") paramMassFlowRate = Parameters.GetParameter(Name="P1") Turbo.SetParameterInDP( DesignPoint=designPoint1, Parameter=paramMassFlowRate, Expression="2 [kg s^-1]") paramPercentSpeed = Parameters.GetParameter(Name="P2") Turbo.SetParameterInDP( DesignPoint=designPoint1, Parameter=paramPercentSpeed, Expression="90")
Required Arguments
- DesignPoint The design point data reference.
- Type DataReference
- Expression The string with the expression for the parameter.
- Type string
- Parameter The input parameter data reference.
- Type DataReference
- Example
Required example does not exist.