model IdealResistor "Ideal Resistor"
extends HydraulicsByFluidon.Components.Base.PartialResistorVariable;
equation
InputSignal = 1;
annotation (Documentation(info = "<html>\n <p>\n The component IdealResistor is a model of a flow resistance that behaves either\n as an orifice or a throttle, depending on the parameter setting.\n </p>\n </p>\n Both are parameterized by the parameters <var>Nominal volume flow</var> at <var>Nominal pressure difference</var>, \n measured with a fluid with <var>Reference density</var>.\n </p>\n <p>\n <b>Throttle</b>\n </p>\n <p>\n <center><img align=\"middle\" src=\"modelica://HydraulicsByFluidon/Resources/Images/Components/Resistors/LaminarFlowQp.png\"></center>\n </p>\n <p>\n <center><img align=\"middle\" src=\"modelica://HydraulicsByFluidon/Resources/Images/Components/Resistors/LaminarGraph.png\"></center>\n </p>\n <p>\n <b>Orifice</b>\n </p>\n <p>\n <center><img align=\"middle\" src=\"modelica://HydraulicsByFluidon/Resources/Images/Components/Resistors/TurbulentFlowQp.png\"></center>\n </p>\n <p>\n <center><img align=\"middle\" src=\"modelica://HydraulicsByFluidon/Resources/Images/Components/Resistors/TurbulentGraph.png\"></center>\n </p></html>"));
end IdealResistor;