CustomLiquid

model CustomLiquid
    import HydraulicsByFluidon.Media.Base.FluidInterface;

    extends Modelica.Blocks.Icons.Block;
    extends HydraulicsByFluidon.Media.Base.BaseFluid;

    parameter Modelica.SIunits.Temperature fluidTemperature = 293;
    parameter Real proportionUndissolvedAir = 0.001 "Proportion of undissolved air";
    parameter Real polytropicExponent = 1.1 "Polytropic exponent";
    parameter Modelica.SIunits.Pressure p0 = 101325 "Reference pressure for density calculation";
    parameter Modelica.SIunits.Temperature T0 = 288.15 "Reference temperature for density calculation";
    parameter Modelica.SIunits.Density rho0 = 870 "Density of fluid at reference temperature and pressure";
    parameter Modelica.SIunits.BulkModulus Kt = 1.7e+9 "Isothermal bulk modulus";
    parameter Modelica.SIunits.CubicExpansionCoefficient Gammap = 7e-4 "Thermal expansion coefficient";
    parameter Modelica.SIunits.SpecificHeatCapacityAtConstantPressure cp = 2000 "Specific heat capacity at constant pressure";
    parameter Modelica.SIunits.Temperature T1 = 313.15 "First reference temperature for viscosity calculation";
    parameter Modelica.SIunits.KinematicViscosity nu1 = 4.6e-5 "Kinematic viscosity at T1 and ambient pressure";
    parameter Modelica.SIunits.Temperature T2 = 373.15 "Second reference temperature for viscosity calculation";
    parameter Modelica.SIunits.KinematicViscosity nu2 = 7e-6 "Kinematic viscosity at T2 and ambient pressure";
    HydraulicsByFluidon.Interfaces.FluidPort fluidPort "Hydraulic port";
equation
    /* Implementation is Protected */
end CustomLiquid;