Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

FluidPort_a Medium.nXi not found

FluidPort_a Medium.nXi not found

I try to redeclare Medium:

Code:

Interfaces.FluidPort_a port_a (redeclare package Medium = Seneca.Common.ACIDGas2)  "Порт ввода газа" annotation(Placement(visible = true, transformation(origin = {-584, 42}, extent = {{-10, -10}, {10, 10}}, rotation = 0), iconTransformation(origin = {-100, 10}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));

And get Translation Error:

Code:

Variable Medium.nXi not found in scope Modelica.Fluid.Interfaces.FluidPort_a$port_a

Can anybody help my to understand why this error occur?

There are 0 guests and 0 other users also viewing this topic
You are here: