Table of Contents

Class SpindleCapability

Namespace
Hi.Milling
Assembly
HiMech.dll

Represents the capability of a spindle, including power, torque, and thermal characteristics. Internal Use Only

public class SpindleCapability : IMakeXmlSource, INameNote
Inheritance
SpindleCapability
Implements
Inherited Members
Extension Methods

Constructors

SpindleCapability()

Ctor.

public SpindleCapability()

SpindleCapability(XElement, string, params object[])

Initializes a new instance of the SpindleCapability class.

public SpindleCapability(XElement src, string baseDirectory, params object[] res)

Parameters

src XElement

The XML element containing spindle data.

baseDirectory string

The base directory for resolving relative paths.

res object[]

Additional resolution parameters.

Properties

DryRunFrictionPowerCoefficient_mWdrpm

Dry Run Friction Power Coefficient. unit is mW/rpm. DryRunFrictionPower = DryRunFrictionPowerCoefficient * S.

public double DryRunFrictionPowerCoefficient_mWdrpm { get; set; }

Property Value

double

Remarks

default value 4.82 is estimated by paper: The Friction of Radially Loaded Hybrid Spindle Bearings under High Speeds. Figure 13. At 9k rpm, Torque 0.046Nm.

DryRunWindagePowerCoefficient_pWdrpm3

Dry Run Windage Power Coefficient. unit is pW/(rpm^3). DryRunWindagePower = DryRunWindagePowerCoefficient * (S^3).

public double DryRunWindagePowerCoefficient_pWdrpm3 { get; set; }

Property Value

double

Remarks

default value 90 is estimated by paper: CFD Study on the Windage Power Loss of High Speed Gear. rpm W 5000 12 6000 20 7000 29

EnergyEfficiency

Energy Conversion Efficiency. Where is Ouput/Input.

public double EnergyEfficiency { get; set; }

Property Value

double

GearShiftSpindleSpeed_cycleds

Crossover speed. Gear Shift speed. spindle speed at shifting point between low gear mode and high gear mode. null means there is no gear shift mechanism.

public double? GearShiftSpindleSpeed_cycleds { get; set; }

Property Value

double?

GearShiftSpindleSpeed_rpm

Gear shift spindle speed in RPM.

public double? GearShiftSpindleSpeed_rpm { get; set; }

Property Value

double?

InfInsistentSpindleSpeedToPower_cycleDs_kW

SpindleSpeed(cycle/sec) to Power(kW) at infinte workable time.

public List<Vec2d> InfInsistentSpindleSpeedToPower_cycleDs_kW { get; set; }

Property Value

List<Vec2d>

InfInsistentSpindleSpeedToTorque_cycleDs_Nm

SpindleSpeed(cycle/sec) to Torque(Nm) at 100% insistent ratio.

public List<Vec2d> InfInsistentSpindleSpeedToTorque_cycleDs_Nm { get; set; }

Property Value

List<Vec2d>

Name

Name.

public string Name { get; set; }

Property Value

string

Note

Note.

public string Note { get; set; }

Property Value

string

WorkableDurationToSpindleSpeedPowerContoursDictionary_min_cycleDs_kW

WorkableDuration To SpindleSpeedToPowerContours. The dictionary is workable time (min) to (x:SpindleSpeed(cycle/sec), y:Power(kW))

public Dictionary<double, List<Vec2d>> WorkableDurationToSpindleSpeedPowerContoursDictionary_min_cycleDs_kW { get; set; }

Property Value

Dictionary<double, List<Vec2d>>

WorkableDurationToSpindleSpeedTorqueContoursDictionary_min_cycleDs_Nm

WorkableDuration To SpindleSpeedToTorqueContours. The dictionary is workable time (min) to (x:SpindleSpeed(cycle/sec), y:Torque(Nm)).

public Dictionary<double, List<Vec2d>> WorkableDurationToSpindleSpeedTorqueContoursDictionary_min_cycleDs_Nm { get; set; }

Property Value

Dictionary<double, List<Vec2d>>

WorkingTemperatureUpperBoundary_C

Upper boundary of working temperature in Celsius.

public double WorkingTemperatureUpperBoundary_C { get; set; }

Property Value

double

WorkingTemperatureUpperBoundary_K

Upper boundary of working temperature in Kelvin.

public double WorkingTemperatureUpperBoundary_K { get; set; }

Property Value

double

XName

Name for XML IO.

public static string XName { get; }

Property Value

string

Methods

GetHeatPara(double)

Gets thermal parameters for the spindle at a given speed. Internal Use Only

public (double HeatCapacity_JdK, double ConvectionPara_WdK) GetHeatPara(double spindleSpeed_cycleDs)

Parameters

spindleSpeed_cycleDs double

Spindle speed in cycles per second

Returns

(double HeatCapacity_JdK, double ConvectionPara_WdK)

A tuple containing heat capacity and convection parameter

MakeXmlSource(string, string)

Creates an XML representation of the object. This method may also generate additional resources such as related files.

public XElement MakeXmlSource(string baseDirectory, string relFile)

Parameters

baseDirectory string

The base directory for resolving relative paths

relFile string

The relative file path for the XML source

Returns

XElement

An XML element representing the object's state