Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions src/xeto/ph.attrs/base.xeto
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,26 @@ TempAttr : NumberAttr <abstract> {
val: Number <quantity:"temperature">
}

// Attribute with a number value with volumetric flow unit
VolumetricFlowAttr : NumberAttr <abstract> {
flow
val: Number <quantity:"volumetricFlow">
}

// Attribute with a number value with power unit
PowerAttr : NumberAttr <abstract> {
power
val: Number <quantity:"power">
}

// Attribute with a number value with energy unit
EnergyAttr : NumberAttr <abstract> {
energy
val: Number <quantity:"energy">
}

// Attribute with a number value with pressure unit
PressureAttr : NumberAttr <abstract> {
pressure
val: Number <quantity:"pressure">
}
68 changes: 38 additions & 30 deletions src/xeto/ph.attrs/elec.xeto
Original file line number Diff line number Diff line change
Expand Up @@ -6,59 +6,67 @@
// 16 Apr 2025 Rick Jennings Creation
//

//////////////////////////////////////////////////////////////////////////
// Current attributes
//////////////////////////////////////////////////////////////////////////

// Current attribute for the asset
ElecCurrentAttr : NumberAttr <abstract> { elec, current }

// AC current attribute for the asset
ElecAcCurrentAttr : ElecCurrentAttr <abstract> { ac }

// AC current rating of the asset
ElecAcRatedCurrentAttr : ElecAcCurrentAttr <abstract> { rated }
// Elec rated AC current of the asset
ElecRatedAcCurrentAttr : ElecAcCurrentAttr <abstract> { 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 <abstract> { currentContinuous }

// Continuous AC current rating of the asset (for circuit breakers)
ElecAcRatedContinuousCurrentAttr : ElecAcRatedCurrentAttr <abstract> { 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 <abstract> { input }

// AC current input rating of the asset
ElecAcRatedInputCurrentAttr : ElecAcRatedCurrentAttr <abstract> { 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 <abstract> { elec, volt }

// AC voltage attribute for the asset
ElecAcVoltAttr : ElecVoltAttr <abstract> { ac }

// AC voltage rating of the asset
ElecAcRatedVoltAttr : ElecAcVoltAttr <abstract> { rated }
// Elec rated AC voltage of the asset
ElecRatedAcVoltAttr : ElecAcVoltAttr <abstract> { rated }

// AC voltage input rating of the asset
ElecAcRatedInputVoltAttr : ElecAcRatedVoltAttr <abstract> { input }
// Elec input rated AC voltage of the asset
ElecInputRatedAcVoltAttr : ElecRatedAcVoltAttr <abstract> { input }

// Nominal AC voltage input rating of the asset
ElecAcRatedInputNominalVoltAttr : ElecAcRatedInputVoltAttr <abstract> { nominal }
// Elec nominal input rated AC voltage of the asset
ElecNominalInputRatedAcVoltAttr : ElecInputRatedAcVoltAttr <abstract> { 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 <abstract> { min }
// Elec min input rated AC voltage of the asset
ElecMinInputRatedAcVoltAttr : ElecInputRatedAcVoltAttr <abstract> { 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 <abstract> { max }
// Elec max input rated AC voltage of the asset
ElecMaxInputRatedAcVoltAttr : ElecInputRatedAcVoltAttr <abstract> { 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 }
110 changes: 110 additions & 0 deletions src/xeto/ph.attrs/flow.xeto
Original file line number Diff line number Diff line change
@@ -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 <abstract> { air }

//////////////////////////////////////////////////////////////////////////
// Design air flow attributes
//////////////////////////////////////////////////////////////////////////

// Air design flow of the asset
AirDesignFlowAttr: AirFlowAttr <abstract> { design }

// Air max design flow of the asset
AirMaxDesignFlowAttr: AirDesignFlowAttr <abstract> { 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 <abstract> { 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 <abstract> { rated }

// Air max rated flow of the asset
AirMaxRatedFlowAttr: AirRatedFlowAttr <abstract> { 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 <abstract> { min }

// Air discharge min rated flow of the asset
AirDischargeMinRatedFlowAttr: AirMinRatedFlowAttr { discharge }

//////////////////////////////////////////////////////////////////////////
// Water flow attributes
//////////////////////////////////////////////////////////////////////////

// Water flow of the asset
WaterFlowAttr: VolumetricFlowAttr <abstract> { water }

// Water design flow of the asset
WaterDesignFlowAttr: WaterFlowAttr <abstract> { design }

// Water rated flow of the asset
WaterRatedFlowAttr: WaterFlowAttr <abstract> { rated }

// Water max design flow of the asset
WaterMaxDesignFlowAttr: WaterDesignFlowAttr <abstract> { 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 }
Loading