diff --git a/src/xeto/ph.attrs/base.xeto b/src/xeto/ph.attrs/base.xeto index d3d1624..39e8a7f 100644 --- a/src/xeto/ph.attrs/base.xeto +++ b/src/xeto/ph.attrs/base.xeto @@ -37,3 +37,26 @@ TempAttr : NumberAttr { val: Number } +// Attribute with a number value with volumetric flow unit +VolumetricFlowAttr : NumberAttr { + flow + val: Number +} + +// Attribute with a number value with power unit +PowerAttr : NumberAttr { + power + val: Number +} + +// Attribute with a number value with energy unit +EnergyAttr : NumberAttr { + energy + val: Number +} + +// Attribute with a number value with pressure unit +PressureAttr : NumberAttr { + pressure + val: Number +} \ No newline at end of file diff --git a/src/xeto/ph.attrs/elec.xeto b/src/xeto/ph.attrs/elec.xeto index 31773dd..1274b15 100644 --- a/src/xeto/ph.attrs/elec.xeto +++ b/src/xeto/ph.attrs/elec.xeto @@ -6,29 +6,37 @@ // 16 Apr 2025 Rick Jennings Creation // +////////////////////////////////////////////////////////////////////////// +// Current attributes +////////////////////////////////////////////////////////////////////////// + // Current attribute for the asset ElecCurrentAttr : NumberAttr { elec, current } // AC current attribute for the asset ElecAcCurrentAttr : ElecCurrentAttr { ac } -// AC current rating of the asset -ElecAcRatedCurrentAttr : ElecAcCurrentAttr { rated } +// Elec rated AC current of the asset +ElecRatedAcCurrentAttr : ElecAcCurrentAttr { rated } + +// Elec continuous capacity rated AC current of the asset (80% or 100% - for circuit breakers) +ElecContinuousCapacityRatedAcCurrentAttr : ElecRatedAcCurrentAttr { currentContinuousCapacity } -// Continuous AC current capacity rating of the asset (80% or 100% - for circuit breakers) -ElecAcRatedContinuousCapacityCurrentAttr : ElecAcRatedCurrentAttr { currentContinuousCapacity } +// Elec continuous rated AC current of the asset (for circuit breakers) +ElecContinuousRatedAcCurrentAttr : ElecRatedAcCurrentAttr { currentContinuous } -// Continuous AC current rating of the asset (for circuit breakers) -ElecAcRatedContinuousCurrentAttr : ElecAcRatedCurrentAttr { currentContinuous } +// Elec max continuous rated AC current of the asset (for circuit breakers) +ElecMaxContinuousRatedAcCurrentAttr : ElecContinuousRatedAcCurrentAttr { max } -// Max continuous AC current rating of the asset (for circuit breakers) -ElecAcRatedMaxContinuousCurrentAttr : ElecAcRatedContinuousCurrentAttr { max } +// Elec input rated AC current of the asset +ElecInputRatedAcCurrentAttr : ElecRatedAcCurrentAttr { input } -// AC current input rating of the asset -ElecAcRatedInputCurrentAttr : ElecAcRatedCurrentAttr { input } +// Elec max input rated AC current of the asset +ElecMaxInputRatedAcCurrentAttr : ElecInputRatedAcCurrentAttr { max } -// Maximum AC current input rating of the asset -ElecAcRatedInputMaxCurrentAttr : ElecAcRatedInputCurrentAttr { max } +////////////////////////////////////////////////////////////////////////// +// Voltage attributes +////////////////////////////////////////////////////////////////////////// // Voltage attribute for the asset ElecVoltAttr : NumberAttr { elec, volt } @@ -36,29 +44,29 @@ ElecVoltAttr : NumberAttr { elec, volt } // AC voltage attribute for the asset ElecAcVoltAttr : ElecVoltAttr { ac } -// AC voltage rating of the asset -ElecAcRatedVoltAttr : ElecAcVoltAttr { rated } +// Elec rated AC voltage of the asset +ElecRatedAcVoltAttr : ElecAcVoltAttr { rated } -// AC voltage input rating of the asset -ElecAcRatedInputVoltAttr : ElecAcRatedVoltAttr { input } +// Elec input rated AC voltage of the asset +ElecInputRatedAcVoltAttr : ElecRatedAcVoltAttr { input } -// Nominal AC voltage input rating of the asset -ElecAcRatedInputNominalVoltAttr : ElecAcRatedInputVoltAttr { nominal } +// Elec nominal input rated AC voltage of the asset +ElecNominalInputRatedAcVoltAttr : ElecInputRatedAcVoltAttr { nominal } -// Nominal line-to-line AC voltage input rating of the asset -ElecAcRatedInputLineToLineNominalVoltAttr : ElecAcRatedInputNominalVoltAttr { voltLineToLine } +// Elec line-to-line nominal input rated AC voltage of the asset +ElecLineToLineNominalInputRatedAcVoltAttr : ElecNominalInputRatedAcVoltAttr { voltLineToLine } -// Nominal line-to-neutral AC voltage input rating of the asset -ElecAcRatedInputLineToNeutralNominalVoltAttr : ElecAcRatedInputNominalVoltAttr { voltLineToNeutral } +// Elec line-to-neutral nominal input rated AC voltage of the asset +ElecLineToNeutralNominalInputRatedAcVoltAttr : ElecNominalInputRatedAcVoltAttr { voltLineToNeutral } -// Minimum AC voltage input rating of the asset -ElecAcRatedInputMinVoltAttr : ElecAcRatedInputVoltAttr { min } +// Elec min input rated AC voltage of the asset +ElecMinInputRatedAcVoltAttr : ElecInputRatedAcVoltAttr { min } -// Minimum line-to-line AC voltage input rating of the asset -ElecAcRatedInputLineToLineMinVoltAttr : ElecAcRatedInputMinVoltAttr { voltLineToLine } +// Elec line-to-line min input rated AC voltage of the asset +ElecLineToLineMinInputRatedAcVoltAttr : ElecMinInputRatedAcVoltAttr { voltLineToLine } -// Maximum AC voltage input rating of the asset -ElecAcRatedInputMaxVoltAttr : ElecAcRatedInputVoltAttr { max } +// Elec max input rated AC voltage of the asset +ElecMaxInputRatedAcVoltAttr : ElecInputRatedAcVoltAttr { max } -// Maximum line-to-line AC voltage input rating of the asset -ElecAcRatedInputLineToLineMaxVoltAttr : ElecAcRatedInputMaxVoltAttr { voltLineToLine } +// Elec line-to-line max input rated AC voltage of the asset +ElecLineToLineMaxInputRatedAcVoltAttr : ElecMaxInputRatedAcVoltAttr { voltLineToLine } diff --git a/src/xeto/ph.attrs/flow.xeto b/src/xeto/ph.attrs/flow.xeto new file mode 100644 index 0000000..195e645 --- /dev/null +++ b/src/xeto/ph.attrs/flow.xeto @@ -0,0 +1,110 @@ +// +// Copyright (c) 2025, Project-Haystack +// Licensed under the Academic Free License version 3.0 +// +// History: +// 13 Dec 2025 Lincoln Harmer Creation +// + +////////////////////////////////////////////////////////////////////////// +// Air flow attributes +////////////////////////////////////////////////////////////////////////// + +// Air flow of the asset +AirFlowAttr: VolumetricFlowAttr { air } + +////////////////////////////////////////////////////////////////////////// +// Design air flow attributes +////////////////////////////////////////////////////////////////////////// + +// Air design flow of the asset +AirDesignFlowAttr: AirFlowAttr { design } + +// Air max design flow of the asset +AirMaxDesignFlowAttr: AirDesignFlowAttr { max } + +// Air discharge max design flow of the asset +AirDischargeMaxDesignFlowAttr: AirMaxDesignFlowAttr { discharge } + +// Air cooling discharge max design flow of the asset +AirCoolingDischargeMaxDesignFlowAttr: AirDischargeMaxDesignFlowAttr { cooling } + +// Air heating discharge max design flow of the asset +AirHeatingDischargeMaxDesignFlowAttr: AirDischargeMaxDesignFlowAttr { heating } + +// Air outdoor max design flow of the asset +AirOutdoorMaxDesignFlowAttr: AirMaxDesignFlowAttr { outdoor } + +// Air min design flow of the asset +AirMinDesignFlowAttr: AirDesignFlowAttr { min } + +// Air discharge min design flow of the asset +AirDischargeMinDesignFlowAttr: AirMinDesignFlowAttr { discharge } + +// Air cooling discharge min design flow of the asset +AirCoolingDischargeMinDesignFlowAttr: AirDischargeMinDesignFlowAttr { cooling } + +// Air heating discharge min design flow of the asset +AirHeatingDischargeMinDesignFlowAttr: AirDischargeMinDesignFlowAttr { heating } + +// Air outdoor min design flow of the asset +AirOutdoorMinDesignFlowAttr: AirMinDesignFlowAttr { outdoor } + +////////////////////////////////////////////////////////////////////////// +// Rated air flow attributes +////////////////////////////////////////////////////////////////////////// + +// Air rated flow of the asset +AirRatedFlowAttr: AirFlowAttr { rated } + +// Air max rated flow of the asset +AirMaxRatedFlowAttr: AirRatedFlowAttr { max } + +// Air discharge max rated flow of the asset +AirDischargeMaxRatedFlowAttr: AirMaxRatedFlowAttr { discharge } + +// Air cooling discharge max rated flow of the asset +AirCoolingDischargeMaxRatedFlowAttr: AirDischargeMaxRatedFlowAttr { cooling } + +// Air heating discharge max rated flow of the asset +AirHeatingDischargeMaxRatedFlowAttr: AirDischargeMaxRatedFlowAttr { heating } + +// Air outdoor max rated flow of the asset +AirOutdoorMaxRatedFlowAttr: AirMaxRatedFlowAttr { outdoor } + +// Air min rated flow of the asset +AirMinRatedFlowAttr: AirRatedFlowAttr { min } + +// Air discharge min rated flow of the asset +AirDischargeMinRatedFlowAttr: AirMinRatedFlowAttr { discharge } + +////////////////////////////////////////////////////////////////////////// +// Water flow attributes +////////////////////////////////////////////////////////////////////////// + +// Water flow of the asset +WaterFlowAttr: VolumetricFlowAttr { water } + +// Water design flow of the asset +WaterDesignFlowAttr: WaterFlowAttr { design } + +// Water rated flow of the asset +WaterRatedFlowAttr: WaterFlowAttr { rated } + +// Water max design flow of the asset +WaterMaxDesignFlowAttr: WaterDesignFlowAttr { max } + +// Water chilled max design flow of the asset +WaterChilledMaxDesignFlowAttr: WaterMaxDesignFlowAttr { chilled } + +// Water hot max design flow of the asset +WaterHotMaxDesignFlowAttr: WaterMaxDesignFlowAttr { hot } + +// Water min design flow of the asset +WaterMinDesignFlowAttr: WaterDesignFlowAttr { min } + +// Water max rated flow of the asset +WaterMaxRatedFlowAttr: WaterRatedFlowAttr { max } + +// Water min rated flow of the asset +WaterMinRatedFlowAttr: WaterRatedFlowAttr { min } diff --git a/src/xeto/ph.attrs/power.xeto b/src/xeto/ph.attrs/power.xeto new file mode 100644 index 0000000..d55e35d --- /dev/null +++ b/src/xeto/ph.attrs/power.xeto @@ -0,0 +1,203 @@ +// +// Copyright (c) 2025, Project-Haystack +// Licensed under the Academic Free License version 3.0 +// +// History: +// 13 Dec 2025 Lincoln Harmer Creation +// + +////////////////////////////////////////////////////////////////////////// +// Air power attributes +////////////////////////////////////////////////////////////////////////// + +// Air power (capacity) of the asset +AirPowerAttr : PowerAttr { air } + +// Air thermal capacity (heat transfer to/from air) +AirThermalPowerAttr : AirPowerAttr { thermal, unit: "BTU/hr" } + +// Air cooling thermal capacity +AirCoolingThermalPowerAttr : AirThermalPowerAttr { cooling } + +// Air rated cooling thermal capacity +AirRatedCoolingThermalPowerAttr : AirCoolingThermalPowerAttr { rated } + +// Air design cooling thermal capacity +AirDesignCoolingThermalPowerAttr : AirCoolingThermalPowerAttr { design } + +// Air heating thermal capacity +AirHeatingThermalPowerAttr : AirThermalPowerAttr { heating } + +// Air rated heating thermal capacity +AirRatedHeatingThermalPowerAttr : AirHeatingThermalPowerAttr { rated } + +// Air design heating thermal capacity +AirDesignHeatingThermalPowerAttr : AirHeatingThermalPowerAttr { design } + +// Air mechanical power (fan shaft power) +AirMechanicalPowerAttr : AirPowerAttr { mechanical } + +// Air fan mechanical power +AirFanMechanicalPowerAttr : AirMechanicalPowerAttr { fan } + +// Air design fan mechanical power +AirDesignFanMechanicalPowerAttr : AirFanMechanicalPowerAttr { design } + +// Air discharge design fan mechanical power +AirDischargeDesignFanMechanicalPowerAttr : AirDesignFanMechanicalPowerAttr { discharge } + +// Air return design fan mechanical power +AirReturnDesignFanMechanicalPowerAttr : AirDesignFanMechanicalPowerAttr { return } + +// Air rated fan mechanical power +AirRatedFanMechanicalPowerAttr : AirFanMechanicalPowerAttr { rated } + +// Air discharge rated fan mechanical power +AirDischargeRatedFanMechanicalPowerAttr : AirRatedFanMechanicalPowerAttr { discharge } + +// Air return rated fan mechanical power +AirReturnRatedFanMechanicalPowerAttr : AirRatedFanMechanicalPowerAttr { return } + +////////////////////////////////////////////////////////////////////////// +// Water power attributes +////////////////////////////////////////////////////////////////////////// + +// Water power (capacity) of the asset +WaterPowerAttr : PowerAttr { water } + +// Water thermal capacity (heat transfer to/from water) +WaterThermalPowerAttr : WaterPowerAttr { thermal, unit: "BTU/hr" } + +// Water cooling thermal capacity (chiller capacity, cooling coil) +WaterCoolingThermalPowerAttr : WaterThermalPowerAttr { cooling } + +// Water rated cooling thermal capacity +WaterRatedCoolingThermalPowerAttr : WaterCoolingThermalPowerAttr { rated } + +// Water design cooling thermal capacity +WaterDesignCoolingThermalPowerAttr : WaterCoolingThermalPowerAttr { design } + +// Water heating thermal capacity (boiler capacity, heating coil) +WaterHeatingThermalPowerAttr : WaterThermalPowerAttr { heating } + +// Water rated heating thermal capacity +WaterRatedHeatingThermalPowerAttr : WaterHeatingThermalPowerAttr { rated } + +// Water design heating thermal capacity +WaterDesignHeatingThermalPowerAttr : WaterHeatingThermalPowerAttr { design } + +// Water mechanical power (pump shaft power) +WaterMechanicalPowerAttr : WaterPowerAttr { mechanical } + +// Water pump mechanical power +WaterPumpMechanicalPowerAttr : WaterMechanicalPowerAttr { pump } + +// Water design pump mechanical power +WaterDesignPumpMechanicalPowerAttr : WaterPumpMechanicalPowerAttr { design } + +// Water rated pump mechanical power +WaterRatedPumpMechanicalPowerAttr : WaterPumpMechanicalPowerAttr { rated } + +////////////////////////////////////////////////////////////////////////// +// Electrical power attributes +////////////////////////////////////////////////////////////////////////// + +// Electrical power of the asset +ElecPowerAttr : PowerAttr { elec } + +// Electrical motor power +ElecMotorPowerAttr : ElecPowerAttr { motor } + +// Elec fan motor power +ElecFanMotorPowerAttr : ElecMotorPowerAttr { fan } + +// Elec pump motor power +ElecPumpMotorPowerAttr : ElecMotorPowerAttr { pump } + +// Elec design fan motor power +ElecDesignFanMotorPowerAttr : ElecFanMotorPowerAttr { design } + +// Elec discharge design fan motor power +ElecDischargeDesignFanMotorPowerAttr : ElecDesignFanMotorPowerAttr { discharge } + +// Elec return design fan motor power +ElecReturnDesignFanMotorPowerAttr : ElecDesignFanMotorPowerAttr { return } + +// Elec design pump motor power +ElecDesignPumpMotorPowerAttr : ElecPumpMotorPowerAttr { design } + +// Elec rated fan motor power +ElecRatedFanMotorPowerAttr : ElecFanMotorPowerAttr { rated } + +// Elec discharge rated fan motor power +ElecDischargeRatedFanMotorPowerAttr : ElecRatedFanMotorPowerAttr { discharge } + +// Elec return rated fan motor power +ElecReturnRatedFanMotorPowerAttr : ElecRatedFanMotorPowerAttr { return } + +// Elec rated pump motor power +ElecRatedPumpMotorPowerAttr : ElecPumpMotorPowerAttr { rated } + +////////////////////////////////////////////////////////////////////////// +// Natural gas power attributes +////////////////////////////////////////////////////////////////////////// + +// Natural gas power (fuel input) +NaturalGasPowerAttr : PowerAttr { naturalGas } + +// Natural gas input power +NaturalGasInputPowerAttr : NaturalGasPowerAttr { input } + +// Natural gas rated input power +NaturalGasRatedInputPowerAttr : NaturalGasInputPowerAttr { rated } + +// Natural gas design input power +NaturalGasDesignInputPowerAttr : NaturalGasInputPowerAttr { design } + +////////////////////////////////////////////////////////////////////////// +// Fuel oil power attributes +////////////////////////////////////////////////////////////////////////// + +// Fuel oil power (fuel input) +FuelOilPowerAttr : PowerAttr { fuelOil } + +// Fuel oil input power +FuelOilInputPowerAttr : FuelOilPowerAttr { input } + +// Fuel oil rated input power +FuelOilRatedInputPowerAttr : FuelOilInputPowerAttr { rated } + +// Fuel oil design input power +FuelOilDesignInputPowerAttr : FuelOilInputPowerAttr { design } + +////////////////////////////////////////////////////////////////////////// +// Propane power attributes +////////////////////////////////////////////////////////////////////////// + +// Propane power (fuel input) +PropanePowerAttr : PowerAttr { propane } + +// Propane input power +PropaneInputPowerAttr : PropanePowerAttr { input } + +// Propane rated input power +PropaneRatedInputPowerAttr : PropaneInputPowerAttr { rated } + +// Propane design input power +PropaneDesignInputPowerAttr : PropaneInputPowerAttr { design } + +////////////////////////////////////////////////////////////////////////// +// Diesel power attributes +////////////////////////////////////////////////////////////////////////// + +// Diesel power (fuel input) +DieselPowerAttr : PowerAttr { diesel } + +// Diesel input power +DieselInputPowerAttr : DieselPowerAttr { input } + +// Diesel rated input power +DieselRatedInputPowerAttr : DieselInputPowerAttr { rated } + +// Diesel design input power +DieselDesignInputPowerAttr : DieselInputPowerAttr { design } diff --git a/src/xeto/ph.attrs/pressure.xeto b/src/xeto/ph.attrs/pressure.xeto new file mode 100644 index 0000000..f77513b --- /dev/null +++ b/src/xeto/ph.attrs/pressure.xeto @@ -0,0 +1,45 @@ +// +// Copyright (c) 2025, Project-Haystack +// Licensed under the Academic Free License version 3.0 +// +// History: +// 13 Dec 2025 Lincoln Harmer Creation +// + +////////////////////////////////////////////////////////////////////////// +// Air pressure attributes +////////////////////////////////////////////////////////////////////////// + +// Air pressure of the asset +AirPressureAttr : PressureAttr { air } + +// Air design pressure of the asset +AirDesignPressureAttr : AirPressureAttr { design } + +// Air fan design pressure of the asset +AirFanDesignPressureAttr : AirDesignPressureAttr { fan } + +// Air rated pressure of the asset +AirRatedPressureAttr : AirPressureAttr { rated } + +////////////////////////////////////////////////////////////////////////// +// Water pressure attributes +////////////////////////////////////////////////////////////////////////// + +// Water pressure of the asset +WaterPressureAttr : PressureAttr { water } + +// Water design pressure of the asset +WaterDesignPressureAttr : WaterPressureAttr { design } + +// Water pump design pressure of the asset +WaterPumpDesignPressureAttr : WaterDesignPressureAttr { pump } + +// Water chiller design pressure of the asset +WaterChillerDesignPressureAttr : WaterDesignPressureAttr { chiller } + +// Water rated pressure of the asset +WaterRatedPressureAttr : WaterPressureAttr { rated } + +// Water chiller min rated pressure of the asset +WaterChillerMinRatedPressureAttr : WaterRatedPressureAttr { chiller, min } diff --git a/src/xeto/ph.attrs/temp.xeto b/src/xeto/ph.attrs/temp.xeto index 7efc4ce..7d7beed 100644 --- a/src/xeto/ph.attrs/temp.xeto +++ b/src/xeto/ph.attrs/temp.xeto @@ -6,11 +6,67 @@ // 12 May 2025 Rick Jennings Creation // -// Rated operating temperature of the asset -RatedOperatingTempAttr : TempAttr { rated, operating } +////////////////////////////////////////////////////////////////////////// +// Air temperature attributes +////////////////////////////////////////////////////////////////////////// -// Minimum rated operating temperature of the asset -MinRatedOperatingTempAttr : RatedOperatingTempAttr { min } +// Air temperature of the asset +AirTempAttr : TempAttr { air } -// Maximum rated operating temperature of the asset -MaxRatedOperatingTempAttr : RatedOperatingTempAttr { max } +// Air operating temperature of the asset +AirOperatingTempAttr : AirTempAttr { operating } + +// Air rated operating temperature of the asset +AirRatedOperatingTempAttr : AirOperatingTempAttr { rated } + +// Air min rated operating temperature of the asset +AirMinRatedOperatingTempAttr : AirRatedOperatingTempAttr { min } + +// Air max rated operating temperature of the asset +AirMaxRatedOperatingTempAttr : AirRatedOperatingTempAttr { max } + +// Air design temperature of the asset +AirDesignTempAttr : AirTempAttr { design } + +// Air discharge design temperature of the asset +AirDischargeDesignTempAttr : AirDesignTempAttr { discharge } + +////////////////////////////////////////////////////////////////////////// +// Water temperature attributes +////////////////////////////////////////////////////////////////////////// + +// Water temperature of the asset +WaterTempAttr : TempAttr { water } + +// Water operating temperature of the asset +WaterOperatingTempAttr : WaterTempAttr { operating } + +// Water rated operating temperature of the asset +WaterRatedOperatingTempAttr : WaterOperatingTempAttr { rated } + +// Water min rated operating temperature of the asset +WaterMinRatedOperatingTempAttr : WaterRatedOperatingTempAttr { min } + +// Water max rated operating temperature of the asset +WaterMaxRatedOperatingTempAttr : WaterRatedOperatingTempAttr { max } + +// Water design temperature of the asset +WaterDesignTempAttr : WaterTempAttr { design } + +// Water entering design temperature of the asset +WaterEnteringDesignTempAttr : WaterDesignTempAttr { entering } + +// Water chilled entering design temperature of the asset +WaterChilledEnteringDesignTempAttr : WaterEnteringDesignTempAttr { chilled } + +// Water hot entering design temperature of the asset +WaterHotEnteringDesignTempAttr : WaterEnteringDesignTempAttr { hot } + +// Water leaving design temperature of the asset +WaterLeavingDesignTempAttr : WaterDesignTempAttr { leaving } + +// Water chilled leaving design temperature of the asset +WaterChilledLeavingDesignTempAttr : WaterLeavingDesignTempAttr { chilled } + +// Water hot leaving design temperature of the asset +WaterHotLeavingDesignTempAttr : WaterLeavingDesignTempAttr { hot }