Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssetInfo Not being read #30

Open
sssaha opened this issue Dec 11, 2020 · 0 comments
Open

AssetInfo Not being read #30

sssaha opened this issue Dec 11, 2020 · 0 comments

Comments

@sssaha
Copy link

sssaha commented Dec 11, 2020

Hello
I have a CIM file that has an asset like this :
<cim:Asset rdf:ID="eo_cable_10606184"> <cim:Asset.type>CableAsset</cim:Asset.type> <cim:IdentifiedObject.name>ONS-DA010000CARRU100157756</cim:IdentifiedObject.name> <cim:Asset.PowerSystemResources rdf:resource="#eo_cable_segment_inst_10606181-NL.44859546-NH.45130804_25012915_A"/> <cim:Asset.PowerSystemResources rdf:resource="#eo_cable_segment_inst_10606181-NL.44859546-NH.48840836"/> <cim:Asset.AssetInfo rdf:resource="#eo_cable_spec_341116"/> </cim:Asset>
After reading the CIM file, through CIMread , assuming the variable is d,
I did this following
x = d['eo_cable_10606184']
And then;
print(x.AssetInfo)
This always shows blank, even for other objects too. Why is the AssetInfo defined in the CIM definition is not being initialized while creating this Asset object?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant