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 (Variant &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 (Variant &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... | |
Detailed Description
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:
Member Function Documentation
| void EfficiencyMapPlot::AddPoint | ( | double | x, |
| double | y | ||
| ) |
Adds the operating point of the efficiency map.
- Parameters
-
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.
- Parameters
-
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.
- Parameters
-
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.
- Parameters
-
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.
- Parameters
-
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.
- Parameters
-
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.
- Parameters
-
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.
- Parameters
-
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 | ( | Variant & | 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.
- Parameters
-
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).
- Parameters
-
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.
- Parameters
-
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 | ( | Variant & | type, |
| String & | filename, | ||
| double | temp1 = 0.0, |
||
| double | temp2 = 0.0, |
||
| double | voltage = 0.0 |
||
| ) |
Exports the result of the efficiency map drive cycle.
- Parameters
-
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.
- Parameters
-
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.
- Parameters
-
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).
- Parameters
-
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).
- Parameters
-
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.
- Parameters
-
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.
- Parameters
-
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.
- Returns
- Name of the efficiency map plot
| 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.
- Parameters
-
type Result type
Item name Description RotationSpeed Speed Slip Slip Efficiency Efficiency AverageTorque Torque TorqueRipple Torque Ripple OutputPower Output Power PowerFactor Power Factor PowerFactor2 Power Factor 2 Current Current Id Current (Id) Iq Current (Iq) Voltage Voltage Vd Voltage (Vd) Vq Voltage (Vq) Vd2 Voltage (Vd 2) Vq2 Voltage (Vq 2) TotalLoss Total Loss IronLoss Iron Loss JouleLoss Eddy Current Loss (Iron Loss) HysteresisLoss Hysteresis Loss (Iron Loss) ClassicalEddyLoss Classical Eddy Current Loss (Iron Loss) ExcessEddyLoss Excess Eddy Current Loss (Iron Loss) PwmJouleLoss PWM Eddy Current Loss (Iron Loss) CopperLoss Copper Loss StatorCopperLoss Stator Copper Loss RotorCopperLoss Rotor Copper Loss AcJouleLoss AC Copper Loss MechanicalLoss Mechanical Loss StrayLoss Stray Loss CircuitLoss Circuit Loss DirectAxisFlux Flux (d-Axis) QuadratureAxisFlux Flux (q-Axis) DirectAxisFlux2 Flux (d-Axis 2) QuadratureAxisFlux2 Flux (q-Axis 2) Phase Load Angle UserParameter User Parameter
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
- Returns
- Result value for specified type
| Variant EfficiencyMapPlot::GetProperty | ( | String & | name, |
| int | displayType = TEfficiencyMapProperty::kMap, |
||
| int | type = ResponseDatabase::TOperatingPoint::kEfficiency |
||
| ) |
Returns setting for a specified item.
- Parameters
-
name Item name
Item name Description XMaxDefault Default use flag for maximum value of X-axis XMaxRange Maximum value of X-axis XMinDefault Default use flag for minimum value of X-axis XMinRange Minimum value of X-axis LeftYMaxDefault Default use flag for maximum value of Y-axis (left) LeftYMaxRange Maximum value of Y-axis (left) LeftYMinDefault Default use flag for minimum value of Y-axis (left) LeftYMinRange Minimum value of Y-axis (left) RightYMaxDefault Default use flag for maximum value of Y-axis (right) RightYMaxRange Maximum value of Y-axis (right) RightYMinDefault Default use flag for minimum value of Y-axis (right) RightYMinRange Minimum value of Y-axis (right) is used XPlotTitleDefault Default use flag for X-axis title XPlotTitleName X-axis title LeftYPlotTitleDefault Default use flag for Y-axis (left) title LeftYPlotTitleName Y-axis (left) title RightYPlotTitleDefault Default use flag for Y-axis (right) title RightYPlotTitleName Y-axis (right) title GridLine Grid type XPrecision Number of significant figures for X-axis LeftYPrecision Number of significant figures for Y-axis (left) RightYPrecision Number of significant figures for Y-axis (right) XMajorTicksDefault Default use flag for major tick marks of X-Axis XMajorTicks Number of major tick marks for the X-axis LeftYMajorTicksDefault Default use flag for major tick marks of Y-Axis (left) LeftYMajorTicks Number of major tick marks for the Y-Axis (left) XMinorTicksDefault Default use flag for minor tick marks of X-Axis XMinorTicks Number of minor tick marks for the X-axis LeftYMinorTicksDefault Default use flag for minor tick marks of Y-Axis (left) LeftYMinorTicks Number of minor tick marks for the Y-Axis (left) SmoothShaded Smooth or color band Gradient Color gradation type NumLevels Number of levels NumLabelsDefault Default use flag for labels of Y-axis (right) NumLabels Number of labels for Y-axis (right) ShowIsoLines Isolines display flag ShowLables Value display flag NumLabelPrecision Number of precision value for display value
displayType Display Type type Result Type
- Returns
- Value of specified item
| 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.
- Parameters
-
temp1 Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) temp2 Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) voltage Voltage specification
- Returns
- X-axis maximum value
| 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.
- Parameters
-
temp1 Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) temp2 Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) voltage Voltage specification
- Returns
- Y-axis maximum value
| 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.
- Parameters
-
temp1 Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) temp2 Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) voltage Voltage specification
- Returns
- X-axis minimum value
| 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.
- Parameters
-
temp1 Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) temp2 Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) voltage Voltage specification
- Returns
- Y-axis minimum value
| int EfficiencyMapPlot::GetResultType | ( | int | index | ) |
Returns the result type of the efficiency map.
- Parameters
-
index Index
- Returns
- Result type
| String EfficiencyMapPlot::GetResultTypeName | ( | int | index | ) |
Returns the result type name of the efficiency map.
- Parameters
-
index Index
- Returns
- Result type name
| 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.
- Parameters
-
temp1 Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) temp2 Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) voltage Voltage specification
- Returns
- X-axis division number
| 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.
- Parameters
-
temp1 Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) temp2 Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) voltage Voltage specification
- Returns
- Y-axis division number
| 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.
- Parameters
-
type Result type
Item name Description torque Torque id Current (Id) iq Current (Iq) iam Current amplitude phase Current phase slip Slip output power Output power
speed Speed temp1 Temperature specification(PMSM/SyncRM:Manget, WFSM:Coil) temp2 Temperature specification(PMSM/SyncRM:Coil, WFSM:Field Coil) voltage Voltage specification
- Returns
- Result value for specified type
|
virtual |
Returns True if an object is valid.
- Returns
- Whether or not the EfficiencyMapPlot 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.
- Parameters
-
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
- Returns
- Whether point is valid
| int EfficiencyMapPlot::NTCurveDivisions | ( | ) |
Returns the number of divisions in the NT curve settings of the efficiency map.
- Returns
- Number of divisions
| double EfficiencyMapPlot::NTCurveEndValue | ( | ) |
Returns the end value of the NT curve setting of the efficiency map.
- Returns
- End value
| double EfficiencyMapPlot::NTCurveInitialValue | ( | ) |
Returns the initial value of the NT curve setting of the efficiency map.
- Returns
- Initial value
| int EfficiencyMapPlot::NTCurveMotorMode | ( | ) |
Returns the motor mode of the NT curve setting of the efficiency map.
- Returns
- Motor mode
| int EfficiencyMapPlot::NumResults | ( | ) |
Returns the number of result types in the efficiency map.
- Returns
- Number of result types
| 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.
- Parameters
-
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
- Returns
- Whether or not a graph image is saved
For more information about the result type, see GetPointResult() .
| void EfficiencyMapPlot::SetName | ( | String & | name | ) |
Specifies the name of the efficiency map plot.
- Parameters
-
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.
- Parameters
-
value Divisions
| void EfficiencyMapPlot::SetNTCurveEndValue | ( | Variant & | value | ) |
Specifies the end value of the NT curve setting of the efficiency map.
- Parameters
-
value End value
| void EfficiencyMapPlot::SetNTCurveInitialValue | ( | Variant & | value | ) |
Specifies the initial value of the NT curve setting of the efficiency map.
- Parameters
-
value Initial value
| void EfficiencyMapPlot::SetNTCurveMotorMode | ( | Variant & | value | ) |
Specifies the motor mode for the NT curve settings in the efficiency map.
- Parameters
-
value Motor mode
| void EfficiencyMapPlot::SetProperty | ( | String & | propName, |
| Variant & | var, | ||
| int | displayType = TEfficiencyMapProperty::kMap, |
||
| int | type = ResponseDatabase::TOperatingPoint::kEfficiency |
||
| ) |
Specifies the efficiency map properties.
- Parameters
-
name Item name
Item name Description XMaxDefault Default use flag for maximum value of X-axis XMaxRange Maximum value of X-axis XMinDefault Default use flag for minimum value of X-axis XMinRange Minimum value of X-axis LeftYMaxDefault Default use flag for maximum value of Y-axis (left) LeftYMaxRange Maximum value of Y-axis (left) LeftYMinDefault Default use flag for minimum value of Y-axis (left) LeftYMinRange Minimum value of Y-axis (left) RightYMaxDefault Default use flag for maximum value of Y-axis (right) RightYMaxRange Maximum value of Y-axis (right) RightYMinDefault Default use flag for minimum value of Y-axis (right) RightYMinRange Minimum value of Y-axis (right) is used XPlotTitleDefault Default use flag for X-axis title XPlotTitleName X-axis title LeftYPlotTitleDefault Default use flag for Y-axis (left) title LeftYPlotTitleName Y-axis (left) title RightYPlotTitleDefault Default use flag for Y-axis (right) title RightYPlotTitleName Y-axis (right) title GridLine Grid type XPrecision Number of significant figures for X-axis LeftYPrecision Number of significant figures for Y-axis (left) RightYPrecision Number of significant figures for Y-axis (right) XMajorTicksDefault Default use flag for major tick marks of X-Axis XMajorTicks Number of major tick marks for the X-axis LeftYMajorTicksDefault Default use flag for major tick marks of Y-Axis (left) LeftYMajorTicks Number of major tick marks for the Y-Axis (left) XMinorTicksDefault Default use flag for minor tick marks of X-Axis XMinorTicks Number of minor tick marks for the X-axis LeftYMinorTicksDefault Default use flag for minor tick marks of Y-Axis (left) LeftYMinorTicks Number of minor tick marks for the Y-Axis (left) SmoothShaded Smooth or color band Gradient Color gradation type NumLevels Number of levels NumLabelsDefault Default use flag for labels of Y-axis (right) NumLabels Number of labels for Y-axis (right) ShowIsoLines Isolines display flag ShowLables Value display flag NumLabelPrecision Number of precision value for display value
var Value
Flag type parameter
ON: True, OFF: False
SmoothShaded
Smooth: True, color band: False
Gradient
"purple-red", "cmr", "grayscale"
GridLine
Value Description 0 Grid is not displayed 1 Grid is displayed 2 Major and minor grid lines are displayed
displayType Display Type type Result Type
| bool EfficiencyMapPlot::ShowDialog | ( | Variant & | type | ) |
Opens the map dialog and selects the given type.
- Parameters
-
type Result type
For more information about the result type, see GetPointResult .