Skip to content

Commit

Permalink
refined names of both new flags
Browse files Browse the repository at this point in the history
  • Loading branch information
nhaenis committed Jan 30, 2024
1 parent 696511e commit 5a13fa1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
:WeekBasedCapacityGroup a samm:Aspect ;
samm:preferredName "Week-Based Capacity Group"@en ;
samm:description "An entity made up of the weekly actual and maximum capacities for a specific customer in a given time period. A capacity group is used to compare demand and capacity data for one or several similar bundled materials in a defined unit of measure."@en ;
samm:properties ( :capacityGroupId :name [ samm:property :supplierLocations; samm:optional true ] :customer :supplier [ samm:property :unitOfMeasure; samm:optional true ] [ samm:property :linkedDemandSeries; samm:optional true ] [ samm:property :capacities; samm:optional true ] :changedAt [ samm:property :linkedCapacityGroups; samm:optional true ] :unitOfMeasureIsOmitted [ samm:property :demandVolatilityParameters; samm:optional true ] [ samm:property :isInactive; samm:optional true ] ) ;
samm:properties ( :capacityGroupId :name [ samm:property :supplierLocations; samm:optional true ] :customer :supplier [ samm:property :unitOfMeasure; samm:optional true ] [ samm:property :linkedDemandSeries; samm:optional true ] [ samm:property :capacities; samm:optional true ] :changedAt [ samm:property :linkedCapacityGroups; samm:optional true ] :unitOfMeasureIsOmitted [ samm:property :demandVolatilityParameters; samm:optional true ] [ samm:property :capacityGroupIsInactive; samm:optional true ] ) ;
samm:operations ( ) ;
samm:events ( ) .

Expand Down Expand Up @@ -109,9 +109,9 @@
samm:description "The parameters to calibrate the measuring of demand volatility"@en ;
samm:characteristic :DemandVolatilityCharacteristic .

:isInactive a samm:Property ;
samm:preferredName "Is Inactive"@en ;
samm:description "Indicates that this capacity group is currently not in use by the supplier anymore."@en ;
:capacityGroupIsInactive a samm:Property ;
samm:preferredName "Capacity Group Is Inactive"@en ;
samm:description "Indicates that this capacity group is currently not in use/maintained by the supplier."@en ;
samm:characteristic samm-c:Boolean ;
samm:exampleValue true .

Expand Down Expand Up @@ -177,7 +177,7 @@
:DemandVolatilityParametersEntity a samm:Entity ;
samm:preferredName "Demand Volatility parameters entity"@en ;
samm:description "Encapsulation of the demand volatility parameters"@en ;
samm:properties ( :activeFlag :snapshotReferenceDateTime :snapshotFrequency :retentionScope :subhorizons ) .
samm:properties ( :demandVolatilityMeasurementIsActive :snapshotReferenceDateTime :snapshotFrequency :retentionScope :subhorizons ) .

:materialNumberCustomer a samm:Property ;
samm:preferredName "Customer Material Number"@en ;
Expand Down Expand Up @@ -238,9 +238,9 @@
samm:characteristic :QuantityTrait ;
samm:exampleValue "1800"^^xsd:decimal .

:activeFlag a samm:Property ;
samm:preferredName "Active flag"@en ;
samm:description "Indicates if the measurement of demand volatility is active for the capacity group"@en ;
:demandVolatilityMeasurementIsActive a samm:Property ;
samm:preferredName "Demand Volatility Measurement Is Active"@en ;
samm:description "Indicates if the measurement of demand volatility is active for this capacity group."@en ;
samm:characteristic samm-c:Boolean ;
samm:exampleValue true .

Expand Down Expand Up @@ -291,8 +291,8 @@

:QuantityTrait a samm-c:Trait ;
samm-c:baseCharacteristic :Quantity ;
samm-c:constraint :QuantityRange ;
samm-c:constraint :QuantityFixedPoint .
samm-c:constraint :QuantityFixedPoint ;
samm-c:constraint :QuantityRange .

