% -------------------------------------------------------------------
%  Generated by MATLAB on 19-May-2022 13:12:52
%  MATLAB version: 9.11.0.1769968 (R2021b)
% -------------------------------------------------------------------

% Edited by D. Williams 19-May-2022

FluidProp = struct;
FluidProp.Air_0to1 = 0.005;
FluidProp.BulkModulus_psi = 220000;
FluidProp.VaporPressure_psi = 0.5;

Motor = struct;
Motor.Displacement_in3 = 1.5;
Motor.VolumetricEff_0to1 = 1;
Motor.TorqueEff_0to1 = 0.96;
Motor.LeakageCoeff_in3perpsisec = 0.0005;
Motor.Inertia_inlbsec2 = 0.01;
Motor.Damping_inlbsec = 0;
Motor.InitialSpeed_rps = 0;

MotorInletVolume = struct;
MotorInletVolume.Init_psi = 50;
MotorInletVolume.Volume_in3 = 100;

MotorOutletVolume = struct;
MotorOutletVolume.Init_psi = 50;
MotorOutletVolume.Volume_in3 = 100;

Pump = struct;
Pump.MaxDisplacement_in3 = 1.7;
Pump.VolumetricEff_0to1 = 0.95;
Pump.Max_rpm = 1200;
Pump.LeakageKv = 0.005;
Pump.SequencePressure_psi = 350;

ReturnPressure_psi = 30;

SupplyVolume = struct;
SupplyVolume.Init_psi = 50;
SupplyVolume.Volume_in3 = 100;

SystemVolume = struct;
SystemVolume.Init_psi = 50;
SystemVolume.Volume_in3 = 100;

% Metering curve for user-specified valve
Valve1 = struct;
Valve1.voltages = [-10 1.5 4 9 10];
Valve1.Kvs = [0 0 0.1 0.8 0.8];

