Extend valve models with optional determination of turbulent region

Valves: add dp_turbulent to ValveIncompressible, ValveCompressible, ValveVaporizing
Examples.IncompressibleFluidNetwork: 
 - change parameterization of valves from OpPoint to Av, assuming used pipe diameters
 - introduce pipe11 before valve3


git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5928 7ce873d0-865f-4ce7-a662-4bb36ea78beb
#963 fixed (Blocks.Math.Mean: Order of when-equations relevant => rewrite as algorithm!):

Changed the equations by using pre(x). Therefore, the model is correct, independently
how reinit is defined (whether takes immediate effect, or at model end).


git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5929 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Changed fill color of icon of block Blocks.Interfaces.PartialRealMISO from blue to white, in order that the same fill color as for all other blocks is used. As a result, the MultiSum and MultiProduct block icons have now a white background and no longer a blue background

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5930 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Improved icon of Modelica.Blocks.Continuous.LimPID by displaying the enumeration "%controllerType" in the icon, instead of PID.
As a result (provided a tool displays only the last part of a path name of an enumeration) the selected type of controller is displayed in the icon (P, PI, PD, or PID).

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5931 7ce873d0-865f-4ce7-a662-4bb36ea78beb
#810 solved

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5932 7ce873d0-865f-4ce7-a662-4bb36ea78beb
PartialTwoPortTransport: change back initialization of dp_start and m_flow_small for backwards compatibility with MSL 3.2

The new Fittings directly extend from PartialTwoPortTransport without re-defining these parameters.
Fluid generally provides default values for all parameters on the Advanced tab.


git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5933 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Specify initial conditions of TestOverdeterminedInitial uniquely overdetermined

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5934 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Added (start=0) for Interfaces.PartialTwoPorts Phi to solve translation fails with pedantic flag.

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5935 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Clean-up and update docu

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5936 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Minor bugs corrected:
- ModelicaTest.Blocks.FirstOrderHold: removed uses annotation in a model of a package.
- ModelicaTest.Math.Matrices3: Added missing declarations of variables r,n.

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5939 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Fixed bugs (mostly overdetermined parameter definitions):

- ModelicaTest.MultiBody.SphericalDoublePendulum
  Removed wrong uses annotation.
  
- ModelicaTest.MultiBody.Forces.Spring
  Removed overdetermined parameter definition for spring1.c
  
- ModelicaTest.MultiBody.Forces.Damper
  Removed overdetermined parameter definition for damper2.d.
  
- ModelicaTest.MultiBody.Forces.SpringDamperParallel
  Removed overdetermined parameter definition for 
  springDamperParallel1.c and springDamplerParallel2.d

- ModelicaTest.MultiBody.Forces.Damper2:
  Removed overdetermined parameter definition for spring.d
  
- ModelicaTest.MultiBody.Joints.PrismaticInit:
  Removed overdetermined parameter definition for spring.c.
  
- ModelicaTest.MultiBody.Joints.RevoluteInitialization: 
  Removed overdetermined parameter definition for spring.c.
  
- ModelicaTest.MultiBody.Sensors.AbsoluteSensor2:
  Removed duplicate experiment annotation
  
- ModelicaTest.MultiBody.Sensors.CutForceAndTorque3:
  Removed duplicate experiment annotation

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5940 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Fixed bugs (overdetermined parameter definitions):

- ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse
  Removed overdetermined parameter definition for V1.Av and V2.Av
  
- ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse
  Removed overdetermined parameter definition for V1.Av and V2.Av
  
- ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve
  Removed overdetermined parameter definition for valve.Av
    
- ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization
  Removed overdetermined parameter definition for valve.Av
  
- ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization
  Removed overdetermined parameter definition for valve.Av

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5941 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Added the test model ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative
that was present in my local repository, but was forgotten
to be committed since a long time.

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5942 7ce873d0-865f-4ce7-a662-4bb36ea78beb
ObsoleteModelica3 was still using MSL 3.2

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5943 7ce873d0-865f-4ce7-a662-4bb36ea78beb
Change graphics of MassFlowSource_T/h.ports from vector to a lumped port and add assertion (#739)

- introduce new Fluid.Sources.BaseClasses.PartialFlowSource
- add assertion that at most one connection may have fluid flow
- update screen shots of affected examples 


git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5946 7ce873d0-865f-4ce7-a662-4bb36ea78beb
#970 fixed (Doc example of Matrices.solve2):

Corrected a minor issue in the documentation of Modelica.Math.Matrices.solve2.



git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5948 7ce873d0-865f-4ce7-a662-4bb36ea78beb
#799 solved for Modelica.Electrical.Spice3.Examples

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5950 7ce873d0-865f-4ce7-a662-4bb36ea78beb
#930 solved and wrong annotation in Modelica.Electrical.Spice3.Examples removed

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5951 7ce873d0-865f-4ce7-a662-4bb36ea78beb
FIXES #838 Documentation typos.

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5952 7ce873d0-865f-4ce7-a662-4bb36ea78beb
#717 solved

git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5953 7ce873d0-865f-4ce7-a662-4bb36ea78beb