Valve Connection in Ansys Twinbuilder with Modelica
I model a pump in ANSYS Twin Builder 2020 R2.4 with Modelica. I want to specify if time derivative of fluid volume, in which fluid is compressed, is greater than 0, low pressure valve is open and high pressure valve is closed.If derivative is smaller than zero, low pressure valve is closed and high pressure valve is open. I wrote a code which specifies this function. But I need to give this information to valve with connector. Valve has a connector which is named opening. When I try to compile my code, it throws an error which says "Hochdruckreiniger2, Line 28 : Unexpected token: opening_NP" How can I connect this information with connector named opening? I would really appreciate your helps. Thanks in advance!