Skip to content

Violations of protected #1320

@maltelenz

Description

@maltelenz

Validating models in Wolfram System Modeler, I get errors about violations of protected in multiple classes, as reported below:

IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.CavityAirflow:

Error: IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.CavityAirflow [4:3-4:3] Invalid lookup of protected element. When looking up cavityAirFlow.G in scope IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.CavityAirflow, G is protected.
Protected elements can only appear as the first part of a component reference or path, and cannot be imported.

IDEAS.Experimental.Electric.Examples.TestGridAndPVFromFile:

Error: IDEAS.Experimental.Electric.Distribution.AC.Grid_3P [19:3-19:3] Invalid lookup of protected element. When looking up gridOnly3P.Vabs in scope IDEAS.Experimental.Electric.Distribution.AC.Grid_3P, Vabs is protected.
Protected elements can only appear as the first part of a component reference or path, and cannot be imported.

IDEAS.Experimental.Electric.Examples.TestGridAndPVSystemGeneral:

Error: IDEAS.Experimental.Electric.Photovoltaics.Components.PvArray [34:3-34:3] Invalid lookup of protected element. When looking up radSol.weaBus in scope IDEAS.Experimental.Electric.Photovoltaics.Components.PvArray, weaBus is protected.
Protected elements can only appear as the first part of a component reference or path, and cannot be imported.
Error: IDEAS.Experimental.Electric.Distribution.AC.Grid_3P [19:3-19:3] Invalid lookup of protected element. When looking up gridOnly3P.Vabs in scope IDEAS.Experimental.Electric.Distribution.AC.Grid_3P, Vabs is protected.
Protected elements can only appear as the first part of a component reference or path, and cannot be imported.

IDEAS.LIDEAS.Validation.Case900ValidationLinearInputs:

Error: IDEAS.LIDEAS.Validation.Case900ValidationNonLinear [22:3-22:3] Invalid lookup of protected element. When looking up linRecZon.airModel.vol.T in scope IDEAS.LIDEAS.Validation.Case900ValidationNonLinear, vol is protected.
Protected elements can only appear as the first part of a component reference or path, and cannot be imported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions