Opened 9 years ago

Last modified 6 years ago

#3885 closed defect

inStream and Evaluate Parameter — at Version 1

Reported by: Vitalij Ruge Owned by: somebody
Priority: blocker Milestone: 1.13.0
Component: Backend Version:
Keywords: Cc: Rüdiger Franke, Francesco Casella, Willi Braun, Volker Waurich, Per Östlund

Description (last modified by Vitalij Ruge)

we should transform inStream() after evaluate parameter and removeSimpleEquation

e.g. in Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings
we find

rightAdaptor.m_flow:VARIABLE(min = if rightAdaptor.allowFlowReversal then -9.999999999999999e+59 else 0.0 max = 100000.0 start = rightAdaptor.m_flow_start unit = "kg/s" )  "Mass flow rate in design flow direction" type: Real

so we need evaluate rightAdaptor.allowFlowReversal and then expand inStream()

see #3430 for more detials.

Change History (1)

comment:1 by Vitalij Ruge, 9 years ago

Description: modified (diff)
Summary: inStream and Eval ParameterinStream and Evaluate Parameter
Note: See TracTickets for help on using tickets.