Skip to content

Illegal access of protected element Q_wf_  #2

@sinfergit

Description

@sinfergit

Getting the following error when try to check the model.

[10] 22:44:25 Translation Error
[ThermoCycle.Components.Units.HeatExchangers.Hx1DInc: 172:1-172:29]: Illegal access of protected element Q_wf_.

[11] 22:44:25 Translation Error
[AHUFanMalfunction: 236:5-236:28]: Variable Condenser.Q_wf_ not found in scope AHUFanMalfunction.

protected Modelica.SIunits.Power Q_sf_; Modelica.SIunits.Power Q_wf_;

But when this properties marked and saved as public in ThermoCycle library in Hx1DInc and run the check model following error appears

[10] 22:57:46 Translation Error
[ExternalMedia.Media.BaseClasses.ExternalTwoPhaseMedium: 222:25-232:18]: External function ‘TwoPhaseMedium_setState_pT_C_impl‘ could not be found in any of the given shared libraries:
C:/Users/SinethF.KEELLS/Downloads/ExternalMedia-3.2.1/ExternalMedia-3.2.1/Modelica/ExternalMedia 3.2.1/Resources/Library/win64/ExternalMediaLib.dll
C:/Users/SinethF.KEELLS/Downloads/ExternalMedia-3.2.1/ExternalMedia-3.2.1/Modelica/ExternalMedia 3.2.1/Resources/Library/ExternalMediaLib.dll

[11] 22:57:46 Translation Error
[ExternalMedia.Media.BaseClasses.ExternalTwoPhaseMedium: 291:5-291:37]: Failed to evaluate function: AHUFanMalfunction.Te_out.Medium.setState_pT.

Produced these errors within a environment with
OMEdit v1.18.0
MSL (modelica 3.2.3)
Thermo Cycle 2.2.0)
External Media 3.2.1

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