:DeltaProductionResultCharacteristic a samm:Characteristic ;
samm:preferredName "Delta Production Result Characteristic"@en ;
Expand Down Expand Up @@ -351,6 +351,12 @@
samm:description "Quantity of weekly actual or maximum capacity."@en ;
samm:dataType xsd:decimal .

:QuantityFixedPoint a samm-c:FixedPointConstraint ;
samm:preferredName "Quantity Fixed Point"@en ;
samm:description "Constraint to ensure size of quantities: 12 digits plus 3 decimal places."@en ;
samm-c:integer "15"^^xsd:positiveInteger ;
samm-c:scale "1000"^^xsd:positiveInteger .

:QuantityRange a samm-c:RangeConstraint ;
samm:preferredName "Quantity Range"@en ;
samm:description "Constraint to ensure a non-negative value for quantities."@en ;
Expand All @@ -359,12 +365,6 @@
samm-c:lowerBoundDefinition samm-c:AT_LEAST ;
samm-c:upperBoundDefinition samm-c:AT_MOST .

:QuantityFixedPoint a samm-c:FixedPointConstraint ;
samm:preferredName "Quantity Fixed Point"@en ;
samm:description "Constraint to ensure size of quantities: 12 digits plus 3 decimal places."@en ;
samm-c:integer "15"^^xsd:positiveInteger ;
samm-c:scale "1000"^^xsd:positiveInteger .

:SubHorizons a samm:Entity ;
samm:preferredName "SubHorizons"@en ;
samm:description "Encapsulation of the demand volatility parameters"@en ;
Expand Down
30 changes: 15 additions & 15 deletions io.catenax.week_based_capacity_group/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ All notable changes to this model will be documented in this file.

### Added

- added isInactive as optional flag in aspect model header
- added demandVolatilityParameters as optional entity in aspect model header
- added agreedCapacity as optional property in capacities set
- added `capacityGroupIsInactive` as optional flag in aspect model header
- added `demandVolatilityParameters` as optional entity in aspect model header
- added `agreedCapacity` as optional property in capacities set

### Changed

Expand All @@ -18,30 +18,30 @@ All notable changes to this model will be documented in this file.

### Added

- linkedCapacityGroups added as optional property in aspect model header
- added loadFactor as optional property in LinkedDemandSeries entity
- added unit:secondUnitOfTime, unit:minuteUnitOfTime, unit:hourUnitOfTime and unit:cycle to list of unit of measure for load information
- added deltaProductionResult as optional property in Capacity entity
- added unitOfMeasureIsOmitted as mandatory property in aspect model header
- `linkedCapacityGroups` added as optional property in aspect model header
- added `loadFactor` as optional property in LinkedDemandSeries entity
- added `unit:secondUnitOfTime`, `unit:minuteUnitOfTime`, `unit:hourUnitOfTime` and `unit:cycle` to list of unit of measure for load information
- added `deltaProductionResult` as optional property in Capacity entity
- added `unitOfMeasureIsOmitted` as mandatory property in aspect model header

### Changed

- made linkedDemandSeries property optional
- made capacities property optional
- unitOfMeasure uses value list of shared aspect Quantity now. Units are now represented as reference units instead of common codes
- changed property name of calendarWeeks to pointInTime
- made `linkedDemandSeries` property optional
- made `capacities` property optional
- `unitOfMeasure` uses value list of shared aspect Quantity now. Units are now represented as reference units instead of common codes
- changed property name of `calendarWeeks` to `pointInTime`
- migrated from BAMM to SAMM namespace

### Removed

- removed 'blank' value in list of unitOfMeasure. unitOfMeasureIsOmitted flag taking over the function of the 'blank' value
- removed `blank` value in list of `unitOfMeasure`. `unitOfMeasureIsOmitted` flag taking over the function of the `blank` value

## [1.0.1] - 2023-05-10

### Changed

- Changed description for property changedAt
- Changed description for property `changedAt`

## [1.0.0]

- initial version of the aspect model for week-based capacity groups
- initial version of the aspect model for week-based capacity groups

0 comments on commit 5a13fa1

Please sign in to comment.