EfficiencyMapPlot class is used to specify the settings for an efficiency map plot.
The class can be called from the Study class.
.
More...
Public Member Functions | |
| void | AddPoint (double x, double y) |
| Adds the operating point of the efficiency map. More... | |
| void | AddPoints (String array &array) |
| Adds the point sequence of multidimensional array for the operating point list of the efficiency map. More... | |
| void | AddPointsFromRange (double x_start, double x_end, int x_division, double y_start, double y_end, int y_division) |
| Adds a ranged operating point. More... | |
| void | DeleteAllPoints () |
| Deletes all operating points of the efficiency map. | |
| void | DeletePoint (int index) |
| Deletes the operating point of the efficiency map. More... | |
| void | DuplicateStudyWithOperatingPoint (String &filename=String(), bool movePoint=false, double tolerance=0.0, int inductanceType=0, double speed=0.0, double torque=0.0) |
| Creates an accuracy priority efficiency map study that includes the operating point taken from the study. More... | |
| void | DuplicateStudyWithOperatingPointFromRange (double x_start, double x_end, int x_division, double y_start, double y_end, int y_division, String &filename=String(), bool movePoint=false, double tolerance=0.0, int inductanceType=0, double speed=0.0, double torque=0.0) |
| Creates an accuracy priority efficiency map study that includes the operating point with a specified range taken from the study. More... | |
| void | DuplicateStudyWithOperatingPointFromRangeTemp (double x_start, double x_end, int x_division, double y_start, double y_end, int y_division, String &filename, bool movePoint, double tolerance, int inductanceType, double speed, double torque, double temp1, double temp2, double voltage=0.0) |
| Creates an accuracy priority efficiency map study that includes the operating point with a specified range taken from the study. More... | |
| void | DuplicateStudyWithOperatingPointTemp (String &filename, bool movePoint, double tolerance, int inductanceType, double speed, double torque, double temp1, double temp2, double voltage=0.0) |
| Creates an accuracy priority efficiency map study that includes the operating point taken from the study. More... | |
| void | ExportClusterPointData (int type, String &filename, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Exports the result of the efficiency map drive cycle cluster points. More... | |
| void | ExportData (Variant &type, String &filename, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Exports the result of the efficiency map operating point ([CSV Export] in the [Efficiency Map] dialog). More... | |
| void | ExportDataFromRange (Variant &type, String &filename, double x_start, double x_end, int x_division, double y_start, double y_end, int y_division, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Exports the result of the efficiency map operating point with a range. More... | |
| void | ExportDriveCycleData (int type, String &filename, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Exports the result of the efficiency map drive cycle. More... | |
| void | ExportOperatingPoint (String &filename, bool movePoint=false, double tolerance=0.0) |
| Exports the operating point information of the efficiency map. More... | |
| void | ExportOperatingPointFromRange (String &filename, double x_start, double x_end, int x_division, double y_start, double y_end, int y_division, bool movePoint=false, double tolerance=0.0) |
| Exports the operating point information of the efficiency map with a specified range. More... | |
| void | ExportOperatingPointFromRangeTemp (String &filename, double x_start, double x_end, int x_division, double y_start, double y_end, int y_division, bool movePoint=false, double tolerance=0.0, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Exports the operating point information of the efficiency map with a specified range (Temperature specification). More... | |
| void | ExportOperatingPointTemp (String &filename, bool movePoint=false, double tolerance=0.0, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Exports the operating point information of the efficiency map (Temperature specification). More... | |
| void | ExportRttFile (bool overWrite, String &filename, double arbitraryTemp, double coil, int x_division, int y_division, double voltage, double current, bool publish, bool copySimulatorFiles=false) |
| Exports the rtt file. More... | |
| void | ExportTorqueTable (String &filename, double start, double end, int division, bool motorMode, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Exports the torque table of the efficiency map operating point with a range. More... | |
| String | GetName () |
| Returns the name of the efficiency map plot as a string. More... | |
| double | GetPointResult (Variant &type, double x, double y, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Returns the result value for specified type at specified operating point of the efficiency map. More... | |
| Variant | GetProperty (String &propName, int displayType=TEfficiencyMapProperty::kMap, int type=ResponseDatabase::TOperatingPoint::kEfficiency) |
| Returns setting for a specified item. More... | |
| double | GetResultMaxXValue (double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Returns the maximum value of the efficiency map X-axis. More... | |
| double | GetResultMaxYValue (double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Returns the maximum value of the efficiency map Y-axis. More... | |
| double | GetResultMinXValue (double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Returns the minimum value of the efficiency map X-axis. More... | |
| double | GetResultMinYValue (double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Returns the minimum value of the efficiency map Y-axis. More... | |
| int | GetResultType (int index) |
| Returns the result type of the efficiency map. More... | |
| String | GetResultTypeName (int index) |
| Returns the result type name of the efficiency map. More... | |
| int | GetResultXDivisions (double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Returns the number of X-axis divisions of the efficiency map. 0 is returned for the Accuracy Priority mode. More... | |
| int | GetResultYDivisions (double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Returns the number of Y-axis divisions of the efficiency map. 0 is returned for the Accuracy Priority mode. More... | |
| double | GetTorqueTableResult (String &type, double speed, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Returns the torque table value for the specified result type in the efficiency map. More... | |
| virtual bool | IsValid () |
| Returns True if an object is valid. More... | |
| bool | IsValidPoint (double x, double y, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Returns whether the point is a valid point in the efficiency map. More... | |
| int | NTCurveDivisions () |
| Returns the number of divisions in the NT curve settings of the efficiency map. More... | |
| double | NTCurveEndValue () |
| Returns the end value of the NT curve setting of the efficiency map. More... | |
| double | NTCurveInitialValue () |
| Returns the initial value of the NT curve setting of the efficiency map. More... | |
| int | NTCurveMotorMode () |
| Returns the motor mode of the NT curve setting of the efficiency map. More... | |
| int | NumResults () |
| Returns the number of result types in the efficiency map. More... | |
| bool | SaveMapImage (Variant &type, String &filename, int width, int height, int displayType=0, double temp1=0.0, double temp2=0.0, double voltage=0.0) |
| Saves a map image with a specified size. More... | |
| void | SetName (String &name) |
| Specifies the name of the efficiency map plot. More... | |
| void | SetNTCurveDivisions (Variant &value) |
| Specifies the number of divisions in the NT curve settings of the efficiency map. More... | |
| void | SetNTCurveEndValue (Variant &value) |
| Specifies the end value of the NT curve setting of the efficiency map. More... | |
| void | SetNTCurveInitialValue (Variant &value) |
| Specifies the initial value of the NT curve setting of the efficiency map. More... | |
| void | SetNTCurveMotorMode (Variant &value) |
| Specifies the motor mode for the NT curve settings in the efficiency map. More... | |
| void | SetProperty (String &propName, Variant &var, int displayType=TEfficiencyMapProperty::kMap, int type=ResponseDatabase::TOperatingPoint::kEfficiency) |
| Specifies the efficiency map properties. More... | |
| void | ShowDialog (Variant &type) |
| Opens the map dialog and selects the given type. More... | |
EfficiencyMapPlot class is used to specify the settings for an efficiency map plot.
The class can be called from the Study class.
.
Example of calling the class object:
| void EfficiencyMapPlot::AddPoint | ( | double | x, |
| double | y | ||
| ) |
Adds the operating point of the efficiency map.
| x | X coordinate |
| y | Y coordinate |
| void EfficiencyMapPlot::AddPoints | ( | String array & | array | ) |
Adds the point sequence of multidimensional array for the operating point list of the efficiency map.
| array | Multidimensional array |
| void EfficiencyMapPlot::AddPointsFromRange | ( | double | x_start, |
| double | x_end, | ||
| int | x_division, | ||
| double | y_start, | ||
| double | y_end, | ||
| int | y_division | ||
| ) |
Adds a ranged operating point.
| x_start | X-axis initial value |
| x_end | X-axis end value |
| x_division | X-axis number of divisions |
| y_start | Y-axis initial value |
| y_end | Y-axis end value |
| y_division | Y-axis number of divisions |
| void EfficiencyMapPlot::DeletePoint | ( | int | index | ) |
Deletes the operating point of the efficiency map.
| index | Index |
| void EfficiencyMapPlot::DuplicateStudyWithOperatingPoint | ( | String & | filename = String(), |
| bool | movePoint = false, |
||
| double | tolerance = 0.0, |
||
| int | inductanceType = 0, |
||
| double | speed = 0.0, |
||
| double | torque = 0.0 |
||
| ) |
Creates an accuracy priority efficiency map study that includes the operating point taken from the study.
| filename | File name to use scriptfile(*.py) |
| movePoint | Moves or adds an operating point on the N-T curve with the specified X coordinate value |
| tolerance | Movement tolerance |
| inductanceType | Additional type of inductance equation |
| speed | Speed |
| torque | Torque |
| void EfficiencyMapPlot::DuplicateStudyWithOperatingPointFromRange | ( | double | x_start, |
| double | x_end, | ||
| int | x_division, | ||
| double | y_start, | ||
| double | y_end, | ||
| int | y_division, | ||
| String & | filename = String(), |
||
| bool | movePoint = false, |
||
| double | tolerance = 0.0, |
||
| int | inductanceType = 0, |
||
| double | speed = 0.0, |
||
| double | torque = 0.0 |
||
| ) |
Creates an accuracy priority efficiency map study that includes the operating point with a specified range taken from the study.
| x_start | X-axis initial value |
| x_end | X-axis end value |
| x_division | X-axis number of divisions |
| y_start | Y-axis initial value |
| y_end | Y-axis end value |
| y_division | Y-axis number of divisions |
| filename | File name to use scriptfile(*.py) |
| movePoint | Moves or adds an operating point on the N-T curve with the specified X coordinate value |
| tolerance | Movement tolerance |
| inductanceType | Additional type of inductance equation |
| speed | Speed |
| torque | Torque |
| void EfficiencyMapPlot::DuplicateStudyWithOperatingPointFromRangeTemp | ( | double | x_start, |
| double | x_end, | ||
| int | x_division, | ||
| double | y_start, | ||
| double | y_end, | ||
| int | y_division, | ||
| String & | filename, | ||
| bool | movePoint, | ||
| double | tolerance, | ||
| int | inductanceType, | ||
| double | speed, | ||
| double | torque, | ||
| double | temp1, | ||
| double | temp2, | ||
| double | voltage = 0.0 |
||
| ) |
Creates an accuracy priority efficiency map study that includes the operating point with a specified range taken from the study.
| x_start | X-axis initial value |
| x_end | X-axis end value |
| x_division | X-axis number of divisions |
| y_start | Y-axis initial value |
| y_end | Y-axis end value |
| y_division | Y-axis number of divisions |
| filename | File name to use scriptfile(*.py) |
| movePoint | Moves or adds an operating point on the N-T curve with the specified X coordinate value |
| tolerance | Movement tolerance |
| inductanceType | Additional type of inductance equation |
| speed | Speed |
| torque | Torque |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| void EfficiencyMapPlot::DuplicateStudyWithOperatingPointTemp | ( | String & | filename, |
| bool | movePoint, | ||
| double | tolerance, | ||
| int | inductanceType, | ||
| double | speed, | ||
| double | torque, | ||
| double | temp1, | ||
| double | temp2, | ||
| double | voltage = 0.0 |
||
| ) |
Creates an accuracy priority efficiency map study that includes the operating point taken from the study.
| filename | File name to use scriptfile(*.py) |
| movePoint | Moves or adds an operating point on the N-T curve with the specified X coordinate value |
| tolerance | Movement tolerance |
| inductanceType | Additional type of inductance equation |
| speed | Speed |
| torque | Torque |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| void EfficiencyMapPlot::ExportClusterPointData | ( | int | type, |
| String & | filename, | ||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Exports the result of the efficiency map drive cycle cluster points.
| type | Result type |
| filename | File name to output |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
For more information about the result type, see GetPointResult() .
| void EfficiencyMapPlot::ExportData | ( | Variant & | type, |
| String & | filename, | ||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Exports the result of the efficiency map operating point ([CSV Export] in the [Efficiency Map] dialog).
| type | Result type |
| filename | File name to output |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
For more information about the result type, see GetPointResult .
| void EfficiencyMapPlot::ExportDataFromRange | ( | Variant & | type, |
| String & | filename, | ||
| double | x_start, | ||
| double | x_end, | ||
| int | x_division, | ||
| double | y_start, | ||
| double | y_end, | ||
| int | y_division, | ||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Exports the result of the efficiency map operating point with a range.
| type | Result type |
| filename | File name to output |
| x_start | X-axis initial value |
| x_end | X-axis end value |
| x_division | X-axis number of divisions |
| y_start | Y-axis initial value |
| y_end | Y-axis end value |
| y_division | Y-axis number of divisions |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
For more information about the result type, see GetPointResult .
| void EfficiencyMapPlot::ExportDriveCycleData | ( | int | type, |
| String & | filename, | ||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Exports the result of the efficiency map drive cycle.
| type | Result type |
| filename | File name to output |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
For more information about the result type, see GetPointResult() .
| void EfficiencyMapPlot::ExportOperatingPoint | ( | String & | filename, |
| bool | movePoint = false, |
||
| double | tolerance = 0.0 |
||
| ) |
Exports the operating point information of the efficiency map.
| filename | File name to output |
| movePoint | Moves or adds an operating point on the N-T curve with the specified X coordinate value |
| tolerance | Movement tolerance |
| void EfficiencyMapPlot::ExportOperatingPointFromRange | ( | String & | filename, |
| double | x_start, | ||
| double | x_end, | ||
| int | x_division, | ||
| double | y_start, | ||
| double | y_end, | ||
| int | y_division, | ||
| bool | movePoint = false, |
||
| double | tolerance = 0.0 |
||
| ) |
Exports the operating point information of the efficiency map with a specified range.
| filename | File name to output |
| x_start | X-axis initial value |
| x_end | X-axis end value |
| x_division | X-axis number of divisions |
| y_start | Y-axis initial value |
| y_end | Y-axis end value |
| y_division | Y-axis number of divisions |
| movePoint | Moves or adds an operating point on the N-T curve with the specified X coordinate value |
| tolerance | Movement tolerance |
| void EfficiencyMapPlot::ExportOperatingPointFromRangeTemp | ( | String & | filename, |
| double | x_start, | ||
| double | x_end, | ||
| int | x_division, | ||
| double | y_start, | ||
| double | y_end, | ||
| int | y_division, | ||
| bool | movePoint = false, |
||
| double | tolerance = 0.0, |
||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Exports the operating point information of the efficiency map with a specified range (Temperature specification).
| filename | File name to output |
| x_start | X-axis initial value |
| x_end | X-axis end value |
| x_division | X-axis number of divisions |
| y_start | Y-axis initial value |
| y_end | Y-axis end value |
| y_division | Y-axis number of divisions |
| movePoint | Moves or adds an operating point on the N-T curve with the specified X coordinate value |
| tolerance | Movement tolerance |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| void EfficiencyMapPlot::ExportOperatingPointTemp | ( | String & | filename, |
| bool | movePoint = false, |
||
| double | tolerance = 0.0, |
||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Exports the operating point information of the efficiency map (Temperature specification).
| filename | File name to output |
| movePoint | Moves or adds an operating point on the N-T curve with the specified X coordinate value |
| tolerance | Movement tolerance |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| void EfficiencyMapPlot::ExportRttFile | ( | bool | overWrite, |
| String & | filename, | ||
| double | magnet, | ||
| double | coil, | ||
| int | x_division, | ||
| int | y_division, | ||
| double | voltage, | ||
| double | current, | ||
| bool | publish, | ||
| bool | copySimulatorFiles = false |
||
| ) |
Exports the rtt file.
| overWrite | Overwrite exist file |
| filename | File name to output |
| magnet | Magnet temperature |
| coil | Coil temperature |
| x_division | Divisions of x-axis |
| y_division | Divisions of y-axis |
| voltage | Max voltage |
| current | Max current |
| publish | Publish efficiency map information |
| copySimulatorFiles | Copy simulator files |
| void EfficiencyMapPlot::ExportTorqueTable | ( | String & | filename, |
| double | start, | ||
| double | end, | ||
| int | division, | ||
| bool | motorMode, | ||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Exports the torque table of the efficiency map operating point with a range.
| filename | File name to output |
| start | Speed initial value |
| end | Speed end value |
| division | Speed number of divisions |
| motor | Motor mode |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| String EfficiencyMapPlot::GetName | ( | ) |
Returns the name of the efficiency map plot as a string.
| double EfficiencyMapPlot::GetPointResult | ( | Variant & | type, |
| double | x, | ||
| double | y, | ||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Returns the result value for specified type at specified operating point of the efficiency map.
| type | Result type
If you use the UserParameters, add the index number. Example: SetEfficiencyResultType("var", "UserParameter1"); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| x | X-coordinate | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| y | Y-coordinate | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| voltage | Voltage specification |
| Variant EfficiencyMapPlot::GetProperty | ( | String & | name, |
| int | displayType = TEfficiencyMapProperty::kMap, |
||
| int | type = ResponseDatabase::TOperatingPoint::kEfficiency |
||
| ) |
Returns setting for a specified item.
| name | Item name
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| displayType | Display Type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | Result Type |
| double EfficiencyMapPlot::GetResultMaxXValue | ( | double | temp1 = 0.0, |
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Returns the maximum value of the efficiency map X-axis.
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| double EfficiencyMapPlot::GetResultMaxYValue | ( | double | temp1 = 0.0, |
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Returns the maximum value of the efficiency map Y-axis.
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| double EfficiencyMapPlot::GetResultMinXValue | ( | double | temp1 = 0.0, |
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Returns the minimum value of the efficiency map X-axis.
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| double EfficiencyMapPlot::GetResultMinYValue | ( | double | temp1 = 0.0, |
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Returns the minimum value of the efficiency map Y-axis.
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| int EfficiencyMapPlot::GetResultType | ( | int | index | ) |
Returns the result type of the efficiency map.
| index | Index |
| String EfficiencyMapPlot::GetResultTypeName | ( | int | index | ) |
Returns the result type name of the efficiency map.
| index | Index |
| int EfficiencyMapPlot::GetResultXDivisions | ( | double | temp1 = 0.0, |
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Returns the number of X-axis divisions of the efficiency map. 0 is returned for the Accuracy Priority mode.
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| int EfficiencyMapPlot::GetResultYDivisions | ( | double | temp1 = 0.0, |
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Returns the number of Y-axis divisions of the efficiency map. 0 is returned for the Accuracy Priority mode.
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| double EfficiencyMapPlot::GetTorqueTableResult | ( | String & | type, |
| double | speed, | ||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Returns the torque table value for the specified result type in the efficiency map.
| type | Result type
| ||||||||||||||||
| speed | Speed | ||||||||||||||||
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) | ||||||||||||||||
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) | ||||||||||||||||
| voltage | Voltage specification |
|
virtual |
Returns True if an object is valid.
| bool EfficiencyMapPlot::IsValidPoint | ( | double | x, |
| double | y, | ||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Returns whether the point is a valid point in the efficiency map.
| x | X-coordinate |
| y | Y-coordinate |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
| int EfficiencyMapPlot::NTCurveDivisions | ( | ) |
Returns the number of divisions in the NT curve settings of the efficiency map.
| double EfficiencyMapPlot::NTCurveEndValue | ( | ) |
Returns the end value of the NT curve setting of the efficiency map.
| double EfficiencyMapPlot::NTCurveInitialValue | ( | ) |
Returns the initial value of the NT curve setting of the efficiency map.
| int EfficiencyMapPlot::NTCurveMotorMode | ( | ) |
Returns the motor mode of the NT curve setting of the efficiency map.
| int EfficiencyMapPlot::NumResults | ( | ) |
Returns the number of result types in the efficiency map.
| bool EfficiencyMapPlot::SaveMapImage | ( | Variant & | type, |
| String & | filename, | ||
| int | width, | ||
| int | height, | ||
| int | displayType = 0, |
||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Saves a map image with a specified size.
| type | Result type |
| filename | File path (jpeg, png, bmp, svg) |
| width | Width of the image |
| height | Height of the image |
| displayType | Display Type |
| temp1 | Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) |
| temp2 | Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) |
| voltage | Voltage specification |
For more information about the result type, see GetPointResult() .
| void EfficiencyMapPlot::SetName | ( | String & | name | ) |
Specifies the name of the efficiency map plot.
| name | Name of the efficiency map plot |
| void EfficiencyMapPlot::SetNTCurveDivisions | ( | Variant & | value | ) |
Specifies the number of divisions in the NT curve settings of the efficiency map.
| value | Divisions |
| void EfficiencyMapPlot::SetNTCurveEndValue | ( | Variant & | value | ) |
Specifies the end value of the NT curve setting of the efficiency map.
| value | End value |
| void EfficiencyMapPlot::SetNTCurveInitialValue | ( | Variant & | value | ) |
Specifies the initial value of the NT curve setting of the efficiency map.
| value | Initial value |
| void EfficiencyMapPlot::SetNTCurveMotorMode | ( | Variant & | value | ) |
Specifies the motor mode for the NT curve settings in the efficiency map.
| value | Motor mode |
| void EfficiencyMapPlot::SetProperty | ( | String & | propName, |
| Variant & | var, | ||
| int | displayType = TEfficiencyMapProperty::kMap, |
||
| int | type = ResponseDatabase::TOperatingPoint::kEfficiency |
||
| ) |
Specifies the efficiency map properties.
| name | Item name
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| var | Value Flag type parameter ON: True, OFF: False SmoothShaded Smooth: True, color band: False Gradient "purple-red", "cmr", "grayscale" GridLine
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| displayType | Display Type | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| type | Result Type |
| bool EfficiencyMapPlot::ShowDialog | ( | Variant & | type | ) |
Opens the map dialog and selects the given type.
| type | Result type |
For more information about the result type, see GetPointResult .