Extends from Buildings.BaseClasses.BaseIconExamples (Icon for Examples packages).
Name | Description |
---|---|
TestFlowFunctions | Test model for flow functions |
Type | Name | Default | Description |
---|---|---|---|
Boolean | linearized | false | |
Real | k | 0.05 |
model TestFlowFunctions "Test model for flow functions" Modelica.SIunits.MassFlowRate m_flow; Modelica.SIunits.MassFlowRate m1_flow; Modelica.SIunits.MassFlowRate m_flow_nominal=2; Modelica.SIunits.Time dTime= 1; Modelica.SIunits.Pressure dp; parameter Boolean linearized=false; parameter Real k = 0.05; equation m_flow = time/dTime * m_flow_nominal; m_flow=FlowModels.basicFlowFunction_dp(dp=dp, k=k, m_flow_turbulent=m_flow_nominal*0.3, linearized=linearized); dp=FlowModels.basicFlowFunction_m_flow(m_flow=m1_flow, k=k, m_flow_turbulent=m_flow_nominal*0.3, linearized=linearized); end TestFlowFunctions;