Changes between Initial Version and Version 1 of Ticket #5459, comment 50


Ignore:
Timestamp:
2019-08-27T13:41:01Z (6 years ago)
Author:
Karim Adbdelhak

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5459, comment 50

    initial v1  
    3535I could now try to revoke the decision on these variables to be states and make them algebraic variables again, that would result in changing the original system and having to match it again. Most probably i can salvage the previous matching, but it's still very costly to do that.
    3636
    37 With this approach it would most probably work, but still differ from dymolas result since i am revoking more state selection preferences. Also the static choice of states would differ, some states which are chosen by dymola would be algebraic variables in my approach. Most probably following equation would have the some problems once i have fixed if-equations:
     37With this approach it would most probably work, but still differ from dymolas result since i am revoking more state selection preferences. Also the static choice of states would differ, some states which are chosen by dymola would be algebraic variables in my approach. Most probably following equation would have the same problems and can't be differentiated by all candidates, once i have fixed if-equations:
    3838{{{
    39390.0 = if tank.regularFlow[2] then tank.ports[2].p - homotopy(tank.vessel_ps_static[2] + 0.5 * tank.portAreas[2] ^ (-2.0) * Modelica.Fluid.Utilities.regSquare2(-m_flow, tank.m_flow_small, (-1.0 + tank.portsData[2].zeta_in  + (tank.portAreas[2] / tank.vesselArea) ^ 2.0) * tank.ports_penetration[2] / tank.portInDensities[2], (1.0 +      tank.portsData[2].zeta_out - (tank.portAreas[2] / tank.vesselArea) ^ 2.0) / (tank.ports_penetration[2] * tank.     heatTransfer.states[1].d), false, 1.0), tank.vessel_ps_static[2]) else if tank.inFlow[2] then tank.ports[2].p - tank.vessel_ps_static[2] else -m_flow