Skip to content

AssetInfo Not being read #30

Description

@sssaha

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions