MEASUR-Tools-Suite v1.0.11
The MEASUR Tools Suite is a collection of industrial efficiency calculations written in C++ and with bindings for compilation to WebAssembly.
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
PneumaticAirRequirement Class Reference

Classes

class  Output
 

Public Types

enum class  PistonType { SingleActing , DoubleActing }
 

Public Member Functions

 PneumaticAirRequirement (PistonType pistonType, double cylinderDiameter, double cylinderStroke, double pistonRodDiameter, double airPressure, double cyclesPerMin)
 
 PneumaticAirRequirement (PistonType pistonType, double cylinderDiameter, double cylinderStroke, double airPressure, double cyclesPerMin)
 
Output calculate ()
 

Private Attributes

PistonType pistonType
 
double cylinderDiameter
 
double cylinderStroke
 
double pistonRodDiameter = 0
 
double airPressure
 
double cyclesPerMin
 

Detailed Description

Definition at line 17 of file PneumaticAirRequirement.h.

Member Enumeration Documentation

◆ PistonType

enum class PneumaticAirRequirement::PistonType
strong

Definition at line 19 of file PneumaticAirRequirement.h.

Constructor & Destructor Documentation

◆ PneumaticAirRequirement() [1/2]

PneumaticAirRequirement::PneumaticAirRequirement ( PistonType  pistonType,
double  cylinderDiameter,
double  cylinderStroke,
double  pistonRodDiameter,
double  airPressure,
double  cyclesPerMin 
)
inline

Constructor for PneumaticAirRequirement This calculator computes the quantity of air required by a specific single acting or a double acting piston cylinder compressor. The design specs of the compressor are entered in the calculator and the quantity of air needed is generated.

Parameters
pistonTypePistonType, type of Piston, single or double acting - in this case, must be double
cylinderDiameterdouble, Inner diameter of cylinder - inches
cylinderStrokedouble, Distance that the piston can travel inside a cylinder - inches
pistonRodDiameterdouble, Diameter of the piston rod (required only in case of a double acting cylinder) - inches
airPressuredouble, Pressure of the air coming out of the cylinder - psi
cyclesPerMindouble, Number of cycles (1 cycle is a combination of 2 strokes of a piston) by the crankshaft in a minute - strokes

Definition at line 35 of file PneumaticAirRequirement.h.

◆ PneumaticAirRequirement() [2/2]

PneumaticAirRequirement::PneumaticAirRequirement ( PistonType  pistonType,
double  cylinderDiameter,
double  cylinderStroke,
double  airPressure,
double  cyclesPerMin 
)
inline

Constructor for PneumaticAirRequirement This calculator computes the quantity of air required by a specific single acting or a double acting piston cylinder compressor. The design specs of the compressor are entered in the calculator and the quantity of air needed is generated.

Parameters
pistonTypePistonType, type of Piston, single or double acting - in this case, must be single
cylinderDiameterdouble, Inner diameter of cylinder - inches
cylinderStrokedouble, Distance that the piston can travel inside a cylinder - inches
airPressuredouble, Pressure of the air coming out of the cylinder - psi
cyclesPerMindouble, Number of cycles (1 cycle is a combination of 2 strokes of a piston) by the crankshaft in a minute - strokes

Definition at line 56 of file PneumaticAirRequirement.h.

Member Function Documentation

◆ calculate()

Output PneumaticAirRequirement::calculate ( )
inline

Calculates and returns an Output object

Returns
PneumaticAirRequirement::Output, const output

Definition at line 89 of file PneumaticAirRequirement.h.

Member Data Documentation

◆ airPressure

double PneumaticAirRequirement::airPressure
private

Definition at line 105 of file PneumaticAirRequirement.h.

◆ cyclesPerMin

double PneumaticAirRequirement::cyclesPerMin
private

Definition at line 105 of file PneumaticAirRequirement.h.

◆ cylinderDiameter

double PneumaticAirRequirement::cylinderDiameter
private

Definition at line 105 of file PneumaticAirRequirement.h.

◆ cylinderStroke

double PneumaticAirRequirement::cylinderStroke
private

Definition at line 105 of file PneumaticAirRequirement.h.

◆ pistonRodDiameter

double PneumaticAirRequirement::pistonRodDiameter = 0
private

Definition at line 105 of file PneumaticAirRequirement.h.

◆ pistonType

PistonType PneumaticAirRequirement::pistonType
private

Definition at line 104 of file PneumaticAirRequirement.h.


The documentation for this class was generated from the following file: