Lehrstuhl für Informations- und Automatisierungssysteme issueshttps://git.rwth-aachen.de/groups/acplt/-/issues2021-10-29T17:31:38+02:00https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/144AASX package explorer could not find submodels in example generated by test/a...2021-10-29T17:31:38+02:00Igor GarmaevAASX package explorer could not find submodels in example generated by test/adapter/aasx/test_aasx.pyI've generated an AASX-file with test/adapter/aasx/test_aasx.py und tried to load it to AASX package explorer. AASX package explorer opened the file, but it could not find submodels. [test.aasx](/uploads/927fcd07feb259bb9c6087f68e233162/...I've generated an AASX-file with test/adapter/aasx/test_aasx.py und tried to load it to AASX package explorer. AASX package explorer opened the file, but it could not find submodels. [test.aasx](/uploads/927fcd07feb259bb9c6087f68e233162/test.aasx)Leon Mauritz MöllerTorben MinyIgor GarmaevLeon Mauritz Möller2021-11-03https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/153Compliance tool2022-08-25T10:23:50+02:00Waleed ShabbirCompliance toolHow does compliance tool works exactly? I tried to validate some same valid aasx.json files with compliance tool but It always shows test failed.
The only time test was successful when I run same files generated from examples which are...How does compliance tool works exactly? I tried to validate some same valid aasx.json files with compliance tool but It always shows test failed.
The only time test was successful when I run same files generated from examples which are already inside this repo.https://git.rwth-aachen.de/acplt/basys4.2/ccProfilesUA/-/issues/5Add behaviour tests for implemented ES and OM facets2022-06-03T16:01:25+02:00Julian Grothoffj.grothoff@plt.rwth-aachen.deAdd behaviour tests for implemented ES and OM facetsAlso implement cross over behaviour for OC and EM facets, e.g. PRIO<->OCCUPIED change.Also implement cross over behaviour for OC and EM facets, e.g. PRIO<->OCCUPIED change.https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/152Example AAS with constraint violation2022-01-20T18:13:00+01:00Igor GarmaevExample AAS with constraint violationOperationVariable in ExampleOperation-Object from create_full_example() has kind=ModelingType.INSTANCE. It is a Constraint violation.OperationVariable in ExampleOperation-Object from create_full_example() has kind=ModelingType.INSTANCE. It is a Constraint violation.https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/151Add method for duplicating Referable objects (e.g. submodelelements)2022-01-14T13:39:53+01:00Jingyun ZhaoAdd method for duplicating Referable objects (e.g. submodelelements)I tried to add the same submodel elemement to different submodels, but it raised the following error:
raise ValueError("Object has already a parent, but it must not be part of two namespaces."
ValueError: Object has already a parent, but...I tried to add the same submodel elemement to different submodels, but it raised the following error:
raise ValueError("Object has already a parent, but it must not be part of two namespaces."
ValueError: Object has already a parent, but it must not be part of two namespaces.
Is there another method to duplicate a submodel element to another different submodel?https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/150IEC61360ConceptDescription recognized as ConceptDescription2022-01-19T07:38:33+01:00Igor GarmaevIEC61360ConceptDescription recognized as ConceptDescription"Weight" IEC61360ConceptDescription in [17_ABB.aasx](http://www.admin-shell-io.com/samples/aasx/17_ABB.aasx) is recognized as ConceptDescription."Weight" IEC61360ConceptDescription in [17_ABB.aasx](http://www.admin-shell-io.com/samples/aasx/17_ABB.aasx) is recognized as ConceptDescription.Leon Mauritz MöllerLeon Mauritz Möllerhttps://git.rwth-aachen.de/acplt/pyi40aas/-/issues/149ConceptDescription will not be saved2022-01-10T14:58:04+01:00Igor GarmaevConceptDescription will not be savedConceptDescription will not be saved
Steps to reproduce the bug:
- Create Asset
- Create ConceptDescription
- Create Submodel with semantic_id Ref to ConceptDescription
- Create Shell with Ref to Asset and Ref to Submodel
- Save Shell i...ConceptDescription will not be saved
Steps to reproduce the bug:
- Create Asset
- Create ConceptDescription
- Create Submodel with semantic_id Ref to ConceptDescription
- Create Shell with Ref to Asset and Ref to Submodel
- Save Shell in .aasx in xml (AASXWriter.write_aas)
- Open Shell: ConceptDescription does not existhttps://git.rwth-aachen.de/acplt/pyi40aas/-/issues/148Add new class MimeType2022-01-10T13:13:22+01:00Igor GarmaevAdd new class MimeTypeMimeType is defined now as: `MimeType = str`. It's reasonable to create a new class MimeType where e.g. some of typical types are presented as class variables. A new class would also be usefull for type checking: now it's allowed to set ...MimeType is defined now as: `MimeType = str`. It's reasonable to create a new class MimeType where e.g. some of typical types are presented as class variables. A new class would also be usefull for type checking: now it's allowed to set any param to str where MimeType is required and it will not be detected. In a class it will also be possible to check if structure of MimeType value is correct.https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/147Add new class LangStringSet2022-01-10T12:50:17+01:00Igor GarmaevAdd new class LangStringSetLangStringSet is defined now as: `LangStringSet = Dict[str, str]`
It's reasonable to create a new class LangStringSet where it's possible to choose e.g. default language to show in repr. A new class would also be usefull for type checkin...LangStringSet is defined now as: `LangStringSet = Dict[str, str]`
It's reasonable to create a new class LangStringSet where it's possible to choose e.g. default language to show in repr. A new class would also be usefull for type checking: now it's allowed to set any param to Dict[str, str] where LangStringSet required and it will not be detected.https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/146invalid ValueType langString2021-12-03T10:11:31+01:00janfelixkleininvalid ValueType langStringHello,
I just came across your asset administration implementation in python and wanted to try it out by using the commonly used example:
`Example_AAS_ServoDCMotor_21.xml`
However, when using the xml adapter, some submodel elements can...Hello,
I just came across your asset administration implementation in python and wanted to try it out by using the commonly used example:
`Example_AAS_ServoDCMotor_21.xml`
However, when using the xml adapter, some submodel elements cannot be created due to the following problem:
`ValueError: aas:valueType on line 108 has invalid text: langString`
As it seems like langString is not a supported valueType since it is not part of the dictionary where it is searched for during the deseialization process:
`{'duration': <class 'dateutil.relativedelta.relativedelta'>, 'dateTime': <class 'datetime.datetime'>, 'date': <class 'aas.model.datatypes.Date'>, 'time': <class 'datetime.time'>, 'gYearMonth': <class 'aas.model.datatypes.GYearMonth'>, 'gYear': <class 'aas.model.datatypes.GYear'>, 'gMonthDay': <class 'aas.model.datatypes.GMonthDay'>, 'gMonth': <class 'aas.model.datatypes.GMonth'>, 'gDay': <class 'aas.model.datatypes.GDay'>, 'boolean': <class 'bool'>, 'base64Binary': <class 'aas.model.datatypes.Base64Binary'>, 'heyBinary': <class 'aas.model.datatypes.HexBinary'>, 'float': <class 'aas.model.datatypes.Float'>, 'double': <class 'float'>, 'decimal': <class 'decimal.Decimal'>, 'integer': <class 'int'>, 'long': <class 'aas.model.datatypes.Long'>, 'int': <class 'aas.model.datatypes.Int'>, 'short': <class 'aas.model.datatypes.Short'>, 'byte': <class 'aas.model.datatypes.Byte'>, 'nonPositiveInteger': <class 'aas.model.datatypes.NonPositiveInteger'>, 'negativeInteger': <class 'aas.model.datatypes.NegativeInteger'>, 'nonNegativeInteger': <class 'aas.model.datatypes.NonNegativeInteger'>, 'positiveInteger': <class 'aas.model.datatypes.PositiveInteger'>, 'unsignedLong': <class 'aas.model.datatypes.UnsignedLong'>, 'unsignedShort': <class 'aas.model.datatypes.UnsignedShort'>, 'unsignedByte': <class 'aas.model.datatypes.UnsignedInt'>, 'anyURI': <class 'aas.model.datatypes.AnyURI'>, 'string': <class 'str'>, 'normalizedString': <class 'aas.model.datatypes.NormalizedString'>}`
Is this correct or am I missing something?https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/145Fix id_short checks and default values2021-11-10T17:23:25+01:00Michael ThiesFix id_short checks and default valuesid_short constraint checks are broken on multiple branches. Additionally, they seem not to be standard compliant w.r.t. optional/mandatory-ness. And, the default value for optional id_short attributes in the constructor arguments (on V3....id_short constraint checks are broken on multiple branches. Additionally, they seem not to be standard compliant w.r.t. optional/mandatory-ness. And, the default value for optional id_short attributes in the constructor arguments (on V3.0RC02) should not be "NotSet", but None.
For mandatory id_short (according to the standard) we could still allow `id_short == None` as long as the object is not part of a Namespace (i.e. as long as `parent is None`).https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/143README: reference AAS Manager2021-10-28T21:04:25+02:00Leon Mauritz MöllerREADME: reference AAS ManagerWe should reference the [AAS Manager](https://github.com/zrgt/pygui40aas), developed by @zrgt, in the README. If an adoption of the project to the [acplt group](https://git.rwth-aachen.de/acplt) is planned, we may as well wait until this...We should reference the [AAS Manager](https://github.com/zrgt/pygui40aas), developed by @zrgt, in the README. If an adoption of the project to the [acplt group](https://git.rwth-aachen.de/acplt) is planned, we may as well wait until this is done so we don't have to update the README twice.https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/142model.aas: Initializing an AssetAdministrationShell does not add the submodel...2021-10-06T09:47:01+02:00Sebastian Heppners.heppner@iat.rwth-aachen.demodel.aas: Initializing an AssetAdministrationShell does not add the submodel to the proper NamespaceWhen initializing an AssetAdministrationShell (like in the examples):
```
submodel = model.Submodel(
identification=model.Identifier(
id_="https://example.com/resources/sm/testSubmodel",
id_type=model.Identif...When initializing an AssetAdministrationShell (like in the examples):
```
submodel = model.Submodel(
identification=model.Identifier(
id_="https://example.com/resources/sm/testSubmodel",
id_type=model.IdentifierType.IRI
),
id_short="SimulationModels"
)
aas = model.AssetAdministrationShell(
asset=model.AASReference.from_referable(model.Asset(
kind=model.AssetKind.INSTANCE,
identification=model.Identifier(
id_="https://example.com/resources/asset/{}".format(id_short),
id_type=model.IdentifierType.IRI
)
)),
identification=model.Identifier(
id_="https://example.com/resources/aas/{}".format(id_short),
id_type=model.IdentifierType.IRI
),
submodel={model.AASReference.from_referable(submodel)}
)
```
the submodel is not added to the AAS namespace:
```
s = aas.get_referable(id_short="SimulationModels")
>> KeyError: 'Referable with id_short SimulationModels not found in this namespace'
```https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/141Does compliance_tool check consistency between model.Reference's value and id...2021-07-08T08:16:48+02:00Ghost UserDoes compliance_tool check consistency between model.Reference's value and id_type?example_aas.py
It seems that the semantic_id of "ManufactureName" has reference to ELCASS.
But the code in example_aas.py uses IRI instead of IRDI for its id_type.
Do you think this kind of inconsistency can be detected by the compl...example_aas.py
It seems that the semantic_id of "ManufactureName" has reference to ELCASS.
But the code in example_aas.py uses IRI instead of IRDI for its id_type.
Do you think this kind of inconsistency can be detected by the complience_tool?
semantic_id=model.Reference((model.Key(type_=model.KeyElements.GLOBAL_REFERENCE,
local=False,
value='0173-1#02-AAO677#002',
id_type=model.KeyType.IRI),)), <--- should be IRDIhttps://git.rwth-aachen.de/acplt/pyi40aas/-/issues/140submodels should be local in "create_example_asset_administration_shell'2021-06-21T11:40:52+02:00Ghost Usersubmodels should be local in "create_example_asset_administration_shell'When opening example_aas.create_full_example() output with AASX package explore, the submodels do not appare.
It seems the the submodels should be local(local=True) in create_example_asset_administration_shell
By manually changing it t...When opening example_aas.create_full_example() output with AASX package explore, the submodels do not appare.
It seems the the submodels should be local(local=True) in create_example_asset_administration_shell
By manually changing it to local, the AASX package explore can read the all the trees.
**The original create_full_example output:**
![full_example_original](/uploads/3977a971cbfaf8ee48624923f887dd90/full_example_original.png)
**After making submodels local:**
![full_example_edited](/uploads/6e3b98a3220bc8ae719e62f91438cce5/full_example_edited.png)
```
submodel={model.AASReference((model.Key(type_=model.KeyElements.SUBMODEL,
local=True,
value='http://acplt.org/Submodels/Assets/TestAsset/Identification',
id_type=model.KeyType.IRI),),
model.Submodel),
model.AASReference((model.Key(type_=model.KeyElements.SUBMODEL,
local=True,
value='http://acplt.org/Submodels/Assets/TestAsset/OperationalData',
id_type=model.KeyType.IRI),),
model.Submodel)
},
```https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/139Could not load example from Compliance Tool in AASX package explorer2021-05-31T08:06:05+02:00Yannik MerschCould not load example from Compliance Tool in AASX package explorerOpening the example from the Compliance tool crashes the package explorer without error message. Drag and drop creates the following error message:
Version from package explorer tested:
- v2021-05-02.alpha
- v2021-02-25.alpha
```
Error...Opening the example from the Compliance tool crashes the package explorer without error message. Drag and drop creates the following error message:
Version from package explorer tested:
- v2021-05-02.alpha
- v2021-02-25.alpha
```
Error: while receiving file drop to window: PackageCentral: while performing load from C:\...\example.xml at \PackageCentral.cs:Zeile 96. gave: Mindestens ein Fehler ist aufgetreten. PackageCentral: while performing load from C:\...\example.xml at \PackageCentral.cs:Zeile 96. gave: Mindestens ein Fehler ist aufgetreten.
InnerException: Mindestens ein Fehler ist aufgetreten.
InnerException: While opening aasx C:\...\example.xml from source local file: C:\...\example.xml at \AdminShellPackageEnv.cs:Zeile 257. gave: While reading AAS C:\...\example.xml at \AdminShellPackageEnv.cs:Zeile 250. gave: Type error for XML file at bei AasxWpfControlLibrary.PackageCentral.PackageCentralItem.Load(PackageCentral packageCentral, String location, String fullItemLocation, Boolean overrideLoadResident, PackageContainerOptionsBase containerOptions, PackCntRuntimeOptions runtimeOptions) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxWpfControlLibrary\PackageCentral\PackageCentral.cs:Zeile 105.
bei AasxPackageExplorer.MainWindow.UiLoadPackageWithNew(PackageCentralItem packItem, AdminShellPackageEnv takeOverEnv, String loadLocalFilename, String info, Boolean onlyAuxiliary, Boolean doNotNavigateAfterLoaded, PackageContainerBase takeOverContainer, String storeFnToLRU) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.xaml.cs:Zeile 222.
bei AasxPackageExplorer.MainWindow.Window_Drop(Object sender, DragEventArgs e) in D:\a\aasx-package-explorer\aasx-package-explorer\src\AasxPackageExplorer\MainWindow.xaml.cs:Zeile 1970..
```
[example.aasx](/uploads/d28b67aa12114ccdf49912f46ac0f1ee/example.aasx)
[example.xml](/uploads/a0fdc7195ad86e97ff8b515818f736b5/example.xml)https://git.rwth-aachen.de/acplt/rte-tools/rte/-/issues/3Document building with MSVC2021-05-21T10:56:53+02:00Michael ThiesDocument building with MSVChttps://git.rwth-aachen.de/acplt/rte-tools/rte/-/issues/2Document building and debugging with valgrind2021-05-19T08:51:43+02:00Michael ThiesDocument building and debugging with valgrindLars NothdurftLars Nothdurfthttps://git.rwth-aachen.de/acplt/pyi40aas/-/issues/138Missing <?xml Tag in docProps/core.xml in an AASX-Package2021-08-13T13:16:50+02:00Ghost UserMissing <?xml Tag in docProps/core.xml in an AASX-PackageBecause of missing XML tag <?xml version='1.0' encoding='UTF-8'?> some libraries (including .NET standard XML serializer) is unable to deserialize the file. Exception: Unknown content type.Because of missing XML tag <?xml version='1.0' encoding='UTF-8'?> some libraries (including .NET standard XML serializer) is unable to deserialize the file. Exception: Unknown content type.https://git.rwth-aachen.de/acplt/pyi40aas/-/issues/137json adapter: Qualifiable in aasJSONSchema.json seems wrong2021-04-13T02:23:59+02:00Ghost Userjson adapter: Qualifiable in aasJSONSchema.json seems wrongIt seems "items" in Qualifialbe/qualifiers should be #/definitions/Qualifier" instead of 'Constraint'
Reason: some example json serialization is not consistent with the json-scheme
```
"submodelElements": [{"idShort": "E...It seems "items" in Qualifialbe/qualifiers should be #/definitions/Qualifier" instead of 'Constraint'
Reason: some example json serialization is not consistent with the json-scheme
```
"submodelElements": [{"idShort": "ExampleProperty",
"modelType": {"name": "Property"},
"semanticId": {"keys": [{"type": "GlobalReference", "idType": "IRI", "value": "http://acplt.org/Properties/SimpleProperty", "local": false}]},
"value": "exampleValue",
"valueType": "string"}]}],
```
```json
"Qualifiable": {
"type": "object",
"properties": {
"qualifiers": {
"type": "array",
"items": {
"$ref": "#/definitions/Constraint"
}
}
}
},
```